Ink screen handwriting display method, device, electronic device and storage medium

By introducing the pre-handwriting mode and cache unit data processing strategy into ink screen electronic devices, the problem of handwriting display delay is solved, and faster handwriting display speed and better user experience are achieved.

CN119916962BActive Publication Date: 2025-09-12ONYX INT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411984780.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-09-12
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

Existing electronic devices with ink screens have a delay in the display of handwriting, especially after the background screen display data switches to handwriting mode, resulting in a delay in the display of handwriting.

Method used

The pre-handwriting mode is used to send the screen display data in the first cache unit to the second cache unit in advance, and the handwriting data is obtained when the handwriting mode signal is detected, and a driving waveform is generated to drive the ink screen display. The data processing methods of the cache units in different modes are combined to improve data processing efficiency.

Benefits of technology

The waiting time for handwriting display is reduced, and the handwriting display speed and user experience of the ink screen are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119916962B_ABST
    Figure CN119916962B_ABST
Patent Text Reader

Abstract

The present application provides a handwriting display method, device, electronic device, and storage medium for an ink screen. The ink screen includes a first cache unit and a second cache unit. The handwriting display method includes: detecting a first signal of a pre-handwriting mode; when the first signal is detected, entering the pre-handwriting mode, and during the pre-handwriting mode, sending the screen display data in the first cache unit to the second cache unit; detecting a second signal of the handwriting mode; when the second signal is detected, entering the handwriting mode, obtaining a first set of handwriting point reporting data during the handwriting mode, and obtaining first handwriting data based on the first set of point reporting data; generating a first drive waveform based on the first handwriting data and the screen display data; and using the first drive waveform to drive the ink screen to display the screen. The present application provides a pre-handwriting mode to send the screen display data in the first cache unit to the second cache unit in advance, thereby reducing waiting time and improving the display speed of handwriting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to a handwriting display method, device, electronic device and storage medium for an ink screen. Background Art

[0002] With the recent development of information technology and electronics, electronic devices have continuously penetrated beyond personal entertainment devices into industries such as education and business. Touchscreen handwriting technology has also been widely adopted in electronic devices, but handwriting latency is a key indicator that affects the input experience. Statistics show that the delay between handwriting input on electronic devices that support touchscreen handwriting, from loading the screen handwriting data to displaying the handwriting, is generally between 20ms and 30ms.

[0003] The process of handwriting display in electronic devices specifically includes: obtaining point reporting data, then rendering and drawing the point reporting data to obtain handwriting data, and displaying the handwriting on the electronic device according to the handwriting data. During the handwriting process, the update of the background screen display data of the electronic device will affect the processing speed of the handwriting data, thereby affecting the handwriting display speed, especially for electronic devices with ink screens, because the refresh speed of the ink screen is slower than other types of displays. Therefore, in order to improve the handwriting display speed of the ink screen, those skilled in the art use a first cache unit to store background screen display data and a second cache unit to store handwriting data. When switching from other modes to the handwriting mode, in order to improve data processing efficiency, the background screen display data in the first cache unit will be sent to the second cache unit, and the handwriting data will be received and stored by the second cache unit. The background screen display data and the handwriting data will then be combined for display to improve the display speed. However, the above method sends the background screen display data in the first cache unit to the second cache unit only after entering the handwriting mode, and combines the background screen display data and the handwriting data for display only after receiving the handwriting data, thus causing a delay in the handwriting display. Summary of the Invention

[0004] The present application provides a handwriting display method, device, electronic device and storage medium for an ink screen to improve the handwriting display speed.

[0005] In a first aspect, the present application provides a handwriting display method for an ink screen, the ink screen including a first cache unit and a second cache unit, the handwriting display method comprising:

[0006] detecting a first signal of a pre-handwriting mode;

[0007] When the first signal is detected, the pre-handwriting mode is entered, and during the pre-handwriting mode, the screen display data in the first buffer unit is sent to the second buffer unit;

[0008] detecting a second signal of a handwriting mode;

[0009] When the second signal is detected, the handwriting mode is entered, a first set of dot reporting data of handwriting is acquired during the handwriting mode, and first handwriting data is obtained according to the first set of dot reporting data;

[0010] generating a first driving waveform according to the first handwriting data and the screen display data;

[0011] The ink screen display is driven by using the first driving waveform.

[0012] In some embodiments of the present application, the handwriting display method further includes:

[0013] During the handwriting mode, detecting whether data in the first cache unit is updated;

[0014] If yes, generating a first update driving waveform according to the latest handwriting data and the screen update data, and using the first update driving waveform to drive the ink screen display screen;

[0015] If not, a new handwriting driving waveform is generated according to the newest handwriting data, and the ink screen display is driven by the newest handwriting driving waveform.

[0016] In some embodiments of the present application, during a non-handwriting mode, a first screen drive waveform is generated based on the screen display data in the first cache unit, and the first screen drive waveform is used to drive the ink screen display screen; during a handwriting mode, a drive waveform is generated based on the data in the second cache unit, and then the ink screen display screen is driven using the drive waveform.

[0017] In some embodiments of the present application, the display interface of the ink screen includes a handwriting area and a non-handwriting area, the first signal includes a signal generated by the stylus touching the non-handwriting area, and the second signal includes a signal generated by the stylus touching the handwriting area.

[0018] In some embodiments of the present application, the step of generating a first driving waveform according to the first handwriting data and the screen display data includes:

[0019] Obtaining a first non-overlapping pixel in the screen display data that is located at a different position from the first handwriting data;

[0020] Obtaining first non-overlapping display data of a first non-overlapping pixel in the screen display data;

[0021] generating a first non-overlapping driving waveform according to the first non-overlapping display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the first non-overlapping driving waveform and the first handwriting driving waveform;

[0022] The step of driving the ink display screen using the first driving waveform includes:

[0023] The ink screen display is driven simultaneously using the first non-overlapping driving waveform and the first handwriting driving waveform.

[0024] In some embodiments of the present application, the step of generating a first driving waveform according to the first handwriting data and the screen display data includes:

[0025] generating a second picture driving waveform according to the picture display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the second picture driving waveform and the first handwriting driving waveform;

[0026] The step of driving the ink display screen using the first driving waveform includes:

[0027] The ink screen display image is driven by sequentially utilizing the second image driving waveform and the first handwriting driving waveform.

[0028] In some embodiments of the present application, the step of generating a first update drive waveform based on the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update drive waveform includes:

[0029] Determine whether the handwriting data is updated;

[0030] If yes, generating a first update driving waveform using the latest handwriting data and the screen update data, and using the first update driving waveform to drive the ink screen display screen;

[0031] If not, a first update driving waveform is generated according to the screen update data, and the ink screen display screen is driven by using the first update driving waveform.

[0032] In some embodiments of the present application, the step of generating a first update drive waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update drive waveform includes:

[0033] Obtaining a second non-overlapping pixel of the screen update data that is not located at the same position as either the latest handwriting data or the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen;

[0034] Obtaining second non-overlapping update data of a second non-overlapping pixel in the picture update data;

[0035] Generate a second non-overlapping update driving waveform according to the second non-overlapping update data, generate a latest handwriting driving waveform according to the latest handwriting data, wherein the first update driving waveform includes the second non-overlapping update driving waveform and the latest handwriting driving waveform;

[0036] The ink screen display is driven simultaneously using the second non-overlapping updated driving waveform and the latest handwriting driving waveform.

[0037] In some embodiments of the present application, the step of generating a first update drive waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update drive waveform includes:

[0038] Obtaining a first overlapping pixel in the latest handwriting data that is at the same position as the screen update data;

[0039] Obtaining first overlapping handwriting data of a first overlapping pixel in the latest handwriting data, and first non-overlapping handwriting data of other pixels in the latest handwriting data except the first overlapping pixel;

[0040] Acquire a third non-overlapping pixel in the screen update data that is located at a different position from the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen;

[0041] Obtaining third non-overlapping update data of a third non-overlapping pixel in the picture update data;

[0042] Combining the first non-overlapping handwriting data and the third non-overlapping update data to obtain first sub-update data;

[0043] Generate a first sub-update driving waveform according to the first sub-update data, and generate a first overlapped handwriting driving waveform according to the first overlapped handwriting data, wherein the first update driving waveform includes a first sub-update driving waveform and a first overlapped handwriting driving waveform;

[0044] The ink screen display is driven by sequentially utilizing the first sub-update driving waveform and the first overlapping handwriting driving waveform.

[0045] In some embodiments of the present application, the step of generating a first update driving waveform according to the screen update data and driving the ink screen display screen using the first update driving waveform includes:

[0046] Acquiring previous handwriting data displayed on the ink screen;

[0047] Obtaining a fourth non-overlapping pixel in the screen update data that is not located at the same position as the previous handwriting data;

[0048] Obtaining fourth non-overlapping update data of a fourth non-overlapping pixel in the picture update data;

[0049] generating a first update drive waveform according to the fourth non-overlapping update data;

[0050] The ink screen display is driven by using the first update driving waveform.

[0051] In some embodiments of the present application, the handwriting display method further includes:

[0052] detecting an exit signal of the handwriting mode;

[0053] When the exit signal is detected, the handwriting mode is exited and a screen update driving waveform is generated according to the screen update data in the first cache unit, and the ink screen display screen is driven by the screen update driving waveform.

[0054] In some embodiments of the present application, the step of exiting the handwriting mode and driving the ink screen display image according to the image update data in the first cache unit includes:

[0055] Exiting the handwriting mode and detecting whether the data in the first cache unit is updated;

[0056] If yes, generating a picture update driving waveform according to the picture update data in the first cache unit, and using the picture update driving waveform to drive the ink screen display picture;

[0057] If not, the ink screen is not driven to be refreshed.

[0058] In a second aspect, an embodiment of the present application further provides a handwriting display device for an ink screen, the ink screen including a first cache unit and a second cache unit, the handwriting display device including:

[0059] a first detection module, configured to detect a first signal in a pre-handwriting mode;

[0060] a pre-handwriting module, which enters the pre-handwriting mode when the first signal is detected, and is configured to send the screen display data in the first cache unit to the second cache unit during the pre-handwriting mode;

[0061] a second detection module, configured to detect a second signal in a handwriting mode;

[0062] a handwriting module, which enters the handwriting mode when detecting the second signal, and is used to obtain a first set of dot reporting data of handwriting during the handwriting mode, and obtain first handwriting data based on the first set of dot reporting data;

[0063] A generating module, the generating module being configured to generate a first driving waveform according to the first handwriting data and the screen display data;

[0064] A driving module is used to drive the ink screen display screen using the first driving waveform.

[0065] In a third aspect, an embodiment of the present application further provides an electronic device, including:

[0066] one or more processors;

[0067] a memory for storing one or more programs;

[0068] When the one or more programs are executed by the one or more processors, the electronic device implements the handwriting display method as described in any one of the first aspects.

[0069] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the handwriting display method as described in any one of the first aspects is implemented.

[0070] The present application provides a handwriting display method, device, electronic device, and storage medium for an ink screen. The ink screen includes a first cache unit and a second cache unit. The handwriting display method includes: detecting a first signal for a pre-handwriting mode; upon detecting the first signal, entering the pre-handwriting mode, and during the pre-handwriting mode, sending screen display data in the first cache unit to the second cache unit; detecting a second signal for a handwriting mode; upon detecting the second signal, entering the handwriting mode, acquiring a first set of dot-reporting data for handwriting during the handwriting mode, and obtaining first handwriting data based on the first set of dot-reporting data; generating a first drive waveform based on the first handwriting data and the screen display data; and driving the ink screen to display a screen using the first drive waveform. By providing a pre-handwriting mode, the present application sends the screen display data in the first cache unit to the second cache unit in advance, reducing waiting time. The screen display data in the first cache unit does not need to be sent to the second cache unit until the handwriting mode is entered, thereby improving the display speed of handwriting. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 This is a flowchart of Example 1 of the handwriting display method of the ink screen provided by this application;

[0072] Figure 2 This is a flowchart of Example 2 of the handwriting display method of the ink screen provided by this application;

[0073] Figure 3 This is a flowchart of step S50 of the first embodiment of the handwriting display method of the ink screen provided by this application;

[0074] Figure 4 This is a flowchart of step S60 of the first embodiment of the handwriting display method of the ink screen provided by this application;

[0075] Figure 5 This is a flowchart of step S50 of the second embodiment of the handwriting display method of the ink screen provided by this application;

[0076] Figure 6 This is a flowchart of step S60 of the second embodiment of the handwriting display method of the ink screen provided by this application;

[0077] Figure 7 This is a flowchart of step S80 of the handwriting display method of the ink screen provided by this application;

[0078] Figure 8 This is a flowchart of step S82 of the first embodiment of the handwriting display method of the ink screen provided by this application;

[0079] Figure 9This is a flowchart of step S82 of the second embodiment of the handwriting display method of the ink screen provided by this application;

[0080] Figure 10 This is a flowchart of step S83 of the handwriting display method of the ink screen provided by this application;

[0081] Figure 11 This is a flowchart of Example 3 of the handwriting display method of the ink screen provided by this application;

[0082] Figure 12 This is a flowchart of step S110 of the handwriting display method of the ink screen provided by this application;

[0083] Figure 13 A schematic diagram of the structure of the handwriting display device of the ink screen provided in this application;

[0084] Figure 14 This is a schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0085] The following is a further detailed description of the embodiments of the present application in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions of the embodiments of the present application, rather than all structures.

[0086] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, not to describe a specific order or precedence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein. The terms "first," "second," and the like generally distinguish objects of a class and do not limit the number of objects. For example, the first object can be one or more, and should not be construed as indicating or implying relative importance. Furthermore, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the connected objects. Furthermore, unless otherwise expressly specified or limited, the terms "disposed," "mounted," "connected," "connected," and "in series" should be interpreted broadly, meaning, for example, fixed, removable, or integral; mechanically or electrically; directly or indirectly through an intermediary; or internally between two components. Those skilled in the art will understand the specific meanings of these terms in this application on a case-by-case basis.

[0087] The handwriting display method provided in the embodiments of the present application can be used on an ink screen, especially on an electronic device equipped with an ink screen. The electronic device can be an electronic device such as a tablet computer, a mobile phone, an e-reader, a personal digital assistant (PDA) based on an ink screen. Specifically, the electronic device may include an ink screen, a communication module, a digital signal processor, an image processing module, a microcontroller, a screen driver module, a timing control circuit, and a power control circuit.

[0088] The following is a detailed description of the various embodiments of the present application.

[0089] Figure 1 This is a flowchart of Example 1 of the handwriting display method for the ink screen provided by the present application. The handwriting display method for the ink screen provided by the embodiment of the present application can be executed by a handwriting display device, which can be implemented by hardware and / or software and integrated into the ink screen.

[0090] The following description takes the handwriting display method executed by the handwriting display device on the ink screen as an example. Figure 1 The ink screen includes a first cache unit and a second cache unit, and the handwriting display method includes:

[0091] Step S10: Detecting a first signal in a pre-handwriting mode.

[0092] Step S20: When the first signal is detected, the pre-handwriting mode is entered. During the pre-handwriting mode, the screen display data in the first buffer unit is sent to the second buffer unit.

[0093] Among them, as long as the first signal of the pre-handwriting mode is detected, the pre-handwriting mode is entered, and then during the pre-handwriting mode, the screen display data in the first cache unit is sent to the second cache unit. That is, as long as it is in the pre-handwriting mode, when the screen display data in the first cache unit is updated, the latest screen display data in the first cache unit is sent to the second cache unit. In this way, the screen display data in the first cache unit is sent to the second cache unit in advance, reducing the waiting time. There is no need to wait until the handwriting mode is entered before sending the screen display data in the first cache unit to the second cache unit. Therefore, when entering the handwriting mode, as long as the handwriting data is received, the handwriting data and the screen display data can be combined for display, thereby improving the display speed of the handwriting.

[0094] Step S30: Detect a second signal in handwriting mode.

[0095] Step S40: When the second signal is detected, the handwriting mode is entered, a first set of dot reporting data of the handwriting is acquired during the handwriting mode, and first handwriting data is obtained according to the first set of dot reporting data.

[0096] The first signal is different from the second signal. That is, when the first signal is detected, the pre-handwriting mode is entered, and the second signal of the handwriting mode is detected. When the second signal is detected, the handwriting mode is entered, and a first set of handwriting point reporting data is acquired during the handwriting mode, and the first handwriting data is obtained based on the first set of handwriting point reporting data.

[0097] In one embodiment of the present application, the display interface of the ink screen includes a handwriting area and a non-handwriting area, the first signal includes a signal generated by the stylus touching the non-handwriting area, and the second signal includes a signal generated by the stylus touching the handwriting area.

[0098] In other embodiments of the present application, the second signal includes a signal generated by a stylus pen touching the handwriting area, and the first signal is a signal different from the second signal. For example, the first signal is a signal generated by a stylus pen in an open state approaching the e-ink display or the screen of the e-ink display. Of course, the first signal or the second signal can also be a signal generated by other means, as long as the first signal is different from the second signal.

[0099] Step S50: generating a first driving waveform according to the first handwriting data and the screen display data.

[0100] Step S60: Use the first driving waveform to drive the ink screen display.

[0101] Since when entering the handwriting mode, the ink screen may be refreshing the display using a driving waveform generated according to the screen display data of the first cache unit. If the driving waveform generated according to the first handwriting data is driven to display the handwriting after the above-mentioned refresh display is completed, the handwriting display speed will be too slow. Therefore, in the above-mentioned refresh display process, the present application generates a first driving waveform according to the first handwriting data and the screen display data, and then uses the first driving waveform to drive the ink screen to display the screen. There is no need to interrupt the display of the screen display data, and there is no need to wait until the screen display data is fully displayed before processing the handwriting data, which can improve the display speed of the handwriting data.

[0102] To sum up, the present application provides a pre-handwriting mode, so that the screen display data in the first cache unit is sent to the second cache unit in advance. There is no need to wait until the handwriting mode is entered to send the screen display data in the first cache unit to the second cache unit, thereby reducing the waiting time. When the handwriting mode is entered, as long as the handwriting data is received, the first driving waveform is generated according to the handwriting data and the screen display data. There is no need to interrupt the display of the screen display data, and there is no need to wait until the screen display data is fully displayed before processing the handwriting data, thereby improving the display speed of the handwriting.

[0103] Please refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the handwriting display method of the ink screen provided by this application. Figure 1 Based on the provided handwriting display method, in one embodiment of the present application, the handwriting display method further includes:

[0104] Step S70: During the handwriting mode, detecting whether the data in the first cache unit is updated;

[0105] Step S80: If yes, generate a first update drive waveform according to the latest handwriting data and the screen update data, and use the first update drive waveform to drive the ink screen display screen;

[0106] Step S90: If not, generate the latest handwriting driving waveform according to the latest handwriting data, and use the latest handwriting driving waveform to drive the ink screen display.

[0107] That is, in this embodiment, the present application continuously detects whether the data in the first cache unit has been updated during the handwriting mode. When the data in the first cache unit has been updated, a first update drive waveform is generated based on the latest handwriting data and the screen update data, and the first update drive waveform is used to drive the e-ink display screen. When the data in the first cache unit has not been updated, a latest handwriting drive waveform is generated based on the latest handwriting data, and the e-ink display screen is driven using the latest handwriting drive waveform. This ensures that screen update data can be displayed in a timely manner during handwriting mode, which is beneficial to improving the user experience.

[0108] Furthermore, in one embodiment of the present application, during a non-handwriting mode, a first screen drive waveform is generated based on the screen display data in the first cache unit, and the first screen drive waveform is used to drive the ink screen display screen; during a handwriting mode, a drive waveform is generated based on the data in the second cache unit, and then the drive waveform is used to drive the ink screen display screen.

[0109] That is, during non-handwriting mode, the e-ink screen only generates a first screen drive waveform based on the screen display data in the first cache unit, and then uses the first screen drive waveform to drive the e-ink screen display. The e-ink screen does not update the data in the second cache unit. During handwriting mode, the e-ink screen directly generates a drive waveform based on the data in the second cache unit, and then uses the drive waveform to drive the e-ink screen display. By using different cache units to store data during non-handwriting mode and handwriting mode, the present application helps improve data processing efficiency and the response speed of the e-ink screen.

[0110] During the handwriting mode, when the data in the first cache unit is updated, the screen update data in the first cache unit can be sent to the second cache unit, and then the first update drive waveform is generated based on the latest handwriting data and the screen update data, thereby ensuring that the screen update data can be displayed in a timely manner and improving the user experience.

[0111] Please refer to Figure 3 and Figure 4 , Figure 3 This is a flowchart of step S50 of the first embodiment of the handwriting display method of the ink screen provided by this application. Figure 4 This is a flowchart of step S60 of the first embodiment of the handwriting display method of the ink screen provided by this application. In this embodiment, Figure 1 Based on the provided handwriting display method, further, the step of generating a first driving waveform according to the first handwriting data and the screen display data includes:

[0112] Step S51, obtaining a first non-overlapping pixel in the screen display data that is located at a different position from the first handwriting data;

[0113] Step S52: obtaining first non-overlapping display data of a first non-overlapping pixel in the screen display data;

[0114] Step S53: generating a first non-overlapping driving waveform according to the first non-overlapping display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the first non-overlapping driving waveform and the first handwriting driving waveform;

[0115] The step of driving the ink display screen using the first driving waveform includes:

[0116] Step S61: Utilize the first non-overlapping driving waveform and the first handwriting driving waveform to simultaneously drive the ink screen display.

[0117] That is, the present application obtains the first non-overlapping display data of the first non-overlapping pixel in the screen display data, then generates a first non-overlapping driving waveform based on the first non-overlapping display data, generates a first handwriting driving waveform based on the first handwriting data, and then uses the first non-overlapping driving waveform and the first handwriting driving waveform to simultaneously drive the ink screen display screen, that is, removes the part of the screen display data that overlaps with the first handwriting data, thereby realizing the simultaneous display of the screen display data and the handwriting data, and further improving the display speed of the handwriting.

[0118] Please refer to Figure 5 and Figure 6 , Figure 5 This is a flowchart of step S50 of the second embodiment of the handwriting display method of the ink screen provided by this application. Figure 6 This is a flowchart of the second embodiment of the handwriting display method of the ink screen provided by this application, step S60. Figure 1 Based on the provided handwriting display method, further, the step of generating a first driving waveform according to the first handwriting data and the screen display data includes:

[0119] Step S54: generating a second picture driving waveform according to the picture display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the second picture driving waveform and the first handwriting driving waveform;

[0120] The step of driving the ink display screen using the first driving waveform includes:

[0121] Step S62: sequentially drive the ink screen display using the second screen driving waveform and the first handwriting driving waveform.

[0122] That is, the present application generates a second screen driving waveform based on the screen display data, and generates a first handwriting driving waveform based on the first handwriting data, the first driving waveform includes the second screen driving waveform and the first handwriting driving waveform, and then uses the second screen driving waveform and the first handwriting driving waveform in sequence to drive the ink screen display screen, thereby realizing the sequential display of the screen display data and the handwriting data.

[0123] Please refer to Figure 7 , Figure 7 This is a flowchart of step S80 of the handwriting display method of the ink screen provided by this application. Figure 2On the basis of the provided handwriting display method, further, the step of generating a first update drive waveform according to the latest handwriting data and the screen update data, and using the first update drive waveform to drive the ink screen display screen includes:

[0124] Step S81: determine whether the handwriting data is updated;

[0125] Step S82: If yes, generate a first update drive waveform using the latest handwriting data and the screen update data, and use the first update drive waveform to drive the ink screen display screen;

[0126] Step S83: If not, generate a first update driving waveform according to the screen update data, and use the first update driving waveform to drive the ink screen display screen.

[0127] Before generating the update drive waveform, a determination is made as to whether the handwriting data has been updated. If so, a first update drive waveform is generated using the latest handwriting data and the screen update data. If the handwriting data has not been updated, a first update drive waveform is generated based on the screen update data. The first update drive waveform is then used to drive the e-ink display. In actual use, during handwriting mode, if a user completes a stroke and then becomes preoccupied with other tasks, not having time to write another stroke, and the data in the first cache unit is updated, the screen update data can be displayed first, rather than waiting for the handwriting data to be updated. This improves the user experience.

[0128] Please refer to Figure 8 , Figure 8 This is a flowchart of step S82 of the embodiment 1 of the handwriting display method of the ink screen provided by this application. Figure 7 Based on the provided handwriting display method, in this embodiment, the step of generating a first update drive waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update drive waveform includes:

[0129] Step S821: Obtain a second non-overlapping pixel of the screen update data that is not located at the same position as any one of the latest handwriting data and the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen;

[0130] Step S822: obtaining second non-overlapping update data of a second non-overlapping pixel in the screen update data;

[0131] Step S823: generating a second non-overlapping update driving waveform according to the second non-overlapping update data, and generating a latest handwriting driving waveform according to the latest handwriting data, wherein the first update driving waveform includes the second non-overlapping update driving waveform and the latest handwriting driving waveform;

[0132] Step S824: Use the second non-overlapping updated driving waveform and the latest handwriting driving waveform to simultaneously drive the ink screen display.

[0133] Since handwriting data is already displayed on the ink screen before the screen update data, the present application obtains a second non-overlapping pixel of the screen update data that is not in the same position as either the latest handwriting data or the previous handwriting data, that is, the second non-overlapping pixel neither overlaps with the pixel of the latest handwriting data nor overlaps with the pixel of the previous handwriting data, thereby preventing the screen update data from covering the handwriting. Then, the second non-overlapping update data of the second non-overlapping pixel in the screen update data is obtained, and a second non-overlapping update drive waveform is generated based on the second non-overlapping update data, and a latest handwriting drive waveform is generated based on the latest handwriting data. Finally, the second non-overlapping update drive waveform and the latest handwriting drive waveform are used to simultaneously drive the ink screen display screen, which is beneficial to improving the data display speed.

[0134] Please refer to Figure 9 , Figure 9 This is a flowchart of step S82 of the second embodiment of the handwriting display method of the ink screen provided by this application. Figure 7 Based on the provided handwriting display method, in one embodiment of the present application, the step of generating a first update drive waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update drive waveform includes:

[0135] Step S825: obtaining the first overlapping pixel in the latest handwriting data that is in the same position as the image update data;

[0136] Step S826, obtaining first overlapping handwriting data of a first overlapping pixel in the latest handwriting data, and first non-overlapping handwriting data of other pixels in the latest handwriting data except the first overlapping pixel;

[0137] Step S827: Acquire a third non-overlapping pixel in the screen update data that is located at a different position from the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen;

[0138] Step S828: Obtain third non-overlapping update data of a third non-overlapping pixel in the image update data;

[0139] Step S829: merging the first non-overlapping handwriting data and the third non-overlapping update data to obtain first sub-update data;

[0140] Step S82A, generating a first sub-update driving waveform according to the first sub-update data, and generating a first overlapping handwriting driving waveform according to the first overlapping handwriting data, wherein the first update driving waveform includes a first sub-update driving waveform and a first overlapping handwriting driving waveform;

[0141] Step S82B: sequentially drive the ink screen display using the first sub-update driving waveform and the first overlapping handwriting driving waveform.

[0142] Since there may be some pixels in the screen update data that overlap with the previous handwriting data, the present application obtains a third non-overlapping pixel in the screen update data that is not in the same position as the previous handwriting data and obtains third non-overlapping update data of the third non-overlapping pixel in the screen update data; obtains a first overlapping pixel in the latest handwriting data that is in the same position as the screen update data, and obtains first overlapping handwriting data of the first overlapping pixel in the latest handwriting data, as well as first non-overlapping handwriting data of other pixels in the latest handwriting data except the first overlapping pixel, and then merges the first non-overlapping handwriting data and the third non-overlapping update data to obtain first sub-update data; then generates a first sub-update drive waveform according to the first sub-update data, and generates a first overlapping handwriting drive waveform according to the first overlapping handwriting data, the first update drive waveform including a first sub-update drive waveform and a first overlapping handwriting drive waveform; finally, the first sub-update drive waveform and the first overlapping handwriting drive waveform are used in sequence to drive the ink screen display.

[0143] Please refer to Figure 10 , Figure 10 This is a flowchart of step S83 of the handwriting display method of the ink screen provided by this application. Figure 7 Based on the provided handwriting display method, further, in one embodiment of the present application, the step of generating a first update drive waveform according to the screen update data and driving the ink screen display screen using the first update drive waveform includes:

[0144] Step S831: Acquire the previous handwriting data displayed on the ink screen;

[0145] Step S832: obtaining a fourth non-overlapping pixel in the image update data that is not located at the same position as the previous handwriting data;

[0146] Step S833: Obtain fourth non-overlapping update data of a fourth non-overlapping pixel in the image update data;

[0147] Step S834: generating a first update driving waveform according to the fourth non-overlapping update data;

[0148] Step S835: Use the first updated driving waveform to drive the ink screen display.

[0149] During handwriting mode, if the user completes a stroke and then becomes preoccupied with other tasks, preventing them from writing the next stroke. This means that the handwriting data has not yet been updated. In this case, the data in the first cache unit is updated, and the screen update data is displayed first. Because prior handwriting data is already displayed on the e-ink display, the screen update data may contain pixels that overlap with the prior handwriting data. Therefore, a fourth non-overlapping pixel in the screen update data, located at a different position than the prior handwriting data, is obtained. Fourth non-overlapping update data is then obtained for the fourth non-overlapping pixel in the screen update data. A first update drive waveform is generated based on the fourth non-overlapping update data. Finally, the e-ink display is driven using the first update drive waveform, thereby preventing the screen update data from overwriting the prior handwriting.

[0150] Please refer to Figure 11 , Figure 11 This is a flow chart of the third embodiment of the handwriting display method of the ink screen provided by this application. Figure 1 Based on the provided handwriting display method, further, in one embodiment of the present application, the handwriting display method further includes:

[0151] Step S100: detecting an exit signal of the handwriting mode;

[0152] Step S110: When the exit signal is detected, the handwriting mode is exited and a screen update driving waveform is generated according to the screen update data in the first cache unit, and the ink screen display screen is driven by the screen update driving waveform.

[0153] That is, in this embodiment, when the exit signal is detected, the handwriting mode is exited and a screen update drive waveform is generated according to the screen update data in the first cache unit, and the screen update drive waveform is used to drive the ink screen display screen.

[0154] For further information, please refer to Figure 12 , Figure 12This is a flowchart of step S110 of the handwriting display method of the ink screen provided in this application. The step of exiting the handwriting mode and driving the ink screen to display the screen according to the screen update data in the first cache unit includes:

[0155] Step S111, exiting the handwriting mode, and detecting whether the data in the first cache unit is updated;

[0156] Step S112: If yes, generate a picture update driving waveform according to the picture update data in the first cache unit, and use the picture update driving waveform to drive the ink screen display picture;

[0157] Step S113: If not, the ink screen is not driven to be refreshed.

[0158] After exiting the handwriting mode, if the data in the first cache unit is updated, a screen update drive waveform is generated according to the screen update data in the first cache unit, and the screen update drive waveform is used to drive the ink screen to display the screen; if the data in the first cache unit is not updated, the ink screen is not driven to refresh, which is beneficial to reducing the power consumption of the ink screen.

[0159] Figure 13 This is a schematic diagram of the structure of the ink screen handwriting display device provided by this application. Figure 13 The ink screen includes a first cache unit and a second cache unit, and the handwriting display device includes: a first detection module 10, a pre-handwriting module 20, a second detection module 30, a handwriting module 40, a generation module 50 and a driving module 60.

[0160] Wherein, the first detection module is used to detect a first signal of a pre-handwriting mode;

[0161] When the first signal is detected, the pre-handwriting mode is entered, and the pre-handwriting module is used to send the screen display data in the first cache unit to the second cache unit during the pre-handwriting mode;

[0162] The second detection module is used to detect a second signal in a handwriting mode;

[0163] When the second signal is detected, the handwriting mode is entered, and the handwriting module is used to obtain a first set of dot reporting data of the handwriting during the handwriting mode, and obtain first handwriting data according to the first set of dot reporting data;

[0164] The generating module is used to generate a first driving waveform according to the first handwriting data and the screen display data;

[0165] The driving module is used to drive the ink screen display screen using the first driving waveform.

[0166] The present application provides a pre-handwriting mode, thereby sending the screen display data in the first cache unit to the second cache unit in advance. There is no need to wait until the handwriting mode is entered to send the screen display data in the first cache unit to the second cache unit, thereby reducing the waiting time. Therefore, when entering the handwriting mode, as long as the handwriting data is received, the first driving waveform is generated according to the handwriting data and the screen display data. There is no need to interrupt the display of the screen display data, and there is no need to wait until the screen display data is completely displayed before processing the handwriting data, thereby improving the display speed of the handwriting.

[0167] In one embodiment of the present application, the handwriting display device further includes:

[0168] a third detection module, configured to detect whether data in the first cache unit is updated during the handwriting mode;

[0169] A first driving module, if yes, is used to generate a first update driving waveform according to the latest handwriting data and the screen update data, and use the first update driving waveform to drive the ink screen display screen;

[0170] The second driving module, if not, then the second driving module is used to generate the latest handwriting driving waveform according to the latest handwriting data, and use the latest handwriting driving waveform to drive the ink screen display screen.

[0171] The handwriting display device of the ink screen provided in the embodiment of the present application is included in the ink screen and can be used to execute any handwriting display method provided in the above embodiments, and has corresponding functions and beneficial effects.

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

[0173] Figure 14 A schematic diagram of the structure of the electronic device provided in this application, such as Figure 14 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 handwriting display method of the ink screen as described above, Figure 14 A processor 201 is taken as an example.

[0174] The memory 202 is a computer-readable storage medium that 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 realizing the above-mentioned handwriting display method.

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

[0176] The electronic device mentioned above includes a handwriting input device, which can be used to execute any of the above-mentioned handwriting display methods and has corresponding functions and beneficial effects.

[0177] The present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the handwriting display method. The computer program, when executed by the processor, can also implement the relevant operations of the handwriting display method provided in any embodiment of the present application, and have the corresponding functions and beneficial effects.

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

[0179] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented 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. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions described in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including the instruction device, which implements the function specified in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0180] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, 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 a computer-readable medium.

[0181] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (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, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0182] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

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

Claims

1. A method for displaying handwriting on an ink screen, wherein the ink screen comprises a first cache unit and a second cache unit, characterized in that: include: detecting a first signal of a pre-handwriting mode; When the first signal is detected, the pre-handwriting mode is entered, and during the pre-handwriting mode, the screen display data in the first buffer unit is sent to the second buffer unit; detecting a second signal of a handwriting mode; When the second signal is detected, the handwriting mode is entered, a first set of dot reporting data of handwriting is acquired during the handwriting mode, and first handwriting data is obtained according to the first set of dot reporting data; generating a first driving waveform according to the first handwriting data and the screen display data; Using the first driving waveform to drive the ink display screen; The display interface of the ink screen includes a handwriting area and a non-handwriting area, the first signal includes a signal generated when the stylus touches the non-handwriting area, and the second signal includes a signal generated when the stylus touches the handwriting area.

2. The handwriting display method according to claim 1, wherein: The handwriting display method further includes: During the handwriting mode, detecting whether data in the first cache unit is updated; If yes, generating a first update driving waveform according to the latest handwriting data and the screen update data, and using the first update driving waveform to drive the ink screen display screen; If not, a new handwriting driving waveform is generated according to the newest handwriting data, and the ink screen display is driven by the newest handwriting driving waveform.

3. The handwriting display method according to claim 1, wherein: During the non-handwriting mode, generating a first picture driving waveform according to the picture display data in the first buffer unit, and using the first picture driving waveform to drive the ink screen display picture; During the handwriting mode, a driving waveform is generated according to the data in the second buffer unit, and then the ink screen display image is driven by the driving waveform.

4. The handwriting display method according to claim 1, wherein: The step of generating a first driving waveform according to the first handwriting data and the screen display data includes: Obtaining a first non-overlapping pixel in the screen display data that is located at a different position from the first handwriting data; Obtaining first non-overlapping display data of a first non-overlapping pixel in the screen display data; generating a first non-overlapping driving waveform according to the first non-overlapping display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the first non-overlapping driving waveform and the first handwriting driving waveform; The step of driving the ink display screen using the first driving waveform includes: The ink screen display is driven simultaneously using the first non-overlapping driving waveform and the first handwriting driving waveform.

5. The handwriting display method according to claim 1, wherein: The step of generating a first driving waveform according to the first handwriting data and the screen display data includes: generating a second picture driving waveform according to the picture display data, and generating a first handwriting driving waveform according to the first handwriting data, wherein the first driving waveform includes the second picture driving waveform and the first handwriting driving waveform; The step of driving the ink display screen using the first driving waveform includes: The ink screen display image is driven by sequentially utilizing the second image driving waveform and the first handwriting driving waveform.

6. The handwriting display method according to claim 2, wherein: The step of generating a first update driving waveform according to the latest handwriting data and the screen update data, and using the first update driving waveform to drive the ink screen display screen includes: Determine whether the handwriting data is updated; If yes, generating a first update driving waveform using the latest handwriting data and the screen update data, and using the first update driving waveform to drive the ink screen display screen; If not, a first update driving waveform is generated according to the screen update data, and the ink screen display screen is driven by using the first update driving waveform.

7. The handwriting display method according to claim 6, characterized in that: The step of generating a first update driving waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update driving waveform includes: Obtaining a second non-overlapping pixel of the screen update data that is not located at the same position as either the latest handwriting data or the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen; obtaining second non-overlapping update data of a second non-overlapping pixel in the picture update data; Generate a second non-overlapping update driving waveform according to the second non-overlapping update data, generate a latest handwriting driving waveform according to the latest handwriting data, wherein the first update driving waveform includes the second non-overlapping update driving waveform and the latest handwriting driving waveform; The ink screen display is driven simultaneously using the second non-overlapping updated driving waveform and the latest handwriting driving waveform.

8. The handwriting display method according to claim 6, wherein: The step of generating a first update driving waveform using the latest handwriting data and the screen update data, and driving the ink screen display screen using the first update driving waveform includes: Obtaining a first overlapping pixel in the latest handwriting data that is at the same position as the screen update data; Obtaining first overlapping handwriting data of a first overlapping pixel in the latest handwriting data, and first non-overlapping handwriting data of other pixels in the latest handwriting data except the first overlapping pixel; Acquire a third non-overlapping pixel in the screen update data that is located at a different position from the previous handwriting data, where the previous handwriting data is the handwriting data that has been displayed on the ink screen; Obtaining third non-overlapping update data of a third non-overlapping pixel in the picture update data; Combining the first non-overlapping handwriting data and the third non-overlapping update data to obtain first sub-update data; Generate a first sub-update driving waveform according to the first sub-update data, and generate a first overlapped handwriting driving waveform according to the first overlapped handwriting data, wherein the first update driving waveform includes a first sub-update driving waveform and a first overlapped handwriting driving waveform; The ink screen display is driven by sequentially utilizing the first sub-update driving waveform and the first overlapping handwriting driving waveform.

9. The handwriting display method according to claim 6, wherein: The step of generating a first update driving waveform according to the screen update data and driving the ink screen display screen using the first update driving waveform includes: Acquiring previous handwriting data displayed on the ink screen; Obtaining a fourth non-overlapping pixel in the screen update data that is not located at the same position as the previous handwriting data; Obtaining fourth non-overlapping update data of a fourth non-overlapping pixel in the picture update data; generating a first update drive waveform according to the fourth non-overlapping update data; The ink screen display is driven by using the first update driving waveform.

10. The handwriting display method according to claim 1, wherein: The handwriting display method further includes: detecting an exit signal of the handwriting mode; When the exit signal is detected, the handwriting mode is exited and a screen update driving waveform is generated according to the screen update data in the first cache unit, and the ink screen display screen is driven by the screen update driving waveform.

11. The handwriting display method according to claim 10, wherein: The step of exiting the handwriting mode and driving the ink screen display image according to the image update data in the first cache unit includes: Exiting the handwriting mode and detecting whether the data in the first cache unit is updated; If yes, generating a picture update driving waveform according to the picture update data in the first cache unit, and using the picture update driving waveform to drive the ink screen display picture; If not, the ink screen is not driven to be refreshed.

12. A handwriting display device with an ink screen, the ink screen comprising a first cache unit and a second cache unit, characterized in that: The handwriting display device comprises: a first detection module, configured to detect a first signal in a pre-handwriting mode; a pre-handwriting module, which enters the pre-handwriting mode when the first signal is detected, and is configured to send the screen display data in the first cache unit to the second cache unit during the pre-handwriting mode; a second detection module, configured to detect a second signal in a handwriting mode; a handwriting module, which enters the handwriting mode when detecting the second signal, and is used to obtain a first set of dot reporting data of handwriting during the handwriting mode, and obtain first handwriting data based on the first set of dot reporting data; A generating module, the generating module being configured to generate a first driving waveform according to the first handwriting data and the screen display data; A driving module, configured to drive the ink display screen using the first driving waveform; The display interface of the ink screen includes a handwriting area and a non-handwriting area, the first signal includes a signal generated when the stylus touches the non-handwriting area, and the second signal includes a signal generated when the stylus touches the handwriting area.

13. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the handwriting display method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the handwriting display method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Method for moving cursor on handwriting image, input method and input system

    CN103049204A

  • Method and device for displaying 3D (Three-Dimensional) painting and calligraphy

    CN103501433A