Electronic book display method, electronic equipment, storage medium and program product
By sending layout configuration parameters to the server before displaying the e-book, the server performs layout for the entire e-book, solving the problem of electronic devices not being able to accurately display progress information and achieving accurate progress display of e-books.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-04-07
AI Technical Summary
Because electronic devices only access a portion of the content, they cannot accurately display the progress information of each page within the entire ebook.
Before requesting to display an ebook, the electronic device sends layout configuration parameters to the server. The server then typeset the entire ebook based on these parameters, obtains accurate page number information, and sends it to the electronic device.
This ensures that the progress information displayed on each page on electronic devices is accurate, providing a reliable and accurate reading experience.
Smart Images

Figure CN121807203A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of information display technology, and in particular to an e-book display method, electronic device, storage medium, and program product. Background Technology
[0002] Currently, e-book servers possess a vast amount of resources, allowing users to download any e-book from their electronic devices. However, for security and bandwidth considerations, the server does not send the entire e-book content at once; instead, it transmits only the content of the chapter the user intends to view. Upon receiving the chapter's content, the electronic device formats the content according to its own e-book layout settings, resulting in the formatted chapter. The device then displays the e-book based on this formatted content.
[0003] However, because electronic devices only access a portion of the ebook's content (including the chapter about to be viewed), they cannot obtain accurate progress information for that portion of the ebook relative to the entire book. In other words, when displaying each page of that portion of the ebook, the electronic device cannot show accurate progress information for each page relative to the entire ebook. Summary of the Invention
[0004] To address the aforementioned technical problems, this disclosure provides an e-book display method, an electronic device, a storage medium, and a program product.
[0005] A first aspect of this disclosure provides a method for displaying an e-book, applied to an electronic device. The method includes: in response to a first operation, sending layout configuration parameters affecting the e-book layout in the electronic device to a server; in response to a second operation triggering the display of a first e-book, sending a first display request for the first e-book to the server, the first display request including an identifier of a first chapter in the first e-book; receiving progress information of the first chapter in the layoutd first e-book and the layoutd content of the first chapter sent by the server; and displaying the first e-book based on the progress information and the layoutd content of the first chapter in the layoutd first e-book. The progress information and the layoutd content of the first chapter in the layoutd first e-book are both obtained by the server layouting the content of the first e-book based on the layout configuration parameters.
[0006] Optionally, the first operation is used to trigger the launch of the e-book reading app, or to trigger the modification of layout configuration parameters; wherein, the e-book reading app can be used to read the first e-book.
[0007] Optionally, the above method further includes: when displaying the target page in the first chapter, determining whether the electronic device has saved the formatted content of the second chapter; wherein the second chapter is located after the first chapter in the first e-book; if the electronic device has not saved the formatted content of the second chapter, sending a second display request to the server, the second display request including the identifier of the second chapter; receiving the progress information of the second chapter in the formatted first e-book and the formatted content of the second chapter sent by the server; and saving the progress information of the second chapter in the formatted first e-book and the formatted content of the second chapter to a first storage address of the electronic device.
[0008] Optionally, the method further includes: in response to a jump operation to trigger a jump to the second chapter, obtaining progress information of the second chapter in the typed first ebook and the typed content of the second chapter from a first storage address; displaying progress information of the typed first page of the second chapter and the content of the typed first page of the second chapter. The progress information of the typed first page of the second chapter includes the page number of the typed first page of the second chapter in the typed first ebook; the progress information of the typed first page of the second chapter also includes at least one of the following: the total number of pages in the typed first ebook, and the percentage of the typed first page of the second chapter in the total number of pages in the typed first ebook.
[0009] Optionally, the electronic device includes a display screen, and the typography configuration parameters include at least one of the following: the device model of the electronic device and the display parameters of the display screen. The typography configuration parameters also include the font parameters used by the electronic device when displaying the e-book.
[0010] Optionally, the progress information of the first chapter in the typed first ebook includes at least one of the following: the total number of pages in the typed first ebook, and the percentage of the first chapter in the total number of pages in the typed first ebook.
[0011] A second aspect of this disclosure provides a method for displaying an e-book, applied to a server. The method includes: after obtaining typesetting configuration parameters of an electronic device, performing a typesetting process on the content of a first e-book based on the typesetting configuration parameters, obtaining the typeset content of the first e-book and the typeset page number information of the first e-book; wherein the typesetting configuration parameters refer to configuration parameters in the electronic device that affect the typesetting of the e-book; receiving a first display request sent by the electronic device, the first display request including an identifier of a first chapter in the first e-book; in response to the first display request, determining the progress information of the first chapter in the typeset first e-book based on the typeset page number information, and sending the progress information of the first chapter in the typeset first e-book and the typeset content of the first chapter to the electronic device, so that the electronic device displays the first e-book based on the progress information of the first chapter in the typeset first e-book and the typeset content of the first chapter.
[0012] Optionally, the above method further includes: receiving a parameter upload message sent by an electronic device, the parameter upload message including typesetting configuration parameters and the identity identifier of the electronic device; performing a typesetting process on the content of the first e-book based on the typesetting configuration parameters, to obtain the typesetting content of the first e-book and the typesetting page number information of the first e-book, including: determining at least one second e-book that can be provided to the electronic device based on the identity identifier of the electronic device; performing a typesetting process on the content of the at least one second e-book based on the typesetting configuration parameters, to obtain the typesetting content of each second e-book in the at least one second e-book; the at least one second e-book includes the first e-book; and mapping and saving the typesetting configuration parameters, the identity identifier of the electronic device, and the typesetting content of the at least one second e-book to a second storage address on the server.
[0013] Optionally, the first display request further includes the identification of the electronic device and the identification of the first e-book. The aforementioned response to the first display request, sending the progress information of the first chapter in the typed first e-book, and the typed content of the first chapter, to the electronic device includes: reading the typed content of the first e-book from the second storage address based on the identification of the electronic device and the identification of the first e-book; and determining the progress information of the first chapter in the typed first e-book based on the typed content of the first e-book and the identification of the first chapter.
[0014] A third aspect of this disclosure provides an electronic device including a processor, a memory, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the electronic book display method as described in the first aspect, or when executed by the processor, the computer program implements the electronic book display method as described in the second aspect.
[0015] A fourth aspect of this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the e-book display method as described in the first aspect, or when executed by the processor, implements the e-book display method as described in the second aspect.
[0016] A fifth aspect of this disclosure provides a computer program product, wherein the computer program product includes a computer program that, when the computer program product is run on a processor, causes the processor to execute the computer program to implement the e-book display method as described in the first aspect or to implement the e-book display method as described in the second aspect.
[0017] A sixth aspect of this disclosure provides a chip including a processor and a communication interface coupled to the processor. The processor is configured to execute program instructions to implement the e-book display method as described in the first aspect or the e-book display method as described in the second aspect.
[0018] The technical solution provided in this disclosure has the following advantages compared with the prior art: Before requesting to display any ebook (e.g., the first ebook), the electronic device can send layout configuration parameters affecting the ebook's layout to the server. The server can then layout the entire content of the first ebook based on these layout configuration parameters to obtain the page number information after layout. Since the page number information after layout is obtained by the server based on the electronic device's layout configuration parameters, the page number information obtained by the server is consistent with the page number displayed by the electronic device after layout, and is accurate. Because the page number information after layout is accurate, it can be known that the progress information of the first chapter determined based on the page number information is also accurate within the layout of the first ebook. Therefore, when the electronic device displays the content of each page after layout of the first chapter, it can display the accurate progress information of that page (i.e., the current page) within the layout of the entire ebook based on the progress information of the first chapter. Attached Figure Description
[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is one of the flowcharts illustrating an e-book display method provided in this embodiment of the disclosure; Figure 2 A schematic diagram of a display screen provided in an embodiment of this disclosure; Figure 3 A second schematic flowchart illustrating an e-book display method provided in this embodiment of the present disclosure; Figure 4 Structural framework of an e-book display device provided in this disclosure embodiment Figure 1 ; Figure 5 Structural framework of an e-book display device provided in this disclosure embodiment Figure 2 ; Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of the present disclosure. Detailed Implementation
[0022] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0023] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0024] The terms "first," "second," etc., used in this disclosure and in the claims are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this disclosure can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0025] Currently, when an electronic device downloads an ebook from a server, for security and bandwidth considerations, the server does not send the entire ebook at once, but only the chapters that the device is about to browse. Since the electronic device only receives a portion of the ebook's content (including the chapters to be browsed), it cannot determine the total number of pages in the entire ebook. Consequently, when displaying each page of that portion of the chapter, the electronic device cannot show the progress information for each page within the entire ebook.
[0026] Because different electronic devices use different ebook layout configuration parameters, the page count information (including the total number of pages) generated after typesetting the same ebook will differ between different electronic devices. Therefore, although the server stores the entire content of an ebook, it cannot determine the total number of pages displayed after typesetting by an electronic device. To address this issue, a proposed solution is for the server to send not only the content of the chapter to be viewed in an ebook to an electronic device, but also the total number of all chapters in the ebook. The electronic device can then predict the total number of pages after typesetting based on the received partial chapter content and the total number of chapters. Based on the predicted total number of pages, the electronic device then determines the progress information for each page in that partial chapter within the ebook.
[0027] The process by which an electronic device predicts the total number of pages in an e-book after typesetting includes: first, determining the number of pages in a typesetting section based on the content of a received partial chapter; then, based on the number of pages in that partial chapter, inferring the number of pages in other chapters in the e-book that are different from that partial chapter; and finally, determining the total number of pages in the e-book after typesetting based on the number of pages in that partial chapter, the inferred number of pages in other chapters, and the total number of chapters.
[0028] In the aforementioned solutions, the page numbers of other chapters inferred by the electronic device based on the page numbers of the current chapter's layout differ from the actual page numbers of the other chapters. Consequently, the total number of pages in the ebook, derived from the inferred page numbers of the other chapters, also differs from the actual total number of pages in the ebook. Therefore, it can be concluded that the progress information for each page in the ebook determined by the aforementioned solutions, based on an inaccurate total number of pages in the ebook's layout, is also inaccurate.
[0029] To address the problems existing in the aforementioned related solutions, this disclosure provides an embodiment of an e-book display method. In this method, before requesting the display of any e-book (e.g., the first e-book), the electronic device can send layout configuration parameters affecting the e-book's layout to the server. The server can then layout all the content of the first e-book based on these layout configuration parameters to obtain the page number information of the layoutd first e-book. Since the page number information of the layoutd first e-book is obtained by the server based on the electronic device's layout configuration parameters, the page number information obtained by the server is consistent with the page number displayed by the electronic device after layout of the first e-book, and is accurate. Because the page number information of the layoutd first e-book is accurate, it can be concluded that the progress information of the first chapter determined based on the page number information of the layoutd first e-book in the layouted first e-book is also accurate. Therefore, when the electronic device displays the content of each page after the first chapter has been typed, it can display the accurate progress information of this page (i.e., the current page) in the typed first e-book (i.e., the entire e-book) based on the progress information of the first chapter in the typed first e-book.
[0030] The execution subject of the e-book display method applied to an electronic device provided in this embodiment can be the aforementioned electronic device, or it can be a functional module and / or functional entity within the electronic device capable of implementing the display method. The specific implementation can be determined according to actual usage requirements, and this embodiment does not impose any limitations. Secondly, the execution subject of the e-book display method applied to a server provided in this embodiment can be the aforementioned server, or it can be a functional module and / or functional entity within the server capable of implementing the display method. The specific implementation can be determined according to actual usage requirements, and this embodiment does not impose any limitations.
[0031] The electronic device in this embodiment can be an e-book reader, which may include, but is not limited to, mobile phones, tablets, personal computers (PCs), televisions (TVs), and e-paper readers with hardware structures that can display e-books. Secondly, the server in this embodiment can be a server or cloud platform, or other devices that provide e-book resources. This embodiment does not limit the specific form of the electronic device or the server.
[0032] The following description, in conjunction with the accompanying drawings, details a method for displaying an e-book provided by this disclosure through specific embodiments and application scenarios.
[0033] like Figure 1As shown, this disclosure provides an e-book display method, applied to an e-book display system, which includes an electronic device and a server. The display method may include the following steps 101 to 106.
[0034] 101. In response to the first operation, the electronic device sends a parameter upload message to the server. The parameter upload message includes the layout configuration parameters in the electronic device that affect the layout of the e-book.
[0035] The electronic device receives and responds to a first operation input by the user, sending a parameter upload message to the server, including layout configuration parameters. The first operation may include any of the following: an operation to trigger an e-book reading application (APP), or an operation to trigger modification of layout configuration parameters.
[0036] This e-book reading app can be used to read e-books (e.g., a first e-book, a second e-book). Triggering the e-book reading app can include: the first time the e-book reading app is launched after it is installed on an electronic device (or the first time the e-book reading app is launched). Triggering modification of layout configuration parameters can refer to triggering modification of one or more parameters in the layout configuration parameters.
[0037] Optionally, the electronic device may have multiple e-book reading apps installed. Details of each e-book reading app can be found in the above introduction to e-book reading apps, and will not be repeated here.
[0038] In some embodiments, when the first operation is used to trigger the initial launch of an e-book reading app, the electronic device may send a parameter upload message to the server corresponding to the e-book reading app. The server corresponding to the e-book reading app may refer to a server that provides data support (e.g., data storage, data processing, data security, etc.) for the e-book reading app.
[0039] In other embodiments, when the first operation triggers the modification of layout configuration parameters, the electronic device can send a parameter upload message to the server corresponding to at least one e-book reading app within the electronic device. Specifically, if the electronic device includes one e-book reading app, the electronic device sends the layout configuration parameters to the server corresponding to that e-book reading app; if the electronic device includes multiple e-book reading apps, the electronic device can send a parameter upload message to the server corresponding to each of these multiple e-book reading apps. The following embodiments illustrate this using an e-book reading app within the electronic device and the electronic device sending a parameter upload message to the server corresponding to that e-book reading app as an example.
[0040] Understandably, the first operation can be used to trigger a modification of layout configuration parameters. In other words, in response to this operation, the electronic device will send the modified layout configuration parameters to the server. This ensures that the server receives the latest layout configuration parameters from the electronic device in a timely manner.
[0041] In some embodiments, the electronic device includes a display screen, and the layout configuration parameters may include at least one of the following: the device model of the electronic device, and the display parameters of the display screen. The device model of the electronic device can be used to determine the hardware configuration of the electronic device. The display parameters of the display screen can be used to determine the size of the area on the display screen used to display the content of the e-book.
[0042] For example, the hardware configuration of an electronic device, determined based on the device model, may include the display parameters of the display screen; that is, the display parameters of the display screen can be determined based on the device model of the electronic device.
[0043] Optionally, the typesetting configuration parameters may also include font parameters used when displaying the e-book on the electronic device. These font parameters may refer to the font parameters used by the e-book reading app; for example, font parameters may include: font size, font type, font spacing, and paragraph line spacing.
[0044] For example, taking a mobile phone as an electronic device, such as Figure 2 The diagram shown is a schematic representation of a display screen according to an embodiment of this disclosure. The display screen of the mobile phone 200 may include a text display area (or text drawing area) 210. The display parameters of the display screen may include: the physical size of the display screen, the outer margin of the text display area 210, and the inner margin of the text display area 210.
[0045] The physical dimensions of the display screen can refer to the dimensions of the entire display area, such as the length L1 and width W1 of the entire display area. The outer margin of the text display area 210 can refer to the blank distance between the outer edge of the text display area 210 and the border of the entire display area. For example, the outer margin of the text display area 210 can include: the distance W2 between the top edge of the text display area 210 and the top edge of the entire display area; the distance W3 between the bottom edge of the text display area 210 and the bottom edge of the entire display area; the distance L2 between the left edge of the text display area 210 and the left edge of the entire display area; and the distance L3 between the right edge of the text display area 210 and the right edge of the entire display area. The inner margin of the text display area 210 can refer to the blank distance between the inside of the border of the text display area 210 and the content displayed in the text display area 210 (e.g., text, e-book content). For example, the inner margin of the text display area 210 can include the distance W4 between the top of the border of the text display area 210 and the top of the content displayed in the text display area 210, the distance W5 between the bottom of the border of the text display area 210 and the bottom of the content displayed in the text display area 210, the distance L4 between the left side of the border of the text display area 210 and the left side of the content displayed in the text display area 210, and the distance L5 between the right side of the border of the text display area 210 and the right side of the content displayed in the text display area 210. Optionally, distance L2 can be equal to distance L3, and distance L4 can be equal to distance L5.
[0046] In some embodiments, the parameter upload message may include not only layout configuration parameters but also the electronic device's identity (ID), so that the server applies the layout configuration parameters to the ebook requested by the electronic device, thereby obtaining content with a layout adapted to the electronic device. For example, the electronic device's ID may include at least one of the following: International Mobile Equipment Identity (IMEI), Serial Number (SN), or Universally Unique Identifier (UUID).
[0047] In some embodiments, the electronic device can convert the parameter upload message according to a preset format to obtain a converted parameter upload message; then, it sends the converted parameter upload message to the server. The preset format can be a format agreed upon by the electronic device and the server. After receiving the converted parameter upload message, the server can read the information in the converted parameter upload message to obtain the content of the parameter upload message (e.g., layout configuration parameters, electronic device identification, etc.).
[0048] 102. After obtaining the layout configuration parameters of the electronic device, the server performs the layout process adopted by the electronic device for the first e-book based on the layout configuration parameters, and obtains the layout content of the first e-book and the page number information of the first e-book after layout.
[0049] The page number information of the first e-book after typesetting can include the page number of each page in the typesetting first e-book, and the page number of each page can indicate the position of that page in the entire book (i.e., the typesetting first e-book). The page number information of the first e-book after typesetting can also include the total number of pages in the typesetting first e-book. The total number of pages in the typesetting first e-book can be the page number of the last page in the typesetting first e-book.
[0050] Understandably, the server executes the typesetting process used by the electronic device on the content of the first e-book based on the electronic device's typesetting configuration parameters, obtaining the page number of each page in the typeset first e-book and the total number of pages in the typeset first e-book. Therefore, it can be seen that the page number of each page in the typeset first e-book obtained by the server is consistent with the page number displayed by the electronic device after typesetting the first e-book, and the total number of pages in the typeset first e-book obtained by the server is also consistent with the total number of pages displayed by the electronic device after typesetting the first e-book; both are accurate.
[0051] Optionally, the server executes the typesetting process adopted by the electronic device for the first e-book based on the typesetting configuration parameters of the electronic device. This can be simply referred to as typesetting the content of the first e-book based on the typesetting configuration parameters of the electronic device.
[0052] In some embodiments, after obtaining the layout configuration parameters of an electronic device, the server can pre-layout at least one second ebook provided to the electronic device. For example... Figure 3 As shown, the pre-layout process may include steps 301 to 302.
[0053] 301. The server determines at least one second electronic device that can be provided to the electronic device based on the identity of the electronic device, and performs the typesetting process adopted by the electronic device for the second electronic book based on the typesetting configuration parameters, so as to obtain the typesetting content of each second electronic book and the page number information of each second electronic book after typesetting. The at least one second electronic book includes the first electronic book.
[0054] After receiving the parameter upload message, the server can format the content of at least one second ebook provided by the server based on the formatting configuration parameters in the parameter upload message, thereby obtaining the formatted content and page number information of each second ebook. The at least one second ebook may include a first ebook, and formatting the at least one second ebook by the electronic device includes formatting the first ebook.
[0055] The page number information for each typed second ebook can include the page number of each page in the typed second ebook, and the page number of each page can indicate the position of that page in the entire book (i.e., the typed second ebook). The page number information for each typed second ebook can also include the total number of pages in the typed second ebook.
[0056] In some embodiments, where the typesetting configuration parameters include the display parameters of the display screen and the font parameters used by the electronic device when displaying the e-book, step 301 may include: the server determining the size of the text display area on the display screen based on the display parameters; then determining the total number of characters that can be displayed in the text display area based on the size of the text display area and the font parameters; and finally, typesetting the content of each second e-book based on the total number of characters that can be displayed in the text display area to obtain the typesetting content of each second e-book.
[0057] For example, the total number of characters that can be displayed in the text display area is the total number of characters that can be displayed on each page of the electronic device in the e-book reading APP. Based on the total number of characters that can be displayed in the text display area, the server can divide the content of the second e-book into multiple pages, thereby obtaining the formatted content of the second e-book.
[0058] For example, the display parameters may include the physical size of the display screen, the outer margin of the text display area, and the inner margin of the text display area. The server can subtract the outer margin and inner margin of the text display area from the physical size of the display screen to obtain the size of the text display area. The size of the text display area may include the length and width of the text display area. For example, using... Figure 2Taking the display parameters shown as an example, the length of the entire display area L1 is obtained by subtracting the distances L2, L3, L4, and L5; the width of the entire display area W1 is obtained by subtracting the distances W2, W3, W4, and W5.
[0059] 302. The server maps and saves the typesetting configuration parameters, the electronic device's identity identifier, the typesetting content of at least one second e-book, and the typesetting page number information of at least one second e-book to the server's storage address.
[0060] Since different electronic devices may have different layout configuration parameters, the server can read the electronic device's identity from the parameter upload message, and then map and save the layout configuration parameters, the electronic device's identity, the layout content of at least one second e-book, and the layout page number information to the server's storage address.
[0061] Optionally, the parameter upload message may include the upload time of the layout configuration parameters. The server may also map and save the upload time of the layout configuration parameters, along with the electronic device's identifier, the layout content of at least one second ebook, and the layout page number information, to a storage address on the server. The upload time of the layout configuration parameters may refer to the time when the electronic device uploads the layout configuration parameters to the server.
[0062] 103. In response to the second operation that triggers the display of the first e-book, the electronic device sends a first display request for the first e-book to the server.
[0063] When displaying the interface of an e-book reading app, the electronic device can receive a second operation on a first e-book provided by the e-book reading app, and in response to the second operation, send a first display request to the server. The first display request is used to request the content of the first e-book.
[0064] It is understandable that the electronic device has already sent the latest typesetting configuration parameters to the server before receiving the second operation. Therefore, after the electronic device sends the first display request of the first e-book to the server, it can obtain the typesetting content of the first e-book generated based on the latest typesetting configuration parameters from the server.
[0065] In some embodiments, the first display request may include an identifier of the first ebook. The first display request may also include an identifier of the first chapter in the first ebook.
[0066] The first chapter can refer to one or more chapters in the first e-book that the electronic device has not downloaded from the server. For example, if the electronic device requests the content of n chapters in the first e-book from the server each time, where n is a positive integer and n is less than the total number of chapters in the first e-book, then the first chapter can include n chapters in the first e-book.
[0067] It should be noted that before an electronic device can display any chapter in the first e-book, it needs to download the content of that chapter from the server. Therefore, each chapter in the first e-book will serve as the first chapter, used to request the content of that chapter from the server.
[0068] In some embodiments, the second operation of triggering the display of the first e-book can be used to trigger the display of the first e-book for the first time. Here, "triggering the display of the first e-book for the first time" can refer to the first time the first e-book is displayed in the e-book reading app after the e-book reading app is installed on the electronic device. "Triggering the display of the first e-book for the first time" specifically refers to triggering the display of the first page of the first chapter of the first e-book (or the first page of the first e-book).
[0069] Furthermore, if the second operation is used to trigger the initial display of the first e-book, the electronic device, in response to the second operation, can determine that the first chapter includes the first chapter of the first e-book. For example, if the electronic device requests the content of n chapters from the server each time, the electronic device, in response to the second operation, determines that the first chapter includes the first to nth chapters of the first e-book.
[0070] 104. In response to the first display request, the server retrieves the formatted content of the first chapter from the formatted content of the first e-book, and determines the progress information of the first chapter in the formatted first e-book from the page number information of the formatted first e-book.
[0071] The server can obtain the formatted content of the first chapter from the formatted content of the first e-book based on the identifier of the first chapter in the first display request, and determine the progress information of the first chapter in the formatted first e-book from the page number information of the formatted first e-book.
[0072] In some embodiments, the progress information of the first chapter in the typed first ebook may include the page number of the first chapter in the typed first ebook, and the page number of the first chapter in the typed first ebook may indicate the position of the first chapter in the typed first ebook. The progress information of the first chapter in the typed first ebook may also include at least one of the following: the total number of pages in the typed first ebook, and the percentage of the first chapter in the total number of pages in the typed first ebook.
[0073] The page count of the first chapter in the typed first ebook can include: the page count of each page of the first chapter in the typed first ebook. The percentage of the first chapter in the total page count of the typed first ebook can include: the percentage of each page of the first chapter in the total page count of the typed first ebook. For example, the percentage of each page of the first chapter in the total page count of the typed first ebook = page count of each page of the first chapter in the typed first ebook ÷ total page count of the typed first ebook × 100%.
[0074] It should be noted that the first typeset ebook includes the first typeset chapter, and the page number of the first chapter in the first typeset ebook is the same as the page number of the first typeset chapter in the first typeset ebook.
[0075] In some embodiments, in response to a first display request for the first e-book, the server can determine, based on the electronic device's identifier in the first display request, whether its storage address stores the formatted content and page number information of the first e-book corresponding to the electronic device's identifier. If the server's storage address stores the formatted content and page number information of the first e-book corresponding to the electronic device's identifier, it indicates that the server has completed the pre-formatting of the first e-book, and the server can directly read the formatted content and page number information of the first e-book.
[0076] If the server's storage address does not store the formatted content and page number information of the first e-book corresponding to the electronic device's identity, it means that when the server receives the formatting configuration parameters sent by the electronic device, it only saves the formatting configuration parameters. The server can format the content of the first e-book based on these formatting configuration parameters to obtain the formatted content and page number information of the first e-book. Optionally, the server can also map and save the formatting configuration parameters, the electronic device's identity, the formatted content of the first e-book, and the formatted page number information of the first e-book to the server's storage address.
[0077] 105. The server sends the progress information of the first chapter in the first e-book after typesetting, as well as the typesetting content of the first chapter, to the electronic device.
[0078] The progress information for the first chapter in the typed first ebook may include, in addition to the number of pages of the first chapter in the typed first ebook, the total number of pages in the typed first ebook, or the percentage of the first chapter in the total number of pages in the typed first ebook.
[0079] Optionally, if the progress information of the first chapter in the typed first e-book sent by the server to the first electronic device includes the total number of pages in the typed first e-book, and the server determines in the next display request after the first display request that the total number of pages in the typed first e-book has not changed, then the server may not resend the total number of pages in the typed first e-book.
[0080] 106. The electronic device displays the first e-book based on the progress information of the first chapter in the typed first e-book and the typed content of the first chapter.
[0081] While displaying the formatted content of the first chapter, the electronic device can also display the total number of pages in the formatted first ebook, or the percentage of the first chapter in the total number of pages in the formatted first ebook.
[0082] For example, in response to a user's trigger to display any page in the first chapter, an electronic device can display the total number of pages in the first ebook after typesetting, the page number of this page in the first ebook after typesetting, and the typesetting content of this page.
[0083] Understandably, since electronic devices do not need to perform a typesetting process, they only need to receive the progress information of the first chapter in the typeset first e-book from the server, as well as the typeset content of the first chapter, and then display the first e-book. This can greatly improve the operating efficiency of electronic devices, thereby improving the smoothness of displaying the first e-book.
[0084] Furthermore, since the page number of each page in the first chapter obtained by the electronic device from the server is consistent with the page number of that page displayed by the electronic device after typesetting the first e-book, and the total page number of the typed first e-book is consistent with the total page number displayed by the electronic device after typesetting the first e-book, it can be concluded that the total page number of the typed first e-book displayed by the electronic device, as well as the page number of each page in the first chapter in the typed first e-book, are accurate.
[0085] In some embodiments, the electronic device can combine the total number of pages in the typed first ebook with the page number of each page in the first chapter in the typed first ebook to obtain the combined page number corresponding to each page in the first chapter. For example, if the total number of pages in the typed first ebook is 100, and one page in the first chapter has a page number of 5 in the typed first ebook, the combined page number corresponding to this page in the first chapter can be 5 / 100.
[0086] Furthermore, when the electronic device displays the formatted content of each page in the first chapter, it can also display the page number corresponding to that page in the combined format.
[0087] In some embodiments, the electronic device requests only a portion of the formatted content of the first ebook (e.g., the formatted content of the first chapter) from the server each time. Therefore, the electronic device can obtain and save the formatted content of a chapter before the user triggers the display of that chapter. Consequently, when the electronic device receives an operation to trigger the display of that chapter, it can quickly display the formatted content of that chapter based on the saved formatted content.
[0088] For example, taking the extraction and acquisition of the formatted content of the second chapter following the first chapter by an electronic device as an example, the process of the electronic device acquiring the formatted content of a chapter in the first e-book in advance may include: when displaying the target page in the first chapter, determining whether the electronic device has saved the formatted content of the second chapter; wherein, the second chapter is located after the first chapter in the first e-book; if the electronic device has not saved the formatted content of the second chapter, sending a second display request to the server, the second display request including the identifier of the second chapter; receiving the progress information of the second chapter in the formatted first e-book and the formatted content of the second chapter sent by the server; and saving the progress information of the second chapter in the formatted first e-book and the formatted content of the second chapter to the storage address of the electronic device.
[0089] The target page in the first chapter can be the first page of the first chapter or the k-th page from the end. k is less than the total number of pages in the first chapter after typesetting; for example, k equals 1 or 2.
[0090] Furthermore, after the electronic device obtains and saves the progress information of the second chapter in the typed first e-book and the typed content of the second chapter in advance, the electronic device can receive and respond to the jump operation used to trigger the jump to the second chapter, and obtain the progress information of the second chapter in the typed first e-book and the typed content of the second chapter from the storage address of the electronic device; then, the progress information of the first page of the typed second chapter and the content of the first page of the typed second chapter can be displayed.
[0091] Optionally, the electronic device can combine the total number of pages in the typed first ebook and the number of pages in the second chapter within the typed first ebook to obtain the combined page number for each page in the second chapter. Furthermore, the electronic device can display the combined page number (e.g., 26 / 100) corresponding to the first page of the typed second chapter while simultaneously displaying the content of the first page of the typed second chapter.
[0092] Optionally, the second chapter and the first chapter can be consecutive in the first ebook. For example, if the first chapter includes chapters 1 through n in the first ebook, then the second chapter includes chapters (n+1) through (n+n) in the first ebook.
[0093] It should be noted that the details of the electronic device sending the second display request to the server can be found in the above introduction about the electronic device sending the first display request to the server; the details of the progress information of the second chapter in the typed first e-book can be found in the above introduction about the progress information of the first chapter in the typed first e-book; the details of the combined page number corresponding to each page in the second chapter can be found in the above introduction about the combined page number corresponding to each page in the first chapter, and will not be repeated here.
[0094] For example, if the first ebook includes a third chapter preceding the first chapter, that is, the first chapter does not include the first chapter in the first ebook, then the electronic device can also extract and obtain the content of the first chapter after it has been formatted.
[0095] It should be noted that the specific process of the electronic device extracting the formatted content of the first chapter can be found in the above-mentioned details on the extraction of the formatted content of the second chapter by the electronic device, and will not be repeated here.
[0096] Optionally, the third chapter and the first chapter can be consecutive in the first ebook. For example, if the first chapter includes chapters m to m+n-1 in the first ebook, then the third chapter includes chapters mn to m-1 in the first ebook.
[0097] It should be noted that the "server storage address" in the above embodiments is equivalent to the "second storage address" in the invention, and the "electronic device storage address" is equivalent to the "first storage address" in the invention.
[0098] In the above-described solution provided in this disclosure, the total number of pages in the first e-book after typesetting obtained by the server is consistent with the total number of pages actually displayed by the electronic device after typesetting the first e-book. Similarly, the number of pages in each page of the first e-book after typesetting obtained by the server is consistent with the number of pages actually displayed by the electronic device after typesetting the first e-book. In other words, both the total number of pages in the first e-book after typesetting obtained by the server and the number of pages in each page of the first e-book after typesetting are accurate. Thus, even if the electronic device only downloads a portion of the content of the first e-book (e.g., the first chapter) from the server each time, it can still obtain the accurate total number of pages in the first e-book after typesetting and the accurate number of pages in that portion of the chapter after typesetting. Furthermore, when the electronic device displays each page in that portion of the chapter, based on the accurate total number of pages in the first e-book after typesetting and the accurate number of pages in that portion of the chapter after typesetting, it can display accurate progress information for that page within the typesetting first e-book (i.e., the entire e-book). This provides users with an accurate and reliable reading experience.
[0099] In addition, the server can provide e-book layout functions for multiple electronic devices requesting to download an e-book, so that multiple electronic devices can obtain accurate progress information of each page in the e-book, bringing an accurate and reliable reading experience to users of multiple electronic devices.
[0100] This disclosure also provides a method for displaying an e-book in an electronic device. The method includes: in response to a first operation, sending layout configuration parameters affecting the e-book layout in the electronic device to a server; in response to a second operation triggering the display of the first e-book, sending a display request for the first e-book to the server; receiving progress information of a first chapter in the layout of the first e-book and the layout content of the first chapter sent by the server; and displaying the first e-book based on the progress information and the layout content of the first chapter. The progress information and the layout content of the first chapter in the layout of the first e-book are both obtained by the server based on the layout configuration parameters when layouting the content of the first e-book.
[0101] This disclosure also provides a method for displaying an e-book on a server. The method includes: after obtaining typesetting configuration parameters of an electronic device, performing a typesetting process on the content of a first e-book based on the typesetting configuration parameters, obtaining the typeset content and page number information of the first e-book; wherein the typesetting configuration parameters refer to configuration parameters in the electronic device that affect the typesetting of the e-book; receiving a first display request sent by the electronic device, the first display request including an identifier of a first chapter in the first e-book; responding to the first display request, determining the progress information of the first chapter in the typeset first e-book based on the page number information, and sending the progress information of the first chapter in the typeset first e-book and the typeset content of the first chapter to the electronic device, so that the electronic device displays the first e-book based on the progress information and the typeset content of the first chapter in the typeset first e-book.
[0102] Figure 4 This is a structural block diagram of an e-book display device shown in an embodiment of the present disclosure, such as... Figure 4 As shown, the display device 400 includes a first communication module 410 and a display module 420.
[0103] The first communication module 410 is configured to: in response to a first operation, send to the server layout configuration parameters in the electronic device that affect the layout of the e-book; in response to a second operation that triggers the display of the first e-book, send to the server a first display request for the first e-book, the first display request including the identifier of the first chapter in the first e-book; and receive from the server the progress information of the first chapter in the layout of the first e-book, as well as the layout content of the first chapter.
[0104] Display module 420 is used to display the first e-book based on the progress information of the first chapter in the typed first e-book and the typed content of the first chapter.
[0105] In this embodiment, each module in the display device 400 can implement the display method for electronic devices provided in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0106] Figure 5 This is a structural block diagram of another e-book display device shown in an embodiment of the present disclosure, such as... Figure 5 As shown, the display device 500 includes a second communication module 510 and a processing module 520.
[0107] The second communication module 510 is used to receive a first display request for the first e-book sent by the electronic device. The processing module 520, after obtaining the layout configuration parameters of the electronic device, performs the layout process adopted by the electronic device for the first e-book based on the layout configuration parameters, obtaining the layout content and page number information of the first e-book; wherein, the layout configuration parameters refer to the configuration parameters in the electronic device that affect the layout of the e-book; receives the first display request sent by the electronic device, the first display request including the identifier of the first chapter in the first e-book; and, in response to the first display request, determines the progress information of the first chapter in the layout of the first e-book based on the page number information. The second communication module 510 is also used to send the progress information of the first chapter in the layout of the first e-book and the layout content of the first chapter to the electronic device, so that the electronic device displays the first e-book based on the progress information and the layout content of the first chapter.
[0108] In this embodiment, each module in the display device 500 can implement the display method applied to the server provided in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0109] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. It is used to illustrate the electronic device and server in the embodiments of the present disclosure and should not be construed as a specific limitation on the embodiments of the present disclosure.
[0110] like Figure 6 As shown, electronic device 600 may include a processor (e.g., central processing unit, graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. RAM 603 also stores various programs and data required for the operation of electronic device 600. Processor 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0111] Typically, the following devices can be connected to I / O interface 605: input device 606; output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage device 608 including, for example, magnetic tape, hard disk, etc.; and communication device 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although an electronic device 600 with various devices is shown, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0112] For example, the input device 606 applied to an electronic device may include a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
[0113] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it can perform the e-book display method for electronic devices or the e-book display method for servers provided in embodiments of this disclosure.
[0114] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, RAM, ROM, an erasable programmable read-only memory (EPROM), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. EPROM is also known as flash memory. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, radio frequency (RF), etc., or any suitable combination thereof.
[0115] In some implementations, electronic devices and servers can communicate using any currently known or future-developed network protocol, such as the Hypertext Transfer Protocol (HTTP), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (LANs), wide area networks (WANs), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0116] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0117] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform an e-book display method applicable to the electronic device.
[0118] Alternatively, the aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to perform a method for displaying an e-book applied to a server.
[0119] In embodiments of this disclosure, computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof. These programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on a computer, partially on a computer, as a standalone software package, partially on a computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the computer via any type of network, including LANs or WANs, or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0120] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0121] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0122] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), and so on.
[0123] In the context of this disclosure, a computer-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of computer-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (or flash memory), optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0124] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0125] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0126] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for displaying an e-book, characterized in that, The display method, applied to electronic devices, includes: In response to the first operation, the layout configuration parameters in the electronic device that affect the layout of the e-book are sent to the server; In response to a second operation that triggers the display of the first e-book, a first display request for the first e-book is sent to the server, the first display request including the identifier of the first chapter in the first e-book; The server receives the progress information of the first chapter in the typed first e-book and the typed content of the first chapter, which are sent by the server. The progress information of the first chapter in the typed first e-book and the typed content of the first chapter are obtained by the server typed the content of the first e-book based on the typed configuration parameters. The first ebook is displayed based on the progress information of the first chapter in the typed first ebook and the typed content of the first chapter.
2. The method according to claim 1, characterized in that, The first operation is used to trigger the launch of the e-book reading APP, or to trigger the modification of the layout configuration parameters; wherein, the e-book reading APP can be used to read the first e-book.
3. The method according to claim 1, characterized in that, The method further includes: When displaying the target page in the first chapter, it is determined whether the electronic device has saved the content of the second chapter after its formatting; wherein the second chapter is located after the first chapter in the first e-book. If the electronic device does not save the formatted content of the second chapter, it sends a second display request to the server, the second display request including the identifier of the second chapter; Receive the progress information of the second chapter in the typed first e-book sent by the server, as well as the typed content of the second chapter; The progress information of the second chapter in the typed first e-book, as well as the typed content of the second chapter, are saved to the first storage address of the electronic device.
4. The method according to claim 3, characterized in that, The method further includes: In response to a jump operation that triggers a jump to the second chapter, the progress information of the second chapter in the typed first ebook and the typed content of the second chapter are obtained from the first storage address; The display shows the progress information of the first page after the second chapter has been formatted, as well as the content of the first page after the second chapter has been formatted; wherein, the progress information of the first page after the second chapter has been formatted includes the page number of the first page after the second chapter has been formatted in the formatted first e-book; the progress information of the first page after the second chapter has been formatted also includes at least one of the following: the total number of pages in the formatted first e-book, and the percentage of the first page after the second chapter has been formatted in the total number of pages in the formatted first e-book.
5. The display method according to any one of claims 1-4, characterized in that, The electronic device includes a display screen, and the layout configuration parameters include at least one of the following: the device model of the electronic device and the display parameters of the display screen; The typesetting configuration parameters also include the font parameters used when the electronic device displays the e-book.
6. The display method according to any one of claims 1-4, characterized in that, The progress information of the first chapter in the typed first e-book includes at least one of the following: the total number of pages in the typed first e-book, and the percentage of the first chapter in the total number of pages in the typed first e-book.
7. A method for displaying an e-book, characterized in that, Applied to the server side, the display method includes: After obtaining the layout configuration parameters of the electronic device, the electronic device performs the layout process on the content of the first e-book based on the layout configuration parameters, thereby obtaining the layout content of the first e-book and the page number information of the layout of the first e-book; wherein, the layout configuration parameters refer to the configuration parameters in the electronic device that affect the layout of the e-book; Receive a first display request sent by the electronic device, wherein the first display request includes the identifier of the first chapter in the first e-book; In response to the first display request, the progress information of the first chapter in the typed first e-book is determined based on the page number information of the typed first e-book, and the progress information of the first chapter in the typed first e-book and the typed content of the first chapter are sent to the electronic device, so that the electronic device displays the first e-book based on the progress information of the first chapter in the typed first e-book and the typed content of the first chapter.
8. The method according to claim 7, characterized in that, The method further includes: Receive a parameter upload message sent by the electronic device, the parameter upload message including the layout configuration parameters and the identity identifier of the electronic device; The step of performing the typesetting process of the first e-book on the content of the first e-book based on the typesetting configuration parameters, to obtain the typeset content of the first e-book and the typeset page number information of the first e-book, includes: Based on the identity identifier of the electronic device, at least one second e-book that can be provided to the electronic device is determined; Based on the typesetting configuration parameters, the typesetting process used by the electronic device for the first e-book is executed on the content of the at least one second e-book to obtain the typesetting content of each second e-book in the at least one second e-book; the at least one second e-book includes the first e-book; The layout configuration parameters, the electronic device's identifier, and the layout content of the at least one second e-book are mapped and saved to the second storage address on the server.
9. The method according to claim 8, characterized in that, The first display request also includes the identity identifier of the electronic device and the identifier of the first e-book; In response to the first display request, sending the progress information of the first chapter in the typed first ebook and the typed content of the first chapter to the electronic device includes: Based on the identification of the electronic device and the identification of the first e-book, the formatted content of the first e-book is read from the second storage address; Based on the formatted content of the first ebook and the identifier of the first chapter, the progress information of the first chapter in the formatted first ebook is determined.
10. The display method according to any one of claims 7-9, characterized in that, The progress information of the first chapter in the typed first e-book includes at least one of the following: the total number of pages in the typed first e-book, and the percentage of the first chapter in the total number of pages in the typed first e-book.
11. A method for displaying an e-book, characterized in that, A display system for e-books, the display system comprising an electronic device and a server, the display method comprising: In response to the first operation, the electronic device sends the layout configuration parameters in the electronic device that affect the layout of the e-book to the server. Based on the typesetting configuration parameters, the server executes the typesetting process used by the electronic device on the first e-book to obtain the typesetting content of the first e-book and the typesetting page number information of the first e-book. In response to a second operation that triggers the display of the first e-book, the electronic device sends a first display request to the server; the first display request includes an identifier of the first chapter in the first e-book; In response to the first display request, the server determines the progress information of the first chapter in the formatted first e-book based on the page number information of the first e-book, and sends the progress information of the first chapter in the formatted first e-book, as well as the formatted content of the first chapter, to the electronic device. The electronic device displays the first e-book based on the progress information of the first chapter in the typed first e-book and the typed content of the first chapter.
12. An electronic device, characterized in that, include: Memory and processor; memory is used to store computer programs. The processor is used to execute the electronic book display method of any one of claims 1-6 when a computer program is invoked, or to execute the electronic book display method of any one of claims 7-10 when a computer program is invoked.
13. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements the display method of the e-book according to any one of claims 1-6, or implements the display method of the e-book according to any one of claims 7-10.
14. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the display method of the e-book according to any one of claims 1-6, or implements the display method of the e-book according to any one of claims 7-10.