A handwriting processing method, device, interactive tablet and storage medium

By integrating the touch sensing module and elastic wave sensor in the electronic whiteboard, identifying touched items and generating corresponding writing handwriting, the problems of complex operation and insufficient redoing function in the prior art are solved, and efficient writing effect switching and specific handwriting operation management are achieved.

CN114690930BActive Publication Date: 2025-04-01GUANGZHOU CHUANGZHI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110435260.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-22
Publication Date
2025-04-01
Estimated Expiration
2041-04-22

AI Technical Summary

Technical Problem

The existing electronic whiteboards are complex when switching multiple writing effects, have poor user experience, and cannot meet the application scenarios where some users only want to cancel or rework writing handwriting of a certain type.

Method used

By integrating the touch sensing module and elastic wave sensor in the interactive tablet, it receives touch track information and elastic wave signals, recognizes the logo and handwriting type of touch items, generates corresponding writing handwriting, and stores its drawing operations into a specific operation stack, supporting the cancellation and redo of specific types of writing handwriting.

Benefits of technology

It realizes that users quickly switch different writing effects during the writing process, improves user experience, and provides the functions of undoing and redoing specific writing handwriting, meeting diverse user interaction needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114690930B_ABST
    Figure CN114690930B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method, device, interactive tablet and storage medium for processing handwriting, which includes: receiving first touch track information of a first writing operation, the first writing operation is performed by a first touch object on a display screen; receiving a first elastic wave signal detected by an elastic wave sensor, determining an identifier of the first touch object according to the first elastic wave signal, the first elastic wave signal is generated when the first touch object performs the first writing operation and contacts the display screen; determining the handwriting type corresponding to the first touch object according to the identifier of the first touch object, and drawing the corresponding handwriting on the display screen according to the handwriting type and the first touch track information; storing the drawing operation corresponding to the handwriting into a corresponding specific operation stack according to the identifier corresponding to the handwriting, and storing the identifier and stack top address information of the specific operation stack into a global operation stack. The above technical means are used to solve the problem of complex operation methods for switching writing effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of electronic whiteboards, and in particular to a handwriting processing method, device, interactive tablet and storage medium. Background Art

[0002] With the continuous advancement of science and technology, many electronic devices with handwriting input systems have begun to enter the market, such as smart terminals such as mobile phones, e-books and tablets with handwriting functions. In order to enrich the application of handwriting functions in smart terminals, electronic whiteboard applications have emerged. Electronic whiteboards can display input text or pictures according to the handwriting of users on the screen. Electronic whiteboards can obtain information such as the contact area, position, movement speed and / or pressure of the touch object through the touch screen, and use algorithms to simulate the handwriting. Specifically, different algorithms can also be used to simulate the writing effects of different media, such as simulating the handwriting of fluorescent pens, pens and brushes.

[0003] In the current technology, in order to simulate the writing effects of different media, it is necessary to set different modes or attributes of the electronic whiteboard, such as setting the writing mode of the electronic whiteboard to pen mode, brush mode, fluorescent pen mode, or setting the attributes of the writing handwriting to pen, brush, fluorescent pen, etc. This operation method is complicated. If the user wants to achieve other writing effects during the writing process, it is necessary to reset it. When the user needs to switch between multiple writing effects, the operation setting needs to be repeated, which has a poor experience. In addition, the undo or redo provided by the existing electronic whiteboard is a unified processing of all writing handwriting, and it is not possible to undo or redo only part of the content, which makes it impossible to meet the application scenario where some users only want to undo or redo a certain type of writing handwriting. Summary of the invention

[0004] The embodiments of the present application provide a handwriting processing method, device, interactive tablet and storage medium to solve the problem of complex operation mode of switching multiple writing effects in the prior art and improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a handwriting processing method, which is applied to an interactive tablet, wherein the interactive tablet includes a display screen and a touch sensor module, and the interactive tablet is also provided with an elastic wave sensor, and the method includes:

[0006] receiving first touch track information of a first writing operation detected by the touch sensing module, where the first writing operation is performed by a first touch object on the display screen;

[0007] receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identification of the first touching object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touching object performs the first writing operation and contacts the display screen;

[0008] Determining a handwriting type corresponding to the first touch object according to the identifier of the first touch object, and drawing corresponding handwriting on the display screen according to the handwriting type and the first touch track information;

[0009] According to the identifier corresponding to the handwriting, the drawing operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

[0010] In a second aspect, an embodiment of the present application provides a handwriting processing device, comprising:

[0011] A first receiving module is configured to receive first touch track information of a first writing operation detected by the touch sensing module, where the first writing operation is performed on the display screen by a first touch object;

[0012] a first recognition module, configured to receive a first elastic wave signal detected by the elastic wave sensor, and determine an identification of the first touch object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touch object performs the first writing operation and contacts the display screen;

[0013] a drawing module, configured to determine a handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw the corresponding handwriting on the display screen according to the handwriting type and the first touch track information;

[0014] The stacking module is configured to store the drawing operation corresponding to the handwriting into the corresponding specific operation stack according to the identifier corresponding to the handwriting, and store the identifier and stack top address information of the specific operation stack into the global operation stack.

[0015] In a third aspect, an embodiment of the present application provides an interactive tablet, including:

[0016] one or more processors;

[0017] A memory for storing one or more programs;

[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the handwriting processing method as described in the first aspect.

[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the handwriting processing method of the first aspect.

[0020] The above-mentioned writing handwriting processing method, device, equipment and storage medium receive the first touch track information of the first writing operation detected by the touch sensing module, and the first writing operation is performed by the first touch object on the display screen; receive the first elastic wave signal detected by the elastic wave sensor, determine the identification of the first touch object according to the first elastic wave signal, and the first elastic wave signal is generated when the first touch object performs the first writing operation and the first touch object contacts the display screen; determine the handwriting type corresponding to the first touch object according to the identification of the first touch object, and draw the corresponding writing handwriting on the display screen according to the handwriting type and the first touch track information; store the drawing operation corresponding to the writing handwriting into the corresponding specific operation stack according to the identification corresponding to the writing handwriting, and store the identification and stack top address information of the specific operation stack into the global operation stack. With the above-mentioned technical means, since the elastic wave signals detected by the elastic wave sensor are different when different touch objects perform touch operations on the interactive tablet, different touch objects can be distinguished by the elastic wave signal, and the corresponding handwriting type is matched according to the touch object to generate writing handwriting that is highly consistent with the touch object, so as to provide users with a more realistic writing experience and avoid users from repeatedly performing setting operations in order to achieve other writing effects during the writing process. The handwriting displayed on the display screen is classified by the touch objects corresponding to the handwriting, and the operations of drawing the same type of handwriting are stored in the same operation stack, so that the user can choose to undo and redo the drawing operation of a certain type of handwriting, or to undo and redo the drawing operations of all handwriting, thereby providing the user with more interaction methods and data processing methods and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a flow chart of a handwriting processing method provided by an embodiment of the present application;

[0022] Figure 2 is a first schematic diagram of a first specific operation stack provided in an embodiment of the present application;

[0023] Figure 3 is a schematic diagram of a second specific operation stack provided in an embodiment of the present application;

[0024] Figure 4 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0025] Figure 5 is a second schematic diagram of a first specific operation stack provided in an embodiment of the present application;

[0026] Figure 6 is a first schematic diagram of a global operation stack provided in an embodiment of the present application;

[0027] Figure 7 is a second schematic diagram of a global operation stack provided in an embodiment of the present application;

[0028] Figure 8 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0029] Fig. 9 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0030] Fig.10 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0031] Fig.11 is a first schematic diagram of a display screen provided in an embodiment of the present application;

[0032] Fig.12 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0033] Fig.13 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0034] Fig.14 is a second schematic diagram of a display screen provided in an embodiment of the present application;

[0035] Fig.15 is a third schematic diagram of a display screen provided in an embodiment of the present application;

[0036] Fig.16 is a fourth schematic diagram of a display screen provided in an embodiment of the present application;

[0037] Fig.17 is a fifth schematic diagram of a display screen provided in an embodiment of the present application;

[0038] Fig.18 is a flow chart of another handwriting processing method provided by an embodiment of the present application;

[0039] Fig.19 is a sixth schematic diagram of a display screen provided in an embodiment of the present application;

[0040] Fig. 20 It is a structural schematic diagram of a handwriting processing device provided by an embodiment of the present application;

[0041] Fig.21 It is a structural schematic diagram of an interactive tablet provided by an embodiment of the present application. DETAILED DESCRIPTION

[0042] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.

[0043] It should be noted that, in the present application, relational terms such as first and second are only used to distinguish one entity or operation or object from another entity or operation or object, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations or objects. For example, the "first" and "second" of the first touch item and the second touch item are used to distinguish between two touch items that touch the screen cover at different times. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0044] The handwriting processing method provided in the embodiment of the present application can be executed by an interactive tablet with a touch function. The interactive tablet can operate the content displayed on the display screen and realize human-computer interaction through touch technology. It integrates one or more functions such as a projector, a whiteboard, a screen, an audio system, a television, and a video conferencing terminal. In actual applications, the hardware part of the interactive tablet is composed of parts such as a display screen and an intelligent processing system, which are combined together by an integral structural member and are also supported by a dedicated software system, wherein the display screen has a touch function. The user can touch the display screen with a finger or a stylus, and the intelligent processing system generates handwriting according to the touch operation input by the user and displays it on the display screen, or generates a control operation according to the touch operation input by the user to process the display content on the display screen.

[0045] Typically, the interactive tablet is installed with at least one type of operating system, wherein the operating system includes but is not limited to Android system, Hongmeng system, Linux system and Windows system. The touch operation received through the display screen is processed by the operating system. Further, the interactive tablet can install at least one application based on the operating system, for example, a whiteboard application is installed in the interactive tablet. Among them, the whiteboard can be an application that comes with the operating system, or it can be an application downloaded from a third-party device or server. The whiteboard application refers to an application for users to write, display and other operations. It can be used to generate writing handwriting according to the writing operation of the user in the interface of the whiteboard application, and can also be used to insert and display multimedia elements in the interface of the whiteboard application. The multimedia elements may include graphics, images, tables, documents, audio files and / or video files. In the interface of the whiteboard application, users can implement operations such as writing, drawing, erasing, etc. similar to physical blackboards, and further have better digital functions such as moving, saving, scaling, inserting pictures, color adjustment, and stroke thickness settings. In actual applications, whiteboard applications can also be named writing applications, electronic whiteboard applications, collaborative whiteboard applications, etc. No matter how the names are changed, as long as they are used to implement the above functions, they are equivalent to the whiteboard applications of this application. In the embodiment, the writing handwriting processing method is executed by the whiteboard application, the display screen displays the interface of the whiteboard application, and the user can touch the whiteboard application interface in the display screen with a finger or a stylus. The intelligent processing system generates writing handwriting according to the touch operation input by the user and displays it in the whiteboard application interface, or generates a control operation according to the touch operation input by the user to process the display content in the whiteboard application interface.

[0046] Figure 1 : is a flowchart of a handwriting processing method provided by an embodiment of the present application. The handwriting processing method in the embodiment of the present application is applied to an interactive tablet, which includes a display screen and a touch sensor module, and the interactive tablet is also provided with an elastic wave sensor. Specifically, refer to Figure 1 , the handwriting processing method comprises:

[0047] S110, receiving first touch track information of a first writing operation detected by a touch sensing module, where the first writing operation is performed by a first touch object on the display screen.

[0048] Exemplarily, when a user uses a first touch object to input a first writing operation on a display screen, a touch sensor module installed on the display screen detects first touch trajectory information of the first writing operation input by the user, and sends the first touch trajectory information to a processor of the interactive tablet to inform the processor to process the first writing operation.

[0049] Wherein, the first touch trajectory information includes the contact area, moving speed, moving acceleration, contact position and / or contact pressure when the first touch object touches the display screen. Wherein, the contact area, moving speed, moving acceleration and contact position are measured by optical touch sensors installed on both sides of the display screen surface. Exemplarily, when the touch object touches the screen cover, the optical touch sensor scans the touch object through an optical signal to sense the operation performed by the touch object on the screen cover. Specifically, the optical touch sensor includes an infrared transmitter and an infrared receiver, the infrared transmitter is used to emit infrared light, and the infrared receiver is used to receive infrared light, and infrared light rays densely distributed in different directions are used to form a beam grid to locate the touch point. Exemplarily, M infrared transmitters are set on one side of the horizontal direction of the display screen, and N infrared transmitters are set on one side of the vertical direction. Correspondingly, M infrared receivers are set on the other side of the horizontal direction, and N infrared receivers are set on the other side of the vertical direction. The infrared transmitter emits infrared light at a certain frequency, and the corresponding infrared receiver receives infrared light at a certain frequency. When the touch object touches the screen cover, the touch object will completely or partially block one or more vertical and horizontal infrared lights, and then an M*N infrared light intensity pixel map is obtained. First, find a position greater than the first light intensity threshold on the infrared light intensity pixel map. The first light intensity threshold indicates a real and effective touch, rather than noise or the light intensity measured when the infrared light is half blocked when the object is close but not completely touched. The real touch position is the contact position when the touch object contacts the screen cover. Further, find a position greater than the second light intensity threshold in the vicinity of the real touch position. The second light intensity threshold is greater than the noise value, which can indicate the extension of the real touch area. The position greater than the second light intensity threshold in the vicinity of the real touch position is marked as a valid touch area. The area of ​​the touch area is the contact area of ​​the touch object and the screen cover. When the touch object moves on the screen cover, the infrared light intensity pixel map with multiple frames of time continuous records the contact position and contact area of ​​the touch object on the screen cover. The moving speed of the touch object on the screen cover can be obtained by the contact position and contact area recorded in the continuous frames, and the moving acceleration is further calculated according to the moving speed. When the touching object leaves the screen cover, the blocking of infrared light by the touching object becomes smaller. If the contact position in the previous frame of the infrared light intensity pixel map, the relative position in the current infrared light intensity pixel map and the adjacent area do not have pixels exceeding the third light intensity threshold, then it is determined that the relationship between the touching object and the screen cover at this time is out of touch, and the third light intensity threshold represents the maximum light intensity when the touch is out of touch.

[0050] In addition, the first touch trajectory information also includes the contact pressure sense when the first touch object touches the interactive flat panel. The contact pressure sense is the pressure of the touch object pressing on the screen cover, and the contact pressure sense is measured by the pressure sensor when the touch object touches the screen cover. Exemplarily, the pressure sensor is installed under the screen cover or at the screen frame. Due to the superposition of force, multiple pressure sensors can sense pressure information at different positions, and combined with the optical touch sensor, the pressure of each touch point can be deduced.

[0051] It should be noted that the optical touch sensor and the pressure sensor constitute a touch sensor module.

[0052] S120, receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identifier of a first touching object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touching object performs a first writing operation and contacts the display screen.

[0053] Exemplarily, the first elastic wave signal is measured by a piezoelectric elastic wave sensor installed at the screen frame or on the inner side of the screen cover. Specifically, when the first touch object touches the screen cover of the interactive flat panel, a characteristic elastic wave signal is generated, and the elastic wave signal starts from the contact point and propagates around along the screen cover, or propagates to the inner side of the screen cover. The piezoelectric elastic wave sensor located at the screen frame or on the inner side of the cover converts the elastic wave signal into a voltage signal, and then transmits the voltage signal to an IC chip with a temperature compensation circuit for amplification processing, and converts the amplified voltage signal into a digital voltage signal through an analog-to-digital conversion circuit, and uses the digital voltage signal as the first elastic wave signal. Furthermore, since different touch objects generate different elastic wave signals when touching the screen cover, the corresponding piezoelectric elastic wave sensors measure different elastic wave signals, so different touch objects can be distinguished by the elastic wave signal.

[0054] Furthermore, the elastic wave signal is used as input, and the identification of the touch object is output through the machine learning model, and the touch object corresponding to the elastic wave signal is determined through the correspondence between the identification of the touch object and the type of the touch object set in advance. It can be understood that the first elastic wave signal is input into the pre-trained machine learning model, and the machine learning model outputs the identification of the first touch object corresponding to the first elastic wave signal.

[0055] S130: Determine a handwriting type corresponding to the first touching object according to the identifier of the first touching object, and draw corresponding handwriting on the display screen according to the handwriting type and the first touch track information.

[0056] Exemplarily, after determining the identifier of the first touch object written by the user on the screen, the type of the first touch object is determined by the correspondence between the identifier of the touch object and the touch object type, and the handwriting type corresponding to the first touch object is further determined according to the correspondence between the touch object type and the handwriting type. The handwriting type of the written handwriting is determined according to the touch object type. For example, if the touch object is identified as material No. 1, and material No. 1 is pre-set to correspond to pen handwriting, the handwriting type of the written handwriting is determined to be pen handwriting. This embodiment matches the pre-set handwriting type by the material of the touch object to avoid the need for users in the prior art to repeatedly perform mode switching operations when writing different types of handwriting.

[0057] Furthermore, the corresponding handwriting is generated according to the handwriting type and the first touch track information, and the corresponding handwriting is drawn on the display screen. Accordingly, this step can be implemented in the following three ways:

[0058] Method 1: Calculate the handwriting position and the handwriting width of the handwriting according to the contact area and the contact position.

[0059] Exemplarily, the coordinates of the touch object touching the screen cover are determined according to the contact position, the coordinates of the handwriting on the display screen are determined according to the coordinate correspondence, and the thickness of the handwriting is determined according to the contact area corresponding to the contact position.

[0060] Method 2: Calculate the handwriting color of the written handwriting according to the handwriting color and contact pressure set on the interactive tablet.

[0061] Exemplarily, the handwriting color set on the interactive tablet is obtained, and the corresponding track point color is determined according to the handwriting color and the contact pressure corresponding to the contact position. The greater the contact pressure, the darker the track point color. It is understandable that when a real pen writes on paper, the greater the writing force, the darker the handwriting color. Therefore, this embodiment simulates this real scene to provide users with a more realistic writing experience.

[0062] Method 3: Calculate the connection trajectory between adjacent trajectory points of the handwriting based on the moving speed, moving acceleration, contact area and contact pressure.

[0063] Exemplarily, the connection track between the track points between two adjacent contact points is determined based on the difference in moving speed, moving acceleration, contact pressure difference and area difference between the two contact points. The width of the connection track is calculated by the width formula, which is:

[0064] W=a*f1*ΔV+b*f2*ΔP+c*f3*ΔS+d*f4*ΔA+C0

[0065] The color depth of the connection track is calculated by the depth formula, which is:

[0066] D=x*g1*ΔP+y*g2*ΔV+C2

[0067] Among them, W is the width of the connection track, ΔV is the moving speed difference, ΔP is the contact pressure difference, ΔS is the area difference, ΔA is the moving acceleration difference, a, b, c, d, x, y, C0 and C2 are constants, f1, f2, f3, f4, g1 and g2 are coefficients. The coefficients can be calculated based on experience or experiments, and the constants can be obtained based on the deep learning model.

[0068] The above three methods for determining handwriting can be combined to generate handwriting that is more in line with the user's writing operation, providing the user with a more realistic writing experience. Furthermore, the identification of the touched object is recorded in the handwriting data structure, so that the writing identifications with the same identification can be classified and processed according to the identification of the handwriting.

[0069] S140. According to the identifier corresponding to the handwriting, the drawing operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

[0070] Exemplarily, the drawing operation of the handwriting refers to the whole operation process of generating the handwriting according to the touch track information and the elastic wave signal, and drawing the handwriting on the display screen, and the identification of the handwriting can be regarded as the identification of the drawing operation. A specific operation stack refers to an operation stack that stores only one identification of the drawing operation, that is, the identification of the drawing operation in a specific operation stack is the same. When the drawing operation is stored in the specific operation stack, the drawing operation will be stored above the top of the specific operation stack and become the new top of the stack. Therefore, whenever a new drawing operation is stored in the specific operation stack, the address information of the top of the specific operation stack changes. The stack is a first-in-last-out data structure, which only allows operations on the data stored at the top of the stack. It can be seen from the structure of the stack that if the drawing operation in the specific operation stack is undone, the drawing operation is undone according to the order in which the drawing operation is stored in the specific operation stack, and the drawing operation stored later is undone first. When the drawing operation is undone, the handwriting corresponding to the drawing operation disappears on the display screen. In this embodiment, the operation of drawing the same type of handwriting is stored in the same operation stack, so that the user can choose to undo and redo the drawing operation of a certain type of handwriting.

[0071] The global operation stack refers to an operation stack storing all drawing operations. The drawing operations in the global operation stack are cancelled, that is, they are cancelled according to the drawing order of all the handwriting on the display screen. However, since the specific operation stack is introduced in this embodiment, if the storage method of the traditional global operation stack is still used to store all drawing operations in the operation stack according to the order of drawing operations, then when the global operation stack or the specific operation stack is cancelled, the specific operation stack and the global operation stack cannot be coordinated. Therefore, this embodiment improves the storage method of the global operation stack, and stores the identifier and stack top address information of the specific operation stack in the global operation stack. Among them, the identifier of the specific operation stack is the identifier of the stored drawing operation. Whenever a new drawing operation is stored in the specific operation stack, the stack top address information of the specific operation stack changes, and the new stack top address information points to the address information stored in the new drawing operation. Correspondingly, the stack top address information of the specific operation stack stored in the top of the global operation stack becomes the address information stored in the new drawing operation. If the identifier of the specific operation stack at the top of the current update stack is different from the identifier stored at the top of the global operation stack, it indicates that the touch object corresponding to the new drawing operation is different from that of the previous drawing operation. In this case, the top address information and identifier of the specific operation stack at the top of the current update stack are stored above the top of the global operation stack to become the new top of the stack.

[0072] Based on this, when the specific operation stack in this embodiment is cancelled, the stack top address information stored in the global operation stack changes with the specific operation stack, and when the global operation stack is cancelled, the specific operation stack is actually cancelled, and the global operation stack and the specific operation stack are coordinated with each other. And the global operation stack can also fully record the drawing operation of the handwriting on the display screen.

[0073] The technical solution provided by the embodiment is described exemplarily below:

[0074] The user creates a new whiteboard file. First, the user uses the first writing pen to draw three consecutive handwritings on the display screen. The three handwritings correspond to three drawing operations respectively. According to the drawing order of the handwritings, the first handwriting drawn corresponds to the first drawing operation, the second handwriting drawn corresponds to the second drawing operation, and the third handwriting drawn corresponds to the third drawing operation. According to the identifier of the first writing pen, the first drawing operation, the second drawing operation and the third drawing operation are stored in the first specific operation stack in the order in which they are generated, wherein the identifier of the first specific operation stack and the identifier of the first writing pen are the same, both of which are the first identifier. Figure 2 is a first schematic diagram of a first specific operation stack provided in an embodiment of the present application. Figure 2, the first drawing operation is stored at the bottom of the first specific operation stack 11, the second drawing operation stack is stored at an adjacent position to the bottom of the first specific operation stack 11, the third drawing operation is stored at the top of the first specific operation stack 11, and the first pointer points to the memory space address of the top of the first specific operation stack 11. Further, refer to Figure 2 , the first object is stored at the bottom of the global operation stack 12, and the first object includes a first identifier and a first pointer. It can be understood that after the first drawing operation is stored in the first specific operation stack 11, the top of the first specific operation stack 11 is the first drawing operation, and the first pointer and the first identifier of the first specific operation stack 11 are stored in the global operation stack 12. Since the first drawing operation is the first operation in the current whiteboard file, the global operation stack is an empty stack before this, so the first object is stored at the bottom of the global operation stack 12. Further, after the second drawing operation and the third drawing operation are stored in the first specific operation stack 11, the third drawing operation is stored at the top of the first specific operation stack 11, and the first pointer points to the memory space address of the third drawing operation. Correspondingly, the first pointer stored at the bottom of the global operation stack 12 at this time points to the memory space address of the third drawing operation.

[0075] After the user uses the first writing pen to draw three consecutive strokes on the display screen, the user uses the second writing pen to draw three consecutive strokes on the display screen, and the three strokes correspond to three drawing operations respectively. According to the drawing order of the three strokes, the first stroke corresponds to the fourth drawing operation, the second stroke corresponds to the fifth drawing operation, and the third stroke corresponds to the sixth drawing operation. According to the identifier of the second writing pen, the fourth drawing operation, the fifth drawing operation, and the sixth drawing operation are stored in the second specific operation stack in the order in which they are generated, wherein the second specific operation stack and the identifier of the second writing pen are the same, both of which are the second identifier. Figure 3 is a schematic diagram of a second specific operation stack provided in an embodiment of the present application. Figure 3 , the fourth drawing operation is stored at the bottom of the second specific operation stack 13, the fifth drawing operation is stored at an adjacent position to the bottom of the second specific operation stack 13, the sixth drawing operation is stored at the top of the second specific operation stack 13, and the second pointer points to the memory space address of the top of the second specific operation stack 13. Further, when the top of a specific operation stack changes, the global operation stack also needs to be adjusted accordingly. Figure 3, the second object is stored at the bottom of the global operation stack 12, and the second object includes a second identifier and a second pointer. It can be understood that after the fourth drawing operation is stored in the second specific operation stack 13, the top of the second specific operation stack 13 is the fourth drawing operation, and the second pointer and the second identifier of the second specific operation stack 13 are stored in the global operation stack 13. Since the specific operation stacks corresponding to the fourth drawing operation and the third drawing operation are different, in order to ensure that the global operation stack 12 can completely record all drawing operations, the second object is stored in a storage position adjacent to the first object, and the second object becomes the top of the global operation stack 12. Further, after the fifth drawing operation and the sixth drawing operation are stored in the second specific operation stack 13, the sixth drawing operation is stored at the top of the second specific operation stack 13, and the second pointer points to the memory space address of the sixth drawing operation. Correspondingly, the second pointer stored at the top of the global operation stack 12 also points to the memory space address of the sixth drawing operation.

[0076] It can be understood that the first writing pen and the second writing pen are different touch objects, and the first identifier and the second identifier are also different identifiers.

[0077] The above-mentioned writing handwriting processing method receives the first touch track information of the first writing operation detected by the touch sensing module, and the first writing operation is performed by the first touch object on the display screen; receives the first elastic wave signal detected by the elastic wave sensor, and determines the identification of the first touch object according to the first elastic wave signal, and the first elastic wave signal is generated when the first touch object performs the first writing operation and the first touch object contacts the display screen; determines the handwriting type corresponding to the first touch object according to the identification of the first touch object, and draws the corresponding writing handwriting on the display screen according to the handwriting type and the first touch track information; stores the drawing operation corresponding to the writing handwriting into the corresponding specific operation stack according to the identification corresponding to the writing handwriting, and stores the identification and stack top address information of the specific operation stack into the global operation stack. With the above-mentioned technical means, since the elastic wave signals detected by the elastic wave sensor are different when different touch objects perform touch operations on the interactive tablet, different touch objects can be distinguished by the elastic wave signal, and the corresponding handwriting type is matched according to the touch object to generate writing handwriting that is highly consistent with the touch object, providing users with a more realistic writing experience, and avoiding users from repeatedly performing setting operations in order to achieve other writing effects during the writing process. The handwriting displayed on the display screen is classified by the touch objects corresponding to the handwriting, and the operations of drawing the same type of handwriting are stored in the same operation stack, so that the user can choose to undo and redo the drawing operation of a certain type of handwriting, or to undo and redo the drawing operations of all handwriting, thereby providing the user with more interaction methods and data processing methods and improving the user experience.

[0078] Figure 41 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Figure 4 The handwriting processing method provided in this embodiment includes:

[0079] S210: Receive first touch track information of a first writing operation detected by a touch sensing module, where the first writing operation is performed by a first touch object on the display screen.

[0080] S220, receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identifier of a first touching object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touching object performs a first writing operation and contacts the display screen.

[0081] S230: Determine a handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw corresponding handwriting on the display screen according to the handwriting type and the first touch track information.

[0082] S240. According to the identifier corresponding to the handwriting, the drawing operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

[0083] Exemplarily, the specific implementation of steps S210 - S240 may refer to steps S110 - S140 .

[0084] S250, receiving first touch position information and a second elastic wave signal corresponding to a control operation, and the control operation is performed by the second touch object on the display screen.

[0085] Exemplarily, the second touch item is the touch item currently used by the user to trigger the control operation. After the written note is drawn on the display screen, the drawing operation of the writing handwriting will be stored in the corresponding specific operation stack, and the identifier and top address information of the specific operation stack will be stored in the global operation stack. The user can choose to undo or redo the writing handwriting corresponding to the second touch item in the display screen through the second touch item, and can also choose to undo or redo the writing handwriting in the display screen. It can be understood that when the user uses the second touch item to input a control operation on the display screen, the touch sensing module and elastic wave sensor installed on the display screen detect the first touch position information and the second elastic wave signal corresponding to the control operation input by the user, and send the first touch position information and the second elastic wave signal to the processor to inform the processor to process the control operation.

[0086] S260. Determine the identifier of the second touch object according to the elastic wave signal, and confirm whether the control operation is a specific control operation or a global control operation according to the first touch position information. If the control operation is a specific control operation, execute step S270; if the control operation is a global control operation, execute step S280. The control operation includes an undo operation or a redo operation.

[0087] Exemplarily, when the second touch object touches the screen cover of the interactive tablet, the piezoelectric elastic wave sensor measures a second elastic wave signal, and the second elastic wave signal is input into a pre-trained machine learning model, which outputs an identifier of the second touch object corresponding to the second elastic wave signal.

[0088] Further, the first touch position information is measured by the optical touch sensor, and the first touch position information represents the control operation selected by the user. It can be understood that when the user uses the second touch object to click the undo or redo control in the display screen, the corresponding control operation is triggered, and a selection window pops up in the display screen so that the user can select a global control operation or a specific control operation. Further, according to the touch position of the second touch object, it can be determined whether the user has selected a global control operation or a specific control operation.

[0089] If the user chooses to cancel the handwriting corresponding to the currently used touch object, the display screen generates a specific control operation according to the user input operation, and sends the specific control operation to the processor to inform the processor to cancel or redo the specific operation stack corresponding to the identifier of the touch object currently used by the user. If the user chooses to cancel the handwriting on the display screen, the display screen generates a global control operation according to the user input operation, and sends the global control operation to the processor to inform the processor to cancel or redo the global operation stack.

[0090] S270: Determine a corresponding specific operation stack according to the identifier of the second touching object, and undo or redo the operation at the top of the specific operation stack.

[0091] Exemplarily, after determining the identifier of the second touch object, the specific operation stack storing the drawing operation corresponding to the second touch object is determined according to the identifier. If the specific operation stack is to be undone, the drawing operation at the top of the specific operation stack is deleted, and its adjacent drawing operation becomes the new top of the stack. If the specific operation stack is to be redone, the drawing operation stack at the top of the specific operation stack is deleted, and the drawing operation currently re-entered by the user is obtained, and the drawing operation is stored in the specific operation stack as the new top of the stack. Correspondingly, when the top address information of the specific operation stack changes, the top address information stored at the top of the global operation stack also changes.

[0092] For example, Figure 52 is a second schematic diagram of the first specific operation stack provided in an embodiment of the present application. Figure 5 , the first specific operation stack 11 corresponding to the first writing pen stores the first drawing operation, the second drawing operation and the third drawing operation, wherein the third drawing operation is the top of the first specific operation stack 11, and the first pointer points to the memory space address of the top of the first specific operation stack 11. Assuming that the current second touch object is the first writing pen, the first specific operation stack 11 is revoked, the third drawing operation is removed from the first specific operation stack 11, the second drawing operation becomes the top of the first specific operation stack 11, and the first pointer points to the memory space address of the second drawing operation. Correspondingly, after the second drawing operation becomes the new top of the first specific operation stack, the first pointer stored at the bottom of the global operation stack 12 points to the content space address of the second drawing operation.

[0093] S280: Determine a specific operation stack at the top of the global operation stack, and undo or redo the operation at the top of the specific operation stack.

[0094] For example, when the user uses the second touch object to select and trigger the global control operation, it indicates that the user does not care what touch object the latest handwriting is generated by, and only wants to cancel the handwriting, so the global operation stack is canceled. The global operation stack is also a stack structure, which only allows operations on the data stored at the top of the stack, so the top of the global operation stack is searched and the top of the global operation stack is canceled or redone. Accordingly, this step can specifically include S281-S282:

[0095] S281. Determine a corresponding specific operation stack according to the identifier stored at the top of the global operation stack.

[0096] Exemplarily, from the above content, it can be known that the top of the global operation stack stores the identifier and top address information of the specific operation stack storing the latest drawing operation. Therefore, the specific operation stack storing the latest drawing operation is determined according to the identifier stored at the top of the global operation stack.

[0097] S282: Determine the operation at the top of the specific operation stack according to the top address information stored at the top of the global operation stack, and undo or redo the operation.

[0098] Exemplarily, after determining the specific operation stack in which the latest drawing operation is stored, the stack top address of the latest drawing operation is determined according to the stack top address information stored at the top of the global operation stack. If the global operation stack is undone, the drawing operation is deleted from the stack top, and the adjacent drawing operation at the stack top becomes the new stack top. Accordingly, the stack top address information in the global operation stack is modified to the address information of the new stack top. If the global operation stack is redone, the drawing operation of the redrawn handwriting replaces the drawing operation at the stack top, and the stack top address information in the global operation stack does not change.

[0099] For example, Figure 6 1 is a first schematic diagram of a global operation stack provided by an embodiment of the present application. Figure 6 , the global operation stack 12 stores a second object at the top, that is, stores a second pointer and a second identifier, and the second pointer points to the memory space address of the sixth drawing operation at the top of the second specific operation stack 13. The global operation stack 12 is cancelled, and the second specific operation stack 13 is determined according to the second identifier stored at the top of the stack, and the memory space address of the sixth drawing operation is determined according to the second pointer, and the sixth drawing operation is moved out of the second specific operation stack 13. At this time, the fifth drawing operation becomes the new top of the second specific operation stack 13, and the second pointer at the top of the global operation stack 12 points to the memory space address of the fifth drawing operation. Further, Figure 7 2 is a second schematic diagram of the global operation stack provided by the embodiment of the present application. Figure 7 After three drawing operations are canceled in succession, the second specific operation stack is empty, and the first object becomes the new top of the global operation stack 12. If the drawing operation continues to be canceled, the drawing operation in the first specific operation stack 11 is canceled.

[0100] The above-mentioned writing handwriting processing method receives the first touch position information and the second elastic wave signal corresponding to the control operation, and the control operation is performed on the display screen by the second touch object; the identifier of the second touch object is determined according to the second elastic wave signal, and the control operation is confirmed to be a specific control operation or a global control operation according to the first touch position information, and the control operation includes an undo operation or a redo operation; if the control operation is a specific control operation, the corresponding specific operation stack is determined according to the identifier of the second touch object, and the operation at the top of the specific operation stack is undone or redoed; if the control operation is a global control operation, the specific operation stack at the top of the global operation stack is determined, and the operation at the top of the specific operation stack is undone or redoed. By adopting the above-mentioned technical means, since the elastic wave signals detected by the elastic wave sensor are different when different touch objects perform touch operations on the interactive tablet, different touch objects can be distinguished by the elastic wave signals, and the corresponding handwriting types can be matched according to the touch objects. The handwriting displayed on the display screen is classified by the touch objects corresponding to the handwriting, and the operations of drawing the same type of handwriting are stored in the same operation stack, so that the user can choose to undo and redo the drawing operation of a certain type of handwriting, or to undo and redo the drawing operations of all handwriting, thereby providing the user with more interaction methods and data processing methods and improving the user experience.

[0101] Figure 8 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Figure 8The handwriting processing method provided in this embodiment includes:

[0102] S310, receiving first touch track information of a first writing operation detected by a touch sensing module, where the first writing operation is performed by a first touch object on the display screen.

[0103] S320, receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identifier of a first touch object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touch object performs a first writing operation and contacts the display screen.

[0104] S330: Determine the handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw the corresponding handwriting on the display screen according to the handwriting type and the first touch track information.

[0105] S340. According to the identifier corresponding to the handwriting, the drawing operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

[0106] Exemplarily, the specific implementation of steps S310 - S340 may refer to steps S110 - S140 .

[0107] S350, receiving a save operation input on the display screen, obtaining a selected handwriting type from the save operation, and determining an identifier corresponding to the handwriting type.

[0108] For example, if the user does not want to save the handwriting of a certain type on the current display screen, the user can enter the identifier corresponding to the handwriting type when saving. The display screen generates a save operation based on the user input operation to tell the processor to filter the handwriting corresponding to the identifier when saving the handwriting on the display screen and save the rest of the handwriting.

[0109] S360, traverse all the handwritings on the display screen, determine the handwriting corresponding to the mark, and save the remaining handwritings on the display screen except the handwriting.

[0110] Exemplarily, when handwriting is generated, the identifier corresponding to the handwriting is recorded in the data structure of the handwriting, the identifier selected by the user is obtained from the save operation, and the identifier selected by the user is compared with the identifier in the data structure of all handwritings on the display screen. If the two are consistent, the corresponding handwriting is regarded as the handwriting that the user does not want to save. If the two are inconsistent, the corresponding handwriting is regarded as the handwriting that the user wants to save. Further, the storage information of the remaining handwritings stored in the memory is stored in the disk to store the storage information persistently and generate a whiteboard file. The filtered handwriting will not be persistently stored in the whiteboard file.

[0111] The above-mentioned handwriting processing method receives a save operation input on the display screen of the interactive tablet, obtains the selected handwriting type from the save operation, and determines the identifier corresponding to the handwriting type; traverses all handwritings on the display screen, determines the handwriting corresponding to the identifier, and saves the remaining handwritings on the display screen except for the handwriting. By adopting the above-mentioned technical means, when saving the handwriting displayed on the display screen, the handwriting can be selectively saved according to the identifier of the handwriting, thereby improving the operability of the interactive tablet and providing users with richer application scenarios.

[0112] Fig. 9 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Fig. 9 The handwriting processing method provided in this embodiment includes:

[0113] S410, receiving a writing pen mode start operation input on the display screen, turning on the writing pen mode, and prohibiting response to writing operations input by touch objects other than the writing pen.

[0114] Exemplarily, the interactive tablet is configured with a writing pen, the tip and tail of the writing pen are made of different materials respectively, and the writing pen has a unique identifier. Regardless of whether the touch object corresponding to the writing operation is detected to be the tip or the tail of the writing pen, the trajectory corresponding to the writing operation is associated with the identifier of the writing pen.

[0115] Furthermore, when the writing pen mode of the interactive tablet is turned on, its writing operation can only be input by the writing pen, that is, it supports writing operations input by the writing pen and supports touch selection operations input by other touch objects such as fingers.

[0116] S420, receiving second touch track information and a third elastic wave signal corresponding to a second writing operation, where the second writing operation is performed by the writing pen on the display screen.

[0117] S430. Confirm, based on the third elastic wave signal, that the writing pen component inputting the second writing operation is the writing pen tip or the writing pen tail.

[0118] S440, generating writing traces or erasing traces according to the writing pen component of the second writing operation input and the second touch track information, the writing pen tip generates writing traces correspondingly, and the writing pen tail generates erasing traces correspondingly.

[0119] Exemplarily, when a user uses the tip of a writing pen configured on an interactive tablet to write on the display screen or uses the tail of the writing pen to erase on the display screen, the touch sensing module detects second touch trajectory information and the elastic wave sensor detects a third elastic wave signal, and the processor analyzes the third elastic wave signal to determine the material type of the touch object inputting the second writing operation. If the touch object is identified as a finger, the second writing operation is not responded to. If the touch object is identified as the tip of a stylus pen, corresponding writing handwriting is drawn on the display screen according to the second touch trajectory information and the handwriting attributes configured on the interactive tablet. If the touch object is identified as the tail of a stylus pen, a corresponding erasure trajectory is generated according to the second touch trajectory information and the erasure attributes configured on the interactive tablet, and the writing handwriting at the corresponding position is erased according to the erasure trajectory.

[0120] S450. According to the identification of the writing pen, the drawing operation of the corresponding writing trace or erasing trace is stored in the corresponding specific operation stack, and the identification and stack top address information of the specific operation stack are stored in the global operation stack.

[0121] Exemplarily, to ensure that specific undo can be achieved in writing pen mode, the drawing operations of the writing traces or erasing tracks corresponding to the writing pen are stored in a specific operation stack corresponding to the writing pen identifier, and the identifier and top address information of the specific operation stack are stored in the global operation stack.

[0122] Fig.10 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Fig.10 The handwriting processing method provided in this embodiment includes:

[0123] S510, receiving a writing pen mode start operation input on the display screen, turning on the writing pen mode, and prohibiting response to writing operations input by touch objects other than the writing pen.

[0124] For example, in the stylus mode, writing operations can only be triggered by the stylus, but other touch operations can be triggered by the stylus and other touch objects.

[0125] S520, receiving second touch position information and a fourth elastic wave signal corresponding to a handwriting attribute operation, wherein the handwriting attribute operation is performed on the display screen by a third touch object.

[0126] Exemplarily, if the user wants to change the handwriting attributes of the handwriting input by the writing pen, that is, to change the color and / or thickness of the handwriting, the user uses the third touch object to open the handwriting attribute setting window and selects a suitable handwriting color and handwriting width. Correspondingly, when the user uses the third touch object to input the handwriting attribute operation on the display screen, the touch sensing module detects the second touch position information and the elastic wave sensor detects the fourth elastic wave signal. The interactive tablet sends the second touch position information and the fourth elastic wave signal to the processor to inform the processor to respond to the corresponding handwriting attribute operation.

[0127] S530: Determine the selected handwriting attribute according to the second touch position information, where the handwriting attribute includes at least one of color and thickness.

[0128] Exemplarily, the processor determines the coordinates of where the third touch object is clicked on the display screen according to the second touch position information, and determines the handwriting color and handwriting width selected by the user according to the coordinates.

[0129] S540. According to the fourth elastic wave signal, confirm that the third touching object is a writing pen or a finger. If the third touching object is a writing pen, the selected handwriting attributes are used as the handwriting attributes of the corresponding writing pen. Otherwise, the selected handwriting attributes are used as the handwriting attributes of the writing pen recognized in the last response.

[0130] Exemplarily, the processor determines the material type of the third touch object based on the fourth elastic wave signal. If the third touch object is a writing pen, the handwriting attributes of the writing pen currently set in the interactive tablet are modified to the selected handwriting attributes, that is, when the user uses the writing pen to input the second writing operation, the corresponding writing handwriting is drawn according to the handwriting attributes of the writing pen set in the interactive tablet. If the third touch object is a finger, the writing pen recognized in the last response is determined, and the handwriting attributes of the writing pen set in the current interactive tablet are modified to the selected handwriting attributes. It can be understood that in this embodiment, the interactive tablet is configured with different types of writing pens, and the interactive tablet will record the handwriting attributes of each writing pen. When a handwriting attribute operation is input, the handwriting attributes of a certain writing pen set in the interactive tablet are modified accordingly.

[0131] For example, Fig.11 is a first schematic diagram of a display screen provided in an embodiment of the present application. Fig.11, a handwriting attribute setting window 23 is displayed on the display screen 21, and the user uses the No. 1 writing pen 22 configured on the interactive tablet to select the handwriting color and handwriting width of the No. 1 writing pen 22 in the handwriting attribute setting window 23. The user uses the No. 1 writing pen 22 to click on the handwriting width selection window 24 to select a suitable handwriting width, and uses the No. 1 writing pen 22 to click on the color control 25 to select a suitable handwriting color. If the color control 25 displayed in the handwriting attribute setting window does not meet the user's needs, the user can open the color customization subwindow through the color customization control to select a suitable handwriting color. Assuming that the handwriting width selected by the user is 1mm and the handwriting color is black, the handwriting width of the No. 1 writing pen 22 set in the display screen 21 is set to 1mm and the handwriting color is set to black. After the user uses the No. 1 writing pen 22 to select 1mm handwriting and black handwriting, the user uses the No. 1 writing pen 22 to input a second writing operation on the display screen 21, and the handwriting of the handwriting width 1mm and the black handwriting is displayed on the display screen. Afterwards, the user uses the second writing pen to select the handwriting color and handwriting width in the handwriting attribute setting window 23, then the handwriting attributes of the second writing pen set in the interactive tablet are changed, but the handwriting attributes of the first writing pen 22 are not affected.

[0132] Fig.12 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Fig.12 The handwriting processing method provided in this embodiment includes:

[0133] S610: Receive a writing pen mode start operation input on the display screen, turn on the writing pen mode, and prohibit responding to writing operations input by touch objects other than the writing pen.

[0134] For example, in the writing pen mode, the user can input touch selection operations through fingers.

[0135] S620: Receive third touch track information or third touch position information corresponding to an element selection operation performed by a finger on the display screen.

[0136] For example, if the user wants to modify the handwriting attributes or display position of the handwriting that already exists on the current display screen, the user can select the handwriting to be modified on the display screen with a finger. Correspondingly, when the user inputs an element selection operation on the display screen, the touch sensing module detects the third touch track information or the third touch position information, and the interactive tablet sends the third touch track information or the third touch position information to the processor to inform the processor to respond to the corresponding element selection operation.

[0137] S630: Determine the handwriting selected on the display screen according to the third touch track information or the third touch position information.

[0138] Exemplarily, the user can select the handwriting to be modified through two input methods, one is to select the handwriting by single point, and the other is to draw a check box and select the handwriting through the check box. If the user inputs a single point selection operation, the touch sensing module detects the third touch position information, and correspondingly, the processor can determine the corresponding handwriting according to the touch coordinates in the third touch position information. If the user inputs a selection operation of drawing a check box, the touch sensing module detects the third touch track information, and correspondingly, the processor can generate a check box according to the third touch track information, and determine the corresponding handwriting according to the check box.

[0139] Furthermore, if multiple touch items currently input corresponding operations on the display screen, the currently input operations are filtered according to the preset touch item priority ranking, and the operations input by the valid touch items are confirmed. Exemplarily, assuming that both the finger and the stylus currently input corresponding operations on the display screen, then according to the preset touch item priority, only the operation input by the touch item with the highest priority is responded to. For example, the stylus inputs the second writing operation, the finger inputs the touch selection operation, and the priority of the stylus is set higher than that of the finger in the interactive tablet, then the processor only responds to the second stylus operation input by the stylus.

[0140] Fig.13 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Fig.13 The handwriting processing method provided in this embodiment includes:

[0141] S710. Receive a writing pen mode start operation input on the display screen, turn on the writing pen mode, and prohibit responding to writing operations input by touch objects other than the writing pen.

[0142] For example, in the writing pen mode, the writing pen can not only input writing operations, but also input touch selection operations.

[0143] S720: Receive fourth touch position information corresponding to a moving operation of the handwriting attribute setting window, where the moving operation is performed by the writing pen on the display screen.

[0144] For example, after the handwriting attribute setting window is expanded, it will generally be displayed at the bottom edge of the display screen. If the user draws important handwriting at its display position, the handwriting attribute setting window will block the corresponding handwriting after it is expanded, affecting the user's viewing experience. At this time, the user can use a writing pen to adjust the display position of the handwriting attribute setting window to avoid it blocking the handwriting on the display screen. Correspondingly, when the user inputs a move operation on the handwriting attribute setting window, the touch sensing module detects and obtains the fourth touch position information, and the interactive tablet sends the fourth touch position information to the processor to inform the processor to respond to the corresponding move operation.

[0145] S730: Display the handwriting attribute setting window at the relative position on the display screen according to the positional relationship between the fourth touch position information and the handwriting attribute setting window.

[0146] For example, generally speaking, the display screen is square, and its four corners are edge areas, and generally no handwriting is drawn, so the handwriting attribute setting window can be displayed at the four corners. Accordingly, this step can specifically include S731-S734:

[0147] S731, if the fourth touch position is located at the top left corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top left corner of the display screen;

[0148] S732, if the fourth touch position is located at the top right corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top right corner of the display screen;

[0149] S733, if the fourth touch position is located at the bottom left corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom left corner of the display screen;

[0150] S734: If the fourth touch position is located at the bottom right corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom right corner of the display screen.

[0151] Exemplarily, the click coordinates of the writing pen on the display screen are determined based on the fourth touch position information, the display coordinates of the handwriting attribute setting window are obtained, and based on the click coordinates and the display coordinates, it is determined which vertex corner of the handwriting attribute setting window the click coordinates are located, and the handwriting attribute setting window is displayed at the corresponding vertex corner of the display screen.

[0152] For example, Fig.14 is a second schematic diagram of a display screen provided in an embodiment of the present application. Fig.14 , the user uses the No. 1 writing pen 22 to long press the upper right corner of the handwriting attribute setting window 23. Fig.15 is a third schematic diagram of a display screen provided in an embodiment of the present application. Fig.15 , the handwriting attribute setting window 23 is displayed in the upper right corner of the display screen 21.

[0153] S740, receiving a sub-window opening operation of the handwriting attribute setting window performed by the writing pen, and displaying a color customization sub-window on one side of the handwriting attribute setting window according to the position of the handwriting attribute setting window in the display screen.

[0154] Exemplarily, the handwriting attribute setting window is also configured with a color customization sub-window. When the user clicks the color customization control in the handwriting attribute setting window, the color customization sub-window is displayed on one side of the handwriting attribute setting window. Specifically, if the distance between the right edge of the handwriting attribute setting window and the right edge of the display screen is less than the width of the color customization sub-window, the color customization sub-window is displayed on the left side of the handwriting attribute setting window, otherwise the color customization sub-window is displayed on the right side of the handwriting attribute setting window. It can be understood that the color customization sub-window is displayed on the right side of the handwriting attribute setting window by default. If the distance between the right edge of the handwriting attribute setting window and the right edge of the display screen is less than the width of the color customization sub-window, it means that the color customization sub-window will exceed the display screen interface when it is displayed on the right side of the handwriting attribute setting window, so the color customization sub-window is displayed on the left side of the handwriting attribute setting window.

[0155] For example, Fig.16 is a fourth schematic diagram of a display screen provided in an embodiment of the present application. Fig.16 The user uses the No. 1 writing pen 22 to click on the color customization control 26 in the handwriting attribute setting window 23. Fig.17 is a fifth schematic diagram of a display screen provided in an embodiment of the present application. Fig.17 Since the right edge of the handwriting attribute setting window 23 overlaps with the right edge of the display screen 21, the color customization subwindow 27 cannot be expanded and displayed on the right side of the handwriting attribute setting window 23, so the color customization subwindow 27 is displayed on the left side of the handwriting attribute setting window 23. The user can select a suitable handwriting color through the color palette 28.

[0156] Fig.18 1 is a flowchart of another method for processing handwriting provided by an embodiment of the present application. This embodiment is specific based on the above embodiment. Fig.18 The handwriting processing method provided in this embodiment includes:

[0157] S810: Receive first touch track information of a first writing operation detected by a touch sensing module, where the first writing operation is performed by a first touch object on the display screen.

[0158] S820, receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identifier of a first touch object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touch object performs a first writing operation and contacts the display screen.

[0159] S830: Determine the handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw the corresponding handwriting on the display screen according to the handwriting type and the first touch track information.

[0160] S840. According to the identifier corresponding to the handwriting, store the drawing operation corresponding to the handwriting into the corresponding specific operation stack, and store the identifier and stack top address information of the specific operation stack into the global operation stack.

[0161] Exemplarily, the specific implementation of steps S810 - S840 may refer to steps S110 - S140 .

[0162] S850: Receive fifth touch position information corresponding to the element modification operation input on the display screen.

[0163] If the user wants to directly modify the handwriting color of the handwriting displayed on the display screen, the user can use the touch object to select the handwriting to be modified on the display screen. Correspondingly, when the element modification operation is input, the touch sensor module detects the fifth touch position information, and the interactive tablet sends the fifth touch track information to the processor to inform the processor to respond to the corresponding element modification operation.

[0164] S860: Determine the selected handwriting according to the fifth touch position information, and determine the selected handwriting color, and modify the corresponding handwriting color according to the handwriting color.

[0165] Exemplarily, the processor determines the handwriting to be modified according to the fifth touch position, and selects the handwriting color in the handwriting color setting window according to the fifth touch position. It can be understood that when the user uses a touch object to click on the handwriting on the display screen, a target frame is automatically displayed on the display screen to surround the handwriting, and a handwriting color setting window is automatically displayed below the target frame. The user uses a touch object to click on the color control in the handwriting color setting window, and the handwriting to be modified is modified to the corresponding handwriting color according to the color control.

[0166] For example, Fig.19 1 is a sixth schematic diagram of a display screen provided by an embodiment of the present application. A user uses a No. 1 writing pen 22 to select a first writing handwriting 29 displayed on the display screen 21, and a target frame 30 surrounds the first writing handwriting 29. A handwriting color setting window 31 is displayed below the target frame 30, and a user can use the No. 1 writing pen 22 to select a color control in the handwriting color setting window 31.

[0167] Furthermore, the display screen can display not only handwriting, but also elements such as tables and mind maps. When the user selects multiple types of elements, the handwriting color setting window will not be displayed, that is, the color of multiple types of elements cannot be modified at the same time.

[0168] S870. According to the identifier corresponding to the handwriting, the color modification operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

[0169] Exemplarily, the operation of modifying the color of writing handwriting is also a type of drawing operation of writing handwriting. To ensure that the writing handwriting on the display screen can be specifically undone, the drawing operation of the writing handwriting or erasing track corresponding to the writing pen is stored in a specific operation stack corresponding to the writing pen identifier, and the identifier and top address information of the specific operation stack are stored in the global operation stack.

[0170] Fig. 20 Schematic diagram of a handwriting processing device provided by an embodiment of the present application. Fig. 20 The handwriting processing device includes: a first receiving module 401, a first recognition module 402, a drawing module 403 and a stacking module 404.

[0171] The first receiving module 401 is configured to receive first touch track information of a first writing operation detected by the touch sensing module, where the first writing operation is performed on the display screen by a first touch object;

[0172] A first identification module 402 is configured to receive a first elastic wave signal detected by the elastic wave sensor, and determine an identification of a first touch object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touch object performs a first writing operation and contacts the display screen;

[0173] The drawing module 403 is configured to determine the handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw the corresponding handwriting on the display screen according to the handwriting type and the first touch track information;

[0174] The stack push module 404 is configured to store the drawing operation corresponding to the handwriting into the corresponding specific operation stack according to the identifier corresponding to the handwriting, and store the identifier and stack top address information of the specific operation stack into the global operation stack.

[0175] On the basis of the above embodiment, the touch track information includes the contact area, movement speed, movement acceleration, contact position and / or contact pressure when the first touch object touches the interactive flat panel.

[0176] On the basis of the above embodiments, the writing handwriting processing device also includes: a second receiving module, configured to receive first touch position information and second elastic wave signal corresponding to a control operation, and the control operation is performed on the display screen by a second touch object; a control determination module, configured to determine the identifier of the second touch object according to the second elastic wave signal, and confirm that the control operation is a specific control operation or a global control operation according to the first touch position information, and the control operation includes an undo operation or a redo operation; a specific control module, configured to determine the corresponding specific operation stack according to the identifier of the second touch object if the control operation is a specific control operation, and undo or redo the operation at the top of the specific operation stack; a global control module, configured to determine the specific operation stack at the top of the global operation stack if the control operation is a global control operation, and undo or redo the operation at the top of the specific operation stack.

[0177] Based on the above embodiments, the global control module includes: a specific operation stack determination unit, configured to determine the corresponding specific operation stack according to the identifier stored at the top of the global operation stack; an undo or redo unit, configured to determine the operation at the top of the specific operation stack according to the top address information stored at the top of the global operation stack, and undo or redo the operation.

[0178] Based on the above embodiment, the writing handwriting processing device also includes: a third receiving module, configured to receive a save operation input on the display screen, obtain the selected handwriting type from the save operation, and determine the identifier corresponding to the handwriting type; a saving module, configured to traverse all the writing handwritings on the display screen, determine the writing handwriting corresponding to the identifier, and save the remaining writing handwritings on the display screen except the writing handwriting.

[0179] Based on the above embodiment, the saving module includes: a storage unit configured to store the storage information of the remaining handwriting stored in the memory into a disk.

[0180] On the basis of the above embodiment, the interactive tablet is correspondingly configured with a writing pen, and the pen head and the pen tail of the writing pen are respectively made of different materials.

[0181] Based on the above embodiment, the writing handwriting processing device also includes: a writing pen mode activation module, which is configured to receive a writing pen mode activation operation input on the display screen, activate the writing pen mode, and prohibit responding to writing operations input by touch objects other than the writing pen.

[0182] On the basis of the above-mentioned embodiment, the writing handwriting processing device also includes: a first receiving module of the writing pen mode, configured to receive the second touch trajectory information and the third elastic wave signal corresponding to the second writing operation, and the second writing operation is performed by the writing pen on the display screen; a writing pen component determination module, configured to confirm that the writing pen component input for the second writing operation is the writing pen tip or the writing pen tail according to the third elastic wave signal; a writing pen mode drawing module, configured to generate writing handwriting or erasing trajectory correspondingly according to the writing pen component input for the second writing operation and the second touch trajectory information, the writing pen tip generates writing handwriting correspondingly, and the writing pen tail generates erasing trajectory correspondingly; a writing pen mode stacking module, configured to store the corresponding writing handwriting or erasing trajectory drawing operation into the corresponding specific operation stack according to the writing pen identification, and store the identification and top address information of the specific operation stack into the global operation stack.

[0183] On the basis of the above embodiments, the writing handwriting processing device also includes: a second receiving module of the writing pen mode, configured to receive second touch position information and a fourth elastic wave signal corresponding to a handwriting attribute operation, and the handwriting attribute operation is performed on the display screen by a third touch object; a handwriting attribute determination module, configured to determine the selected handwriting attribute according to the second touch position information, and the handwriting attribute includes at least one of color and thickness; a writing pen attribute setting module, configured to confirm that the third touch object is a writing pen or a finger according to the fourth elastic wave signal, if the third touch object is a writing pen, the selected handwriting attribute is used as the handwriting attribute of the corresponding writing pen, otherwise the selected handwriting attribute is used as the handwriting attribute of the writing pen recognized in the last response.

[0184] Based on the above embodiments, the writing handwriting processing device also includes: a third receiving module in writing pen mode, configured to receive third touch trajectory information or third touch position information corresponding to an element selection operation, and the element selection operation is performed by a finger on the display screen; a writing pen mode element selection module, configured to determine the selected writing handwriting on the display screen based on the third touch trajectory information or the third touch position information.

[0185] Based on the above embodiment, the writing handwriting processing device also includes: a writing pen mode priority module, which is configured to filter the currently input operations according to the preset touch object priority sorting if there are currently multiple touch objects inputting corresponding operations on the display screen, and confirm the operations input by the valid touch objects.

[0186] On the basis of the above-mentioned embodiment, the writing handwriting processing device also includes: a fourth receiving module of the writing pen mode, configured to receive fourth touch position information corresponding to the moving operation of the handwriting attribute setting window, and the moving operation is performed by the writing pen on the display screen; a handwriting attribute setting window display module, configured to display the handwriting attribute setting window at a relative position on the display screen according to the positional relationship between the fourth touch position information and the handwriting attribute setting window.

[0187] On the basis of the above embodiment, the handwriting attribute setting window display module includes: a first display unit, configured so that if the fourth touch position is located at the top left corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top left corner of the display screen; a second display unit, configured so that if the fourth touch position is located at the top right corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top right corner of the display screen; a third display unit, configured so that if the fourth touch position is located at the bottom left corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom left corner of the display screen; a fourth display unit, configured so that if the fourth touch position is located at the bottom right corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom right corner of the display screen.

[0188] Based on the above embodiment, the writing handwriting processing device also includes: a sub-window display module, which is configured to receive the sub-window opening operation performed by the writing pen on the handwriting attribute setting window, and display the color customization sub-window on one side of the handwriting attribute setting window according to the position of the handwriting attribute setting window in the display screen.

[0189] Based on the above embodiment, the sub-window display module includes: a sub-window display unit, which is configured to display the color customization sub-window on the left side of the handwriting attribute setting window if the distance between the right edge of the handwriting attribute setting window and the right edge of the display screen is less than the width of the color customization sub-window, otherwise the color customization sub-window is displayed on the right side of the handwriting attribute setting window.

[0190] On the basis of the above-mentioned embodiment, the writing handwriting processing device also includes: a fourth receiving module, configured to receive the fifth touch position information corresponding to the element modification operation input on the display screen; a handwriting color modification module, configured to determine the selected writing handwriting according to the fifth touch position information, and determine the selected handwriting color, and modify the corresponding writing handwriting color according to the handwriting color; a modification operation stacking module, configured to store the color modification operation corresponding to the writing handwriting into the corresponding specific operation stack according to the identifier corresponding to the writing handwriting, and store the identifier and top address information of the specific operation stack into the global operation stack.

[0191] It is worth noting that in the above-mentioned embodiment of the writing handwriting processing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0192] The handwriting processing device provided in the embodiment of the present application is included in an interactive tablet and can be used to execute the handwriting processing method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0193] Fig.21 Schematic diagram of an interactive tablet provided by an embodiment of the present application. Fig.21 As shown, the interactive tablet includes a processor 50, a memory 51, an input device 52, an output device 53 and a display screen 54; the number of processors 50 in the interactive tablet can be one or more. Fig.21 In the example, a processor 50 is used; the number of display screens 54 in the interactive tablet can be one or more. Fig.21 A display screen 54 is taken as an example; the processor 50, the memory 51, the input device 52, the output device 53 and the display screen 54 in the interactive tablet can be connected by a bus or other means. Fig.21 The example of connecting through bus is taken in the following.

[0194] The memory 51 is a computer-readable storage medium that can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the handwriting processing method in the embodiment of the present application (for example, the first receiving module 401, the first recognition module 402, the drawing module 403 and the stacking module 404 in the handwriting processing device). The processor 50 executes various functional applications and data processing of the interactive tablet by running the software programs, instructions and modules stored in the memory 51, that is, realizing the above-mentioned handwriting processing method.

[0195] The memory 51 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the interactive tablet, etc. In addition, the memory 51 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 51 may further include a memory remotely arranged relative to the processor 50, and these remote memories may be connected to the interactive tablet via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0196] The input device 52 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the interactive tablet. The output device 53 may include an audio output device such as a speaker. The display screen 54 is a display screen with a touch function, which can be a capacitive screen, an electromagnetic screen or an infrared screen. The display screen 54 in this embodiment is an infrared screen, which includes an optical touch sensor, which is arranged around the display screen 54, and can also be used to receive infrared signals and send the infrared signals to the processor 50 or other devices. The display screen 54 also includes a piezoelectric elastic wave sensor and a pressure sensor. The piezoelectric elastic wave sensor is used to measure the elastic wave signal of the touched object, and the pressure sensor is used to measure the contact pressure of the touched object. The display screen 54 can display writing handwriting according to the instructions of the processor.

[0197] The above-mentioned interactive tablet includes a handwriting processing device, which can be used to execute any handwriting processing method and has corresponding functions and beneficial effects.

[0198] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program is used to execute the handwriting processing method provided in the above embodiment.

[0199] Of course, the computer-readable storage medium provided in the embodiment of the present application, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the handwriting processing method provided in any embodiment of the present application.

[0200] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0201] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims

1. A handwriting processing method, applied to an interactive tablet, wherein the interactive tablet comprises a display screen and a touch sensor module, characterized in that: The interactive flat panel is also provided with an elastic wave sensor, and the method comprises: receiving first touch track information of a first writing operation detected by the touch sensing module, where the first writing operation is performed by a first touch object on the display screen; receiving a first elastic wave signal detected by the elastic wave sensor, and determining an identification of the first touching object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touching object performs the first writing operation and contacts the display screen; Determining a handwriting type corresponding to the first touch object according to the identifier of the first touch object, and drawing corresponding handwriting on the display screen according to the handwriting type and the first touch track information; According to the identifier corresponding to the handwriting, storing the drawing operation corresponding to the handwriting in a corresponding specific operation stack, and storing the identifier and stack top address information of the specific operation stack in a global operation stack, the identifier of the handwriting is the same as the identifier of the first touch object, and the identifiers corresponding to the drawing operations stored in the specific operation stack are the same; When the first touch object triggers a specific control operation, the specific operation stack corresponding to the identifier of the first touch object is undone or redone.

2. The method according to claim 1, characterized in that The first touch trajectory information includes a contact area, a moving speed, a moving acceleration, a contact position and / or a contact pressure when the first touch object touches the display screen.

3. The method according to claim 1, characterized in that The handwriting processing method further comprises: receiving first touch position information and second elastic wave signal corresponding to a control operation performed by a second touch object on the display screen; determining an identifier of the second touch object according to the second elastic wave signal, and confirming that the control operation is a specific control operation or a global control operation according to the first touch position information, wherein the control operation includes an undo operation or a redo operation; If the control operation is a specific control operation, determining a corresponding specific operation stack according to the identifier of the second touching object, and undoing or redoing the operation at the top of the specific operation stack; If the control operation is a global control operation, a specific operation stack located at the top of the global operation stack is determined, and the operation located at the top of the specific operation stack is undone or redone.

4. The method according to claim 3, characterized in that Determining a specific operation stack at the top of the global operation stack, and undoing or redoing an operation at the top of the specific operation stack includes: Determine a corresponding specific operation stack according to the identifier stored at the top of the global operation stack; According to the stack top address information stored at the top of the global operation stack, the operation located at the top of the specific operation stack is determined, and the operation is undone or redone.

5. The method according to claim 1, characterized in that The handwriting processing method further comprises: Receiving a save operation inputted on the display screen, acquiring a selected handwriting type from the save operation, and determining an identifier corresponding to the handwriting type; All the handwritings on the display screen are traversed, the handwriting corresponding to the mark is determined, and the remaining handwritings on the display screen except the handwriting are saved.

6. The method according to claim 5, characterized in that The step of saving the remaining handwritings on the display screen except the handwriting includes: The storage information of the remaining handwritings stored in the memory is stored in the disk.

7. The method according to claim 1, characterized in that The interactive tablet is correspondingly equipped with a writing pen, and the pen head and the pen tail of the writing pen are respectively made of different materials.

8. The method according to claim 7, characterized in that After storing the identifier and stack top address information of the specific operation stack into the global operation stack, the method further includes: A writing pen mode start operation input on the display screen is received, the writing pen mode is turned on, and a response to a writing operation input by a touch object other than the writing pen is prohibited.

9. The method according to claim 8, characterized in that After the step of prohibiting the response to the writing operation of the touch object other than the writing pen, the step further includes: receiving second touch track information and a third elastic wave signal corresponding to a second writing operation, wherein the second writing operation is performed by the writing pen on the display screen; According to the third elastic wave signal, confirming that the writing pen component inputting the second writing operation is the writing pen tip or the writing pen tail; Generate writing traces or erasing traces according to the writing pen component input for the second writing operation and the second touch track information, the writing pen head generates writing traces correspondingly, and the writing pen tail generates erasing traces correspondingly; According to the identification of the writing pen, the drawing operation of the corresponding writing trace or erasing track is stored in the corresponding specific operation stack, and the identification and stack top address information of the specific operation stack are stored in the global operation stack.

10. The method according to claim 8, characterized in that After the step of prohibiting the response to the writing operation of the touch object other than the writing pen, the step further includes: receiving second touch position information and a fourth elastic wave signal corresponding to a handwriting attribute operation performed by a third touch object on the display screen; determining a selected handwriting attribute according to the second touch position information, wherein the handwriting attribute includes at least one of color and thickness; According to the fourth elastic wave signal, it is confirmed that the third touching object is the writing pen or the finger. If the third touching object is the writing pen, the selected handwriting attributes are used as the handwriting attributes of the corresponding writing pen; otherwise, the selected handwriting attributes are used as the handwriting attributes of the writing pen recognized in the last response.

11. The method according to claim 8, characterized in that After the step of prohibiting the response to the writing operation of the touch object other than the writing pen, the step further includes: receiving third touch track information or third touch position information corresponding to an element selection operation performed by a finger on the display screen; The selected writing handwriting on the display screen is determined according to the third touch track information or the third touch position information.

12. The method according to claim 8, characterized in that After the step of prohibiting the response to the writing operation of the touch object other than the writing pen, the step further includes: If multiple touch objects currently input corresponding operations on the display screen, the currently input operations are filtered according to the preset touch object priority order, and the operations input by the valid touch objects are confirmed.

13. The method according to claim 8, characterized in that After the step of prohibiting the response to the writing operation of the touch object other than the writing pen, the step further includes: Receiving fourth touch position information corresponding to a moving operation of a handwriting attribute setting window, wherein the moving operation is performed by the writing pen on the display screen; According to the positional relationship between the fourth touch position information and the handwriting attribute setting window, the handwriting attribute setting window is displayed at the relative position of the display screen.

14. The method according to claim 13, characterized in that The step of displaying the handwriting attribute setting window at a relative position of the display screen according to the positional relationship between the fourth touch position information and the handwriting attribute setting window comprises: If the fourth touch position is located at the top left corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top left corner of the display screen; If the fourth touch position is located at the top right corner of the handwriting attribute setting window, the handwriting attribute setting window is displayed at the top right corner of the display screen; If the fourth touch position is located at the bottom left corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom left corner of the display screen; If the fourth touch position is located at the bottom right corner of the handwriting attribute setting window, the handwriting attribute window is displayed at the bottom right corner of the display screen.

15. The method according to claim 13, characterized in that After moving the handwriting attribute setting window to the corresponding position, the method further comprises: A sub-window opening operation of the handwriting attribute setting window performed by the writing pen is received, and a color customization sub-window is displayed on one side of the handwriting attribute setting window according to the position of the handwriting attribute setting window in the display screen.

16. The method according to claim 15, characterized in that The step of displaying the color customization sub-window on one side of the handwriting attribute setting window according to the position of the handwriting attribute setting window in the display screen comprises: If the distance between the right edge of the handwriting attribute setting window and the right edge of the display screen is less than the width of the color customization sub-window, the color customization sub-window is displayed on the left side of the handwriting attribute setting window; otherwise, the color customization sub-window is displayed on the right side of the handwriting attribute setting window.

17. The method according to claim 1, characterized in that After storing the identifier and stack top address information of the specific operation stack into the global operation stack, the method further includes: Receiving fifth touch position information corresponding to the element modification operation input on the display screen; Determine the selected handwriting according to the fifth touch position information, and determine the selected handwriting color, and modify the corresponding handwriting color according to the handwriting color; According to the identifier corresponding to the handwriting, the color modification operation corresponding to the handwriting is stored in the corresponding specific operation stack, and the identifier and stack top address information of the specific operation stack are stored in the global operation stack.

18. A handwriting processing device, characterized in that: include: A first receiving module is configured to receive first touch track information of a first writing operation detected by the touch sensing module, where the first writing operation is performed on the display screen by a first touch object; a first recognition module, configured to receive a first elastic wave signal detected by the elastic wave sensor, and determine an identification of the first touch object according to the first elastic wave signal, wherein the first elastic wave signal is generated when the first touch object performs the first writing operation and contacts the display screen; a drawing module, configured to determine a handwriting type corresponding to the first touch object according to the identifier of the first touch object, and draw the corresponding handwriting on the display screen according to the handwriting type and the first touch track information; a stacking module configured to store the drawing operation corresponding to the handwriting into a corresponding specific operation stack according to the identifier corresponding to the handwriting, and store the identifier and stack top address information of the specific operation stack into a global operation stack, wherein the identifier of the handwriting is the same as the identifier of the first touch object, and the identifiers corresponding to the drawing operations stored in the specific operation stack are the same; The writing handwriting processing device is further configured to undo or redo a specific operation stack corresponding to the identifier of the first touching object when the first touching object triggers a specific control operation.

19. An interactive tablet, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the handwriting processing method as described in any one of claims 1-17.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the handwriting processing method as described in any one of claims 1-17 is implemented.

Citation Information

Patent Citations

  • Mobile terminal

    CN102855079A

  • Touch sensitive device with multi-sensor stream synchronized data

    CN107924279A

  • Stylus for touch screen

    CN208954054U

  • Digital scratchpad for use with computer, has circuit to receive and decode radio signal from writing tool, trace data of tool, and information about tool type, where circuit includes memory to store decoded information

    DE202005009266U1

  • Handwriting input device, non-transitory recording medium storing computer readable contact body determination program, and contact body determination method

    US20160162178A1