Note processing method based on electronic book, electronic device and storage medium
By generating and associated storage of multiple note pages, the problem of limited number of notes in the e-book note function is solved, the function of adding a large amount of note content to the e-book reading page is realized, and the efficiency of note storage and management is improved.
Patent Information
- Application Number
- CN202010611260.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2040-06-30
AI Technical Summary
The existing e-book note-taking function restricts users from adding a large amount of note content on the reading page, resulting in a limit on the word count of notes.
By detecting note input instructions and multiple note paging save instructions, multiple note pages are generated and stored in association to expand the note capacity of a reading page, allowing users to add and save a large amount of note content while displaying the reading page of an e-book.
The note capacity has been greatly expanded, allowing users to add more note content on one reading page, making it easier for users to record detailed notes, and supporting multi-page storage and management of note content.
Smart Images

Figure CN111783386B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to an electronic book-based note processing method, electronic equipment and storage medium. Background Art
[0002] With the increasing popularity of e-books, more and more users are accustomed to reading through e-book applications to replace traditional paper books. E-books have won the favor of a large number of users with their portability. Since many users have the habit of taking notes while reading, in order to cater to the needs of readers, many e-book applications support the note function. In the prior art, by superimposing a note layer on the reading page, the user's written note content is superimposed on the reading page to realize the note function based on e-books.
[0003] However, in the process of implementing the present invention, the inventors found that the above-mentioned solutions in the prior art have at least the following defects: users can only add notes in the blank area of the reading page, and the blank area of the reading page is often too small, which is not conducive to users adding a large amount of notes, resulting in a limit on the number of words in the notes. In short, the note processing method in the prior art does not support users adding a large amount of notes to a reading page. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide an electronic book-based note processing method, electronic device and storage medium that overcome the above problems or at least partially solve the above problems.
[0005] According to one aspect of the present invention, there is provided a method for processing notes based on an electronic book, comprising:
[0006] In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page;
[0007] In response to the plurality of note page saving instructions detected in sequence, a plurality of note pages corresponding to the plurality of note page saving instructions are sequentially generated according to the added note elements corresponding to the reading pages;
[0008] The multiple note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book.
[0009] According to another aspect of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0010] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0011] In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page;
[0012] In response to the plurality of note page saving instructions detected in sequence, a plurality of note pages corresponding to the plurality of note page saving instructions are sequentially generated according to the added note elements corresponding to the reading pages;
[0013] The multiple note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book.
[0014] According to another aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction enables the processor to perform the following operations:
[0015] In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page;
[0016] In response to the plurality of note page saving instructions detected in sequence, a plurality of note pages corresponding to the plurality of note page saving instructions are sequentially generated according to the added note elements corresponding to the reading pages;
[0017] The multiple note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book.
[0018] In the e-book-based note processing method, electronic device, and storage medium provided by the present invention, in the process of displaying the reading page of the e-book, according to the multiple note paging saving instructions detected in sequence, the added note elements corresponding to the reading page can be saved in sequence as multiple note pages, and the multiple note pages are associated with the reading page and stored in the notebook file corresponding to the e-book. It can be seen that this method can save the note elements added to the same reading page as multiple note pages respectively, so that one reading page can be associated with multiple note pages, greatly expanding the note capacity, and facilitating users to add more words of note content to one reading page.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0021] Figure 1 A flowchart of an electronic book-based note processing method provided by an embodiment of the present invention is shown;
[0022] Figure 2 A flowchart of an electronic book-based note processing method provided by another embodiment of the present invention is shown;
[0023] Figure 3 A schematic structural diagram of an electronic device according to another embodiment of the present invention is shown;
[0024] Figure 4 A schematic diagram showing a reading page supporting a note function in reading mode;
[0025] Figure 5 A schematic diagram of a horizontal screen paging reading page obtained after horizontal screen paging processing in note mode is shown. DETAILED DESCRIPTION
[0026] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0027] Embodiment 1
[0028] Figure 1 FIG. 1 is a flowchart of a method for processing notes based on an electronic book provided by an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0029] Step S110: In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, a note element corresponding to the reading page is added.
[0030] Specifically, the note input instruction is used to input a note element associated with the current reading page. The note input instruction can be a handwriting input instruction, a graphic drawing instruction, or other types of input instructions. For example, when the note input instruction is a handwriting input instruction, the moving path of the handwriting input operation is detected, and the handwriting content corresponding to the moving path is drawn in the display area, and the handwriting content is the note element corresponding to the reading page.
[0031] The location of adding the note element corresponding to the reading page can be flexibly determined according to the specific application scenario. For example, it can be directly added to the middle area between any two text lines contained in the reading page, or added to the blank areas on the left and right sides of the reading page, or added to the note display area adjacent to the document display area in the reading page, and the present invention does not limit this.
[0032] Step S120: In response to the multiple note paging saving instructions detected in sequence, multiple note pages corresponding to the multiple note paging saving instructions are generated in sequence according to the added note elements corresponding to the reading pages.
[0033] Specifically, when a user is reading the same reading page, he or she can trigger multiple note page saving instructions in sequence, and each note page saving instruction is used to save the added note elements corresponding to the current reading page as a note page. Accordingly, each time a note page saving instruction is detected, a note page corresponding to the note page saving instruction is generated according to the added note elements corresponding to the reading page, thereby generating multiple note pages in sequence according to multiple note page saving instructions.
[0034] Step S130: associate the plurality of note pages with the reading pages and store them in a notebook file corresponding to the electronic book.
[0035] Specifically, the notebook file is used to store the note content associated with each reading page of the e-book. The notebook file stores each reading page and its corresponding note page in the order of the reading pages. When a reading page corresponds to multiple note pages, the multiple note pages are all stored in association with the reading page for the convenience of user reference.
[0036] It can be seen that this method can save the note elements added to the same reading page as multiple note pages respectively, so that one reading page can be associated with multiple note pages, greatly expanding the note capacity and making it easier for users to add note content with more words to a reading page.
[0037] Embodiment 2
[0038] Figure 2 FIG. 2 shows a flow chart of a note processing method based on an electronic book provided by another embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:
[0039] Step S210: In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, a note element corresponding to the reading page is added.
[0040] Specifically, in this embodiment, the reading page of the e-book can be displayed in a variety of ways, and accordingly, the location for adding the note element can also be flexibly set.
[0041] In an optional implementation, the electronic book has two display modes: a reading mode and a note mode. Figure 4 A schematic diagram of a reading page supporting the note function in reading mode is shown. Figure 4 As shown, the left side of the reading page is used to display the document, and a certain blank area is left on the right side as a writing area for users to write notes. Among them, the user can directly write a small amount of note content in the document area, and the written note content is superimposed on the document area for display. For example, for an ink reader with an electromagnetic handwriting function, the user can write handwriting on the reading page, and the handwriting content is superimposed on the reading page for display and preservation. In addition, the user can also write a large amount of note content in the blank area. The note content written in the blank area is independent of the document content and will not be superimposed on the document content for display, so it is convenient for the user to write a whole paragraph of note content. For example, sometimes the content written by the user may be written casually, and it is not desired to be superimposed on the original text for display. The note writing area can be used for users to write at will. However, the inventor found in the process of implementing the present invention that the size of the blank area is too small, which is not conducive to large-scale writing by users, and in the reading mode, the document area and the note writing area share the same layer, so it is not convenient to manage the note content of the two areas separately. In order to solve the above problems, in this embodiment, a note mode is further provided. The reading mode and the note mode can be switched by a mode switching instruction. In the note mode, the reading page of the e-book is divided into two areas: the document display area and the note display area. The document display area and the note display area can be areas of equal size, so that users can write a large amount of notes in the note display area. In addition, the document display area and the note display area can also be overlaid with different note layers, so that scattered notes written by users in the document display area and paragraph notes written by users in the note display area can be managed separately. Figure 5 A schematic diagram of a horizontal paging reading page obtained after horizontal paging processing in note mode is shown, wherein the left side is a document display area and the right side is a note display area.
[0042] Whether in reading mode or note mode, users can add note elements through note input commands. In reading mode, users can add note elements to the text area and blank area of the reading page through note input commands; in note mode, users can add note elements to the document display area and / or note display area.
[0043] Step S220: In response to the multiple note paging saving instructions detected in sequence, multiple note pages corresponding to the multiple note paging saving instructions are generated in sequence according to the added note elements corresponding to the reading pages.
[0044] Specifically, when a user is reading the same reading page, he or she can trigger multiple note page saving instructions in sequence, and each note page saving instruction is used to save the added note elements corresponding to the current reading page as a note page. Accordingly, each time a note page saving instruction is detected, a note page corresponding to the note page saving instruction is generated according to the added note elements corresponding to the reading page, thereby generating multiple note pages in sequence according to multiple note page saving instructions.
[0045] In specific implementation, whenever a note paging save instruction is detected, the note elements added between the note paging save instruction detected this time and the note paging save instruction detected last time are obtained; a note page corresponding to the note paging save instruction detected this time is generated based on the obtained note elements. In other words, whenever a note paging save instruction is detected, the note elements added to the current reading page are obtained, a note page is generated based on the obtained note elements, and the note elements added to the current reading page are cleared, so that the user can continue to write new note elements in the reading page, and the newly written note elements will be saved as a new note page when the note paging save instruction is received next time. And so on, multiple note pages can be generated for the current reading page in the above manner.
[0046] In addition, when adding a note element corresponding to a reading page in response to a detected note input instruction, the note element corresponding to the reading page can be added and displayed in a preset display area; accordingly, after generating a note page corresponding to the note paging save instruction detected this time based on the acquired note element, the added note elements in the preset display area are further cleared so that the user can continue to write new note elements to generate a new note page.
[0047] In the above process, the specific position of the preset display area can be flexibly set according to needs. Two methods for setting the preset display area are given below:
[0048] In the first method, the preset display area includes: the document display area contained in the reading page. Accordingly, the note element corresponding to the reading page is added and displayed in the note layer located on the upper layer of the document display area, so that the note element is superimposed on the page content of the document display area. This method is particularly suitable for the reading mode mentioned above. In the reading mode, the reading page mainly includes the document display area, and the document display area is composed of a document layer and a note layer superimposed. The lower document layer is used to display the page content, and the upper note layer is used to display the note content written by the user. The upper note content is superimposed on the lower page content. In addition, this method can also be applied to the note mode mentioned above. In the note mode, the reading page includes two side-by-side areas: a document display area and a note display area. Users can add notes not only in the note display area on the right, but also in the document display area on the left.
[0049] After the user adds a note element in the document display area, the note paging save instruction can be triggered for the note element added in the document display area. The note paging save instruction for the document display area can be triggered by sliding or long pressing. For example, in note mode, in addition to the note display area on the right, the document display area on the left can also write note content. When the user long presses the document display area on the left, the note layer on the upper layer of the document display area can be dragged to the right to the note area as a whole, and the terminal automatically creates a new note page to save the note content in the note layer on the upper layer of the document display area. For example, in reading mode, there is no need to display the left and right partitions. The reading page content is displayed in full screen in a conventional vertical screen mode. The user can write notes freely on the reading page. After writing, long press and slide to the left. The current note layer is dragged out of the interface and no longer displayed. The terminal generates a note page corresponding to the current note layer to save the corresponding note content. After that, the user can continue to write on the reading page and slide again to save it as a second note page. In short, whether in reading mode or in note mode, the note content written in the document display area can be saved as a note page. Furthermore, the note paging saving instruction may be triggered multiple times so that multiple note contents written successively in the document display area can be saved as multiple note pages respectively.
[0050] In the second method, the preset display area includes: a note display area adjacent to the document display area included in the reading page, and accordingly, note elements corresponding to the reading page are added and displayed in the note display area; wherein the document display area and the note display area do not overlap with each other. This method is mainly applied to the note mode mentioned above. In the note mode, the reading page includes two side-by-side areas, the document display area and the note display area, and the user can add paragraphs of note content in the note display area on the right.
[0051] After the user adds a note element in the note display area, the note paging save instruction can be triggered for the note element added in the note display area. The note paging save instruction for the note display area can also be triggered by sliding or long pressing. It can be seen that the note paging save instruction in this embodiment can be triggered for both the document display area and the note display area, depending on the user's operation position. When the user operates on the document display area, the note paging save instruction for saving the note content of the document display area is triggered; when the user operates on the note display area, the note paging save instruction for saving the note content of the note display area is triggered. In addition, the note display area in this embodiment can also switch and display multiple note pages associated with the current reading page. For example, in response to the received note paging switch instruction, multiple note pages stored in association with the reading page are switched and displayed. Among them, the note paging switch instruction can be triggered by sliding left and right in the note display area: when sliding to the left, the previous note page is switched to display; when sliding to the right, the next note page is switched to display. In a specific example, when the user finishes writing in the current note display area, swiping left can switch to display a new note page and continue writing. When multiple new note pages are created, they can swipe left and right to switch back and forth, and multiple note pages are associated with the current reading page displayed in the document display area on the right.
[0052] Step S230: associate the plurality of note pages with the reading pages and store them in a notebook file corresponding to the electronic book.
[0053] Specifically, the notebook file is used to store each reading page in the e-book and the multiple note pages associated with each reading page; wherein, the multiple note pages associated with the same reading page are associated and stored through the reading page identifier. Accordingly, when the user finishes reading, the note page will be saved in the notebook file corresponding to the e-book. In the traditional way, one page in the notebook file is used to save a reading page of the e-book and its note content. In this embodiment, since a reading page of the e-book will be associated with multiple note pages, a one-to-many mapping relationship needs to be established when saving the note page. For example, when the user finishes reading the current reading page and performs a page turning operation, the current reading page and its associated multiple note pages are stored in the notebook file.
[0054] Step S240: Merge multiple note pages according to the received note page merging instruction.
[0055] Specifically, in response to a received note page merge instruction, multiple note pages associated with the reading page corresponding to the note page merge instruction are obtained from the notebook file; the multiple note pages obtained are spliced to obtain a note merged image containing the page contents of the multiple note pages.
[0056] For example, this embodiment supports the note page merging function, allowing the user to merge multiple note pages into a large note page. In the notebook file, after the user selects any reading page, selects the note merge option (i.e., triggers the note page merging instruction), and the terminal reads all the note pages associated with the reading page, and splices each note page from top to bottom into a long picture according to the new creation order of each note page (i.e., the number of the note page), and converts it into PDF format and saves it. Later, when the user opens the notebook file again, he can view the PDF note page (i.e., the note merged picture), and can zoom and browse the PDF note page as needed. It can be seen that through the note page merging instruction, all or part of the note pages corresponding to the same reading page can be merged into a note merged picture, so that the user can browse the entire note content of the reading page as a whole.
[0057] Step S250: Based on the received note content merging instruction, merge processing is performed on the page contents in multiple note pages.
[0058] Specifically, in response to the received note content merging instruction, at least two note pages corresponding to the note content merging instruction are obtained from the notebook file; and the merging process is performed on the page contents of the at least two obtained note pages. Wherein, when the merging process is performed on the page contents of the at least two obtained note pages, the minimum bounding rectangles of each note element contained in each note page are respectively identified; the overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged, thereby achieving the purpose of eliminating duplicate content.
[0059] For example, this embodiment also supports the function of merging the contents of multiple note pages. The user selects any two note pages and performs the content merging operation through the note content merging instruction. The terminal aligns and superimposes the transparent note layers corresponding to the two note pages, and then identifies the note elements in the two note layers respectively, and divides the minimum circumscribed rectangles of multiple note contents; then the overlap of each rectangle in the two layers is judged. If the overlap is greater than 80%, the similarity of the note contents in the two rectangles is further judged through text recognition technology. If the similarity is higher than 75%, it is determined that the note contents in the two rectangles overlap, and a deduplication operation is performed, that is, one of the rectangles in the two layers is deleted. It can be seen that through the note content merging instruction, the duplicate content contained in the two note pages can be removed, thereby improving the simplicity of the note content.
[0060] Step S260: In the process of displaying the notebook file, in response to the received note page switching instruction, multiple note pages stored in association with the reading page are switched and displayed.
[0061] Specifically, after a user finishes reading an e-book in note mode, a notebook file corresponding to the e-book is automatically generated. The user can directly open the notebook file corresponding to the e-book in the subsequent process to facilitate the review of the note content. The notebook file can display each reading page of the e-book page by page. During the display process, the reading page can be displayed through the document display area, and the note page can be displayed through the note display area. Since one reading page corresponds to multiple note pages, in the process of displaying the current reading page, it is possible to switch and display multiple note pages stored in association with the reading page according to the received note paging switching instruction.
[0062] In the specific implementation, the switching display can be performed in a variety of ways: in the first way, multiple note pages stored in association with the reading page are switched and displayed in the note layer located in the upper layer of the document display area. This method is mainly used to display the content of the notes written by the user in the document display area. In the second way, multiple note pages stored in association with the reading page are switched and displayed in the note display area adjacent to the document display area contained in the reading page. This method is mainly used to display the content of the notes written by the user in the note display area. For example, when the user opens the notebook, its page displays the content of a reading page, and the content of the first note page corresponding to the reading page is superimposed on it. When the user slides the page left and right, the reading page is switched in a conventional manner; when two fingers slide, the current reading page content is kept unchanged, the upper note layer is switched, and the next note page corresponding to the current reading page is displayed. That is, in this embodiment, two page switching instructions can be set, one is a note paging switching instruction for switching the note page corresponding to the current reading page (for example, it can be triggered by a two-finger sliding method), and the other is a reading page switching instruction for switching the current reading page (for example, it can be triggered by a single-finger sliding method).
[0063] In summary, this embodiment can save the note elements added to the same reading page as multiple note pages, so that one reading page can be associated with multiple note pages, greatly expanding the note capacity, and facilitating users to add more words to a reading page. In addition, whether in the process of adding notes or in the process of viewing notebook files later, multiple note pages corresponding to the same reading page can be switched and displayed, so as to facilitate users to browse the note content. In addition, this embodiment can also merge multiple note pages, so that the note content is easier to view.
[0064] Embodiment 3
[0065] An embodiment of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the electronic book-based note processing method in any of the above method embodiments.
[0066] The executable instructions may be specifically used to cause the processor to perform the following operations:
[0067] In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page;
[0068] In response to the plurality of note page saving instructions detected in sequence, a plurality of note pages corresponding to the plurality of note page saving instructions are sequentially generated according to the added note elements corresponding to the reading pages;
[0069] The multiple note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book.
[0070] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0071] Whenever a note page save instruction is detected, obtain the note elements added between the note page save instruction detected this time and the note page save instruction detected last time;
[0072] A note page corresponding to the note paging save instruction detected this time is generated based on the acquired note elements.
[0073] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0074] Adding and displaying a note element corresponding to the reading page in a preset display area;
[0075] After generating a note page corresponding to the note paging saving instruction detected this time according to the acquired note elements, the method further includes: clearing the note elements added in the preset display area.
[0076] In an optional implementation, the preset display area includes: a document display area included in a reading page, and the executable instructions cause the processor to perform the following operations: adding and displaying a note element corresponding to the reading page in a note layer located above the document display area, so that the note element is displayed superimposed with the page content of the document display area; and / or,
[0077] The preset display area includes: a note display area adjacent to a document display area contained in a reading page, and the executable instructions cause the processor to perform the following operations: add and display note elements corresponding to the reading page in the note display area; wherein the document display area and the note display area do not overlap with each other.
[0078] In an optional implementation, the notebook file is used to store each reading page in the electronic book and a plurality of note pages associated with each reading page;
[0079] Among them, multiple note pages associated with the same reading page are associated and stored through the reading page identifier.
[0080] In an optional implementation manner, the executable instruction causes the processor to perform the following operations:
[0081] In response to the received note page switching instruction, multiple note pages stored in association with the reading page are switched and displayed.
[0082] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0083] Switching to display multiple note pages stored in association with the reading page in a note layer located above the document display area; and / or switching to display multiple note pages stored in association with the reading page in a note display area adjacent to the document display area included in the reading page.
[0084] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0085] In response to the received note page merging instruction, obtaining from the notebook file a plurality of note pages stored in association with the reading page corresponding to the note page merging instruction;
[0086] The multiple note pages obtained are spliced together to obtain a note merged image containing the page contents of the multiple note pages.
[0087] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0088] In response to the received note content merging instruction, acquiring at least two note pages corresponding to the note content merging instruction from the notebook file;
[0089] A merging process is performed on the page contents of at least two acquired note pages.
[0090] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0091] Identify the minimum bounding rectangle of each note element contained in each note page;
[0092] The overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged.
[0093] Embodiment 4
[0094] Figure 3 A schematic structural diagram of an electronic device according to another embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0095] like Figure 3As shown, the electronic device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0096] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiment of the note processing method based on the electronic book.
[0097] Specifically, the program 310 may include program codes, which include computer operation instructions.
[0098] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0099] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0100] The program 310 may be specifically configured to enable the processor 302 to perform the following operations:
[0101] In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page;
[0102] In response to the plurality of note page saving instructions detected in sequence, a plurality of note pages corresponding to the plurality of note page saving instructions are sequentially generated according to the added note elements corresponding to the reading pages;
[0103] The multiple note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book.
[0104] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0105] Whenever a note page save instruction is detected, obtain the note elements added between the note page save instruction detected this time and the note page save instruction detected last time;
[0106] A note page corresponding to the note paging save instruction detected this time is generated based on the acquired note elements.
[0107] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0108] Adding and displaying a note element corresponding to the reading page in a preset display area;
[0109] After generating a note page corresponding to the note paging saving instruction detected this time according to the acquired note elements, the method further includes: clearing the note elements added in the preset display area.
[0110] In an optional implementation, the preset display area includes: a document display area included in a reading page, and the executable instructions cause the processor to perform the following operations: adding and displaying a note element corresponding to the reading page in a note layer located above the document display area, so that the note element is displayed superimposed with the page content of the document display area; and / or,
[0111] The preset display area includes: a note display area adjacent to a document display area contained in a reading page, and the executable instructions cause the processor to perform the following operations: add and display note elements corresponding to the reading page in the note display area; wherein the document display area and the note display area do not overlap with each other.
[0112] In an optional implementation, the notebook file is used to store each reading page in the electronic book and a plurality of note pages associated with each reading page;
[0113] Among them, multiple note pages associated with the same reading page are associated and stored through the reading page identifier.
[0114] In an optional implementation manner, the executable instruction causes the processor to perform the following operations:
[0115] In response to the received note page switching instruction, multiple note pages stored in association with the reading page are switched and displayed.
[0116] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0117] Switching to display multiple note pages stored in association with the reading page in a note layer located above the document display area; and / or switching to display multiple note pages stored in association with the reading page in a note display area adjacent to the document display area included in the reading page.
[0118] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0119] In response to the received note page merging instruction, obtaining from the notebook file a plurality of note pages stored in association with the reading page corresponding to the note page merging instruction;
[0120] The multiple note pages obtained are spliced together to obtain a note merged image containing the page contents of the multiple note pages.
[0121] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0122] In response to the received note content merging instruction, acquiring at least two note pages corresponding to the note content merging instruction from the notebook file;
[0123] A merging process is performed on the page contents of at least two acquired note pages.
[0124] In an optional implementation, the executable instruction causes the processor to perform the following operations:
[0125] Identify the minimum bounding rectangle of each note element contained in each note page;
[0126] The overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged.
[0127] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0128] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0129] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0130] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0131] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0132] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
Claims
1. A note processing method based on an electronic book, comprising: In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page; In response to the multiple note paging saving instructions detected in sequence, multiple note pages corresponding to the multiple note paging saving instructions are generated in sequence according to the note elements corresponding to the reading pages that have been added; including: whenever a note paging saving instruction is detected, the note elements added between the note paging saving instruction detected this time and the note paging saving instruction detected last time are obtained; and a note page corresponding to the note paging saving instruction detected this time is generated according to the obtained note elements; storing the plurality of note pages in association with the reading page in a notebook file corresponding to the electronic book; During the process of displaying the notebook file, in response to the received note paging switching instruction, multiple note pages stored in association with the reading page are switched and displayed; wherein, two types of page switching instructions are set, one is the note paging switching instruction for switching the note page corresponding to the current reading page, and the other is the reading page switching instruction for switching the current reading page.
2. The method according to claim 1, wherein: The adding of the note element corresponding to the reading page in response to the detected note input instruction includes: adding and displaying the note element corresponding to the reading page in a preset display area; After generating a note page corresponding to the note paging saving instruction detected this time according to the acquired note elements, the method further includes: clearing the note elements added in the preset display area.
3. The method according to claim 2, wherein: The preset display area includes: a document display area included in a reading page, and adding and displaying a note element corresponding to the reading page in the preset display area includes: adding and displaying a note element corresponding to the reading page in a note layer located in an upper layer of the document display area, so that the note element is displayed superimposed with the page content of the document display area; and / or, The preset display area includes: a note display area adjacent to a document display area included in a reading page, and adding and displaying note elements corresponding to the reading page in the preset display area includes: adding and displaying note elements corresponding to the reading page in the note display area; wherein the document display area and the note display area do not overlap with each other.
4. The method according to any one of claims 1 to 3, wherein: The notebook file is used to store each reading page in the electronic book and multiple note pages associated with each reading page; Among them, multiple note pages associated with the same reading page are associated and stored through the reading page identifier.
5. The method according to claim 3, wherein: In response to the received note page switching instruction, switching and displaying a plurality of note pages stored in association with the reading page includes: Switching to display multiple note pages stored in association with the reading page in a note layer located above the document display area; and / or switching to display multiple note pages stored in association with the reading page in a note display area adjacent to the document display area included in the reading page.
6. The method according to any one of claims 1 to 3, wherein: After the plurality of note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book, the method further includes: In response to the received note page merging instruction, obtaining from the notebook file a plurality of note pages stored in association with the reading page corresponding to the note page merging instruction; The multiple note pages obtained are spliced together to obtain a note merged image containing the page contents of the multiple note pages.
7. The method according to any one of claims 1 to 3, wherein: After the plurality of note pages are associated with the reading page and stored in a notebook file corresponding to the electronic book, the method further includes: In response to the received note content merging instruction, acquiring at least two note pages corresponding to the note content merging instruction from the notebook file; A merging process is performed on the page contents of at least two acquired note pages.
8. The method according to claim 7, wherein: The performing merging processing on the page contents of at least two acquired note pages includes: Identify the minimum bounding rectangle of each note element contained in each note page; The overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged.
9. An electronic device, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the following operations: In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page; In response to the multiple note paging saving instructions detected in sequence, multiple note pages corresponding to the multiple note paging saving instructions are generated in sequence according to the note elements corresponding to the reading pages that have been added; including: whenever a note paging saving instruction is detected, the note elements added between the note paging saving instruction detected this time and the note paging saving instruction detected last time are obtained; and a note page corresponding to the note paging saving instruction detected this time is generated according to the obtained note elements; storing the plurality of note pages in association with the reading page in a notebook file corresponding to the electronic book; During the process of displaying the notebook file, in response to the received note paging switching instruction, multiple note pages stored in association with the reading page are switched and displayed; wherein, two types of page switching instructions are set, one is the note paging switching instruction for switching the note page corresponding to the current reading page, and the other is the reading page switching instruction for switching the current reading page.
10. The electronic device according to claim 9, wherein: The executable instructions cause the processor to perform the following operations: Adding and displaying a note element corresponding to the reading page in a preset display area; After generating a note page corresponding to the note paging saving instruction detected this time according to the acquired note elements, the method further includes: clearing the note elements added in the preset display area.
11. The electronic device according to claim 10, wherein: The preset display area includes: a document display area included in a reading page, and the executable instructions cause the processor to perform the following operations: add and display a note element corresponding to the reading page in a note layer located above the document display area, so that the note element is displayed superimposed with the page content of the document display area; and / or, The preset display area includes: a note display area adjacent to a document display area contained in a reading page, and the executable instructions cause the processor to perform the following operations: add and display note elements corresponding to the reading page in the note display area; wherein the document display area and the note display area do not overlap with each other.
12. The electronic device according to any one of claims 9 to 11, wherein: The notebook file is used to store each reading page in the electronic book and multiple note pages associated with each reading page; Among them, multiple note pages associated with the same reading page are associated and stored through the reading page identifier.
13. The electronic device according to claim 11, wherein: The executable instructions cause the processor to perform the following operations: Switching to display multiple note pages stored in association with the reading page in a note layer located above the document display area; and / or switching to display multiple note pages stored in association with the reading page in a note display area adjacent to the document display area included in the reading page.
14. The electronic device according to any one of claims 9 to 11, wherein: The executable instructions cause the processor to perform the following operations: In response to the received note page merging instruction, obtaining from the notebook file a plurality of note pages stored in association with the reading page corresponding to the note page merging instruction; The multiple note pages obtained are spliced together to obtain a note merged image containing the page contents of the multiple note pages.
15. The electronic device according to any one of claims 9 to 11, wherein: The executable instructions cause the processor to perform the following operations: In response to the received note content merging instruction, acquiring at least two note pages corresponding to the note content merging instruction from the notebook file; A merging process is performed on the page contents of at least two acquired note pages.
16. The electronic device according to claim 15, wherein: The executable instructions cause the processor to perform the following operations: Identify the minimum bounding rectangle of each note element contained in each note page; The overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged.
17. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform the following operations: In the process of displaying a reading page of an electronic book, in response to a detected note input instruction, adding a note element corresponding to the reading page; In response to the multiple note paging saving instructions detected in sequence, multiple note pages corresponding to the multiple note paging saving instructions are generated in sequence according to the note elements corresponding to the reading pages that have been added; including: whenever a note paging saving instruction is detected, the note elements added between the note paging saving instruction detected this time and the note paging saving instruction detected last time are obtained; and a note page corresponding to the note paging saving instruction detected this time is generated according to the obtained note elements; storing the plurality of note pages in association with the reading page in a notebook file corresponding to the electronic book; During the process of displaying the notebook file, in response to the received note paging switching instruction, multiple note pages stored in association with the reading page are switched and displayed; wherein, two types of page switching instructions are set, one is the note paging switching instruction for switching the note page corresponding to the current reading page, and the other is the reading page switching instruction for switching the current reading page.
18. The computer storage medium of claim 17, wherein: The executable instructions cause the processor to perform the following operations: Adding and displaying a note element corresponding to the reading page in a preset display area; After generating a note page corresponding to the note paging saving instruction detected this time according to the acquired note elements, the method further includes: clearing the note elements added in the preset display area.
19. The computer storage medium of claim 18, wherein: The preset display area includes: a document display area included in a reading page, and the executable instructions cause the processor to perform the following operations: add and display a note element corresponding to the reading page in a note layer located above the document display area, so that the note element is displayed superimposed with the page content of the document display area; and / or, The preset display area includes: a note display area adjacent to a document display area contained in a reading page, and the executable instructions cause the processor to perform the following operations: add and display note elements corresponding to the reading page in the note display area; wherein the document display area and the note display area do not overlap with each other.
20. The computer storage medium according to any one of claims 17 to 19, wherein: The notebook file is used to store each reading page in the electronic book and multiple note pages associated with each reading page; Among them, multiple note pages associated with the same reading page are associated and stored through the reading page identifier.
21. The computer storage medium of claim 19, wherein: The executable instructions cause the processor to perform the following operations: Switching to display multiple note pages stored in association with the reading page in a note layer located above the document display area; and / or switching to display multiple note pages stored in association with the reading page in a note display area adjacent to the document display area included in the reading page.
22. The computer storage medium according to any one of claims 17 to 19, wherein: The executable instructions cause the processor to perform the following operations: In response to the received note page merging instruction, obtaining from the notebook file a plurality of note pages stored in association with the reading page corresponding to the note page merging instruction; The multiple note pages obtained are spliced together to obtain a note merged image containing the page contents of the multiple note pages.
23. The computer storage medium according to any one of claims 17 to 19, wherein: The executable instructions cause the processor to perform the following operations: In response to the received note content merging instruction, acquiring at least two note pages corresponding to the note content merging instruction from the notebook file; A merging process is performed on the page contents of at least two acquired note pages.
24. The computer storage medium of claim 23, wherein: The executable instructions cause the processor to perform the following operations: Identify the minimum bounding rectangle of each note element contained in each note page; The overlap between the note contents in the minimum bounding rectangles contained in each note page is identified, and the note contents in the minimum bounding rectangles whose overlap is greater than a preset threshold are merged.
Citation Information
Patent Citations
Method for sharing notes of an electronic book, electronic reader and computer readable medium
CN103425628A
Note generation method, electronic device, and computer storage medium
CN108932097A
Note-taking display method, electronic device and computer storage medium
CN109032999A
Note-taking generation method, electronic device, and computer storage medium
CN109085965A
Electronic book displaying scheme
US20150033110A1
