Cross-page note display method and device, electronic equipment and storage medium

By setting the drawing layer and obtaining the position information of note elements on the window control of the electronic device, the problem that cross-page notes cannot be fully displayed is solved, and the complete display of note elements in multi-page same-screen display mode is achieved.

CN118981353AInactive Publication Date: 2024-11-19ONYX INT
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411088582.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-19
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the multi-page display mode, the notes across pages cannot be fully displayed because the pages are independently drawn or displayed, resulting in the parts of the notes outside the starting page being unable to be displayed on other pages.

Method used

By setting a drawing layer on the window control of the electronic device, covering at least two pages, obtaining the target and non-target pages of the note elements in their overlapping areas, obtaining the location information of the note elements on each page, and on the target page Shows the portion of the note element and the rest on the non-target page.

Benefits of technology

The complete display of cross-page note elements is realized, which solves the problem that note elements cannot be displayed across pages in the prior art, and improves the note display ability of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981353A_ABST
    Figure CN118981353A_ABST
Patent Text Reader

Abstract

The invention provides a cross-page note display method and device of electronic equipment, the electronic equipment and a storage medium, the electronic equipment comprises a window control, and the cross-page note display method comprises the steps that a drawing layer is arranged above pages, and the drawing layer covers at least two pages; obtaining note elements input on the drawing layer; a target page and a non-target page which have overlapped areas with the note element are obtained, the target page is a page overlapped with the starting position of the note element, and the non-target page is a page not overlapped with the starting position of the note element; obtaining a first note element of which the note element is located in the target page area and a second note element of which the note element is located in the non-target page area; obtaining position information of the second note element displayed on the non-target page; and displaying the first note element on the target page, and displaying the second note element on the non-target page according to the position information. According to the method and the device, the cross-page note elements are completely displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of note display technology, and in particular to a method, device, electronic device and storage medium for displaying cross-page notes in an electronic device. Background Art

[0002] In recent years, with the development of science and technology, portable electronic devices represented by smart phones, tablet computers, and e-readers have become more and more popular. More and more users (including students, teachers, business people, etc.) like to read and edit electronic documents on portable electronic devices (especially e-readers, tablet computers, and mobile phones). Therefore, users can display electronic documents on electronic devices (mobile phones, laptops, personal computers, tablet computers, e-readers, learning machines), and add notes (such as handwritten content, annotations, pictures, etc.) on the document pages.

[0003] Among them, multi-page same-screen display is one of the common electronic document display modes, specifically, multiple pages are displayed simultaneously in the current screen window through a certain page arrangement method. In the prior art, one document page corresponds to one drawing or display view, and the views of the document page are independent, while a complete note element needs to be placed in the view of a single page. In the multi-page same-screen display mode, when the note element covers multiple pages, since the pages are independent of each other in drawing or display views, except for the starting page at the starting position of the note element, which can display the part of the note element located in the starting page area, the part of the note element located outside the starting page area cannot be displayed on other pages. Therefore, there is a technical problem that the cross-page note elements cannot be fully displayed in the multi-page same-screen display mode. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for displaying cross-page notes on an electronic device, so that cross-page notes can be displayed completely.

[0005] In a first aspect, the present application provides a method for displaying cross-page notes in an electronic device, wherein the electronic device includes a window control, and a window interface of the window control displays two or more pages. The method for displaying cross-page notes includes: Setting a drawing layer above the page, wherein the drawing layer covers at least two of the pages; Get the note element input on the drawing layer; Acquire a target page and a non-target page having an overlapping area with the note element, wherein the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element; Acquire a first note element where the note element is located in the target page area and a second note element where the note element is located in the non-target page area; Obtaining the position information of the second note element displayed on the non-target page; The first note element is displayed on the target page, and the second note element is displayed on the non-target page according to the position information.

[0006] In some embodiments of the present application, before the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: Determine whether the note element has an overlapping area with at least two pages, and if so, execute the next step.

[0007] In some embodiments of the present application, the step of determining whether the note element has an overlapping area with at least two pages, and if so, executing the next step includes: The coordinates of the note element are compared with the coordinates of at least two of the pages to determine whether the note element has the same coordinates as the at least two pages, and if so, proceed to the next step.

[0008] In some embodiments of the present application, after the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: The note element is associated with the target page and stored in a cache unit.

[0009] In some embodiments of the present application, the step of obtaining the location information of the second note element displayed on the non-target page includes: Obtaining by calculation an offset of the second note element on the non-target page relative to the first note element; The position information of the second note element displayed on the non-target page is obtained according to the offset.

[0010] In some embodiments of the present application, the note elements include pictures, texts, and handwriting.

[0011] In some embodiments of the present application, the step of displaying the second note element on the non-target page according to the location information includes: Setting a placeholder on the non-target page according to the location information; The second note element is displayed within the placeholder.

[0012] In some embodiments of the present application, after the step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information, the cross-page note display method further includes: Obtaining an editing instruction for editing the note element; The attribute information of the note element is set according to the editing instruction, and the attribute information includes the display area size, handwriting parameters and coordinate information of the note element.

[0013] In some embodiments of the present application, the step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information includes: After processing the note element, image data to be displayed of the note element is obtained; Obtaining the image data to be displayed of the first note element and the image data to be displayed of the second note element according to the image data to be displayed of the note element; displaying the first note element on the target page according to the to-be-displayed image data of the first note element; The second note element is displayed on the non-target page according to the position information and the to-be-displayed image data of the second note element.

[0014] In a second aspect, an embodiment of the present application further provides a cross-page note display device of an electronic device, wherein the electronic device includes a window control, and a window interface of the window control displays two or more pages, and the cross-page note display device includes: A layer module, the layer module is used to set a drawing layer above the page, the drawing layer covers at least two of the pages; A note module, the note module is used to obtain note elements input on the drawing layer; A page module, the page module is used to obtain a target page and a non-target page having an overlapping area with the note element, the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element; An acquisition module, the acquisition module is used to acquire a first note element where the note element is located in the target page area and a second note element where the note element is located in the non-target page area; A location module, the location module is used to obtain the location information of the second note element displayed on the non-target page; A display module is used to display the first note element on the target page and display the second note element on the non-target page according to the position information.

[0015] In a third aspect, an embodiment of the present application further provides an electronic device, including: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the cross-page note display method as described in any one of the first aspects.

[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the cross-page note display method as described in any one of the first aspects is implemented.

[0017] The present application provides a method, device, electronic device and storage medium for displaying cross-page notes of an electronic device, wherein the electronic device includes a window control, and the window interface of the window control displays two or more pages. The method for displaying cross-page notes includes: setting a drawing layer above the pages, wherein the drawing layer covers at least two of the pages; obtaining a note element input on the drawing layer; Obtain a target page and a non-target page that have an overlapping area with the note element, wherein the target page is a page that overlaps with the starting position of the note element, and the non-target page is a page that does not overlap with the starting position of the note element; obtain a first note element in which the note element is located in the target page area and a second note element in which the note element is located in the non-target page area; obtain position information of the second note element displayed on the non-target page; display the first note element on the target page, and display the second note element on the non-target page according to the position information. The present application obtains a note element input on the drawing layer, and the drawing layer covers at least two of the pages, and then obtains the first note element in which the note element is located in the target page area and the second note element in which the note element is located in the non-target page area, and displays the first note element on the target page, and displays the second note element on the non-target page according to the position information, so that the note elements across pages are fully displayed. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flowchart of Embodiment 1 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 2A flowchart of Embodiment 2 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 3 A flowchart of Embodiment 3 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 4 A flowchart of step S50 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 5 This is a flowchart of step S60 of embodiment 1 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 6 A flowchart of Embodiment 4 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 7 This is a flow chart of step S60 of embodiment 2 of the method for displaying cross-page notes in an electronic device provided by the present application; Figure 8 A schematic diagram of the structure of a cross-page note display device for an electronic device provided by the present application; Fig. 9 A schematic diagram of the structure of the electronic device provided in this application. DETAILED DESCRIPTION

[0019] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.

[0020] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more, and it cannot be understood as indicating or implying relative importance. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship. In addition, unless otherwise clearly specified and limited, the terms "set", "install", "connect", "connect", and "connect in series" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be a connection between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific circumstances.

[0021] The cross-page note display method provided in the embodiment of the present application can be used in electronic devices, especially electronic devices equipped with ink screens. The electronic devices can be tablet computers, mobile phones, e-readers, personal digital assistants (PDAs) and other electronic devices based on ink screens. Specifically, the electronic devices may include an ink screen, an image processing module, a microcontroller, a screen driver module, a timing control circuit, and a power control circuit.

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

[0023] Figure 1 This is a flowchart of Example 1 of the cross-page note display method of the electronic device provided in the present application. The cross-page note display method of the electronic device provided in the embodiment of the present application can be executed by a cross-page note display device, which can be implemented by hardware and / or software and integrated in an electronic device equipped with an ink screen.

[0024] The following description takes the cross-page note display device executing the cross-page note display method of the electronic device as an example. Figure 1 , wherein the electronic device includes a window control, the window interface of the window control displays two or more pages, and the cross-page note display method includes: Step S10: setting a drawing layer above the page, wherein the drawing layer covers at least two of the pages.

[0025] The drawing layer is used to receive user input information, and the drawing layer covers at least two of the pages, thereby ensuring that the user input information can cross pages. Further, in an embodiment of the present application, the drawing layer is a transparent layer.

[0026] Step S20: Obtain the note elements input on the drawing layer.

[0027] That is, the drawing layer is used to accept user input information, and the input information is a note element. The note elements include pictures, texts and handwriting. When the note element is a picture, the picture is directly inserted into the drawing layer. When the note element is text, the drawing layer first inserts a placeholder or a text box, and inputs the text into the placeholder or the text box. When the note element is handwriting, the picture is directly drawn on the drawing layer.

[0028] Step S30, obtaining a target page and a non-target page having an overlapping area with the note element, wherein the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element.

[0029] Since the note element spans at least two pages, the page that overlaps with the starting position of the note element is the target page, that is, the target page is the page that the note element is to annotate. The non-target page is a page that does not overlap with the starting position of the note element, and the non-target page is only used as the display area of ​​the note element.

[0030] Step S40, obtaining a first note element in which the note element is located in the target page area and a second note element in which the note element is located in the non-target page area.

[0031] Since the note element spans at least two pages, the note element includes a first note element located in the target page area and a second note element located in the non-target page area.

[0032] Step S50: Obtain the location information of the second note element displayed on the non-target page.

[0033] In the prior art, one page corresponds to one drawing or display view, and the views between pages are independent. Therefore, in the prior art, a complete note element can only be placed in the view of a single page. Since the pages are all independent drawing or display views, except for the starting page at the starting position of the note element, which can display the part of the note element located in the starting page area, the part of the note element located outside the starting page area cannot be displayed on other pages. Therefore, it is necessary to obtain the position information of the second note element displayed on the non-target page, so as to obtain the display position of the second note element on the non-target page.

[0034] Step S60: display the first note element on the target page, and display the second note element on the non-target page according to the position information.

[0035] To summarize, the present application obtains the note element input on the drawing layer, and the drawing layer covers at least two of the pages, and then obtains the first note element located in the target page area and the second note element located in the non-target page area, and displays the first note element on the target page, and displays the second note element on the non-target page according to the position information. The present application displays the first note element and the second note element separately and independently, so that the note elements across pages are fully displayed. Please refer to Figure 2 , Figure 2 This is a flow chart of Embodiment 2 of the method for displaying cross-page notes in an electronic device provided by the present application. Figure 1 Based on the provided cross-page note display method, in one embodiment of the present application, before the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: Step S70: determine whether the note element has an overlapping area with at least two pages, and if so, proceed to the next step.

[0036] That is, in this embodiment, before the step of obtaining the target page and non-target page having an overlapping area with the note element, it is first determined whether the note element has an overlapping area with at least two pages. If not, the next step is not executed. At this time, all the note elements are located in the target page, so the note elements can be displayed using the existing technology; if so, the next step is executed. Please refer to Figure 3 , Figure 3 This is a flowchart of Embodiment 3 of the method for displaying cross-page notes in an electronic device provided by the present application. Figure 2Based on the provided cross-page note display method, in one embodiment of the present application, the step of determining whether the note element has an overlapping area with at least two pages, and if so, executing the next step includes: Step S71: Compare the coordinates of the note element with the coordinates of at least two of the pages to determine whether the note element has the same coordinates as the at least two pages, and if so, proceed to the next step.

[0037] For example, if the note element and the page have the same coordinates, it means that the note element and the page have an overlapping area. Therefore, if the note element and at least two pages have the same coordinates, it means that the note element and at least two pages have an overlapping area, and then execute the next step. exist Figure 1 On the basis of the provided cross-page note display method, further, after the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: The note element is associated with the target page and stored in a cache unit.

[0038] In this embodiment, the note element is associated with the target page and then stored in the cache unit, so as to facilitate the overall synchronous modification or editing of the note element. If the first note element and the second note element are stored separately, it is necessary to associate the first note element with the target page, and then associate the first note element with the second note element and store them in the cache unit, which is cumbersome and inconvenient for overall synchronous modification or editing. Please refer to Figure 4 , Figure 4 This is a flowchart of step S50 of the method for displaying cross-page notes in an electronic device provided by the present application. Figure 1 On the basis of the provided cross-page note display method, further, the step of obtaining the position information of the second note element displayed on the non-target page includes: Step S51: Obtaining by calculation the offset of the second note element relative to the first note element on the non-target page; Step S52: Obtain the position information of the second note element displayed on the non-target page according to the offset.

[0039] Specifically, the offset of the second note element on the non-target page relative to the first note element can be calculated based on the width and height of the target page, and then the position information of the second note element displayed on the non-target page can be obtained based on the offset. For example, the position coordinates of the first note element on the target page are obtained, and then the position information of the second note element displayed on the non-target page can be obtained based on the position coordinates of the first note element on the target page and the offset. Please refer to Figure 5 , Figure 5 This is a flowchart of step S60 of the embodiment 1 of the method for displaying cross-page notes in an electronic device provided by the present application. Figure 1 On the basis of the provided cross-page note display method, further, in an embodiment of the present application, the step of displaying the second note element on the non-target page according to the position information includes: Step S61, setting a placeholder on the non-target page according to the position information; Step S62: Display the second note element in the placeholder.

[0040] That is, in this embodiment, a placeholder is first set on the non-target page according to the position information, and then the second note element is displayed in the placeholder. Of course, other methods can also be used to display the second note element, such as inserting the second note element into the non-target page in the form of a picture according to the position information, so as to display the second note element. The above method of displaying the second note element also falls within the protection scope of this application. Please refer to Figure 6 , Figure 6 This is a flowchart of Embodiment 4 of the method for displaying cross-page notes in an electronic device provided by this application. Figure 1 Based on the provided cross-page note display method, after the step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information, the cross-page note display method further includes: Step S80: obtaining an editing instruction for editing the note element; Step S90: setting the attribute information of the note element according to the editing instruction, wherein the attribute information includes the display area size, handwriting parameters and coordinate information of the note element.

[0041] Among them, it can be triggered by a virtual key or a physical key and then enter the editing state, or it can enter the editing state after clicking the note element. Specifically. The editing state can be entered by clicking the first note element or the second note element. After entering the editing state, the attribute information of the note element can be set according to the editing instruction. The attribute information includes the display area size, handwriting parameters and coordinate information of the note element. For example, the display area of ​​the note element is resized, the font size of the text in the note element is adjusted, the thickness of the handwriting of the note element is adjusted, and moving the note element is to modify the coordinate information of the note element. After setting the attribute information of the note element, the set note element is saved and updated. In addition, the note element can also be deleted according to the editing instruction. Please refer to Figure 7 , Figure 7 This is a flowchart of step S60 of the second embodiment of the method for displaying cross-page notes in an electronic device provided by this application. Figure 1 Based on the provided cross-page note display method, further, in an embodiment of the present application, the step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information includes: Step S63, obtaining the image data to be displayed of the note element after processing the note element; Step S64, obtaining the image data to be displayed of the first note element and the image data to be displayed of the second note element according to the image data to be displayed of the note element; Step S65: display the first note element on the target page according to the to-be-displayed image data of the first note element; Step S66: Display the second note element on the non-target page according to the position information and the image data to be displayed of the second note element.

[0042] As can be seen from the above, the present application obtains the image data to be displayed of the note element after processing the note element, and then obtains the image data to be displayed of the first note element and the image data to be displayed of the second note element according to the image data to be displayed of the note element. There is no need to perform image processing on the first note element and the second note element separately, which can reduce the image processing process and thus improve the processing efficiency. The second note element is displayed on the non-target page according to the position information and the image data to be displayed of the second note element: specifically, a placeholder is first set on the non-target page according to the position information, and then the second note element is displayed in the placeholder according to the image data to be displayed of the second note element. Of course, other methods can also be used to display the second note element, for example, the second note element is inserted into the non-target page in the form of a picture according to the position information and the image data to be displayed of the second note element, so as to display the second note element. The above method of displaying the second note element also falls within the protection scope of the present application. Figure 8 This is a schematic diagram of the structure of the cross-page note display device of the electronic device provided by this application. Figure 8 The electronic device includes a window control, the window interface of the window control displays two or more pages, and the cross-page note display device includes: a layer module 10, a note module 20, a page module 30, an acquisition module 40, a location module 50 and a display module 60.

[0043] The layer module 10 is used to set a drawing layer above the page, and the drawing layer covers at least two of the pages; The note module 20 is used to obtain the note elements input on the drawing layer; The page module 30 is used to obtain a target page and a non-target page having an overlapping area with the note element, wherein the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element; The acquisition module 40 is used to acquire a first note element in which the note element is located in the target page area and a second note element in which the note element is located in the non-target page area; The location module 50 is used to obtain the location information of the second note element displayed on the non-target page; The display module 60 is used to display the first note element on the target page, and display the second note element on the non-target page according to the position information.

[0044] To summarize, the present application obtains the note element input on the drawing layer, and the drawing layer covers at least two of the pages, and then obtains the first note element located in the target page area and the second note element located in the non-target page area, and displays the first note element on the target page, and displays the second note element on the non-target page according to the position information. The present application displays the first note element and the second note element separately and independently, so that the note elements across pages are fully displayed.

[0045] The cross-page note display device of the electronic device provided in the embodiment of the present application is included in the electronic device, and can be used to execute any cross-page note display method provided in the above embodiments, and has corresponding functions and beneficial effects.

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

[0047] Fig. 9 A schematic diagram of the structure of the electronic device provided in this application, such as Fig. 9 As shown, the electronic device includes one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the electronic device implements the cross-page note display method of the electronic device as described above, Fig. 9 A processor 201 is taken as an example.

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

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

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

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

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

[0053] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0054] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

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

[0056] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

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

Claims

1. A method for displaying cross-page notes in an electronic device, the electronic device comprising a window control, the window interface of the window control displaying two or more pages, It is characterized in that include: Setting a drawing layer above the page, wherein the drawing layer covers at least two of the pages; Get the note element input on the drawing layer; Acquire a target page and a non-target page having an overlapping area with the note element, wherein the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element; Acquire a first note element where the note element is located in the target page area and a second note element where the note element is located in the non-target page area; Obtaining the position information of the second note element displayed on the non-target page; The first note element is displayed on the target page, and the second note element is displayed on the non-target page according to the position information.

2. The method for displaying cross-page notes according to claim 1, It is characterized in that Before the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: Determine whether the note element has an overlapping area with at least two pages, and if so, execute the next step.

3. The method for displaying cross-page notes according to claim 2, It is characterized in that The step of determining whether the note element has overlapping areas with at least two pages, and if so, executing the next step comprises: The coordinates of the note element are compared with the coordinates of at least two of the pages to determine whether the note element has the same coordinates as the at least two pages, and if so, proceed to the next step.

4. The method for displaying cross-page notes according to claim 1, It is characterized in that After the step of obtaining the target page and the non-target page having an overlapping area with the note element, the cross-page note display method further includes: The note element is associated with the target page and stored in a cache unit.

5. The method for displaying cross-page notes according to claim 1, It is characterized in that The step of obtaining the location information of the second note element displayed on the non-target page includes: Obtaining by calculation the offset of the second note element on the non-target page relative to the first note element; The position information of the second note element displayed on the non-target page is obtained according to the offset.

6. The method for displaying cross-page notes according to claim 1, It is characterized in that The note elements include pictures, texts and handwriting.

7. The method for displaying cross-page notes according to claim 1, It is characterized in that The step of displaying the second note element on the non-target page according to the position information comprises: Setting a placeholder on the non-target page according to the location information; The second note element is displayed within the placeholder.

8. The method for displaying cross-page notes according to claim 1, It is characterized in that After the step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information, the cross-page note display method further includes: Obtaining an editing instruction for editing the note element; The attribute information of the note element is set according to the editing instruction, and the attribute information includes the display area size, handwriting parameters and coordinate information of the note element.

9. The method for displaying cross-page notes according to claim 1, It is characterized in that The step of displaying the first note element on the target page and displaying the second note element on the non-target page according to the position information comprises: After processing the note element, image data to be displayed of the note element is obtained; Obtaining the image data to be displayed of the first note element and the image data to be displayed of the second note element according to the image data to be displayed of the note element; displaying the first note element on the target page according to the to-be-displayed image data of the first note element; The second note element is displayed on the non-target page according to the position information and the to-be-displayed image data of the second note element.

10. A device for displaying cross-page notes of an electronic device, the electronic device comprising a window control, the window interface of the window control displaying two or more pages, It is characterized in that include: A layer module, the layer module is used to set a drawing layer above the page, the drawing layer covers at least two of the pages; A note module, the note module is used to obtain note elements input on the drawing layer; A page module, the page module is used to obtain a target page and a non-target page having an overlapping area with the note element, the target page is a page overlapping with the starting position of the note element, and the non-target page is a page not overlapping with the starting position of the note element; An acquisition module, the acquisition module is used to acquire a first note element where the note element is located in the target page area and a second note element where the note element is located in the non-target page area; A location module, the location module is used to obtain the location information of the second note element displayed on the non-target page; A display module is used to display the first note element on the target page and display the second note element on the non-target page according to the position information.

11. An electronic device, It is characterized in that include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the electronic device implements the cross-page note display method as described in any one of claims 1-9.

12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the cross-page note display method as described in any one of claims 1-9 is implemented.

Citation Information

Patent Citations

  • Note processing method based on electronic book, electronic equipment and storage medium

    CN111783386A

  • Note processing method, computing device and storage medium

    CN111783387A

  • Handwriting synchronization method, device and equipment and readable storage medium

    CN115951961A

  • Method for processing a note page of a notebook, computer device and storage medium

    US20220019783A1