Note generation method, ink screen device, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 深圳开鸿数字产业发展有限公司
- Filing Date
- 2022-11-07
- Publication Date
- 2026-08-07
AI Technical Summary
但现有的墨水屏设备无法基于用户手写的内容自动生成笔记,用户体验不好
[0011] This invention provides a note-generating method, an e-ink device, and a storage medium. The method detects a user's handwriting on a note-editing page, determines the writing position and format type of the handwriting, and caches this information. Subsequently, after the user selects a note template, the template is displayed in the note-editing area, and each handwriting entry is filled into the template based on its cached position and format type to generate a note. This achieves automatic note generation based on the user's handwriting, significantly improving note-generating efficiency.
Smart Images

Figure CN115933955B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of e-ink display, and more particularly to a note-generating method, an e-ink device, and a storage medium. Background Technology
[0002] E-ink devices are electronic devices that use electronic ink displays (E-ink). The display effect of E-ink screens is highly similar to that of paper, avoiding the glare problems of traditional LCD displays and providing users with a good visual experience. Therefore, many E-ink devices offer handwriting functionality, allowing users to write on the E-ink screen using a medium (such as an electromagnetic pen) to record notes related to life or work, and also making it easy for users to review those notes. However, existing E-ink devices cannot automatically generate notes based on user handwriting, resulting in a poor user experience. Summary of the Invention
[0003] This invention provides a note-generating method, an e-ink device, and a storage medium, aiming to automatically generate notes based on user handwriting to improve note-generating efficiency.
[0004] In a first aspect, embodiments of the present invention provide a note-generating method applied to an e-ink display device, the method comprising:
[0005] Display a note editing page, which includes a toolbar area and a note editing area, and the toolbar area includes template options;
[0006] When a user's handwriting is detected on the note editing page, the writing position and format type of the handwriting are determined and cached.
[0007] In response to the user's triggering action on the template option, the template selection page is displayed, and the note template selected by the user on the template selection page is obtained;
[0008] The note template is displayed in the note editing area, and each of the written strokes is filled into the note template according to the writing position and format type of each cached written stroke to generate a note.
[0009] Secondly, embodiments of the present invention also provide an e-ink screen device, the e-ink screen device including an e-ink screen, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the e-ink screen, the processor and the memory, wherein when the computer program is executed by the processor, it implements the note generation method as described in the first aspect.
[0010] Thirdly, embodiments of the present invention also provide a storage medium for computer-readable storage, wherein the storage medium stores one or more programs that can be executed by one or more processors to implement the note generation method as described in the first aspect.
[0011] This invention provides a note-generating method, an e-ink device, and a storage medium. The method detects a user's handwriting on a note-editing page, determines the writing position and format type of the handwriting, and caches this information. Subsequently, after the user selects a note template, the template is displayed in the note-editing area, and each handwriting entry is filled into the template based on its cached position and format type to generate a note. This achieves automatic note generation based on the user's handwriting, significantly improving note-generating efficiency. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart illustrating a note generation method provided in an embodiment of the present invention;
[0014] Figure 2 This is a schematic diagram of a note-editing page in an embodiment of the present invention;
[0015] Figure 3 This is another schematic diagram of the note editing page in an embodiment of the present invention;
[0016] Figure 4 This is another schematic diagram of the note editing page in an embodiment of the present invention;
[0017] Figure 5 This is a schematic diagram of a template selection page in an embodiment of the present invention;
[0018] Figure 6 This is another schematic diagram of the note editing page in an embodiment of the present invention;
[0019] Figure 7 This is another schematic diagram of the note editing page in an embodiment of the present invention;
[0020] Figure 8 This is another schematic diagram of the note editing page in an embodiment of the present invention;
[0021] Figure 9This is a schematic block diagram of the structure of an e-ink screen device provided in an embodiment of the present invention. Detailed Implementation
[0022] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0024] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0025] The operating system used by the e-ink device involved in this invention embodiment is a distributed operating system developed based on the OpenHarmony project, designed for all scenarios. The OpenHarmony system provides functions such as distributed soft bus, distributed data management, distributed task scheduling, and a distributed virtualization platform. The distributed soft bus serves as a unified foundation for multiple intelligent devices, providing unified distributed communication capabilities for seamless interconnection between intelligent devices. It can quickly discover and connect intelligent devices, and efficiently transmit tasks and data. Relying on soft bus technology, distributed data management capabilities can be achieved, thereby realizing distributed management of application data and user data. User data is no longer bound to a single physical device; business logic and data storage are separated, and data is seamlessly connected when applications run across devices.
[0026] From a software perspective, operating systems supporting distributed soft bus technology can deploy specific applications on a per-ability basis. An ability is an abstraction of the capabilities an application possesses and is a crucial component of the application. In other words, an application can possess multiple capabilities (i.e., it can contain multiple abilities). Specifically, application capabilities are divided into two types: FA (Feature Ability) and PA (Particle Ability). FA represents capabilities with a UI (User Interface), which are visible to the user and designed for interaction. PA represents capabilities without a UI and primarily provides support for FAs, such as providing computing functionality as a background service or providing data access functionality as a data repository, etc.
[0027] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0028] Please see Figure 1 , Figure 1 This is a flowchart illustrating a note generation method provided in an embodiment of the present invention.
[0029] like Figure 1 As shown, the note generation method includes steps S101 to S104.
[0030] Step S101: Display the note editing page. The note editing page includes a toolbar area and a note editing area. The toolbar area includes template options.
[0031] For example, such as Figure 2 As shown, the note-editing page includes a toolbar area 10 and a note-editing area 30. Writing is not allowed in the toolbar area 10; users can use a stylus or finger to click. Writing and clicking are also possible in the note-editing area 30 using a stylus or finger. The toolbar area 10 includes options for saving / exiting (11), pen (12), pencil (13), erasing (14), inserting a shape (15), inserting a page (16), deleting this page (17), more options (18), pen thickness (19), and color (21). When a user selects pen option 12 or pencil option 13, the shape of their handwriting will correspond to the pen or pencil shape. Users can also select the thickness and color of their handwriting using pen thickness option 19 and color option 21.
[0032] After tapping the erase option 14 with a stylus or finger, the user can erase the handwriting displayed in the note editing area 30. After tapping the insert shape option 15 with a stylus or finger, the user can select the shape to insert. For example, ... Figure 3 As shown, toolbar area 10 also includes options for a line, a triangle, an ellipse, and a rectangle, allowing users to select the shape to insert as a line, triangle, ellipse, or rectangle. When the user clicks the "Insert Page" option 16 with a stylus or finger, the e-ink device inserts a blank page after the current page. When the user clicks the "Delete Current Page" option 17 with a stylus or finger, the e-ink device deletes the current page (i.e., the currently displayed page).
[0033] After the user taps the more options 18 with a stylus or finger, the toolbar area 11 may also include... Figure 4 The device includes template options 22, refresh option 23, rename option 24, note encryption option 25, and export option 26. After the user taps template option 22 with a stylus or finger, the e-ink device displays a template selection page where the user can choose a note template. Tapping refresh option 23 refreshes the notes in the note editing area 30. Tapping rename option 24 allows the user to rename the notes in the editing area 30. Tapping note encryption option 25 encrypts the notes in the editing area 30. Tapping export option 26 exports the notes in the editing area 30 as a PDF file.
[0034] Understandable Figures 1 to 4 The note editing page shown in the figure is only a part of the interface diagram related to the embodiment of the present invention, and does not constitute a limitation on the note editing page of the embodiment of the present invention. The specific note editing page may include more or fewer options than shown in the figure, or the layout of each option may be inconsistent with that shown in the figure.
[0035] Step S102: When the user's handwriting is detected on the note editing page, determine the writing position and format type of the handwriting, and cache the writing position and format type of the handwriting.
[0036] In this embodiment of the invention, the handwriting is the handwriting formed by a single writing operation. A single writing operation includes a writing drop operation, a writing movement operation, and a writing lift operation. When a writing drop operation is detected (e.g., the touch signal of the stylus is first received), it can be determined that the writing operation has started. When a writing lift operation is detected (e.g., the reception of the touch signal stops and no touch signal is received after a set time), it can be determined that the writing operation is completed.
[0037] The writing position of the handwriting includes the starting position and the ending position of the handwriting in the note editing area. The starting position is the position where the stylus clicks when the writing drop operation is detected in the writing operation corresponding to the handwriting, and the ending position is the position of the stylus when the writing lift operation is detected in the writing operation corresponding to the handwriting.
[0038] For example, when a user writes "Zhang San" with a stylus, the stylus begins to receive touch signals when it touches the e-ink screen, detecting a writing drop operation. The stylus's current position is then determined as the starting point of the writing. The user begins writing "Zhang San Li Si". After writing "Zhang", the user lifts the stylus, thus no touch signal is received. However, if the user continues writing "San" within a set time, it is determined that no writing drop operation was detected. Similarly, if the user lifts the stylus after writing "San", no touch signal is received, and no touch signal is received after the set time, it is determined that a writing drop operation was detected. Therefore, the stylus's position after writing "San" is determined as the ending point of the writing, thus confirming the completion of writing "Zhang San". This is how the handwriting of "Zhang San" is obtained.
[0039] In one embodiment, the format type of handwriting can be determined by converting the handwriting into text data, inputting the text data into a preset format type recognition model, and obtaining the format type of the handwriting. The format type may include date, name, address, mobile phone number, ID card number, and body text, etc., and the format type recognition model is a pre-trained neural network model. The format type recognition model can accurately determine the format type of the handwriting.
[0040] In one embodiment, multiple sample data sets are acquired, and a preset neural network model is iteratively trained until convergence based on these sample data sets. The sample data sets include sample text and the corresponding labeled format types. The training process may include: inputting the sample text from the sample data into the preset neural network model to obtain the predicted format type of the sample text; calculating the model loss value using the cross-entropy loss function based on the labeled format type and the predicted format type; if the model loss value is less than a preset loss value, updating the model parameters of the preset neural network model, and continuing to train the preset neural network model with updated model parameters until the preset neural network model converges, thereby obtaining a format type recognition model.
[0041] The neural network models can include Convolutional Neural Networks (CNN) models, Deep Neural Networks (DNN) models, Recurrent Neural Networks (RNN) models, Factorisation Machine Supported Neural Networks (FNN) models, Neural Factorization Machines (NFM) models, Attentional Factorization Machines (AFM) models, and so on.
[0042] Step S103: In response to the user's trigger operation on the template option, display the template selection page and obtain the note template selected by the user on the template selection page.
[0043] For example, after a user taps the template option with a stylus or finger, the e-ink device displays something like this. Figure 5 The template selection page is shown. Figure 5 As shown, the template selection page includes note templates for blank pages, plans, calendars, grid paper, small squares, large squares, English writing, musical notation, etc., and may also include note templates for meeting minutes, etc. This is understandable. Figure 5 The note template shown is merely exemplary and does not constitute a specific limitation on the note template in the embodiments of the invention.
[0044] Step S104: Display the note template in the note editing area and fill each writing stroke in the note template according to the writing position and format type of each cached writing stroke to generate a note.
[0045] For example, if the user selects a note template corresponding to meeting minutes, and assuming the cache does not contain the handwriting location and format type, then... Figure 6 As shown, the e-ink device displays the note template corresponding to the meeting minutes in the note editing area 30.
[0046] In one embodiment, the manner of filling each writing stroke in the note template according to the writing position and format type of each writing stroke cached may be: determining whether the note template is in the first preset note template set or in the second preset note template set; in the case where the note template is in the first preset note template set, determining the filling position of each writing stroke in the note template according to the writing position of each writing stroke cached; and filling each writing stroke in the note template according to the filling position of each writing stroke in the note template. Wherein, the writing position of the writing stroke includes the writing start position and the writing end position of the writing stroke in the note editing area.
[0047] Wherein, the first preset note template set is different from the second preset note template set, and the first preset note template set includes Figure 5 the note templates corresponding to the cross-grid, the note templates corresponding to the square-grid, the note templates corresponding to the small square grids, the note templates corresponding to the large square grids, etc. in
[0048] For example, as Figure 7 shown, the cached writing strokes include the handwritten stroke 41 "思", the handwritten stroke 42 "考", the handwritten stroke 43 "能", and the handwritten stroke 44 "力", and the note template selected by the user is the note template corresponding to the cross-grid. Since the note template corresponding to the cross-grid is in the first preset note template set, based on the writing positions of the handwritten stroke 41 "思", the handwritten stroke 42 "考", the handwritten stroke 43 "能", and the handwritten stroke 44 "力" in the note editing area 30, the filling positions of the handwritten stroke 41 "思", the handwritten stroke 42 "考", the handwritten stroke 43 "能", and the handwritten stroke 44 "力" in the note template corresponding to the cross-grid can be determined, and then the handwritten stroke 41 "思", the handwritten stroke 42 "考", the handwritten stroke 43 "能", and the handwritten stroke 44 "力" can be filled into the note template corresponding to the cross-grid, so as to obtain the note as Figure 8 shown.
[0049] In one embodiment, in the case where the note template is in the second preset note template set, obtaining the format description information of each to-be-filled area in the note template; determining the to-be-filled area corresponding to each writing stroke according to the format type of each writing stroke cached and the format description information; determining the filling position of each writing stroke in the to-be-filled area corresponding to each writing stroke according to the writing position of each writing stroke; and filling each writing stroke in the note template according to the filling position of each writing stroke. Wherein, the format description information of the to-be-filled area corresponding to the writing stroke matches the format type of the writing stroke, and the format description information includes any one of date, name, address, mobile phone number, ID card, and text, etc.
[0050] In one embodiment, when a user's dragging action on the handwriting in the note-editing page is detected, the position of the dragged handwriting and the positions of the handwriting associated with it are adjusted according to the dragging action. After generating notes using a note template and the user's handwriting, the user can adjust the position of the dragged handwriting and the positions of the handwriting associated with it by dragging it, thereby adjusting the notes to better suit their needs.
[0051] In one embodiment, the toolbar area further includes an image insertion option. After step S104, the method further includes: responding to the user's triggering operation on the image insertion option, displaying an image source display page, which includes multiple image source options; obtaining the image source option selected by the user and displaying the file management page corresponding to the selected image source option; obtaining the image selected by the user based on the file management page and inserting the selected image into the note editing page. The multiple image source options include local image options and at least one external image option. The e-ink device communicates with the external storage device corresponding to the external image option via a distributed soft bus. The operating system of the external storage device corresponding to the external image option is a distributed operating system oriented to all scenarios. After generating a note, the user can insert local images or images from the external storage device into the note without needing to obtain images from the external storage device through a cumbersome process.
[0052] In one embodiment, the toolbar area further includes a note-sharing option. After displaying the note-editing page, the method further includes: responding to a user's triggering operation on the note-sharing control, displaying a sharing device display page, and obtaining the target sharing device selected by the user on the sharing device display page; sending a note-sharing request to the target sharing device, and obtaining the response information returned by the target sharing device based on the note-sharing request; if the response information is a preset response information, sending a note to the target sharing device, and obtaining the shared note sent by the target sharing device; dividing the note-editing area into a first note-editing sub-area and a second note-editing sub-area; displaying the note in the first note-editing sub-area and displaying the shared note in the second note-editing sub-area. The target sharing device is another e-ink device, and the target sharing device and the e-ink device are connected via a distributed soft bus. Through the note-sharing function, users of e-ink devices can share notes, thereby enabling users to better utilize their notes.
[0053] In one embodiment, a first instruction triggered by a user for editing notes or shared notes is obtained, and the notes or shared notes are edited according to the first instruction; a first instruction is sent to a target sharing device so that the target sharing device can edit the notes or shared notes according to the first instruction; or a second editing instruction sent by the target sharing device is obtained, and the notes or shared notes are edited according to the second editing instruction. By using different note editing sub-areas to display the notes on the local device and the shared notes sent by the target sharing device, and by allowing the local user to edit the notes on the local device and the shared notes, as well as the user of the target sharing device, it is convenient for multiple users to edit the notes.
[0054] For example, a first e-ink device sends a first note to a second e-ink device and receives a second note from the second e-ink device; the first e-ink device displays the first note in a first note editing sub-area and the second note in a second note editing sub-area; when the first e-ink device receives a first instruction triggered by the user to edit the first or second note, it edits the first or second note and sends the first instruction back to the second e-ink device, so the second e-ink device edits the first or second note based on the first instruction; the first e-ink device receives a second instruction sent by the second e-ink device and edits the first or second note according to the second instruction. Similarly, the second e-ink device can also implement the same process as the first e-ink device, which will not be elaborated here.
[0055] The note generation method provided in the above embodiments determines the writing position and format type of the handwriting when the user's handwriting is detected on the note editing page, and caches the writing position and format type of the handwriting. Subsequently, after the user selects a note template, the note template is displayed in the note editing area, and each handwriting is filled into the note template according to the cached writing position and format type of each handwriting to generate a note. This realizes the automatic generation of notes based on the user's handwriting, which greatly improves the note generation efficiency.
[0056] Please see Figure 9 , Figure 9 This is a schematic block diagram of the structure of an e-ink screen device provided in an embodiment of the present invention.
[0057] like Figure 9 As shown, the e-ink device 300 includes a processor 301, a memory 302, and an e-ink 303. The processor 301, memory 302, and e-ink 303 are connected via a bus 304, such as an I2C (Inter-integrated Circuit) bus.
[0058] Specifically, processor 301 provides computing and control capabilities to support the operation of the entire e-ink device. Processor 301 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0059] Specifically, the memory 302 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0060] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the embodiments of the present invention, and does not constitute a limitation on the e-ink screen device to which the embodiments of the present invention are applied. A specific e-ink screen device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0061] The processor is configured to run a computer program stored in a memory, and to implement any of the note generation methods provided in the embodiments of the present invention when executing the computer program.
[0062] In one embodiment, the processor is configured to run a computer program stored in memory, and to perform the following steps when executing the computer program:
[0063] Display a note editing page, which includes a toolbar area and a note editing area, and the toolbar area includes template options;
[0064] When a user's handwriting is detected on the note editing page, the writing position and format type of the handwriting are determined and cached.
[0065] In response to the user's triggering action on the template option, the template selection page is displayed, and the note template selected by the user on the template selection page is obtained;
[0066] The note template is displayed in the note editing area, and each of the written strokes is filled into the note template according to the writing position and format type of each cached written stroke to generate a note.
[0067] In one embodiment, the processor, when implementing the function of filling each of the written strokes in the note template according to the writing position and format type of each cached written stroke, is configured to:
[0068] Determine whether the note template is in a first preset note template set or a second preset note template set;
[0069] When the note template is in the first preset note template set, the filling position of each of the written strokes in the note template is determined according to the writing position of each of the cached written strokes;
[0070] Fill each of the handwriting strokes in the note template according to the filling position of each handwriting stroke in the note template.
[0071] In one embodiment, after determining whether the note template is in a first preset note template set or a second preset note template set, the processor is further configured to:
[0072] When the note template is in the second preset note template set, obtain the format description information of each area to be filled in the note template;
[0073] Based on the format type of each of the cached handwriting strokes and the format description information, determine the area to be filled corresponding to each of the handwriting strokes;
[0074] Based on the writing position of each writing stroke, the filling position of each writing stroke is determined in the area to be filled corresponding to each writing stroke;
[0075] Fill each of the written strokes into the note template according to the filling position of each of the written strokes.
[0076] In one embodiment, after the processor generates a note by filling each of the written strokes in the note template according to the writing position and format type of each cached written stroke, it is further configured to:
[0077] When a user drags the handwriting on the note editing page, the position of the dragged handwriting and the position of the handwriting associated with the dragged handwriting are adjusted according to the dragging operation.
[0078] In one embodiment, the toolbar area further includes an image insertion option, and the processor, after implementing the process of filling each of the written strokes in the note template according to the writing position and format type of each cached written stroke to generate a note, is further configured to implement:
[0079] In response to the user's triggering operation on the image insertion option, an image source display page is displayed, which includes multiple image source options;
[0080] Obtain the image source option selected by the user, and display the file management page corresponding to the image source option selected by the user;
[0081] The system retrieves the image selected by the user on the file management page and inserts the selected image into the note editing page.
[0082] In one embodiment, the plurality of image source options include local image options and at least one external image option, and the e-ink device communicates with the external storage device corresponding to the external image option via a distributed soft bus.
[0083] In one embodiment, the toolbar area further includes a note-sharing option, and the processor, after displaying the note-editing page, is further configured to:
[0084] In response to the user's triggering operation on the note-sharing control, a shared device display page is displayed, and the target shared device selected by the user on the shared device display page is obtained;
[0085] Send a note-sharing request to the target sharing device and obtain the response information returned by the target sharing device based on the note-sharing request;
[0086] If the response information is a preset response information, the note is sent to the target sharing device, and the shared note sent by the target sharing device is obtained;
[0087] The note editing area is divided into a first note editing sub-area and a second note editing sub-area;
[0088] The notes are displayed in the first note editing sub-area and the shared notes are displayed in the second note editing sub-area.
[0089] In one embodiment, after displaying the note in the first note editing sub-area and the shared note in the second note editing sub-area, the processor is further configured to:
[0090] Obtain a first instruction triggered by a user for editing the note or shared note, and edit the note or shared note according to the first instruction;
[0091] Send the first instruction to the target sharing device so that the target sharing device can edit the notes or shared notes according to the first instruction;
[0092] Alternatively, a second editing instruction sent by the target sharing device can be obtained, and the note or the shared note can be edited according to the second editing instruction.
[0093] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the e-ink screen device described above can be referred to the corresponding process in the aforementioned note generation method embodiment, and will not be repeated here.
[0094] This invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs that can be executed by one or more processors to implement any of the note generation methods provided in the specification of this invention.
[0095] The storage medium can be the internal storage unit of the e-ink device described in the foregoing embodiments, such as the hard drive or memory of the e-ink device. Alternatively, the storage medium can be an external storage device of the e-ink device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the e-ink device.
[0096] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware embodiments, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0097] It should be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0098] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The above descriptions are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A note-generating method, characterized in that, Applied to e-ink display devices, the method includes: Display a note editing page, which includes a toolbar area and a note editing area, and the toolbar area includes template options; When a user's handwriting is detected on the note editing page, the writing position of the handwriting is determined and the format type of the handwriting is determined through a format type recognition model, and the writing position and format type of the handwriting are cached. In response to the user's triggering action on the template option, the template selection page is displayed, and the note template selected by the user on the template selection page is obtained; The note template is displayed in the note editing area, and each of the written strokes is filled into the note template according to the writing position and format type of each cached written stroke to generate a note; The step of filling each of the cached handwriting strokes into the note template to generate a note includes: Determine whether the note template is in a first preset note template set or a second preset note template set. The first preset note template set includes at least one of the following: note templates corresponding to the rice-shaped grid, the square grid, the small square grid, and the large square grid. The second preset note template set includes note templates corresponding to meeting minutes. When the note template is in the second preset note template set, obtain the format description information of each area to be filled in the note template; Based on the format type of each of the cached handwriting strokes and the format description information, determine the area to be filled corresponding to each of the handwriting strokes; Based on the writing position of each writing stroke, the filling position of each writing stroke is determined in the area to be filled corresponding to each writing stroke; Fill each of the written strokes into the note template according to the filling position of each of the written strokes.
2. The note-generating method according to claim 1, characterized in that, After determining whether the note template is in the first preset note template set or the second preset note template set, the process further includes: When the note template is in the first preset note template set, the filling position of each of the written strokes in the note template is determined according to the writing position of each of the cached written strokes; Fill each of the handwriting strokes in the note template according to the filling position of each handwriting stroke in the note template.
3. The note-generating method according to claim 1, characterized in that, After generating a note by filling each of the written strokes in the note template according to the writing position and format type of each cached written stroke, the method further includes: When a user drags the handwriting on the note editing page, the position of the dragged handwriting and the position of the handwriting associated with the dragged handwriting are adjusted according to the dragging operation.
4. The note-generating method according to any one of claims 1-3, characterized in that, The toolbar area also includes an image insertion option. After filling each handwriting mark in the note template according to the writing position and format type of each cached handwriting mark to generate a note, it also includes: In response to the user's triggering operation on the image insertion option, an image source display page is displayed, which includes multiple image source options; Obtain the image source option selected by the user, and display the file management page corresponding to the image source option selected by the user; The system retrieves the image selected by the user on the file management page and inserts the selected image into the note editing page.
5. The note-generating method according to claim 4, characterized in that, The multiple image source options include local image options and at least one external image option, and the e-ink device communicates with the external storage device corresponding to the external image option via a distributed soft bus.
6. The note-generating method according to any one of claims 1-3, characterized in that, The toolbar area also includes note-sharing options, and after displaying the note-editing page, it also includes: In response to the user's triggering operation on the note-sharing control, a shared device display page is displayed, and the target shared device selected by the user on the shared device display page is obtained; Send a note-sharing request to the target sharing device and obtain the response information returned by the target sharing device based on the note-sharing request; If the response information is a preset response information, the note is sent to the target sharing device, and the shared note sent by the target sharing device is obtained; The note editing area is divided into a first note editing sub-area and a second note editing sub-area; The notes are displayed in the first note editing sub-area and the shared notes are displayed in the second note editing sub-area.
7. The note-generating method according to claim 6, characterized in that, After displaying the note in the first note editing sub-area and the shared note in the second note editing sub-area, the method further includes: Obtain a first instruction triggered by a user for editing the note or shared note, and edit the note or shared note according to the first instruction; Send the first instruction to the target sharing device so that the target sharing device can edit the notes or shared notes according to the first instruction; Alternatively, a second editing instruction sent by the target sharing device can be obtained, and the note or the shared note can be edited according to the second editing instruction.
8. An e-ink screen device, characterized in that, The e-ink device includes an e-ink screen, a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for enabling communication between the e-ink screen, the processor, and the memory, wherein the computer program, when executed by the processor, implements the note generation method as described in any one of claims 1 to 7.
9. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the note generation method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Notes page sharing and notification features
CN105359127A
Information input method and device
CN106648926A
Method and system for input areas in documents for handwriting devices
CN107797978A
Handwriting input method and device and device for handwriting input
CN113918030A
Handwriting input method, device and system, electronic equipment and storage medium
CN115048027A