Handwriting erasing method, system, interactive display screen and readable storage medium

By storing and processing data from the writing layer on a buffer layer and utilizing an acceleration layer for rapid erasure of handwriting, the problem of writing and erasing delays in electronic devices is solved, enabling real-time dynamic erasure of handwriting.

CN115657923BActive Publication Date: 2025-11-25BEIJING HITEVISION AIXUE EDUCATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211312486.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-25
Publication Date
2025-11-25
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

In the existing technology, electronic devices have problems with writing delay and erasing delay when performing touch writing. In particular, when erasing handwriting, the writing layer needs to be superimposed on other windows, which causes the erasing delay.

Method used

By storing the background data and handwriting data of the writing layer on the buffer layer, during the erasure operation, the buffer layer sends the erasure information to the acceleration layer for accelerated display, thereby achieving fast erasure of the handwriting and displaying the final erasure result on the writing layer.

Benefits of technology

It enables real-time dynamic erasure of handwriting, eliminating erasure delays and providing a smoother user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115657923B_ABST
    Figure CN115657923B_ABST
Patent Text Reader

Abstract

The application relates to a handwriting erasing method, system, interactive display large screen and readable storage medium, which comprises the following steps: receiving an erasing operation; following the erasing operation until the current erasing operation is completed, erasing first erasing data corresponding to erasing information in first handwriting data on a buffer layer according to the erasing information of the erasing operation, and sending at least part of data corresponding to the first erasing data in background data to an acceleration layer as first accelerated display data; the acceleration layer displays first erasing handwriting; and at least when the current erasing operation is completed, the writing layer acquires each first accelerated display data of the current erasing operation and displays second erasing handwriting to display second writing handwriting. The buffer layer stores background data and first handwriting data of the writing layer, when the erasing operation is performed, the buffer layer can send first accelerated display data formed by the erasing operation to the acceleration layer, and the first erasing handwriting is displayed through the acceleration layer, so that accelerated erasing is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic equipment, in particular to a handwriting erasing method, system, interactive display large screen and readable storage medium. BACKGROUND

[0002] The existing electronic equipment all has corresponding operating system, when displaying, the system will give each window a layer value (Layer), the larger the layer value, the window is closer to the front, to shield the window with smaller layer value. The rendering program needs to superimpose each window according to the size of its layer value every time it updates the picture, forming a bitmap file, and then writes the bitmap file into a memory buffer (Framebuffer), so as to realize the rendering update of the display picture.

[0003] For electronic equipment with touch writing function, when the user performs touch writing, it takes a certain time to superimpose the writing traces on the display picture through the above process, thus the phenomenon of writing delay occurs.

[0004] For this, the prior art usually draws the writing traces directly on the acceleration layer (free memory buffer), and after writing is completed, the writing traces are refreshed to the writing layer, and then displayed on the screen by superimposing the bitmap file, and the writing traces on the acceleration layer are cleared, thus solving the technical problem of writing delay; but at the same time, when erasing the writing traces, since the traces on the acceleration layer have been cleared, only the traces on the writing layer (corresponding to a window) can be erased, and the writing layer needs to be superimposed with other windows, thus the problem of erasing delay occurs. SUMMARY

[0005] Based on the above status, the main purpose of the present application is to provide a handwriting erasing method, system, interactive display large screen and readable storage medium, by storing the background data and the first handwriting data of the writing layer in the buffer layer, when erasing operation, the buffer layer can send the first acceleration display data formed by the erasing operation to the acceleration layer, and display the first erasing handwriting through the acceleration layer, so as to realize accelerated erasing.

[0006] To achieve the above purpose, the technical scheme adopted by the present application is as follows:

[0007] A handwriting erasing method for electronic equipment, the electronic equipment has a buffer layer, a writing layer and an acceleration layer, the buffer layer is a non-display layer, the acceleration layer and the writing layer are both display layers, and the acceleration layer is faster than the writing layer in display response speed, the buffer layer stores background data on the writing layer and first handwriting data of first writing handwriting; the method comprises:

[0008] Receiving an erasing step in response to an erasing operation;

[0009] accelerating erasing step, following the erasing operation until the completion of the current erasing operation, erasing the first erasing data corresponding to the erasing information in the first handwriting data on the buffer layer according to the erasing information of the erasing operation, and sending at least the part of the background data corresponding to the first erasing data as first accelerated display data to the acceleration layer; the acceleration layer displays the first erasing handwriting according to the first accelerated display data;

[0010] writing layer erasing step, at least when the current erasing operation is completed, the writing layer obtains at least each of the first accelerated display data of the current erasing operation, and displays the second erasing handwriting according to the first accelerated display data, so as to display the second writing handwriting formed by the first writing handwriting through the erasing operation.

[0011] Optionally, the accelerating erasing step further comprises:

[0012] the part of the first handwriting data remaining after the first erasing data is erased is taken as second accelerated display data, and is sent to the acceleration layer; the acceleration layer further displays the third writing handwriting according to the second accelerated display data.

[0013] Optionally, in the writing layer erasing step, when the current erasing operation is completed, the writing layer further obtains other data in the buffer layer except each of the first accelerated display data, and displays according to the other data.

[0014] Optionally, the receiving erasing step comprises:

[0015] receiving sub-step, receiving input information;

[0016] judging sub-step, judging whether the input information includes an erasing instruction; if yes, identifying and responding to the erasing operation in the input information.

[0017] Optionally, the input information is touch information, and the judging whether the input information includes an erasing instruction comprises:

[0018] judging whether the current touch area is greater than or equal to a preset area according to the current touch information, if yes, judging that the erasing instruction is included, and taking the current touch information as erasing information of the erasing operation.

[0019] Optionally, the erasing operation comprises a plurality of continuous erasing tracks, and the first accelerated display data corresponding to each of the erasing tracks comprises first data and second data,

[0020] Wherein, on the buffer layer, each segment of the erasing track forms a rectangular area with the diagonal line being the line connecting the two end points of the segment, the first data is the part of the background data corresponding to the rectangular area, and the second data is the rest of the part of the first handwriting data corresponding to the rectangular area except the first erasing data.

[0021] Optionally, the handwriting erasing method further comprises:

[0022] receiving the writing operation;

[0023] accelerating the writing operation until the current writing operation is completed, adding second handwriting data corresponding to the writing information on the buffer layer according to the writing information of the writing operation and sending the second handwriting data to the acceleration layer; and displaying fourth writing handwriting on the acceleration layer according to the second handwriting data.

[0024] writing the layer, at least when the current writing operation is completed, obtaining each of the second handwriting data of the current writing operation, and displaying fifth writing handwriting according to each of the second handwriting data.

[0025] The present application also relates to a handwriting processing system for executing the handwriting erasing method described above, comprising:

[0026] receiving the erasing operation;

[0027] displaying the acceleration layer and the writing layer;

[0028] the buffer layer, for following the erasing operation until the current erasing operation is completed, erasing first erasing data corresponding to the erasing information in the first handwriting data on the buffer layer according to the erasing information of the erasing operation, and sending at least the part of the background data corresponding to the first erasing data as first acceleration display data to the acceleration layer module;

[0029] the acceleration layer module, for receiving the first acceleration display data and controlling the acceleration layer to display first erasing handwriting according to the first acceleration display data;

[0030] the writing layer module, for at least when the current erasing operation is completed, obtaining at least each of the first acceleration display data of the current erasing operation, and displaying second erasing handwriting according to the first acceleration display data, so as to display second writing handwriting formed by the first writing handwriting through the erasing operation.

[0031] The present application also relates to an interactive display large screen comprising the handwriting processing system described above.

[0032] The application also relates to a computer readable storage medium, which stores an executable program, and the executable program performs the handwriting erasing method.

[0033]

Advantages

[0034] The application stores background data and first handwriting data consistent with the writing layer on the buffer layer, forms first accelerated display data by erasing on the buffer layer when the erasing operation is needed, sends the first accelerated display data to the acceleration layer in real time, and displays the first accelerated display data through the acceleration layer. The first erasing handwriting displayed on the acceleration layer covers the corresponding part of the first writing handwriting on the writing layer, so that the part of the first writing handwriting is directly erased, and when the erasing operation is completed, the writing layer obtains the first accelerated display data of the erasing operation, and displays the first accelerated display data on the writing layer. At this time, the first writing handwriting on the writing layer can be seen to be erased, and the purpose of accelerated erasing is achieved.

[0035] Other advantages of the application will be described in the specific embodiments by introducing specific technical features and technical solutions. Those skilled in the art should understand the advantages brought by the technical features and technical solutions through the introduction of the technical features and technical solutions. BRIEF DESCRIPTION OF DRAWINGS

[0036] The preferred embodiments of the handwriting erasing method, system, interactive display screen and readable storage medium of the application will be described below with reference to the accompanying drawings. In the drawings:

[0037] Figure 1 It is a flowchart of a handwriting erasing method;

[0038] Figure 2 It is a schematic diagram of displaying background and first writing handwriting on a writing layer Figure 1 ;

[0039] Figure 3 It is a schematic diagram of erasing operation on a buffer layer

[0040] Figure 4 It is a schematic diagram of displaying first erasing handwriting on an acceleration layer Figure 1 ;

[0041] Figure 5 It is a schematic diagram of superimposed display of an acceleration layer and a writing layer Figure 1 ;

[0042] Figure 6 It is a schematic diagram of displaying erasing result on a writing layer

[0043] Figure 7 It is a schematic diagram of displaying first erasing handwriting on an acceleration layerFigure 2 ;

[0044] Figure 8 Schematic diagram for superimposed display of the acceleration layer and the writing layer Figure 2 ;

[0045] Figure 9 Schematic diagram for displaying the background and the first writing trace of the writing layer Figure 2 ;

[0046] Figure 10 Schematic diagram for forming a rectangular region according to touch points A1 and A2 on the buffer layer

[0047] Figure 11 Schematic diagram for displaying the first erasing trace on the acceleration layer Figure 3 .

[0048] In the figure: 1, buffer layer; 2, acceleration layer; 3, writing layer; 4, background; 5, first writing trace; 6, first erasing data; 7, reserved data; 8, erasing region; 9, first erasing trace; 10, second writing trace; 11, rectangular region. DETAILED DESCRIPTION

[0049] The present application is described in the following based on examples, but the present application is not limited to these examples only. In the following detailed description of the present application, some specific details are described in detail in order to avoid obscuring the present application, but well-known methods, procedures, processes, elements, etc. are not described in detail.

[0050] In addition, those skilled in the art should understand that the drawings provided herein are for illustrative purposes only, and the drawings are not necessarily drawn to scale.

[0051] Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of "including, but not limited to".

[0052] In the description of the present application, it should be understood that the terms "first", "second", etc. are only for the purpose of description, and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise stated, the meaning of "multiple" is two or more.

[0053] The present application relates to a self-determined, those skilled in the art can determine various allowed, reasonable order according to the technology itself.

[0054] Those skilled in the art can understand that the above-mentioned preferred embodiments can be freely combined and superimposed without conflict.

[0055] Referring toFigures 1-11 The present application relates to a handwriting erasing method, which can be used on an electronic device with a drawing function. The drawing function can be provided by the electronic device itself or by connecting other systems or devices through wireless or wired connection. The drawing function can be realized by touch or by an external input / output device such as a mouse. Specifically, the electronic device can be an interactive display with a large screen or an electronic whiteboard. The electronic device can be installed with a single system (i.e., only one operating system), such as Windows, Android or Linux, or a dual system (i.e., two operating systems, which can interact with each other, and one of them is used for display, for example, refer to CN107450831A). In the dual system, one of the two operating systems can be used as the master system and the other as the slave system. The master system directly controls the display of the electronic device. The drawing application is pre-installed in the operating system. In the dual system, the drawing application can be pre-installed in the slave system. The handwriting erasing method is realized on the premise that the drawing application is running.

[0056] The electronic device has a buffer layer 1, a writing layer 3 and an acceleration layer 2. The buffer layer 1 is a non-display layer, and the acceleration layer 2 and the writing layer 3 are display layers. The acceleration layer 2 is a transparent layer. The acceleration layer 2 is located in front of the writing layer 3. That is, when the acceleration layer 2 does not display any image, the user can directly see the image displayed by the writing layer 3 through the acceleration layer 2. When the acceleration layer 2 displays an image, the image displayed by the acceleration layer 2 will cover the image in the corresponding area of the writing layer 3. At the same time, the part of the acceleration layer 2 other than the displayed image is still transparent. At this time, the user can see the image displayed by the acceleration layer 2 and the image displayed by the writing layer 3. That is, the user sees the image displayed by the superposition of the acceleration layer 2 and the writing layer 3. In addition, in the present application, the acceleration layer 2 can display the received data in the form of an image in real time. The writing layer 3 can also display the received data in the form of an image, but it cannot display in real time due to background technology. That is, the acceleration layer 2 has a faster display response speed than the writing layer 3. Figure 2 and Figure 3 The buffer layer 1 stores the background data on the writing layer 3 and the first handwriting data of the first writing handwriting 5. That is, if the buffer layer 1 can display the image, Figure 3 shows the state displayed by the buffer layer 1, but in fact the buffer layer 1 is invisible, Figure 3For the convenience of the person skilled in the art to understand the present application, it is not meant that the buffer layer 1 is a display layer, and the image displayed by the buffer layer 1 is consistent with the image displayed by the writing layer 3. It should be noted that the data stored in the buffer layer 1 is not always consistent with the image displayed by the writing layer 3. In the present application, there is a difference between the data stored in the buffer layer 1 and the image displayed by the writing layer 3 during the following erasing operation and writing operation. However, the data stored in the buffer layer 1 is basically consistent with the image displayed by the writing layer 3 at the time of completion of writing or before the erasing operation.

[0057] As shown in Figure 1 , the method for erasing the handwriting includes the following steps:

[0058] S100, receiving an erasing step, responding to the erasing operation.

[0059] S200, accelerating the erasing step, following the erasing operation until the completion of the current erasing operation, according to the erasing information of the erasing operation (the erasing information includes the information of the erasing area 8 in the embodiment shown in Figure 3 , erasing the first erasing data 6 corresponding to the erasing information in the first handwriting data on the buffer layer 1, and sending at least the part of the background data corresponding to the first erasing data 6 to the acceleration layer 2 as the first accelerated display data; the acceleration layer 2 accelerates the display of the first erasing handwriting 9 according to the first accelerated display data.

[0060] S300, the writing layer 3 erasing step, at least when the current erasing operation is completed, the writing layer 3 acquires at least each first accelerated display data of the current erasing operation, and displays the second erasing handwriting according to at least the first accelerated display data, so as to display the second writing handwriting 10 formed by the first writing handwriting 5 through the erasing operation.

[0061] In the present application, referring to Figure 2 and Figure 3 , the background 4 and the first writing handwriting 5 are displayed on the writing layer 3, and the background data corresponding to the background 4 and the first handwriting data corresponding to the first writing handwriting 5 are stored in the buffer layer 1. When the erasing operation is performed, the erasing operation is dynamically changed, that is, with the passage of time, the position of the erasing operation will change, and thus the electronic device will obtain the real-time changing erasing area 8 (the area formed by the erasing operation on the electronic device, and the purpose of the erasing operation is to erase the part of the first writing handwriting 5 in the writing layer 3 corresponding to the erasing area 8, that is, to erase the first erasing data 6 in the erasing area 8, Figure 3corresponding to the first erasing data 6, and the first erasing data 6 and the remaining data 7 are visible together, and the first erasing data 6 and the remaining data 7 together show the first writing trace 5; during the erasing operation, the first erasing data 6 is updated constantly with the change of the erasing information, so that the erasing database (the first erasing data 6 in each collection period is assumed to exist in the database) is gradually enlarged, and the corresponding remaining data 7 is dynamically reduced with the erasing operation.

[0062] The above process realizes the purpose of erasing the writing trace in the buffer layer 1, but the buffer layer 1 cannot be seen by the user, so the user cannot see the accelerated erasing process. In order to visually display the above erasing process, referring to Figure 4 , the buffer layer 1 will at least send the part of the background data corresponding to the first erasing data 6 in the buffer layer 1 to the acceleration layer 2 as the first accelerated display data, that is, the first accelerated display data at least includes part of the background data, and the first accelerated display data is related to the first erasing data 6. For the buffer layer 1, the first writing trace data and the background data can be stored in layers, and if the buffer layer 1 is in a visible state, the user will see that the first writing trace 5 (corresponding to the first writing trace data) blocks the corresponding part of the background 4 (corresponding to the background data), and the first accelerated display data, if visible, at least includes the part of the background 4 blocked by the part of the first writing trace 5 that is erased (i.e. the first erasing trace 9 described below), as mentioned above, the first erasing data 6 is dynamically changed, so the first accelerated display data is also dynamically changed, the buffer layer 1 sends the first accelerated display data to the acceleration layer 2 in real time, and the first accelerated display data is displayed through the acceleration layer 2, so that the first erasing trace 9 (the background 4 corresponding to the part of the first writing trace 5 that is erased, i.e. Figure 3 the part of the background data corresponding to the first erasing data 6 in the buffer layer 1) is displayed on the acceleration layer 2, and the first erasing trace 9 is displayed on the acceleration layer 2, so that the user can see the accelerated erasing process. Figure 5As shown, in order to distinguish the acceleration layer 2 from the writing layer 3, the two are misaligned, but in fact, the acceleration layer 2 overlaps the writing layer 3, and since the acceleration layer 2 is located in front of the writing layer 3, the first erasing trace 9 displayed by the acceleration layer 2 will cover the corresponding part of the first writing trace 5 on the writing layer 3, and the first erasing trace 9 is the background 4 of the erased part of the first writing trace 5, so that the user can see the process of dynamically erasing the first writing trace 5 in real time, thereby achieving the purpose of accelerated erasing.

[0063] In the present application, the erasing operation includes multiple continuous erasing traces, each of which corresponds to a first erasing data 6 and a first acceleration display data, so that when the erasing operation is performed, the buffer layer 1 sends the first acceleration display data one by one to the acceleration layer 2 for display, so that the acceleration layer 2 displays the process of dynamically erasing the first writing trace 5.

[0064] When the current erasing is completed (for example, no response to the erasing operation within a preset time), the final erasing result is displayed on the writing layer 3 (for example, the second writing trace 10 formed by the first writing trace 5 after being erased by the first erasing trace 9). Figure 6 As shown, specifically, the first acceleration display data in the entire erasing operation process can be sent to the writing layer 3, so that the writing layer 3 can display the second erasing trace, which is the same as the first erasing trace 9 displayed on the acceleration layer 2, so that the part of the first writing trace 5 on the writing layer 3 corresponding to the second erasing trace is erased, and the second writing trace 10 (the remaining part of the first writing trace 5) is formed on the writing layer 3. After the second writing trace 10 is displayed on the writing layer 3, the data on the acceleration layer 2 is cleared, that is, the first erasing trace 9 is no longer displayed on the acceleration layer 2, at this time, the acceleration layer 2 is completely transparent, and the user can directly see the content displayed by the writing layer 3.

[0065] In the above process, the first acceleration display data is sent to the acceleration layer 2 through the buffer layer 1, and the first erasing trace 9 is displayed in real time through the acceleration layer 2, so that with the progress of the erasing operation, part of the first writing trace 5 on the writing layer 3 is gradually covered, achieving the effect of accelerated erasing, so that there is no erasing lag in the user's visual angle, that is, the erasing display can follow the erasing operation, and when the erasing is completed, the writing layer 3 obtains the first acceleration display data of the current erasing operation and displays it on the writing layer 3, at this time, all data of the acceleration layer 2 is cleared, and the second writing trace 10 formed by the first writing trace 5 after the erasing operation can still be seen through the writing layer 3, solving the technical problem of erasing delay.

[0066] In step S200, the buffer layer 1 can send only the part of the background data corresponding to the first erasing data 6 to the acceleration layer 2 as the first accelerated display data, as described in the first embodiment; in other embodiments, more data in the buffer layer 1 can be sent to the acceleration layer 2 for display, for example, in the first embodiment, the aforementioned reserved data 7 (part of the first handwriting data that is not erased) can also be sent to the acceleration layer 2; or in the second embodiment, the part of the background data corresponding to the aforementioned erasing area 8 is also sent to the acceleration layer 2 as the first accelerated data; or as shown in the third embodiment, the background data (first data described below) and the remaining first handwriting data (second data described below) in the rectangular area 11 formed by the adjacent touch points are sent to the acceleration layer 2 as the first accelerated display data; or as shown in the fourth embodiment, all the data in the buffer layer 1 is sent to the acceleration layer 2 as the first accelerated display data in real time. Figure 10

[0067] First embodiment:

[0068] Step S200 also includes sending the part of the first handwriting data remaining after the first erasing data 6 is erased (i.e., the aforementioned reserved data 7) as the second accelerated display data to the acceleration layer 2; and the acceleration layer 2 also displays the third writing handwriting according to the second accelerated display data.

[0069] At this time, the first erasing handwriting 9 and the third writing handwriting after erasing are displayed on the acceleration layer 2, that is, the first erasing handwriting 9 and the third writing handwriting displayed on the acceleration layer 2 completely block the first writing handwriting 5 displayed on the writing layer 3, but the first erasing handwriting 9 is actually part of the background 4, and the third writing handwriting is the part of the writing handwriting that is not erased dynamically, after erasing is completed, the third writing handwriting is consistent with the second writing handwriting 10, so that the writing handwriting seen by the user is completely displayed by the acceleration layer 2.

[0070] Second embodiment:

[0071] In step S200, according to the erasing information of the erasing operation, the first erasing data 6 corresponding to the erasing information in the first handwriting data is erased on the buffer layer 1, and the part of the background data corresponding to the erasing information (erasing area 8 described below) is sent to the acceleration layer 2 as the first accelerated display data, at this time, the first accelerated display data includes not only the part of the background data corresponding to the first erasing data 6, but also the part of the background data corresponding to the first erasing data 6.

[0072] Referring to Figure 3 , the erasing information corresponds to the erasing area 8 of the erasing operation, the first erasing data 6 is part of the first handwriting data in the erasing area 8, and the part of the background data in the entire erasing area 8 is sent to the acceleration layer 2 for display​Figure 7 (as shown), so that the first erasing stroke 9 displayed on the acceleration layer 2 is exactly the same as the background 4 in the erasing area 8, thereby completely covering part of the first writing stroke 5 of the writing layer 3 in the erasing area 8, achieving the purpose of accelerating erasure.

[0073] Third embodiment:

[0074] See Figures 9-11 For clarity, the background is not shown in any of these three figures. Figure 9 The arcs and broken lines in the text represent the first handwriting. Taking an interactive large-screen display with touch functionality as an example, when a user performs an erasing operation, they do so by touching and moving on the screen. Specifically, the electronic device periodically acquires touch points on the screen. For example, the scanning frequency of the electronic device is 50Hz (this is just an example; the actual scanning frequency depends on the specific electronic device and can be 120Hz, 240Hz, or 480Hz, etc.). Therefore, when the user slides on the screen, the electronic device can acquire 50 touch points per second. Connecting these touch points in chronological order yields the erasing information. It can be seen that the erasing information consists of segments of lines, each corresponding to an erasing trajectory. The screen can define a horizontal axis (X-axis) and a vertical axis (Y-axis), meaning each touch point has corresponding coordinates. Thus, each erasing trajectory can be determined, and the first handwriting data overlapping with that erasing trajectory can be erased within the buffer layer 1. Figure 11 The text shows the erasure of the left segment of the broken line. Regarding the first accelerated display data, it is also related to the two corresponding touch points. Specifically, taking two adjacent touch points A1 and A2 as examples, where the coordinates of point A1 are (X1, Y1) and the coordinates of point A2 are (X2, Y2), in buffer layer 1, the data within the rectangular area 11 enclosed by X=X1, Y=Y1, X=X2, and Y=Y2 (the data after erasing the first handwriting data overlapping the erasure trajectory within the rectangular area 11) is selected as the first accelerated display data and sent to acceleration layer 2 (see...). Figure 10 , Figure 11 ),like Figure 10 As shown, Figure 10 The image shows the state of buffer layer 1 before erasure. After the buffer layer 1 acquires two touch points, an erasure trajectory is formed in the buffer layer 1. Figure 10 (The line connecting A1 and A2), and erase the portion of the first handwriting data that overlaps with the erasure trajectory, then... Figure 10The data of the rectangular region 11 in the buffer layer 1 is sent to the acceleration layer 2 as the first acceleration display data for display. It can be seen that the first acceleration display data comprises first data and second data, wherein the first data corresponds to part of the background data of the rectangular region 11, and the second data is the remaining data of the part of the first trace data corresponding to the rectangular region 11 except the first erasing data (the part of the first trace data erased in the rectangular region) Figure 10 , Figure 11 The acceleration layer 2 displays the image of the rectangular region 11 after erasing according to the first acceleration display data. According to the continuous erasing trace, the buffer layer 1 successively sends the first acceleration display data to the acceleration layer 2, so that the acceleration layer 2 displays the rectangular region 11 of the buffer layer 1 successively to form the first erasing trace 9.

[0075] Fourth embodiment

[0076] As described above, in step S200, the buffer layer 1 can erase the first erasing data 6 on the buffer layer 1 in real time according to the erasing operation, so that the buffer layer 1 can also send all the data (background data and the remaining data 7) after the first erasing data on the buffer layer 1 to the acceleration layer 2 as the first acceleration display data in real time, that is, the buffer layer 1 is displayed in real time through the acceleration layer 2, so as to completely cover the writing layer 3.

[0077] In step S300, when the current erasing operation is completed, the writing layer 3 can acquire each first acceleration display data, so that the second erasing trace is displayed on the writing layer 3, thereby achieving the purpose of displaying the final erasing result on the writing layer 3. Of course, in another embodiment, when the current erasing operation is completed, the writing layer 3 also acquires other data except the first acceleration display data in the buffer layer 1, and displays according to the other data; that is, the buffer layer 1 sends all the data (background data and the remaining first trace data after erasing) at the time when the current erasing operation is completed to the writing layer 3. Since the buffer layer 1 erases the first erasing data 6 according to the erasing operation, all the data on the buffer layer 1 is the result after erasing, so that the writing layer 3 can directly display the result after erasing by acquiring all the data of the buffer layer 1.

[0078] For the embodiment in step S300 in which the writing layer only acquires each first acceleration display data, each first acceleration display data can be sent to the writing layer 3 by the buffer layer 1 or the acceleration layer 2. Of course, when corresponding to the fourth embodiment, all the data of the buffer layer 1 is sent to the writing layer 3 at this time, or the data of the final display screen of the acceleration layer 2 is sent to the writing layer 3 for display.

[0079] Specifically, step S100 comprises:

[0080] S110, receiving sub-step, receiving input information.

[0081] S120, judging sub-step, judging whether the input information includes an erasing instruction; if yes, identifying the erasing operation in the input information. The subsequent accelerated erasing step and the writing erasing step can be executed.

[0082] The electronic device can receive input information, and when the electronic device judges that the input information contains an erasing instruction, the aforementioned step S200 and step S300 are executed, otherwise, step S200 and step S300 are not executed.

[0083] For the present application, only when the drawing application is activated on the electronic device and the erasing instruction is received, step S200 and step S300 are executed.

[0084] When the user needs to perform an erasing operation, the electronic device can be activated by activating the erasing instruction, so that the electronic device subsequently erases part or all of the first writing traces according to the erasing operation.

[0085] In an embodiment, the input information includes an erasing operation and an eraser activation instruction as an erasing instruction.

[0086] That is, in the drawing application, there is an eraser icon, and when the user needs to perform an erasing operation, the client receives an activation erasing instruction by clicking the eraser icon.

[0087] Also, the electronic device is an interactive display large screen with touch function, when the erasing operation is needed, the eraser icon on the screen is clicked (the eraser icon can also be clicked by an external control device such as a mouse), so that the electronic device judges that the input information has an erasing instruction, and then the electronic device obtains the erasing operation by moving the finger on the screen (the mouse moving method can also be used), so that the electronic device obtains the erasing operation, and subsequently erases part or all of the first writing traces according to the erasing operation in step S200 and step S300.

[0088] In step S300, when the current erasing operation is completed, it means that in the continuous erasing touch movement, when the finger leaves the screen, it is considered that the current erasing operation is completed at this time, thereby interrupting the current erasing operation of the electronic device. Then, the user can continue to perform the erasing operation by touching the screen. In actual application, a preset time can also be set, and when the erasing operation is performed, if the electronic device does not obtain the touch point within the preset time, it means that the current erasing operation is completed, and the preset time is greater than the scanning period of the electronic device, for example, 0.05s, 0.1s, 0.2s or 0.3s, etc. That is, when the user performs the erasing operation by touching the screen, the electronic device scans and obtains the touch point on the screen to form the erasing information, and when the electronic device does not obtain the touch point in a certain scanning, it means that the finger of the user leaves the screen at this time, that is, it can be determined that the current erasing operation is completed, but sometimes due to the sensitivity problem of the electronic device itself, the situation of missing scanning may occur. In order to prevent the electronic device from prematurely completing the current erasing operation due to missing scanning, the preset time is set, and the time point of initially not scanning and obtaining the touch point is taken as the starting time point, and if the touch point is not scanned and obtained within the preset time, it is considered that the current erasing operation is completed, otherwise the erasing operation is continued. When the erasing operation is completely completed, it can be realized by clicking the eraser icon again, and the subsequent finger touch movement will not be considered as the erasing operation.

[0089] In another embodiment, the input information is touch information, and in step S120, the following steps are included:

[0090] According to the current touch information, it is judged whether the current touch area is greater than or equal to the preset area, if yes, it is judged that the current touch information includes the erasing instruction, and the current touch information is taken as the erasing information of the erasing operation. The preset area is artificially preset, for example, 3cm 2 , 5cm 2 , 6cm 2 , 7cm 2 , 8cm 2 or 10cm 2 .

[0091] In actual application, the user can directly perform the erasing operation by using the eraser, and the area of the eraser is obviously larger than the area of the finger, so that the electronic device can judge that the user is performing the erasing operation by using the eraser by detecting the touch area, and thus the user can perform the erasing operation without clicking the eraser icon.

[0092] In the third embodiment, the electronic device scans to obtain each touch area, the rectangular area 11 is formed by two adjacent touch areas, the minimum point in the two touch areas in the X axis is determined as X1 and the maximum point is determined as X2, and the minimum point in the Y axis is determined as Y1 and the maximum point in the Y axis is determined as Y2, so as to determine the rectangular area 11.

[0093] Further, in step S300, the current erasing operation is completed when the subsequent current touch area is smaller than the preset area. That is, when the electronic device detects that the current touch area is smaller than the preset area, it means that the eraser is separated from the screen, and thus the current erasing operation is considered to be completed.

[0094] The method for erasing handwriting further comprises the steps of:

[0095] S400, receiving a writing step in response to a writing operation.

[0096] S500, an accelerated writing step, following the writing operation until the current writing operation is completed, adding second handwriting data corresponding to the writing information on the buffer layer 1 according to the writing information of the writing operation, and sending the second handwriting data to the acceleration layer 2; the acceleration layer 2 displays the fourth writing handwriting according to the second handwriting data.

[0097] S600, a writing layer 3 writing step, at least when the current writing operation is completed, the writing layer 3 obtains each second handwriting data, and displays the fifth writing handwriting according to each second handwriting data. And after the writing layer 3 displays the fifth writing handwriting, the data on the acceleration layer 2 is cleared, so that the acceleration layer 2 no longer displays the picture.

[0098] During the writing operation, the buffer layer 1 synchronously records the corresponding second handwriting data, so that when the writing operation is completed, the handwriting data (including the first handwriting data and the second handwriting data) and the background data recorded on the buffer layer 1 are consistent with the writing handwriting (including the original first writing handwriting and the newly written fifth writing handwriting) and the background 4 displayed by the writing layer 3.

[0099] The present application also relates to a handwriting processing system for executing the handwriting erasing method described above, comprising:

[0100] The receiving module is used for responding to the erasing operation.

[0101] The display module is used for displaying the acceleration layer 2 and the writing layer 3.

[0102] The buffer layer module is used for following the erasing operation until the current erasing operation is completed, erasing the first erasing data 6 corresponding to the erasing information in the first handwriting data on the buffer layer 1 according to the erasing information of the erasing operation, and sending at least the part of the data corresponding to the first erasing data 6 in the background data to the acceleration layer module as the first acceleration display data.

[0103] The acceleration layer module is configured to receive the first accelerated display data and control the acceleration layer 2 to display the first erasing trace 9 according to the first accelerated display data.

[0104] The writing layer module is configured to acquire the first accelerated display data of the current erasing operation and display the second erasing trace according to the first accelerated display data, so as to display the second writing trace 10 formed by the first writing trace 5 through the erasing operation.

[0105] The receiving module is connected with the acceleration layer module, the buffer layer module and the writing layer module respectively, and the writing layer module and the acceleration layer module are further connected with the display module.

[0106] The background data and the first trace data consistent with the writing layer module are stored in the acceleration layer module. When the erasing operation is needed, the first accelerated display data is formed by erasing on the buffer layer 1, and the first accelerated display data is sent to the acceleration layer 2 in real time and displayed by the acceleration layer 2. The first erasing trace 9 displayed by the acceleration layer 2 covers the corresponding part of the first writing trace 5 on the writing layer 3, so that it seems that part of the first writing trace 5 is directly erased. When the current erasing operation is completed, the writing layer 3 acquires the first accelerated display data of the current erasing operation and displays the first accelerated display data on the writing layer 3. At this time, the first writing trace can still be seen after all the data of the acceleration layer 3 is cleared, so that the user will not be caused to have problems after erasing, and the purpose of accelerated erasing is achieved.

[0107] The application also relates to an interactive display large screen comprising the aforementioned trace processing system.

[0108] The application also relates to a computer readable storage medium, wherein an executable program is stored on the computer readable storage medium, and the executable program performs the aforementioned trace erasing method when running.

[0109] The acceleration layer module, the buffer layer module and the writing layer module can all store the background data and the first trace data consistent with the writing layer module on the buffer layer 1. When the erasing operation is needed, the first accelerated display data is formed by erasing on the buffer layer 1, and the first accelerated display data is sent to the acceleration layer 2 in real time and displayed by the acceleration layer 2. The first erasing trace 9 displayed by the acceleration layer 2 covers the corresponding picture on the writing layer 3, so that the purpose of accelerated erasing is achieved.

[0110] It should be noted that the computer-readable storage medium of the embodiments of the present disclosure is not limited to the above-mentioned examples, and can also be an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electric connection with one or more conductive wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or apparatus.

[0111] Those skilled in the art can understand that the above-mentioned preferred embodiments can be freely combined and superimposed without conflict. Among them, the flowcharts and block diagrams in the drawings illustrate the possible implementation architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, program segment, or a part of code containing one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different order than that noted in the drawings, for example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the specific functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions. The numbering of the steps herein is only for the convenience of explanation and reference, and does not limit the front and back order, and the specific execution order is determined by the technology itself, and those skilled in the art can determine various allowed and reasonable orders according to the technology itself.

[0112] It should be understood that the above-described embodiments are only exemplary and not limiting, and those skilled in the art can make various obvious or equivalent modifications or replacements to the above-described details without departing from the essential principles of the present application, which will be included in the scope of the claims of the present application.

Claims

1. A handwriting erasing method for an electronic device, the method comprising: The electronic device has a buffer layer, a writing layer and an acceleration layer, the buffer layer is a non-display layer, the acceleration layer and the writing layer are display layers, the acceleration layer has a faster display response speed than the writing layer, and the buffer layer stores background data on the writing layer and first handwriting data of first handwriting traces; the method comprises: a receiving erasing step, which responds to an erasing operation; an accelerated erasing step, which follows the erasing operation until the completion of the current erasing operation, erases first erasing data corresponding to erasing information of the erasing operation from the first handwriting data on the buffer layer according to the erasing information, and sends at least part of data corresponding to the first erasing data in the background data to the acceleration layer as first accelerated display data; the acceleration layer displays first erasing traces according to the first accelerated display data; a writing layer erasing step, which acquires at least each of the first accelerated display data of the current erasing operation and displays second erasing traces according to the first accelerated display data to display second handwriting traces formed by the first handwriting traces through the erasing operation when the current erasing operation is completed.

2. The handwriting erasing method according to claim 1, wherein The accelerated erasing step further comprises: sending part of data remaining after the first erasing data is erased from the first handwriting data to the acceleration layer as second accelerated display data; and the acceleration layer displays third handwriting traces according to the second accelerated display data.

3. The handwriting erasing method according to claim 1, wherein In the writing layer erasing step, when the current erasing operation is completed, the writing layer further acquires other data in the buffer layer except for each of the first accelerated display data and displays according to the other data.

4. The handwriting erasing method according to any one of claims 1 to 3, characterized by, The receiving erasing step comprises: a receiving sub-step of receiving input information; a judging sub-step of judging whether the input information includes an erasing instruction; if yes, identifying and responding to the erasing operation in the input information.

5. The handwriting erasing method according to claim 4, wherein The input information is touch information, and the judging whether the input information includes an erasing instruction comprises: judging whether a current touch area is greater than or equal to a preset area according to current touch information, and if yes, determining that the erasing instruction is included and taking the current touch information as erasing information of the erasing operation.

6. The handwriting erasing method according to any one of claims 1 to 3, characterized by, The erasing operation includes multiple continuous erasing traces, and each of the first accelerated display data corresponding to the erasing traces includes first data and second data, wherein, on the buffer layer, each of the erasing traces forms a rectangular region with a diagonal line connecting the first and last points of the erasing trace, the first data is part of the background data corresponding to the rectangular region, and the second data is part of the first handwriting data corresponding to the rectangular region except for the first erasing data.

7. The handwriting erasing method according to any one of claims 1 to 3, characterized by, Further comprising: a receiving writing step, which responds to a writing operation; an accelerated writing step, which follows the writing operation until the completion of the current writing operation, adds second handwriting data corresponding to writing information of the writing operation on the buffer layer and sends it to the acceleration layer according to the writing information; and the acceleration layer displays fourth handwriting traces according to the second handwriting data. The writing layer obtains each second handwriting data of the current writing operation and displays a fifth writing handwriting according to each second handwriting data at least when the current writing operation is completed.

8. A handwriting processing system characterized by comprising: A handwriting erasing method according to any one of claims 1-7, comprising: a receiving module for responding to an erasing operation; a display module for displaying an acceleration layer and a writing layer; a buffer layer module for following the erasing operation until the current erasing operation is completed, erasing first erasing data corresponding to erasing information of the erasing operation in the first handwriting data on the buffer layer according to the erasing information, and sending at least part of data corresponding to the first erasing data in the background data to the acceleration layer module as first acceleration display data; an acceleration layer module for receiving the first acceleration display data and controlling the acceleration layer to display first erasing handwriting according to the first acceleration display data; a writing layer module for obtaining at least each first acceleration display data of the current erasing operation and displaying second erasing handwriting according to the first acceleration display data at least when the current erasing operation is completed, so as to display second writing handwriting formed by the first writing handwriting through the erasing operation.

9. An interactive display wall, characterized by A handwriting processing system according to claim 8.

10. A computer-readable storage medium, characterized in that, A computer readable storage medium having an executable program stored thereon, the executable program performing the handwriting erasing method according to any one of claims 1-7 when running.

Citation Information

Patent Citations

  • Handwriting display processing method and system based on dual systems, storage medium and equipment

    CN107450831A

  • Method for erasing handwriting

    CN101609560A

  • Handwriting erasure method and system of infrared touch equipment

    CN106610783A