Methods, devices, electronic devices, and storage media for displaying multiple pages of a notebook.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-12
- Publication Date
- 2026-08-14
AI Technical Summary
然而现有的笔记在多开显示时,通常多个笔记共用一个编辑工具栏和控件,这样可以减少编辑工具栏和控件的占用空间,而多个笔记的编辑模式以及笔迹样式可能处于不同状态,则在对多个笔记进行记录的时候需要频繁手动切换笔迹样式,现有笔记的智能化程度较低,无疑给用户带来了额外的不便操作
Smart Images

Figure CN122569770A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of display technology, and more particularly to a method, apparatus, electronic device, and storage medium for displaying multiple pages of a notebook. Background Technology
[0002] With the continuous development of electronic technology, electronic devices and applications developed for various specific application scenarios are increasingly involved in all aspects of people's lives, providing comprehensive support for each scenario. For example, when using mobile devices for reading and work, people often need to take handwritten notes. Users can input text on a touchscreen using their fingers or a stylus, or via a keyboard, to instantly record their thoughts.
[0003] In some situations, it's necessary to open at least two notebooks simultaneously for note-taking, meaning splitting the touchscreen into at least two windows, each displaying a separate note document. However, existing notebooks typically share a single editing toolbar and controls when multiple notes are displayed simultaneously. While this reduces the space occupied by the toolbar and controls, the editing modes and handwriting styles of the multiple notes may differ. This necessitates frequent manual switching of handwriting styles when recording multiple notes. The current notebook system's low level of automation undoubtedly adds inconvenience for users. Summary of the Invention
[0004] This application provides a method, device, electronic device, and storage medium for displaying multiple pages of a notebook, thereby improving the intelligence and ease of use of the notebook.
[0005] Firstly, this application provides a method for displaying multiple pages of notes, including a touch screen displaying at least two display areas for notes, each display area displaying a note document, each note including a handwriting style control, with at least two notes sharing a single handwriting style control, including: The position of the handwriting tool on the touch screen is obtained; Obtain the first note whose display area overlaps with the pen placement position; Set the handwriting style of the handwriting style control to the handwriting style of the first note.
[0006] In some embodiments of this application, the step of obtaining the pen placement position of the handwriting tool on the touch screen includes: Acquire the handwriting input data of the pen strokes on the touch screen; The pen placement position is obtained based on the pen placement data.
[0007] In some embodiments of this application, the note includes a first cache unit for storing the latest handwriting style of the first note, and the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: The latest handwriting style of the first note is obtained from the first cache unit, and the handwriting style of the first note is the latest handwriting style of the first note; Then, the handwriting style of the handwriting style control is set to the latest handwriting style of the first note.
[0008] In some embodiments of this application, prior to the step of obtaining the latest handwriting style of the first note from the first cache unit, the display method further includes: Determine whether the latest handwriting style of the first note is stored in the first cache unit; if so, proceed to the next step. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0009] In some embodiments of this application, the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether there are historical handwritings in the first notebook; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0010] In some embodiments of this application, the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether there are historical handwritings in the first notebook; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, then obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
[0011] In some embodiments of this application, the note includes a first cache unit for storing the latest handwriting style of the first note, and the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether the first cache unit stores the latest handwriting style of the first note; If so, the latest handwriting style of the first note is obtained from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. If not, determine whether there is any historical handwriting in the first note; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, then obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
[0012] In some embodiments of this application, the note includes a first cache unit for storing the latest handwriting style of the first note, and the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether the first cache unit stores the latest handwriting style of the first note; If so, the latest handwriting style of the first note is obtained from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. If not, determine whether there is any historical handwriting in the first note; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0013] In some embodiments of this application, the touch display screen is a touch e-ink screen, and the handwriting style includes brush types, with each brush type corresponding to a refresh mode of the touch e-ink screen; The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Set the handwriting style of the handwriting style control to the handwriting style of the first note, and set the refresh mode of the display area of the first note to the refresh mode corresponding to the brush type of the first note.
[0014] In some embodiments of this application, the touch display screen is a touch e-ink screen, the note includes a second cache unit for storing the latest refresh mode of the first note, and after the step of acquiring the first note whose display area overlaps with the pen placement position, the display method further includes: Set the refresh mode of the display area of the first note to the latest refresh mode of the first note.
[0015] In some embodiments of this application, the display method further includes: Obtain a second note whose display area does not overlap with the pen placement position; The redraw driving waveform of the display area of the second note is obtained according to the refresh mode of the display area of the second note; The second note is redrawn and refreshed using the redraw drive waveform.
[0016] In some embodiments of this application, the handwriting tool is a stylus, the note includes an eraser style control and a lasso style control, at least two notes share one eraser style control and one lasso style control, and before the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note, the display method includes: Based on the pen stroke reporting data, determine whether the stylus triggers one of the three commands: handwriting input command, erase command, and lasso command. If the handwriting input command is triggered, proceed to the next step. If an erase command is triggered, the erase style of the erase style control is set to the erase style of the first note; If the lasso command is triggered, the lasso style of the lasso style control is set to the lasso style of the first note.
[0017] In some embodiments of this application, when the pen stroke reporting data includes a handwriting input signal, it is determined that the stylus triggers a handwriting input command; when the pen stroke reporting data includes an erase signal, it is determined that the stylus triggers an erase command; when the pen stroke reporting data includes a lasso signal, it is determined that the stylus triggers a lasso command.
[0018] Secondly, embodiments of this application also provide a display device for multiple notebooks, including a touch screen displaying at least two notebooks, each notebook including handwriting style controls, including: The first acquisition module is used to acquire the pen placement position of the handwriting tool on the touch screen. The second acquisition module is used to acquire a first note whose display area overlaps with the pen placement position; The setting module is used to set the handwriting style of the handwriting style control to the handwriting style of the first note.
[0019] 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 display method as described in any of the first aspects.
[0020] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the display method as described in any of the first aspects.
[0021] This application provides a method, apparatus, electronic device, and storage medium for displaying multiple pages of notes. The display method includes a touch screen displaying at least two display areas for notes, each display area showing a note document. Each note includes a handwriting style control. The method includes: acquiring the pen stroke position of a handwriting tool on the touch screen; acquiring a first note whose display area overlaps with the pen stroke position; and setting the handwriting style of the handwriting style control to the handwriting style of the first note. This application achieves automatic setting of the handwriting style control to the handwriting style of the first note based on the pen stroke information by acquiring the first note whose display area overlaps with the pen stroke position and then setting the handwriting style of the handwriting style control to the handwriting style of the first note, eliminating the need for manual switching and greatly improving the intelligence and ease of use of the notes. Attached Figure Description
[0022] Figure 1 A flowchart of an embodiment of the method for displaying multiple pages of notes provided in this application; Figure 2 A flowchart of a second embodiment of the method for displaying multiple pages of notes provided in this application; Figure 3 A flowchart of Embodiment 3 of the method for displaying multiple pages of notes provided in this application; Figure 4 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application; Figure 5 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to a second embodiment; Figure 6 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to a third embodiment; Figure 7 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to embodiment four; Figure 8 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to embodiment five; Figure 9 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to embodiment six; Figure 10 A schematic diagram of the structure of the multi-page notebook display device provided in this application; Figure 11 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0023] 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.
[0024] 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.
[0025] The display method provided in this application embodiment can be used in electronic devices equipped with touch screens. The electronic devices can be tablet computers, mobile phones, e-readers, personal digital assistants (PDAs), and other electronic devices based on touch screens. Specifically, the electronic devices may include touch screens, communication modules, digital signal processors, image processing modules, microcontrollers, screen driver modules, timing control circuits, and power control circuits.
[0026] The embodiments of this application will be described in detail below.
[0027] Figure 1 This is a flowchart of an embodiment of the method for displaying multiple pages of notes provided in this application. The method for displaying multiple pages of notes provided in this application can be executed by a display device, which can be implemented by hardware and / or software and integrated into an electronic device equipped with a touch screen.
[0028] The following description uses a display device to execute a method for displaying multiple instances of a notebook as an example. (Reference) Figure 1 A method for displaying multiple notes includes a touch screen displaying at least two note display areas, each note display area displaying a note document, each note including a handwriting style control, with at least two notes sharing a single handwriting style control, and the display method comprising: S10. Obtain the position of the handwriting tool on the touch screen.
[0029] The handwriting tool includes a stylus, which can be a capacitive stylus, an electromagnetic stylus, or a resistive stylus. The handwriting tool also includes a tool that enables handwriting input on a touchscreen display.
[0030] The point where the handwriting tool touches the touchscreen is the point where the handwriting tool first contacts the touchscreen.
[0031] Further, step S10 includes: S11. Obtain the pen stroke reporting data of the handwriting tool on the touch screen; S12. Obtain the pen placement position based on the pen placement data.
[0032] It is understood that the pen-point reporting data here includes the reporting data formed by the first contact between the handwriting tool and the touch screen, as well as some signal information. The reporting data includes, but is not limited to, coordinate information and time information. The pen-point reporting data can be acquired in real-time through the handwriting tool's sensing device or by reading the touch screen coordinates; no limitation is made here. Therefore, this application obtains the pen-point reporting data of the handwriting tool on the touch screen, wherein the pen-point reporting data includes coordinate information, and thus the pen-point position can be determined based on the pen-point reporting data. In addition, the pen-point reporting data may also include some signal information, which represent some commands input by the handwriting tool, such as handwriting input signals, erasing signals, and lasso signals.
[0033] S20. Obtain the first note whose display area overlaps with the pen placement position.
[0034] Specifically, by determining whether the coordinates of the pen placement position fall within the display area of the first note, if so, the pen placement position overlaps with the first note; otherwise, the pen placement position does not overlap with the first note.
[0035] S30. Set the handwriting style of the handwriting style control to the handwriting style of the first note.
[0036] When the handwriting tool's pen stroke falls within the corresponding area of the first note, it indicates that the handwriting tool is ready to perform handwriting input within the first note. There are two scenarios: First, the user has just started handwriting input using the handwriting tool, and the first note is the user's first handwriting input; second, the user previously performed handwriting input on another note and has just switched to the first note. For the first scenario, automatically setting the handwriting style control to the handwriting style of the first note based on the pen stroke position reduces the inconvenience of manual switching. For the second scenario, when multiple notes are open, the user may perform handwriting input in different notes. Automatically setting the handwriting style control to the handwriting style of the first note based on the pen stroke position avoids frequent switching of handwriting styles when multiple notes are open, greatly improving the intelligence and ease of use of the note-taking system.
[0037] The handwriting style includes parameters such as brush type, stroke thickness, stroke color, stroke smoothness, and pressure sensitivity. The brush type can include fountain pen, ballpoint pen, pencil, calligraphy brush / fine brush, marker, highlighter, etc.
[0038] In summary, this application obtains a first note whose display area overlaps with the pen placement position, and then sets the pen style of the pen style control to the pen style of the first note. This achieves automatic setting of the pen style control to the pen style of the first note based on the pen placement information, eliminating the need for manual switching and greatly improving the intelligence and ease of use of the note-taking system.
[0039] Furthermore, in Figure 1 Based on the provided display method, in one embodiment of this application, the touch display screen is a touch e-ink screen, and the handwriting style includes brush types, with each brush type corresponding to a refresh mode of the touch e-ink screen; The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Set the handwriting style of the handwriting style control to the handwriting style of the first note, and set the refresh mode of the display area of the first note to the refresh mode corresponding to the brush type of the first note.
[0040] In this embodiment, each brush type corresponds to a refresh mode on the touch e-ink screen. Since different brush types have different refresh display requirements, different refresh modes are used when the brush type of the notes is different. Therefore, this application improves the intelligence of the notes by simultaneously setting the refresh mode of the display area of the first note to the refresh mode corresponding to the brush type of the first note when setting the handwriting style control to the handwriting style of the first note. This eliminates the need for manual refresh mode setting, thereby enhancing the user experience.
[0041] The refresh modes currently available for touch 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] The current driving method for touch e-ink screens is as follows: The touch e-ink screen provides Waveform data based on the current refresh mode. Different refresh modes correspond to different Waveform data. Based on the Waveform data and the currently displayed image, the waveform sequence corresponding to the intermediate processes required for the next frame to be displayed is determined. Therefore, each refresh mode of the touch e-ink screen corresponds to a standard waveform, which is obtained by querying the Waveform data of the current refresh mode based on the current display image and the next frame to be displayed.
[0048] Furthermore, in Figure 1 Based on the provided display method, in another embodiment of this application, the touch display screen is a touch e-ink screen, the note includes a second cache unit, the second cache unit is used to store the latest refresh mode of the first note, and after the step of acquiring the first note whose display area overlaps with the pen placement position, the display method further includes: S40. Set the refresh mode of the display area of the first note to the latest refresh mode of the first note.
[0049] In this embodiment, different note areas may employ different refresh modes because users may have different refresh requirements. For example, in some note display areas, users need to quickly refresh the display of handwriting and do not care about handwriting ghosting; therefore, a fast refresh mode is used in these areas. Conversely, in other note display areas, users do not need to quickly refresh the display of handwriting and require high display quality; in these areas, a slower refresh mode is used. Therefore, when a user switches between different notes, the refresh mode of the corresponding note display area needs to be switched simultaneously. This application automatically sets the refresh mode of the first note's display area to the latest refresh mode of the first note, avoiding the need for manual switching and improving intelligence and user experience.
[0050] Please refer to Figure 2 , Figure 2 A flowchart illustrating a second embodiment of the method for displaying multiple pages of notes provided in this application. Further, in Figure 1In addition to the provided display method, the display method further includes: S50. Obtain a second note whose display area does not overlap with the pen placement position; S60. Obtain the redraw driving waveform of the display area of the second note according to the refresh mode of the display area of the second note; S70. The second note is redrawn and refreshed using the redraw driving waveform.
[0051] The refresh mode used when redrawing and refreshing the second note may differ from the refresh mode used when handwriting input is performed on the second note. When the display area of some notes is refreshed using a fast refresh mode during handwriting input, there may be significant display ghosting or insufficient particle drive on the touch e-ink screen. Both of these issues can lead to color distortion or poor display quality. Therefore, to improve the display effect of the second note, this application redraws and refreshes the display area of the second note when the user performs handwriting input on the first note. The refresh mode used when redrawing and refreshing the second note can be a slower refresh mode, thereby improving the display effect.
[0052] Please refer to Figure 3 , Figure 3 A flowchart of Embodiment 3 of the method for displaying multiple pages of notes provided in this application. Further, in Figure 1 Based on the provided display method, the handwriting tool is a stylus, the note includes an eraser style control and a lasso style control, at least two notes share one eraser style control and one lasso style control, and before the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note, the display method includes: S80. Based on the pen stroke reporting data, determine whether the stylus has triggered one of the three commands: handwriting input command, erase command, and lasso command. If the handwriting input command is triggered, proceed to the next step. S90. If an erase command is triggered, the erase style of the erase style control is set to the erase style of the first note. SA0. If the lasso command is triggered, the lasso style of the lasso style control is set to the lasso style of the first note.
[0053] In other words, in this embodiment, at least two notes share one erase style control and one lasso style control, which reduces the space occupied by the erase style control and lasso style control when multiple notes are open. Simultaneously, this application determines the handwriting style of the handwriting style control based on the pen stroke data. If the stylus triggers a handwriting input command, the handwriting style of the handwriting style control is set to the handwriting style of the first note; if the stylus triggers an erase command, the erase style of the erase style control is set to the erase style of the first note; if the stylus triggers a lasso command, the lasso style of the lasso style control is set to the lasso style of the first note. This achieves automatic setting of the parameters of the handwriting style control, erase style control, and lasso style control based on the pen stroke data, determining whether the stylus triggers one of the three commands: handwriting input, erase, or lasso. Furthermore, different notes may have different handwriting styles, different erasure styles, and different lasso styles. Therefore, this application can automatically set the handwriting style of the handwriting style control, the erasure style of the eraser control, and the lasso style of the lasso control, thereby improving the intelligence of note-taking and the user experience.
[0054] Furthermore, when the pen stroke reporting data includes a handwriting input signal, it is determined that the stylus has triggered a handwriting input command; when the pen stroke reporting data includes an erase signal, it is determined that the stylus has triggered an erase command; when the pen stroke reporting data includes a lasso signal, it is determined that the stylus has triggered a lasso command. That is, when the pen stroke reporting data includes a handwriting input signal, it means the handwriting tool has triggered a handwriting input command, and then the handwriting tool performs handwriting input on the touchscreen display; when the pen stroke reporting data includes an erase signal, it means the handwriting tool has triggered an erase command, and then the handwriting tool erases the pen strokes on the touchscreen display; when the pen stroke reporting data includes a lasso signal, it means the handwriting tool has triggered a lasso command, and then the handwriting tool performs lasso selection on the touchscreen display.
[0055] The erasure styles may include point erasure, lasso erasure, area erasure, and brush stroke erasure, and the lasso styles may include smart lasso, free lasso, circular / elliptical lasso, and rectangular lasso.
[0056] Please refer to Figure 4 , Figure 4 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application is shown in Embodiment 1. Further, in Figure 1Based on the provided display method, the note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: S31. Obtain the latest handwriting style of the first note from the first cache unit, wherein the handwriting style of the first note is the latest handwriting style of the first note; S32. Then set the handwriting style of the handwriting style control to the latest handwriting style of the first note.
[0057] That is, the first cache unit is used to store the latest handwriting style of the first note. Therefore, every time the handwriting style of the first note changes, the latest changed handwriting style will be stored in the first cache unit. Thus, the latest handwriting style can be the handwriting style that the user recently manually set for the first note and stored in the first cache unit, or it can be the handwriting style that the user last used to handwrite in the first note and stored in the first cache unit. In one embodiment of this application, when the handwriting style of the first note has not changed, the first cache unit can pre-store a preset handwriting style.
[0058] In summary, this application obtains the latest handwriting style of the first note from the first cache unit, and then sets the handwriting style of the handwriting style control to the latest handwriting style of the first note. By using the first cache unit to store the latest handwriting style of the first note, this application allows users to quickly obtain the handwriting style of the first note when switching between different notes, reducing the calculation process and enabling the handwriting style control to be quickly set to the handwriting style of the first note. Therefore, it can reduce switching latency and improve user experience.
[0059] Please refer to Figure 5 , Figure 5 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to a second embodiment. Figure 4 Based on the provided display method, in one embodiment of this application, before the step of obtaining the latest handwriting style of the first note from the first cache unit, the display method further includes: S33. Determine whether the latest handwriting style of the first note is stored in the first cache unit. If so, proceed to the next step, i.e., execute step S31. S34. If not, obtain the handwriting style of the most recently closed first history note, the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0060] In other words, when the first cache unit stores the latest handwriting style of the first note, the latest handwriting style of the first note is retrieved from the first cache unit, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. When the first cache unit does not store the latest handwriting style of the first note, it may mean that the first note is a newly created note or that the note style of the first note has not been changed. In this case, the handwriting style of the most recently closed first historical note is retrieved, and the handwriting style of the first note is used as the handwriting style of the first historical note. Then, the handwriting style of the handwriting style control is set to the handwriting style of the first historical note. Therefore, in this embodiment, when the first cache unit does not store the latest handwriting style of the first note, the handwriting style of the first historical note is used as the handwriting style of the first note. The handwriting style of the first historical note represents the handwriting style that the user has recently liked, which is more in line with the user's usage habits.
[0061] Please refer to Figure 6 , Figure 6 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to Embodiment Three. Further, in... Figure 1 Based on the provided display method, in one embodiment of this application, the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: S35. Determine whether there are historical handwritings in the first notebook; S36. If so, obtain the handwriting style of the historical handwriting, the handwriting style of the first note is the handwriting style of the historical handwriting, and then set the handwriting style of the handwriting style control to the handwriting style of the historical handwriting. S37. If not, obtain the handwriting style of the most recently closed first history note, the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0062] In other words, this application determines whether historical handwriting exists in the first note. If historical handwriting exists in the first note (meaning the first note is not a newly created note), the handwriting style of the historical handwriting is obtained, and the handwriting style of the first note is the handwriting style of the historical handwriting. Then, the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. The handwriting style of the historical handwriting is the handwriting style used in the first note, thus maintaining the continuity and consistency of the handwriting in the first note. If historical handwriting does not exist in the first note (meaning the first note may be a newly created note or a historical note may have been deleted), the handwriting style of the most recently closed first historical note is obtained, and the handwriting style of the first note is the handwriting style of the first historical note. Then, the handwriting style of the handwriting style control is set to the handwriting style of the first historical note. The handwriting style of the first historical note represents the handwriting style that the user has recently preferred, which better matches the user's usage habits.
[0063] Please refer to Figure 7 , Figure 7 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application, according to Embodiment Four. Further, in Figure 1 Based on the provided display method, in another embodiment of this application, the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: S38. Determine whether there are historical handwritings in the first notebook; S39. If so, obtain the handwriting style of the historical handwriting, the handwriting style of the first note is the handwriting style of the historical handwriting, and then set the handwriting style of the handwriting style control to the handwriting style of the historical handwriting. S3A. If not, obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
[0064] In other words, this application determines whether historical handwriting exists in the first note. If historical handwriting exists in the first note, meaning the first note is not a newly created note, then the handwriting style of the historical handwriting is obtained, and the handwriting style of the first note is the handwriting style of the historical handwriting. Then, the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. The handwriting style of the historical handwriting is the handwriting style used in the first note, thus maintaining the continuity and consistency of the handwriting in the first note. If historical handwriting does not exist in the first note, meaning the first note may be a newly created note or a historical note may have been deleted, then a preset handwriting style is obtained, and the handwriting style of the first note is the preset handwriting style. Then, the handwriting style of the handwriting style control is set to the preset handwriting style.
[0065] Please refer to Figure 8 , Figure 8 A flowchart of step S30 of the method for displaying multiple pages of notes provided in this application is shown in Embodiment Five. Further, in... Figure 1 Based on the provided display method, in another embodiment of this application, the note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: S3B: Determine whether the latest handwriting style of the first note is stored in the first cache unit; S3C, if so, then obtain the latest handwriting style of the first note from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then set the handwriting style of the handwriting style control to the latest handwriting style of the first note. S3D, if not, determine whether there is historical handwriting in the first note; S3E, If yes, then obtain the handwriting style of the historical handwriting, the handwriting style of the first note is the handwriting style of the historical handwriting, and then set the handwriting style of the handwriting style control to the handwriting style of the historical handwriting. S3F: If not, obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
[0066] In other words, when the first cache unit stores the latest handwriting style of the first note, the latest handwriting style of the first note is retrieved from the first cache unit, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. By using the first cache unit to store the latest handwriting style of the first note, this application allows users to quickly obtain the handwriting style of the first note when switching between different notes, reducing the computational process and enabling the handwriting style control to be quickly set to the handwriting style of the first note. Therefore, it reduces switching latency and improves the user experience.
[0067] When the first cache unit does not store the latest handwriting style of the first note, it is determined whether there is historical handwriting in the first note. If there is historical handwriting in the first note, the handwriting style of the historical handwriting is obtained, and the handwriting style of the first note is the handwriting style of the historical handwriting. Then, the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. The handwriting style of the historical handwriting is the handwriting style used in the first note, thus maintaining the continuity and consistency of the handwriting in the first note. If there is no historical handwriting in the first note, a preset handwriting style is obtained, and the handwriting style of the first note is the preset handwriting style. Then, the handwriting style of the handwriting style control is set to the preset handwriting style.
[0068] Please refer to Figure 9 , Figure 9 A flowchart of embodiment six of the method for displaying multiple pages of notes provided in this application. Further, in Figure 1 Based on the provided display method, in another embodiment of this application, the note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: S3G: Determine whether the latest handwriting style of the first note is stored in the first cache unit; S3H, If so, then obtain the latest handwriting style of the first note from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then set the handwriting style of the handwriting style control to the latest handwriting style of the first note. S3I. If not, determine whether there is any historical handwriting in the first note; S3J, If yes, then obtain the handwriting style of the historical handwriting, the handwriting style of the first note is the handwriting style of the historical handwriting, and then set the handwriting style of the handwriting style control to the handwriting style of the historical handwriting. S3K, if not, then obtain the handwriting style of the most recently closed first history note, the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
[0069] In other words, when the first cache unit stores the latest handwriting style of the first note, the latest handwriting style of the first note is retrieved from the first cache unit, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. By using the first cache unit to store the latest handwriting style of the first note, this application allows users to quickly obtain the handwriting style of the first note when switching between different notes, reducing the computational process and enabling the handwriting style control to be quickly set to the handwriting style of the first note. Therefore, it reduces switching latency and improves the user experience.
[0070] When the first cache unit does not store the latest handwriting style of the first note, it is determined whether there is historical handwriting in the first note. If there is historical handwriting, the handwriting style of the historical handwriting is obtained, and the handwriting style of the first note is the handwriting style of the historical handwriting. Then, the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. The handwriting style of the historical handwriting is the handwriting style used in the first note, thus maintaining the continuity and consistency of the handwriting in the first note. If there is no historical handwriting in the first note, that is, the first note may be a newly created note or a historical note has been deleted, the handwriting style of the most recently closed first historical note is obtained, and the handwriting style of the first note is the handwriting style of the first historical note. Then, the handwriting style of the handwriting style control is set to the handwriting style of the first historical note. The handwriting style of the first historical note represents the handwriting style that the user has recently liked, which is more in line with the user's usage habits.
[0071] Figure 10 A schematic diagram of the multi-page notebook display device provided in this application. (Reference) Figure 10 The display device includes a touch screen displaying at least two note display areas, each note display area displaying a note document, and the note including a handwriting style control, with at least two notes sharing a handwriting style control, including: a first acquisition module 10, a second acquisition module 20, and a setting module 30.
[0072] The first acquisition module 10 is used to acquire the position of the handwriting tool on the touch screen. The second acquisition module 20 is used to acquire a first note whose display area overlaps with the pen placement position; The setting module 30 is used to set the handwriting style of the handwriting style control to the handwriting style of the first note.
[0073] In summary, this application obtains a first note whose display area overlaps with the pen placement position, and then sets the pen style of the pen style control to the pen style of the first note. This achieves automatic setting of the pen style control to the pen style of the first note based on the pen placement information, eliminating the need for manual switching and greatly improving the intelligence and ease of use of the note-taking system.
[0074] The multi-page notebook display device provided in this application embodiment is included in an electronic device with a touch screen and can be used to execute any of the display methods provided in the above embodiments, possessing corresponding functions and beneficial effects.
[0075] It is worth noting that in the above embodiments of the multi-page display device for notes, 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.
[0076] Figure 11 A schematic diagram of the structure of the electronic device provided in this application, such as... Figure 11 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 enables the multi-page display method of the notes described above. Figure 11 Take a processor 201 as an example.
[0077] 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 realizing the above-mentioned display method.
[0078] 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.
[0079] The aforementioned electronic device includes a display device, which can be used to perform any of the aforementioned display methods and has corresponding functions and beneficial effects.
[0080] This application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a display method. When executed by the processor, the computer program can also implement related operations in the display method provided in any embodiment of this application, and possesses corresponding functions and beneficial effects.
[0081] Those skilled in the art will understand that embodiments of this application may be provided as methods, systems, or computer program products.
[0082] 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 1The 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.
[0083] 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.
[0084] 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.
[0085] 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.
[0086] 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 displaying multiple pages of notes, comprising a touch screen displaying at least two display areas for notes, each display area displaying a note document, each note including a handwriting style control, wherein at least two notes share a single handwriting style control, characterized in that, include: The position of the handwriting tool on the touch screen is obtained; Obtain the first note whose display area overlaps with the pen placement position; Set the handwriting style of the handwriting style control to the handwriting style of the first note.
2. The display method according to claim 1, characterized in that, The step of obtaining the pen placement position of the handwriting tool on the touch screen includes: Acquire the handwriting input data of the pen strokes on the touch screen; The pen placement position is obtained based on the pen placement data.
3. The display method according to claim 1, characterized in that, The note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: The latest handwriting style of the first note is obtained from the first cache unit, and the handwriting style of the first note is the latest handwriting style of the first note; Then, the handwriting style of the handwriting style control is set to the latest handwriting style of the first note.
4. The display method according to claim 3, characterized in that, Prior to the step of retrieving the latest handwriting style of the first note from the first cache unit, the display method further includes: Determine whether the latest handwriting style of the first note is stored in the first cache unit; if so, proceed to the next step. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
5. The display method according to claim 1, characterized in that, The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether there are historical handwritings in the first notebook; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
6. The display method according to claim 1, characterized in that, The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether there are historical handwritings in the first notebook; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, then obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
7. The display method according to claim 1, characterized in that, The note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether the first cache unit stores the latest handwriting style of the first note; If so, the latest handwriting style of the first note is obtained from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. If not, determine whether there is any historical handwriting in the first note; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, then obtain the preset handwriting style, the handwriting style of the first note is the preset handwriting style, and then set the handwriting style of the handwriting style control to the preset handwriting style.
8. The display method according to claim 1, characterized in that, The note includes a first cache unit, which stores the latest handwriting style of the first note. The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Determine whether the first cache unit stores the latest handwriting style of the first note; If so, the latest handwriting style of the first note is obtained from the first cache unit, the handwriting style of the first note is the latest handwriting style of the first note, and then the handwriting style of the handwriting style control is set to the latest handwriting style of the first note. If not, determine whether there is any historical handwriting in the first note; If so, the handwriting style of the historical handwriting is obtained, the handwriting style of the first note is the handwriting style of the historical handwriting, and then the handwriting style of the handwriting style control is set to the handwriting style of the historical handwriting. If not, retrieve the handwriting style of the most recently closed first history note, where the handwriting style of the first note is the handwriting style of the first history note, and then set the handwriting style of the handwriting style control to the handwriting style of the first history note.
9. The display method according to claim 1, characterized in that, The touch display screen is a touch e-ink screen, and the handwriting style includes brush types, with each brush type corresponding to a refresh mode of the touch e-ink screen; The step of setting the handwriting style of the handwriting style control to the handwriting style of the first note includes: Set the handwriting style of the handwriting style control to the handwriting style of the first note, and set the refresh mode of the display area of the first note to the refresh mode corresponding to the brush type of the first note.
10. The display method according to claim 1, characterized in that, The touch display screen is a touch e-ink screen, and the note includes a second cache unit for storing the latest refresh mode of the first note. After the step of acquiring the first note whose display area overlaps with the pen placement position, the display method further includes: Set the refresh mode of the display area of the first note to the latest refresh mode of the first note.
11. The display method according to claim 10, characterized in that, The display method further includes: Obtain a second note whose display area does not overlap with the pen placement position; The redraw driving waveform of the display area of the second note is obtained according to the refresh mode of the display area of the second note; The second note is redrawn and refreshed using the redraw drive waveform.
12. The display method according to claim 2, characterized in that, The handwriting tool is a stylus, and the notes include an eraser style control and a lasso style control. At least two notes share one eraser style control and one lasso style control. Before the step of setting the handwriting style of the handwriting style control to the handwriting style of the first note, the display method includes: Based on the pen stroke reporting data, determine whether the stylus triggers one of the three commands: handwriting input command, erase command, and lasso command. If the handwriting input command is triggered, proceed to the next step. If an erase command is triggered, the erase style of the erase style control is set to the erase style of the first note; If the lasso command is triggered, the lasso style of the lasso style control is set to the lasso style of the first note.
13. The display method according to claim 12, characterized in that, When the pen stroke reporting data includes a handwriting input signal, it is determined that the stylus has triggered a handwriting input command; when the pen stroke reporting data includes an erase signal, it is determined that the stylus has triggered an erase command. When the pen stroke reporting data includes a lasso signal, it is determined that the stylus has triggered a lasso command.
14. A multi-page note display device, comprising a touch screen displaying at least two note display areas, each note display area displaying a note document, the note including a handwriting style control, the at least two notes sharing a single handwriting style control, characterized in that, include: The first acquisition module is used to acquire the pen placement position of the handwriting tool on the touch screen. The second acquisition module is used to acquire a first note whose display area overlaps with the pen placement position; The setting module is used to set the handwriting style of the handwriting style control to the handwriting style of the first note.
15. 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 display method as described in any one of claims 1-13.
16. 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 display method as described in any one of claims 1-13.