Ink screen handwriting erasing method and device, electronic equipment and storage medium

By generating a shortened erasure waveform to draw an erasure trajectory on the e-ink screen, a semi-transparent or gray layer is formed to cover the handwriting, solving the problem of slow handwriting erasure speed on e-ink screens. This achieves a dynamic erasure effect similar to an eraser, avoids afterimages, and improves the user experience.

CN122435896APending Publication Date: 2026-07-21ONYX INT
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ONYX INT
Filing Date
2026-04-15
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Current e-ink screens have slow handwriting erasure speeds and cannot achieve a dynamic erasure effect similar to an eraser, where the handwriting disappears as it is erased.

Method used

By acquiring the erasure point data of the erasure tool on the e-ink screen, an erasure trajectory is generated. Based on the refresh mode of the e-ink screen, a first erasure waveform with a shortened non-zero drive pulse duration is generated, and the erasure trajectory is drawn to form a semi-transparent or gray layer to cover the handwriting. Then, a second erasure waveform is generated to completely erase the handwriting.

Benefits of technology

It achieves a dynamic erasing effect where the handwriting on the e-ink screen disappears as it is erased, avoiding afterimages and improving erasing speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122435896A_ABST
    Figure CN122435896A_ABST
Patent Text Reader

Abstract

The application provides an erasing method and device of ink screen handwriting, electronic equipment and storage medium, wherein the erasing method comprises an erasing tool and an ink screen displaying handwriting, and the method comprises the following steps: S1, in response to an erasing starting signal, obtaining erasing report point data of the erasing tool on the ink screen; S2, obtaining an erasing track according to the erasing report point data; S3, obtaining a first erasing waveform according to the erasing track and a refreshing mode of the ink screen; S4, drawing the erasing track on the ink screen according to the first erasing waveform; S5, in response to an erasing ending signal, obtaining a first area in the handwriting which overlaps with the erasing track; S6, obtaining a second erasing waveform according to the first handwriting corresponding to the first area and the refreshing mode of the ink screen; and S7, erasing the first handwriting according to the second erasing waveform. The application can realize a dynamic erasing effect of disappearing while erasing for the handwriting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of e-ink screen technology, and in particular to a method, apparatus, electronic device, and storage medium for erasing handwritten ink on an e-ink screen. Background Technology

[0002] Electronic ink is quite similar to printing ink, both being made of pigments, which is why electronic ink displays are similar in appearance to traditional paper displays. Electronic ink is typically made into a thin film composed of numerous microcapsules, each about the size of a human hair. The black and white spheres within these microcapsules are pigment particles with different electrical charges, initially suspended within the capsule. When an electric field is applied in a specific direction, the corresponding pigment particles are pushed to the top, causing the microcapsule to display a different color. These different colored microcapsules then combine to form various text and patterns. Compared to LCD screens, electronic ink displays have a significantly lower frame rate. For example, LCD screens on mobile phones or tablets can display up to 60 frames per second (16.7 milliseconds per image frame), while electronic ink screens have a frame rate of 1.8 frames per second (550 milliseconds per image frame). Therefore, electronic ink screens are significantly slower at updating their content.

[0003] With the promotion and development of e-ink technology, handwriting input is becoming increasingly widespread in e-ink devices such as tablets, mobile phones, smart TVs, and writing tablets. Compared with keyboard input, handwriting input is more intuitive, convenient, and user-friendly. In modern society, handwriting input plays an important role and is applied in many fields, such as document editing, artistic creation, and signatures. However, sometimes it is necessary to modify or erase handwriting to meet specific needs or correct errors.

[0004] Currently, due to the low display frame rate of e-ink screens, the display refresh rate of handwritten characters on existing e-ink screens is slow after erasing, making it impossible to use erasing tools to achieve a dynamic erasing effect similar to an eraser erasing pencil strokes, where the characters disappear as they are erased. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for erasing handwritten ink on an e-ink screen, so as to achieve a dynamic erasing effect where the handwritten ink on the e-ink screen disappears as it is erased.

[0006] In a first aspect, this application provides a method for erasing handwritten ink on an e-ink screen, comprising an erasing tool and an e-ink screen displaying the handwritten ink, which includes: S1. In response to the erase start signal, acquire the erase reporting data of the erase tool on the ink screen; S2. Obtain the erasure trajectory based on the erasure reporting data; S3. Obtain a first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen. The first erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erasure waveform is less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode. S4. Draw an erasure trajectory on the ink screen according to the first erasure waveform; S5. In response to the end of erasure signal, obtain the first region in the handwritten handwriting that overlaps with the erasure trajectory; S6. Obtain a second erasure waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erasure waveform is less than the drive duration of the non-zero drive pulses of the second erasure waveform. S7. Erase the first handwritten mark according to the second erasure waveform.

[0007] In some embodiments of this application, prior to step S5, the erasure method further includes: S8. Obtain the erasure parameters of the erasure trajectory; S9. Determine whether the erasure parameter is greater than the preset value. If it is, execute steps S10 and S1 simultaneously. Otherwise, execute step S1. S10. Obtain the second region in the handwritten handwriting that overlaps with the erasure trajectory; S11. Obtain a third erasure waveform based on the second handwriting corresponding to the second region and the refresh mode of the e-ink screen. The third erasure waveform includes a non-zero drive pulse, and the drive duration of the non-zero drive pulse of the first erasure waveform is less than the drive duration of the non-zero drive pulse of the third erasure waveform. S12. Erase the second handwritten strokes according to the third erasure waveform.

[0008] In some embodiments of this application, step S5 includes: In response to the end-of-erasure signal, a first region in the handwritten handwriting that overlaps with the erasure trajectory and has not been erased by the third erasure waveform is acquired.

[0009] In some embodiments of this application, the erasure parameter is the total length of the erasure trajectory, and the preset value is a preset length.

[0010] In some embodiments of this application, the erasure parameter is the total area of ​​the erasure trajectory, and the preset value is a preset area.

[0011] In some embodiments of this application, the erasure parameter is the erasure duration of the erasure trajectory, and the preset value is a preset duration.

[0012] In some embodiments of this application, the step of obtaining the first erase waveform based on the erase trajectory and the refresh mode of the e-ink screen includes: A first standard waveform is obtained based on the erasure trajectory and the refresh mode of the e-ink screen; The first erase waveform is obtained by reducing the driving duration of the non-zero driving pulse of the first standard waveform.

[0013] In some embodiments of this application, the first standard waveform includes n non-zero drive pulses, and the first erase waveform includes m non-zero drive pulses, where m is greater than or equal to 1 and less than or equal to n / 2, and n and m are positive integers.

[0014] In some embodiments of this application, the step of obtaining the second erasure waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen includes: A second standard waveform is obtained based on the first handwritten stroke corresponding to the first area and the refresh mode of the e-ink screen; The second erase waveform is obtained by reducing the driving duration of the non-zero driving pulse of the second standard waveform.

[0015] In some embodiments of this application, the second standard waveform includes n non-zero drive pulses, and the second erase waveform includes p non-zero drive pulses, where p is greater than n / 2 and less than n.

[0016] Secondly, embodiments of this application also provide an erasing device for handwritten ink on an e-ink screen, comprising: A reporting module is used to acquire erasure reporting data of the erasure tool on the e-ink screen in response to an erasure start signal; The first acquisition module is used to obtain the erasure trajectory based on the erasure reporting data; A first waveform module is used to obtain a first erase waveform based on the erase trajectory and the refresh mode of the e-ink screen. The first erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode. The first erasure module is used to draw an erasure trajectory based on the first erasure waveform; The second acquisition module is used to acquire a first region in the handwriting that overlaps with the erasure trajectory in response to the erasure end signal; The second waveform module is used to obtain a second erase waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the second erase waveform. The second erasure module is used to erase the first handwritten mark according to the second erasure waveform.

[0017] Thirdly, embodiments of this application also provide an electronic device, including: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the erasure method as described in any of the first aspects.

[0018] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the erasure method as described in any of the first aspects.

[0019] This application provides a method, apparatus, electronic device, and storage medium for erasing handwritten ink on an e-ink screen. The erasing method includes an erasing tool and an e-ink screen displaying the handwritten ink, comprising: S1. In response to the erase start signal, acquire the erase reporting data of the erase tool on the ink screen; S2. Obtain an erasure trajectory based on the erasure reporting data; S3. Obtain a first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen, the first erasure waveform including non-zero drive pulses, the drive duration of the non-zero drive pulses of the first erasure waveform being less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode; S4. Draw an erasure trajectory on the e-ink screen based on the first erasure waveform; S5. In response to an erasure end signal, obtain a first region in the handwriting that overlaps with the erasure trajectory; S6. Obtain a second erasure waveform based on the first handwriting corresponding to the first region and the refresh mode of the e-ink screen, the second erasure waveform including non-zero drive pulses, the drive duration of the non-zero drive pulses of the first erasure waveform being less than the drive duration of the non-zero drive pulses of the second erasure waveform; S7. Erase the first handwriting based on the second erasure waveform. This application shortens the driving duration of the non-zero driving pulse of the first erasure waveform, and then uses the first erasure waveform to draw an erasure trajectory. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwritten handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or gray layer, so that the color of the first area is faded, thereby forming the visual effect of being erased, and realizing a dynamic erasure effect of erasing and disappearing at the same time. After the erasure is completed, the first handwritten handwriting corresponding to the first area is erased a second time using the second erasure waveform, thereby ensuring that the first handwritten handwriting is erased cleanly. Attached Figure Description

[0020] Figure 1 A flowchart of Embodiment 1 of the method for erasing handwritten ink on an e-ink screen provided in this application; Figure 2 A flowchart of Embodiment 2 of the method for erasing handwritten ink on an e-ink screen provided in this application; Figure 3 A flowchart of Embodiment 3 of the method for erasing handwritten ink on an e-ink screen provided in this application; Figure 4 A flowchart of step S3 of the method for erasing handwritten ink on an e-ink screen provided in this application; Figure 5 A flowchart of step S6 of the method for erasing handwritten ink on an e-ink screen provided in this application; Figure 6 A schematic diagram of the structure of the ink screen handwriting erasure device provided in this application; Figure 7 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation

[0021] The embodiments of this application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the embodiments of this application and are not intended to limit the scope of the embodiments. Furthermore, it should be noted that, for ease of description, only the parts relevant to the embodiments of this application are shown in the accompanying drawings, not the entire structure.

[0022] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and do not limit the number of objects; for example, a first object can be one or more, and should not be construed as indicating or implying relative importance. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following related objects are in an "or" relationship. In addition, unless otherwise expressly specified and limited, the terms "set," "install," "connect," "link," and "serialize" should be interpreted broadly; for example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two elements. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0023] The erasing method provided in this application embodiment can be used on e-ink screens, especially on electronic devices equipped with e-ink screens. The electronic devices can be e-ink screen-based tablet computers, mobile phones, e-readers, personal digital assistants (PDAs), and other electronic devices. Specifically, the electronic devices may include e-ink screens, communication modules, digital signal processors, image processing modules, microcontrollers, screen driver modules, timing control circuits, and power control circuits.

[0024] The embodiments of this application will be described in detail below.

[0025] Figure 1 This is a flowchart of a first embodiment of the method for erasing handwritten ink on an e-ink screen provided in this application. The method for erasing handwritten ink on an e-ink screen provided in this application can be executed by an erasing device, which can be implemented by hardware and / or software and integrated into the e-ink screen.

[0026] The following description uses an erasing device to erase handwritten ink on an e-ink screen as an example. (Reference) Figure 1A method for erasing handwritten ink on an e-ink screen, comprising an erasing tool and an e-ink screen displaying the handwritten ink, the erasing method comprising: S1. In response to the erase start signal, acquire the erase reporting data of the erase tool on the ink screen.

[0027] In response to the erase activation signal, the e-ink screen enters erase mode. The user then uses the erase tool to erase on the e-ink screen, generating erased marker data. This marker data refers to a series of continuous or discontinuous data drawn by the user using the erase tool on the e-ink screen, including but not limited to coordinate information and time information. The marker data can be acquired in real-time through the erase tool's sensing device or by reading the touch coordinates from the e-ink screen; no limitation is imposed here. The erase activation signal can be a signal indicating that the erase tool has come into contact with the e-ink screen, or a signal indicating that the erase tool is moving closer to the e-ink screen.

[0028] S2. Obtain the erasure trajectory based on the erasure reporting data.

[0029] Specifically, the erased reporting data is rendered and drawn to generate an erased trajectory.

[0030] S3. Obtain a first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen. The first erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses in the first erasure waveform is less than the drive duration of the non-zero drive pulses in the standard waveform corresponding to the refresh mode. The non-zero drive pulses include positive drive pulses and negative drive pulses.

[0031] The refresh modes currently available for e-ink screens include: A2 refresh mode, DU refresh mode, GC refresh mode (including GC4, GC8, and GC16 refresh modes), GU refresh mode, GL refresh mode, and GLR refresh mode. Specifically: A2 refresh mode: Presents the previously displayed grayscale content in black and white to reduce the time and power consumption of rendering grayscale, resulting in the fastest refresh speed.

[0032] DU refresh mode: Presents the previously displayed grayscale content in black and white. The refresh speed is second only to A2 refresh mode, but the ghosting is less than that of A2 refresh mode.

[0033] GC refresh mode: All pixels are re-output. Before outputting, a screen clearing operation is performed. It can be further subdivided into GC4 refresh mode, GC8 refresh mode, and GC16 refresh mode, which indicate that it supports 4, 8, and 16 grayscale levels respectively. It has the slowest refresh speed but the least ghosting. GC refresh mode is also known as full-screen refresh, which means that the entire page is refreshed once, regardless of whether the grayscale of the same pixel has changed before or after.

[0034] GU refresh mode: This mode does not clear the screen before outputting data, directly outputting pixels that have changed since the last output. This includes GU8 and GU16 refresh modes, which support 8 and 16 grayscale levels respectively. It is slower than A2 and DU refresh modes, but faster than GC refresh mode. GU refresh mode is also known as partial refresh; page turning speed is acceptable, and page changes are relatively smooth.

[0035] GL refresh mode: No screen clearing operation is performed before data output. It is generally GL16 refresh mode, which supports 16 grayscale levels. Its refresh speed is slower than A2 refresh mode and DU refresh mode, but faster than GC refresh mode. GL refresh mode is also a partial refresh.

[0036] GLR refresh mode: also known as "regal", it is generally GLR16 refresh mode, which supports 16 grayscale levels. Similar to partial refresh, the refresh method depends on the difference between the preceding and following images. The special feature is that if the preceding and following images go from black to black, there will be a black-white flashing effect. The refresh speed is similar to the aforementioned partial refresh mode, with less ghosting.

[0037] The current driving method for e-ink displays is as follows: The e-ink display provides a Waveform file based on its current refresh mode. Different refresh modes correspond to different Waveform files. Based on the Waveform file and the currently displayed image, the waveform sequence corresponding to the intermediate processes required for the next frame of the image to be displayed is determined. Therefore, each refresh mode of the e-ink display corresponds to a standard waveform, which is obtained by querying the Waveform file of the current refresh mode based on the current display image and the next frame to be displayed.

[0038] Currently, the standard waveforms of the refresh modes of e-ink screens have relatively long drive durations, which cannot meet the dynamic erasure requirements of handwriting that can be erased and disappeared simultaneously. Therefore, this application obtains a first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen. The drive duration of the non-zero drive pulses of the first erasure waveform is shorter than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode, thereby reducing the drive duration of the non-zero drive pulses of the first erasure waveform. At the same time, it can erase handwriting and meet the dynamic erasure requirements of handwriting that can be erased and disappeared simultaneously.

[0039] S4. Draw an erasure trajectory on the ink screen according to the first erasure waveform.

[0040] Since the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the driving duration of the non-zero driving pulse of the first erasure waveform is reduced. Therefore, the e-ink screen can quickly draw an erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, so the color of the first area is faded, thus forming the visual effect of being erased. Therefore, a dynamic erasure effect similar to an eraser erasing pencil strokes can be achieved for handwriting, where the strokes disappear as they are erased.

[0041] S5. In response to the end of erasure signal, obtain the first region in the handwritten handwriting that overlaps with the erasure trajectory.

[0042] The erasure end signal can be the signal that the erasure tool leaves the ink screen.

[0043] S6. Obtain a second erase waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the second erase waveform.

[0044] S7. Erase the first handwritten mark according to the second erasure waveform.

[0045] When the erasure end signal is received, it indicates that erasure is complete. At this time, the area corresponding to the first handwritten stroke is the first area that was erased by the erasure tool before the erasure ended. Since the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the e-ink screen can quickly draw the erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwritten stroke that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, making the color of the first area fade, thus forming the visual effect of being erased. Therefore, after the first area is erased by the first erasure waveform, there may still be a lighter color of the first handwritten stroke or a shadow of the first handwritten stroke. Therefore, after the erasure is completed, this application erases the first handwritten stroke according to the second erasure waveform, that is, performs a second erasure, so as to completely erase the first handwritten stroke and avoid the appearance of a shadow.

[0046] In summary, this application draws an erasure trajectory on the e-ink screen according to the first erasure waveform. Since the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the driving duration of the non-zero driving pulse of the first erasure waveform is reduced. Therefore, the e-ink screen can quickly draw an erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, making the color of the first area fade, thus forming the visual effect of being erased. Therefore, a dynamic erasure effect similar to an eraser erasing pencil strokes can be achieved for the handwriting. After erasure, this application erases the first handwriting according to the second erasure waveform, that is, performs a second erasure, thereby erasing the first handwriting cleanly and avoiding afterimages.

[0047] Please refer to Figure 2 , Figure 2 A flowchart illustrating a second embodiment of the method for erasing handwritten ink on an e-ink screen provided in this application. Further, in Figure 1 Based on the provided erasure method, prior to step S5, the erasure method further includes: S8. Obtain the erasure parameters of the erasure trajectory; S9. Determine whether the erasure parameter is greater than the preset value. If it is, execute steps S10 and S1 simultaneously. Otherwise, execute step S1. S10. Obtain the second region in the handwritten handwriting that overlaps with the erasure trajectory; S11. Obtain a third erasure waveform based on the second handwriting corresponding to the second region and the refresh mode of the e-ink screen. The third erasure waveform includes a non-zero drive pulse, and the drive duration of the non-zero drive pulse of the first erasure waveform is less than the drive duration of the non-zero drive pulse of the third erasure waveform. S12. Erase the second handwritten strokes according to the third erasure waveform.

[0048] That is, before obtaining the erasure end signal, this application obtains the erasure parameters of the erasure trajectory, and then determines whether the erasure parameters are greater than a preset value. If the erasure parameters are greater than the preset value, steps S10 and S1 are executed simultaneously. That is, while the erasure tool continues to erase, the second area overlapping with the erasure trajectory in the handwriting is obtained, which is the second area that has been erased by the erasure tool. Then, a third erasure waveform is obtained according to the second handwriting corresponding to the second area and the refresh mode of the e-ink screen. The second handwriting is erased according to the third erasure waveform.

[0049] Because the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the e-ink screen can quickly draw an erasure trajectory on the screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The second area of ​​the handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, making the color of the second area fade, thus forming the visual effect of being erased. Therefore, after the second area is erased by the first erasure waveform, there may still be a lighter color of the second handwriting or a shadow of the second handwriting. When the erasure parameter is greater than the preset value, the second handwriting is erased according to the third erasure waveform, that is, the second handwriting is erased a second time, so as to erase the second handwriting cleanly and avoid the appearance of shadows. It is not necessary to wait until the erasure is completed before erasing the second handwriting a second time, thereby improving the erasure speed and user experience.

[0050] When the erasure parameter is not greater than the preset value, step S1 is executed, that is, the erasure tool continues to erase the handwritten marks.

[0051] In one embodiment of this application, the erasure parameter is the total length of the erasure trajectory, and the preset value is a preset length. That is, before obtaining the erasure end signal, if the total length of the erasure trajectory is greater than the preset length, steps S10 and S1 are executed simultaneously; if the total length of the erasure trajectory is not greater than the preset length, step S1 is executed simultaneously.

[0052] In one embodiment of this application, the erasure parameter is the total area of ​​the erasure trajectory, and the preset value is a preset area. That is, before obtaining the erasure end signal, if the total area of ​​the erasure trajectory is greater than the preset area, steps S10 and S1 are executed simultaneously; if the total area of ​​the erasure trajectory is not greater than the preset area, step S1 is executed simultaneously.

[0053] In one embodiment of this application, the erasure parameter is the erasure duration of the erasure trajectory, and the preset value is a preset duration. That is, before obtaining the erasure end signal, if the erasure duration of the erasure trajectory is greater than the preset duration, steps S10 and S1 are executed simultaneously; if the erasure duration of the erasure trajectory is not greater than the preset duration, step S1 is executed simultaneously.

[0054] Further, please refer to Figure 3 , Figure 3 A flowchart illustrating Embodiment Three of the method for erasing handwritten ink on an e-ink screen provided in this application. Figure 2 Based on the provided erasure method, in one embodiment of this application, step S5 includes: S51. In response to the erasure end signal, obtain the first region in the handwritten handwriting that overlaps with the erasure trajectory and has not been erased by the third erasure waveform.

[0055] That is, when the erasure end signal is received, it indicates that the erasure is complete. At this time, the area corresponding to the first handwritten stroke is the first area that was erased by the erasure tool before the erasure ended. Since the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the e-ink screen can quickly draw the erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwritten stroke that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, making the color of the first area fade, thus forming the visual effect of being erased. Therefore, after the first area is erased by the first erasure waveform, there may still be a lighter color of the first handwritten stroke or a shadow of the first handwritten stroke. In order to avoid repeated erasure, this application further specifies that the first area is the area of ​​the handwritten stroke that overlaps with the erasure trajectory and has not been erased by the third erasure waveform.

[0056] Specifically, the areas in the handwritten handwriting that overlap with the erasure trajectory and have already been erased by the third erasure waveform indicate that these areas have already undergone a second erasure and do not have any afterimages, so they do not need to be erased again. However, the first areas in the handwritten handwriting that overlap with the erasure trajectory and have not been erased by the third erasure waveform require a second erasure to eliminate afterimages.

[0057] Please refer to Figure 4 , Figure 4 A flowchart of step S3 of the method for erasing handwritten ink on an e-ink screen provided in this application. Further, in Figure 1 Based on the provided erasure method, in one embodiment of this application, the step of obtaining the first erasure waveform according to the erasure trajectory and the refresh mode of the e-ink screen includes: S301. Obtain a first standard waveform based on the erasure trajectory and the refresh mode of the e-ink screen; S302. The driving duration of the non-zero driving pulse of the first standard waveform is reduced to obtain the first erase waveform.

[0058] In other words, this application obtains a first standard waveform based on the erasure trajectory and the refresh mode of the e-ink screen, and then reduces the driving duration of the non-zero driving pulse of the first standard waveform to obtain a first erasure waveform, thereby reducing the driving duration of the non-zero driving pulse of the first erasure waveform. Therefore, the e-ink screen can quickly draw an erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, so that the color of the first area is faded, thereby forming the visual effect of being erased, thus satisfying the dynamic erasure requirement of erasing and disappearing handwriting.

[0059] Furthermore, the first standard waveform includes n non-zero drive pulses, and the first erase waveform includes m non-zero drive pulses, where m is greater than or equal to 1 and less than or equal to n / 2, and n and m are positive integers. That is, the first erase waveform can be obtained by reducing the number of non-zero drive pulses in the first standard waveform.

[0060] Please refer to Figure 5 , Figure 5 A flowchart of step S6 of the method for erasing handwritten ink on an e-ink screen provided in this application. Further, in Figure 1 Based on the provided erasure method, in another embodiment of this application, the step of obtaining the second erasure waveform according to the first handwritten stroke corresponding to the first area and the refresh mode of the e-ink screen includes: S601. Obtain a second standard waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen; S602. The driving duration of the non-zero driving pulse of the second standard waveform is reduced to obtain the second erase waveform.

[0061] In other words, this application obtains a second standard waveform based on the first handwritten stroke corresponding to the first area and the refresh mode of the e-ink screen. Then, it reduces the driving duration of the non-zero driving pulse of the second standard waveform to obtain a second erasure waveform. Since the first area overlapping the erasure trajectory in the handwritten stroke is covered by a semi-transparent or gray layer, causing the color of the first area to fade, thus forming an erasing visual effect, the driving duration of the non-zero driving pulse of the second erasure waveform can be reduced. This reduces the erasure time, improves the display speed, and cleanly erases the first handwritten stroke, avoiding afterimages.

[0062] Furthermore, the second standard waveform includes n non-zero drive pulses, and the second erase waveform includes p non-zero drive pulses, where p is greater than n / 2 and less than n, and n and p are positive integers. That is, the second erase waveform can be obtained by reducing the number of non-zero drive pulses in the second standard waveform.

[0063] Figure 6 A schematic diagram of the structure of the ink screen handwriting erasure device provided in this application. (Reference) Figure 6 The erasure device includes: a reporting module 10, a first acquisition module 20, a first waveform module 30, a first erasure module 40, a second acquisition module 50, a second waveform module 60, and a second erasure module 70.

[0064] The reporting module 10 is used to obtain the erasure reporting data of the erasure tool on the ink screen in response to the erasure start signal; The first acquisition module 20 is used to obtain the erasure trajectory based on the erasure reporting data; The first waveform module 30 is used to obtain a first erase waveform based on the erase trajectory and the refresh mode of the e-ink screen. The first erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode. The first erasure module 40 is used to draw an erasure trajectory based on the first erasure waveform; The second acquisition module 50 is used to acquire a first region in the handwriting that overlaps with the erasure trajectory in response to an erasure end signal; The second waveform module 60 is used to obtain a second erasure waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erasure waveform is less than the drive duration of the non-zero drive pulses of the second erasure waveform. The second erasure module 70 is used to erase the first handwritten mark according to the second erasure waveform.

[0065] In summary, this application draws an erasure trajectory on the e-ink screen according to the first erasure waveform. Since the driving duration of the non-zero driving pulse of the first erasure waveform is less than the driving duration of the non-zero driving pulse of the standard waveform corresponding to the refresh mode, the driving duration of the non-zero driving pulse of the first erasure waveform is reduced. Therefore, the e-ink screen can quickly draw an erasure trajectory on the e-ink screen according to the first erasure waveform. The area of ​​the erasure trajectory will form a semi-transparent layer or a gray layer. The first area of ​​the handwriting that overlaps with the erasure trajectory is covered by the semi-transparent layer or the gray layer, making the color of the first area fade, thus forming the visual effect of being erased. This can achieve a dynamic erasure effect of erasing and disappearing like an eraser erasing pencil strokes. After erasing, this application erases the first handwriting according to the second erasure waveform, that is, performs a second erasure, thereby erasing the first handwriting cleanly and avoiding afterimages.

[0066] In one embodiment of this application, the erasing device further includes: The third acquisition module is used to acquire the erasure parameters of the erasure trajectory; The judgment module is used to determine whether the erasure parameter is greater than a preset value. If it is, the steps in the fourth acquisition module and the reporting module are executed simultaneously. Otherwise, the steps in the reporting module are executed. The fourth acquisition module is used to acquire a second region in the handwritten handwriting that overlaps with the erasure trajectory; The third waveform module is used to obtain a third erase waveform based on the second handwriting corresponding to the second region and the refresh mode of the e-ink screen. The third erase waveform includes a non-zero drive pulse, and the drive duration of the non-zero drive pulse of the first erase waveform is less than the drive duration of the non-zero drive pulse of the third erase waveform. The third erasure module is used to erase the second handwritten mark according to the third erasure waveform.

[0067] The ink screen handwriting erasure device provided in this application embodiment is included in the ink screen and can be used to perform any of the erasure methods provided in the above embodiments, and has corresponding functions and beneficial effects.

[0068] It is worth noting that in the embodiments of the above-mentioned ink screen handwriting erasure device, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of this application.

[0069] Figure 7 A schematic diagram of the structure of the electronic device provided in this application, such as... Figure 7 As shown, the electronic device includes 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 electronic device implements the method for erasing handwritten ink on an e-ink screen as described above. Figure 7 Take a processor 201 as an example.

[0070] The memory 202, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules. The processor 201 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 202, thereby implementing the above-mentioned erasure method.

[0071] The memory 202 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on the use of the electronic device. Furthermore, the memory 202 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 202 may further include memory remotely located relative to the processor 201, which can be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0072] The aforementioned electronic device includes a handwriting input device, which can be used to perform any of the aforementioned erasure methods, and has corresponding functions and beneficial effects.

[0073] This application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform an erasure method. When executed by the processor, the computer program can also implement related operations in the erasure method provided in any embodiment of this application, and possesses corresponding functions and beneficial effects.

[0074] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.

[0075] Therefore, this application may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce implementations of the flowchart... Figure 1 One or more processes and / or boxes Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0076] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0077] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0078] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0079] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.

Claims

1. A method for erasing handwritten ink on an e-ink screen, comprising an erasing tool and an e-ink screen displaying the handwritten ink, characterized in that: S1. In response to the erase start signal, acquire the erase reporting data of the erase tool on the ink screen; S2. Obtain the erasure trajectory based on the erasure reporting data; S3. Obtain a first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen. The first erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erasure waveform is less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode. S4. Draw an erasure trajectory on the ink screen according to the first erasure waveform; S5. In response to the end of erasure signal, obtain the first region in the handwritten handwriting that overlaps with the erasure trajectory; S6. Obtain a second erasure waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erasure waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erasure waveform is less than the drive duration of the non-zero drive pulses of the second erasure waveform. S7. Erase the first handwritten mark according to the second erasure waveform.

2. The erasing method according to claim 1, characterized in that, Prior to step S5, the erasure method further includes: S8. Obtain the erasure parameters of the erasure trajectory; S9. Determine whether the erasure parameter is greater than the preset value. If it is, execute steps S10 and S1 simultaneously. Otherwise, execute step S1. S10. Obtain the second region in the handwritten handwriting that overlaps with the erasure trajectory; S11. Obtain a third erasure waveform based on the second handwriting corresponding to the second region and the refresh mode of the e-ink screen. The third erasure waveform includes a non-zero drive pulse, and the drive duration of the non-zero drive pulse of the first erasure waveform is less than the drive duration of the non-zero drive pulse of the third erasure waveform. S12. Erase the second handwritten strokes according to the third erasure waveform.

3. The erasure method according to claim 2, characterized in that, Step S5 includes: In response to the end-of-erasure signal, a first region in the handwritten handwriting that overlaps with the erasure trajectory and has not been erased by the third erasure waveform is acquired.

4. The erasing method according to claim 2, characterized in that, The erasure parameter is the total length of the erasure trajectory, and the preset value is a preset length.

5. The erasing method according to claim 2, characterized in that, The erasure parameter is the total area of ​​the erasure trajectory, and the preset value is a preset area.

6. The erasing method according to claim 2, characterized in that, The erasure parameter is the erasure duration of the erasure trajectory, and the preset value is the preset duration.

7. The erasing method according to claim 1, characterized in that, The step of obtaining the first erasure waveform based on the erasure trajectory and the refresh mode of the e-ink screen includes: A first standard waveform is obtained based on the erasure trajectory and the refresh mode of the e-ink screen; The first erase waveform is obtained by reducing the driving duration of the non-zero driving pulse of the first standard waveform.

8. The erasure method according to claim 7, characterized in that, The first standard waveform includes n non-zero drive pulses, and the first erase waveform includes m non-zero drive pulses, where m is greater than or equal to 1 and less than or equal to n / 2, and n and m are positive integers.

9. The erasing method according to claim 1, characterized in that, The step of obtaining the second erasure waveform based on the first handwriting corresponding to the first region and the refresh mode of the e-ink screen includes: A second standard waveform is obtained based on the first handwritten stroke corresponding to the first area and the refresh mode of the e-ink screen; The second erase waveform is obtained by reducing the driving duration of the non-zero driving pulse of the second standard waveform.

10. The erasure method according to claim 9, characterized in that, The second standard waveform includes n non-zero drive pulses, and the second erase waveform includes p non-zero drive pulses, where p is greater than n / 2 and less than n, and n and p are positive integers.

11. A device for erasing handwritten ink on an e-ink screen, characterized in that, include: A reporting module is used to acquire erasure reporting data of the erasure tool on the e-ink screen in response to an erasure start signal; The first acquisition module is used to obtain the erasure trajectory based on the erasure reporting data; A first waveform module is used to obtain a first erase waveform based on the erase trajectory and the refresh mode of the e-ink screen. The first erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the standard waveform corresponding to the refresh mode. The first erasure module is used to draw an erasure trajectory based on the first erasure waveform; The second acquisition module is used to acquire a first region in the handwriting that overlaps with the erasure trajectory in response to the erasure end signal; The second waveform module is used to obtain a second erase waveform based on the first handwriting corresponding to the first area and the refresh mode of the e-ink screen. The second erase waveform includes non-zero drive pulses, and the drive duration of the non-zero drive pulses of the first erase waveform is less than the drive duration of the non-zero drive pulses of the second erase waveform. The second erasure module is used to erase the first handwritten mark according to the second erasure waveform.

12. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the erasure method as described in any one of claims 1-10.

13. A computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by the processor, it implements the erasure method as described in any one of claims 1-10.