WO2011069424A1 - Methods, devices and system for issuing and downloading electronic book - Google Patents

Methods, devices and system for issuing and downloading electronic book Download PDF

Info

Publication number
WO2011069424A1
WO2011069424A1 PCT/CN2010/079303 CN2010079303W WO2011069424A1 WO 2011069424 A1 WO2011069424 A1 WO 2011069424A1 CN 2010079303 W CN2010079303 W CN 2010079303W WO 2011069424 A1 WO2011069424 A1 WO 2011069424A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
book
section
document
data
Prior art date
Application number
PCT/CN2010/079303
Other languages
French (fr)
Chinese (zh)
Inventor
庄磊
林飞
王涛
卢城
王俊
陈曦
朱永浩
宋世杰
黄飞飞
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011069424A1 publication Critical patent/WO2011069424A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/131Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present invention relates to the field of electronic books, and in particular, to a method, device and system for publishing and downloading electronic books.
  • E-books of different formats have different specifications.
  • E-books under some specifications cannot support the method of segment downloading, such as electronic publishing (Epub, Electronic) launched by the International Open e-book forum.
  • the epub (Epub eBook) is composed of three parts: MIME type description file (mimetype), metadata information directory (META-INF), and open e-book publishing structure directory (OEBPS).
  • MIME type description file mitype
  • META-INF metadata information directory
  • OEBPS open e-book publishing structure directory
  • the publisher In the Epub-based e-book reading process: The publisher first creates the corresponding electronic version of the book document based on the book content, including the mimetpye file, the META-INF directory file, and the OEBPS catalog file; then the publisher uses the Epub book publishing tool.
  • the electronic version of the book document is packaged into Epub package and published on the reading platform for readers to download and read; the reader then uses the electronic reading device, downloads the Epub package through the network, and parses the Epub package through the Epub e-book parsing tool to restore the electronic version of the book document.
  • the electronic reading device presents the contents of the book to the reader according to the electronic version of the book document.
  • the embodiment of the invention provides a method, a device and a system for publishing and downloading an e-book, which can implement segment downloading of e-books in various formats on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • An embodiment of the present invention provides a method for publishing an e-book, the method comprising: dividing an electronic version of a book document into a file description section and a data section including a specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document;
  • the divided file description section and data section are packaged to generate a book container file; the generated book container file is published on the e-book reading platform.
  • a method for downloading an e-book comprising:
  • An electronic version of the book document that satisfies the reading requirement is generated based on the shared presentation document and the specified presentation set corresponding to the data section in the downloaded common file section.
  • a server that publishes an e-book including:
  • a book document dividing unit configured to divide the electronic version of the book document into a file description section and a data section including the specified presentation set, wherein the file description section includes a common file section and a data section of the shared class document direction chart;
  • a book container file generating unit configured to package the file description section and the data section divided by the book document dividing unit to generate a book container file
  • a file publishing unit configured to publish the book container file generated by the book container file generating unit on the e-book reading platform.
  • a client for downloading an e-book including: a file description section downloading unit, configured to download a file description section in the book container file on the e-book reading platform, wherein the file description section includes a common file section and a data section index table of the shared class document ;
  • a data segment downloading unit configured to locate a data segment of the specified presentation set according to the data segment index table downloaded by the file description segment download unit, and download a data segment corresponding to the specified presentation set according to the reading requirement;
  • the electronic version of the book document generating unit is configured to generate an electronic version of the book document that satisfies the reading requirement according to the shared presentation document and the specified presentation set in the data section in the downloaded common file section.
  • a system for implementing e-book publishing and downloading comprising:
  • a server configured to divide an electronic version of the book document into a file description section and a data section including the specified presentation set, where the file description section includes a common file section and a data section index table of the shared class document; And packaging the divided file description section and the data section to generate a book container file; and then publishing the generated book container file on the e-book reading platform;
  • a client configured to download a file description section in a book container file on the e-book reading platform, where the file description section includes a common file section and a data section index table of the shared class document;
  • the data segment index table locates the data segment of the specified presentation set, and downloads the data segment corresponding to the specified presentation set according to the reading requirement; and then according to the shared class document and the data segment specified in the downloaded common file segment.
  • the method for publishing an e-book specifically includes: first dividing an electronic version of a book document into a file description section and a data section including a specified presentation set, wherein the file description area
  • the segment includes a common file section and a data section index table of the shared class document; then the divided file description section and the data section are packaged to generate a book container file; and the generated book container file is posted in the e-book Read the platform.
  • FIG. 1 is a schematic flowchart of a method for publishing an e-book according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic diagram of packet packing of a shared class according to an example provided in Embodiment 1 of the present invention
  • FIG. 3 is an example provided in Embodiment 1 of the present invention
  • FIG. 4 is a schematic diagram of a book container file package according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for downloading an e-book according to Embodiment 2 of the present invention
  • FIG. 7 is a schematic diagram of data segment parsing in an example provided by Embodiment 2 of the present invention
  • FIG. 8 is a schematic diagram of e-book downloading according to Embodiment 2 of the present invention
  • FIG. 9 is a schematic structural diagram of a server provided in Embodiment 3 of the present invention.
  • FIG. 10 is a schematic structural diagram of a client provided by Embodiment 4 of the present invention.
  • FIG. 11 is a schematic structural diagram of a system according to Embodiment 5 of the present invention. detailed description
  • Embodiments of the present invention provide a method, device, and system for publishing and downloading an e-book.
  • the electronic version of the book document is first divided into a file description section and a data section containing the specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document. Then, the divided file description section and data section are packaged to generate a book container file; and the generated book container file is published on the e-book reading platform.
  • the file description section in the book container file on the e-book reading platform is first downloaded, wherein the file description section includes a common file section of the shared-type document and a data segment index table; then positioning each data segment of the specified presentation set according to the data segment index table, and downloading a data segment corresponding to the specified presentation set according to the reading requirement; and then according to the downloaded common file segment
  • a set of presentations in a shared class document and data section is generated to generate an electronic version of the book document that satisfies the reading requirements.
  • the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • FIG. 1 is a schematic flowchart of a method for publishing an e-book according to Embodiment 1 of the present invention, where the method includes:
  • Step 11 Divide the electronic version of the book document into a file description section and a data section containing the specified presentation collection.
  • the server first divides the specified electronic version of the book document into a file description section and a data section containing the specified presentation set; where the file description section includes a common file section of the shared class document and A data segment index table; wherein the data segments specifying the presentation set may be divided into one or more as needed.
  • the server may first divide the electronic version of the book into a shared class document and a plurality of specified presentation sets according to the organizational structure and document content of the electronic book.
  • the shared class document described herein may be the above-mentioned electronic version of the book document required.
  • Documents, such as e-books according to the Epub specification, the required documents are mimetype, container.xml and content. of; or related book information, such as digital copyright files, cover files and cover images; or books Shared files for each chapter, etc.
  • the specified presentation set may specifically be the smallest presentation element of the electronic version of the book document.
  • the specified presentation collection may be a description file of the chapter.
  • a file composed of a chapter such as a resource file such as a picture or an audio in a chapter; or the designated presentation set may be formed by combining the minimum presentation elements of the electronic version of the document document, for example, The contents of several chapters are combined to form a specified presentation set.
  • the server may package the shared class document to generate a common file segment, and package the plurality of specified presentation sets separately to generate a plurality of data segments; wherein the public file segment is included in the file.
  • the data segment index table in the file description section may be used to locate each data segment.
  • there are multiple ways to implement positioning for example, the start position and length of each data segment may be included.
  • the information is realized by the starting position and the length information; the sequence number and the position information defined by the respective data segments may also be included, and the positioning is realized by the defined serial number and position information.
  • a file format description section may be further included in the file description section, where the file format description section length is fixed, and is used to locate a common file section and a data section index table.
  • the file format description section length is fixed, and is used to locate a common file section and a data section index table
  • there are multiple ways to achieve positioning for example, it can include the starting position and length information of the common file segment, and the starting position and length information of the data segment index table, which is realized by the starting position and length information.
  • Positioning may also include the sequence number and location information defined by the common file section, and the sequence number and location information defined by the data section index table, and the positioning is implemented by the defined sequence number and location information. Since the length of the above file format description section can be fixed, the client can directly download and then use the file format description section to locate other sections.
  • the corresponding electronic version of the book document may be produced by the book publisher through the server according to the book content and the e-book format specification according to the book.
  • the e-book format specification here may be an electronic publishing Epub specification, or a text format specification or a PDF format specification that supports a minimum presentation set.
  • Step 12 Package the divided file description section and data section to generate a book container file.
  • the server packages the divided file description sections and data sections together to generate a book container file.
  • Step 13 Publish the generated book container file on the e-book reading platform.
  • the server can publish the generated book container file on the e-book reading platform for the reader to download and read through the client.
  • the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • the e-book can be billed by chapter, allowing the reader to Try the free chapters first, then pay for the chapters that read the fees, which further enriches the publisher's charging model, and attracts readers through the trial-reading mode, which is more conducive to the promotion of e-book reading business.
  • the Epub-compliant electronic version of the book document is divided into a shared class document and a plurality of specified presentation sets according to the content.
  • the specified presentation set is divided according to chapters, specifically:
  • Shared class documentation includes:
  • Epub's required documents such as mimetype, container in META-INF, xml, content.opf and toc.ncx in OEBPS directory, etc.
  • the specified presentation set that is, the chapter class document includes:
  • chapter exclusive files (such as chapters, pictures, audio and other resource files)
  • the server packs all the shared class documents to generate a common file segment.
  • the shared class document is packaged in the example.
  • each chapter class document is separately packaged to generate multiple data segments, such as FIG. 3 is a schematic diagram showing the packaging of chapter class documents in the present example.
  • the plurality of data segments store all the contents of the specified chapter, and the contents of the chapters are independent of each other and are stored in separate data sections.
  • the server may also generate a file format description section and a data section index table according to the size of the common file section and the size of the data section.
  • the file format description section has a fixed length for locating the common file section and the data section index table.
  • the file format description section includes the start position and length information of the common file section. And the start position and length information of the data segment index table, and the positioning is implemented by the start position and length information.
  • the server then packages the file format description section, the common file section, the data section index table, and the plurality of data sections together to generate a book container file, as shown in FIG. 4, which is a schematic diagram of the package of the book container file in the present example.
  • the file format description section, the common file section, and the data section index table may be collectively referred to as a file description section.
  • the server then publishes the generated book container file on the reading platform for the reader to download and read through the client.
  • the second embodiment further provides a method for downloading an e-book. As shown in FIG. 5, a schematic flowchart of the method provided in the second embodiment is provided. The method includes:
  • Step 51 Download the file description section in the book container file on the e-book reading platform.
  • the reader first downloads a file description section in the book container file on the e-book reading platform through the client; here, the file description section includes a common file section and a data section index of the shared class document. Table section.
  • the client downloads a file description section in the book container file on the e-book reading platform
  • the file description section includes a file format description section
  • the file format can be used to locate the common file section and the data section index table.
  • the location and length information of the common file section can be included, and the data area.
  • the starting position and length information of the segment index table is realized by the starting position and length information; the sequence number and position information defined by the common file segment, and the sequence number and position information defined by the data segment index table may also be included.
  • the positioning is implemented by the defined sequence number and position information.
  • the file format description section is implemented by starting position and length information.
  • the client further downloads a common file section including the shared class document according to the start position and length information of the common file section provided by the section according to the file format, and according to the file grid
  • the start position and length information of the data segment index table provided by the section is described, and the data section index table is downloaded.
  • the client may also download the file description section including the common file section of the shared class document and the data section index table part without downloading the file format description section, for example,
  • the client can directly learn the message including the corresponding information of the file description section from the server, and then learn the information of each part in the file description section according to the message, and then download the public file section containing the shared class document from the server. And the file description section of the data section index table section.
  • Step 52 Locating the data segment of the specified presentation set according to the data segment index table, and downloading the data segment corresponding to the specified presentation set according to the reading requirement.
  • the client then locates the data segment of the specified presentation set according to the data segment index table, and then downloads the data segment corresponding to the specified presentation set according to the reading requirement of the reader.
  • Step 53 Generate an electronic version of the book document that satisfies the reading requirement according to the shared presentation document in the downloaded common file section and the specified presentation set in the data section.
  • the client may follow the shared class document in the public file segment downloaded in step 51 and the data segment of the specified presentation set.
  • the electronic version of the book document that satisfies the reading requirement is restored; and then the client can present the book content to the reader according to the electronic version of the book document.
  • the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • the client downloads the file description section in the book container file on the reading platform according to the reader's reading request, where the file description section includes the shared class document. a common file section and a data section index table section; then, according to the file description section, the data section is downloaded, and the data section corresponding to the specified presentation set is downloaded; and the shared class document and the specified presentation in the common file section are displayed.
  • the data segment of the collection is restored to generate an electronic version of the book document compatible with the Epub specification; the client then presents the book content to the reader according to the generated electronic version of the book document.
  • the client may also first download the file format description section, and complete the subsequent download by using the file format description section.
  • the client may first download the file format description area. a segment, and then locating the common file segment according to the file format description section, for example, the common file segment can be located according to the start address and length information of the common file segment provided by the file format description section, and read from Downloading a corresponding public file segment on the platform; and then positioning the data segment index table according to the file format description section, for example, the starting address and length of the data segment index table provided by the segment may be described according to the file format. Information is used to locate and download the corresponding data segment index table from the reading platform.
  • the client can also download the file description section containing the shared file section and the file description section of the data section index table section without downloading the file format description section.
  • the client can directly access the server. Obtaining a message including the corresponding information of the file description section, and then learning the information of each part in the file description section according to the message, and then downloading the common file section and the data section index including the shared class document from the reading platform.
  • the file description section of the table section is also download the file description section containing the shared file section and the file description section of the data section index table section without downloading the file format description section.
  • the client locates the data segment of each specified presentation set according to the data segment index table, for example, according to the starting address and length information of the data segment provided by the data segment index table, and downloads the corresponding information from the reading platform. Specifies the data section of the collection.
  • the client can parse the downloaded public file section and restore the shared class document that generates the Epub specification e-book, as shown in FIG.
  • FIG. A schematic diagram of the parsing of the common file section in the instance; parsing the downloaded data section of the specified presentation set, and restoring the specified presentation set of the Epub specification e-book, which is a chapter-type document in this example, as shown in FIG. 7 Schematic diagram of the parsing of the data segment.
  • the client restores and generates an electronic version of the book document that satisfies the reading requirement according to the parsed shared class document and the specified presentation set; and then presents the book content to the reader according to the generated electronic version of the book document to satisfy the reader's reading. demand.
  • FIG. 8 is a schematic diagram of signaling interaction of the e-book download and reading according to the second embodiment, where:
  • the client When the reader first reads a chapter of the e-book, the client first downloads the file description section of the e-book, and then uses the file description section to locate the data section of the specified presentation set, and from the reading platform (ie, the server) The data segment of the specified presentation set required for downloading. Since the data segments are relatively independent, the presentation of the data segment content does not depend on other data segments. If the reader needs to read the content of the segmented e-book, it is not necessary to download the entire book, and only need to download the Mth. The data section where the chapter is located, and then the content of the book is presented to the reader by the client.
  • the specific process is as follows: 0-1. The reader first requests the client to read the Mth chapter.
  • the client requests the server to download the file description section.
  • the server returns the file description section.
  • the client requests the server to download the data segment m,.
  • the server returns the data segment m, content.
  • the reader initiates a request to read the Nth chapter to the client.
  • the client requests the server to download the data segment n,.
  • the server returns the data segment n, the content.
  • the client presents the content of the Nth chapter to the reader.
  • each data segment is relatively small, and the download time is short, so that the reading experience can be greatly improved, and at the same time, it can be read while downloading. Further improving the reading experience; for the book publisher, only need to follow the corresponding e-book format specification to make the electronic version of the book document, which can be packaged and released by using the method described in the embodiment of the present invention, thereby realizing each The format specification downloads the segmentation of the e-book, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • Example 3 Example 3:
  • the embodiment 3 of the present invention further provides a server for publishing an e-book, as shown in FIG. 9 is a schematic structural diagram of a server provided in the third embodiment, where the server includes:
  • a book document dividing unit 91 configured to divide an electronic version of the book document into a file description section and a package A data segment including a specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document.
  • the specific division process is as described in the above method embodiment 1.
  • the book container file generating unit 92 is configured to package the file description section and the data section divided by the book document dividing unit 91 to generate a book container file.
  • the specific generation process is as described in the above embodiment.
  • the file issuing unit 93 is configured to publish the book container file generated by the book container file generating unit 92 on the e-book reading platform.
  • the specific release process is described in the above method embodiment 1. Formed into module 912, where:
  • the content division module 911 is configured to divide the electronic version of the book into a shared class document and a plurality of specified presentation sets according to the organizational structure and the document content; the specific division process is as described in Embodiment 1 of the above method.
  • the package generation module 912 is configured to package the shared class document divided by the content division module to generate a common file segment, and package the plurality of specified presentation presentation sets to generate a plurality of data segments respectively.
  • the common file section is included in a file description section. The process of specific package formation is described in the above method embodiment 1.
  • server described above may further include:
  • the electronic version of the book document making unit 94 is configured to produce a corresponding electronic version of the book document according to the book content and the e-book format specification.
  • the server described above may also include:
  • the encryption unit 95 is configured to encrypt one or more data segments divided by the book document dividing unit 91. By encrypting the data segment, the e-book can be billed by chapter, allowing the reader to try the free chapter first, and then paying for the download and reading of the chapter, thereby further enriching the publisher's charging mode, through the trial mode. To attract readers, it is more conducive to the promotion of e-book reading business.
  • the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • Example 4 A fourth embodiment of the present invention provides a client for downloading an e-book.
  • FIG. 10 is a schematic structural diagram of a client provided by Embodiment 4 of the present invention, where the client includes:
  • a file description section downloading unit 101 configured to download a file description section in a book container file on the e-book reading platform, where the file description section includes a common file section and a data section index of the shared class document table.
  • the process of specifically downloading is as described in Embodiment 2 of the above method.
  • the data section downloading unit 102 is configured to locate a data section of the specified presentation set according to the data section index table downloaded by the file description section download unit 101, and download a data section corresponding to the specified presentation set according to the reading requirement.
  • the process of specifically downloading is as described in Embodiment 2 of the above method.
  • the electronic version of the book document generating unit 103 is configured to generate an electronic version of the book document satisfying the reading requirement according to the shared presentation document in the downloaded common file section and the specified presentation set in the data section.
  • the specific generated process is described in the above method embodiment 2.
  • file description section download unit 101 may include:
  • the file format description section downloading module 1011 is configured to download a file format description section in the book container file on the e-book reading platform, where the file format description section is located at a starting position of the file description section.
  • the public file segment downloading module 1012 is configured to download a common file segment including the shared class document according to the starting location and length information of the common file segment provided by the downloaded file format description section.
  • the data segment index table downloading module 1013 is configured to download the data segment index table according to the starting location and length information of the data segment index table provided by the downloaded file format description section.
  • the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • FIG. 11 is a schematic structural diagram of a system according to Embodiment 5 of the present invention.
  • the system includes:
  • the server 111 is configured to divide the electronic version of the book document into a file description section and a data section including the specified presentation set, where the file description section includes a common file section and a data section index table of the shared class document. ; and package the divided file description section and data section to generate a book container file; and then publish the generated book container file on the e-book reading platform.
  • the process of the specific implementation of the server is as described in the above method embodiment 1.
  • the client 112 is configured to download a file description section in the book container file on the e-book reading platform, where the file description section includes a common file section and a data section index table of the shared class document;
  • the data segment index table locates a data segment that specifies a presentation set, and downloads a data segment corresponding to the specified presentation set according to a reading requirement; and then according to the shared class document and the data segment in the downloaded common file segment.
  • the presentation collection is specified to generate an electronic version of the book document that satisfies the reading requirements.
  • the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
  • each unit included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding functions can be implemented;
  • the specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of the present invention.

Abstract

A method for issuing an electronic book is disclosed. The method comprises: first, dividing an electronic book document into a file description section and data sections comprising designated exhibition sets, wherein, a public file section of share type documents and a index table of data sections are comprised in the document description section; then packaging the divided file description section and data sections to generate a book container file; and then issuing the generated book container file in an electronic book reading platform. A method for downloading the electronic book, devices and a system for issuing and downloading the electronic book are also disclosed. This technical solution implements issuance of a segmented electronic book, and segmented download of the electronic books having various format specifications in a client, thereby shortens waiting time for downloading the electronic book and improves reading experience.

Description

电子书发布和下载的方法、 设备及系统 本申请要求于 2009 年 12 月 11 日提交中国专利局、 申请号为 200910241788.4, 发明名称为"电子书发布和下载的方法、 设备及系统"的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method, device and system for publishing and downloading e-books This application claims to be submitted to the Chinese Patent Office on December 11, 2009, with the application number of 200910241788.4, and the Chinese patent entitled "Method, Equipment and System for Publishing and Downloading E-books" Priority of the application, the entire contents of which are incorporated herein by reference.
技术领域 Technical field
本发明涉及电子书领域, 尤其涉及一种电子书发布和下载的方法、 设备 及系统。  The present invention relates to the field of electronic books, and in particular, to a method, device and system for publishing and downloading electronic books.
背景技术 Background technique
目前, 在电子书的阅读过程中, 不同格式的电子书有不同的规范, 有些 规范下的电子书并不能支持分段下载的方式, 例如国际开放电子图书论坛所 推出的电子出版 ( Epub, Electronic publish )规范, 这种 Epub格式的电子书 (以下简称 Epub电子书) 由 MIME类型说明文件 (mimetype )、 元数据信息 目录( META-INF )和开放式电子图书出版结构目录( OEBPS )三部分组成, 整个 Epub电子书内容被压缩到一个 ZIP格式的文件中。  At present, in the process of reading e-books, e-books of different formats have different specifications. E-books under some specifications cannot support the method of segment downloading, such as electronic publishing (Epub, Electronic) launched by the International Open e-book forum. Publish ) The epub (Epub eBook) is composed of three parts: MIME type description file (mimetype), metadata information directory (META-INF), and open e-book publishing structure directory (OEBPS). The entire Epub e-book content is compressed into a ZIP file.
在基于 Epub规范的电子书阅读过程中: 出版商首先根据书籍内容制作相 应的电子版书籍文档, 包括 mimetpye文件、 META-INF目录文件和 OEBPS目 录文件等; 然后出版商再使用 Epub书籍发布工具将电子版书籍文档打包成 Epub包, 并发布在阅读平台上供读者下载阅读; 读者再使用电子阅读设备, 通过网络下载 Epub包, 并通过 Epub电子书解析工具解析 Epub包, 还原成电 子版书籍文档; 最后由电子阅读设备根据电子版书籍文档, 将书籍内容呈现 给读者。  In the Epub-based e-book reading process: The publisher first creates the corresponding electronic version of the book document based on the book content, including the mimetpye file, the META-INF directory file, and the OEBPS catalog file; then the publisher uses the Epub book publishing tool. The electronic version of the book document is packaged into Epub package and published on the reading platform for readers to download and read; the reader then uses the electronic reading device, downloads the Epub package through the network, and parses the Epub package through the Epub e-book parsing tool to restore the electronic version of the book document. Finally, the electronic reading device presents the contents of the book to the reader according to the electronic version of the book document.
从上述现有技术的方案可知,现有的电子阅读过程要求读者在阅读电子 书前, 必须下载整本电子书, 这样读者就需要等待很长时间才能完成整本电 子书的下载, 从而影响了读者的阅读体验, 同时也增加了服务器端的下载负 担。 发明内容 As can be seen from the above prior art solutions, the existing electronic reading process requires the reader to download the entire e-book before reading the e-book, so that the reader needs to wait for a long time to complete the download of the entire e-book, thereby affecting the The reader's reading experience also increases the download burden on the server side. Summary of the invention
本发明实施例提供了一种电子书发布和下载的方法、 设备及系统, 能够 在客户端实现各种格式规范电子书的分段下载,从而缩短电子书的下载等待 时间, 提高了阅读体验。  The embodiment of the invention provides a method, a device and a system for publishing and downloading an e-book, which can implement segment downloading of e-books in various formats on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
本发明实施例提供了一种电子书发布的方法, 所述方法包括: 将电子版书籍文档划分成文件描述区段和包含指定展现集合的数据区 段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区段 索引表;  An embodiment of the present invention provides a method for publishing an e-book, the method comprising: dividing an electronic version of a book document into a file description section and a data section including a specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document;
将划分出的文件描述区段和数据区段打包, 生成书籍容器文件; 将所生成的书籍容器文件发布在电子书阅读平台。  The divided file description section and data section are packaged to generate a book container file; the generated book container file is published on the e-book reading platform.
一种电子书下载的方法, 所述方法包括:  A method for downloading an e-book, the method comprising:
下载电子书阅读平台上的书籍容器文件的文件描述区段, 其中, 所述文 件描述区段中包括共享类文档的公共文件区段和数据区段索引表;  Downloading a file description section of the book container file on the e-book reading platform, wherein the file description section includes a common file section and a data section index table of the shared class document;
根据所述数据区段索引表定位指定展现集合的数据区段, 并根据阅读需 求下载相应指定展现集合的数据区段;  And locating a data segment of the specified presentation set according to the data segment index table, and downloading a data segment corresponding to the specified presentation set according to the reading requirement;
根据所下载的公共文件区段中的共享类文档和数据区段对应的指定展 现集合, 生成满足所述阅读需求的电子版书籍文档。  An electronic version of the book document that satisfies the reading requirement is generated based on the shared presentation document and the specified presentation set corresponding to the data section in the downloaded common file section.
一种发布电子书的服务器, 包括:  A server that publishes an e-book, including:
书籍文档划分单元, 用于将电子版书籍文档划分成文件描述区段和包含 指定展现集合的数据区段, 其中, 所述文件描述区段中包括共享类文档的公 共文件区段和数据区段索引表;  a book document dividing unit, configured to divide the electronic version of the book document into a file description section and a data section including the specified presentation set, wherein the file description section includes a common file section and a data section of the shared class document direction chart;
书籍容器文件生成单元, 用于将所述书籍文档划分单元所划分出的文件 描述区段和数据区段打包, 生成书籍容器文件;  a book container file generating unit, configured to package the file description section and the data section divided by the book document dividing unit to generate a book container file;
文件发布单元,用于将所述书籍容器文件生成单元所生成的书籍容器文 件发布在电子书阅读平台。  And a file publishing unit, configured to publish the book container file generated by the book container file generating unit on the e-book reading platform.
一种下载电子书的客户端, 包括: 文件描述区段下载单元, 用于下载电子书阅读平台上的书籍容器文件中 的文件描述区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区 段和数据区段索引表; A client for downloading an e-book, including: a file description section downloading unit, configured to download a file description section in the book container file on the e-book reading platform, wherein the file description section includes a common file section and a data section index table of the shared class document ;
数据区段下载单元, 用于根据所述文件描述区段下载单元所下载的数据 区段索引表定位指定展现集合的数据区段, 并根据阅读需求下载相应指定展 现集合的数据区段;  a data segment downloading unit, configured to locate a data segment of the specified presentation set according to the data segment index table downloaded by the file description segment download unit, and download a data segment corresponding to the specified presentation set according to the reading requirement;
电子版书籍文档生成单元, 用于根据所下载的公共文件区段中的共享类 文档和数据区段中的指定展现集合, 生成满足所述阅读需求的电子版书籍文 档。  The electronic version of the book document generating unit is configured to generate an electronic version of the book document that satisfies the reading requirement according to the shared presentation document and the specified presentation set in the data section in the downloaded common file section.
一种实现电子书发布和下载的系统, 所述系统包括:  A system for implementing e-book publishing and downloading, the system comprising:
服务器, 用于将电子版书籍文档划分成文件描述区段和包含指定展现集 合的数据区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段 和数据区段索引表; 并将划分出的文件描述区段和数据区段打包, 生成书籍 容器文件; 再将所生成的书籍容器文件发布在电子书阅读平台;  a server, configured to divide an electronic version of the book document into a file description section and a data section including the specified presentation set, where the file description section includes a common file section and a data section index table of the shared class document; And packaging the divided file description section and the data section to generate a book container file; and then publishing the generated book container file on the e-book reading platform;
客户端, 用于下载电子书阅读平台上的书籍容器文件中的文件描述区 段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区段 索引表; 再根据所述数据区段索引表定位指定展现集合的数据区段, 并根据 阅读需求下载相应指定展现集合的数据区段; 再根据所下载的公共文件区段 中的共享类文档和数据区段中的指定展现集合, 生成满足所述阅读需求的电 子版书籍文档。  a client, configured to download a file description section in a book container file on the e-book reading platform, where the file description section includes a common file section and a data section index table of the shared class document; The data segment index table locates the data segment of the specified presentation set, and downloads the data segment corresponding to the specified presentation set according to the reading requirement; and then according to the shared class document and the data segment specified in the downloaded common file segment The collection is presented, and an electronic version of the book document that satisfies the reading requirements is generated.
由上述所提供的技术方案可以看出, 所述电子书发布的方法具体包括: 首先将电子版书籍文档划分成文件描述区段和包含指定展现集合的数据区 段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区段 索引表;然后将划分出的文件描述区段和数据区段打包,生成书籍容器文件; 再将所生成的书籍容器文件发布在电子书阅读平台。通过上述的操作就可以 在客户端实现各种格式规范电子书的分段下载,从而缩短电子书的下载等待 时间, 提高了阅读体验。 附图说明  As can be seen from the technical solution provided above, the method for publishing an e-book specifically includes: first dividing an electronic version of a book document into a file description section and a data section including a specified presentation set, wherein the file description area The segment includes a common file section and a data section index table of the shared class document; then the divided file description section and the data section are packaged to generate a book container file; and the generated book container file is posted in the e-book Read the platform. Through the above operations, the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will be true. The drawings used in the examples or the description of the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and are not creative to those skilled in the art. Other drawings can also be obtained from these drawings on the premise of labor.
图 1为本发明实施例 1所提供的电子书发布方法的流程示意图; 图 2为本发明实施例 1所提供实例中共享类文档打包的示意图; 图 3为本发明实施例 1所提供实例中章节类文档打包的示意图; 图 4为本发明实施例 1所提供实例中书籍容器文件打包的示意图; 图 5为本发明实施例 2所提供的电子书下载方法的流程示意图; 图 6为本发明实施例 2所提供实例中公共文件区段的解析示意图; 图 7为本发明实施例 2所提供实例中数据区段解析的示意图; 图 8为本发明实施例 2所举出的电子书下载阅读的信令交互示意图; 图 9为本发明实施例 3所提供服务器的结构示意图;  1 is a schematic flowchart of a method for publishing an e-book according to Embodiment 1 of the present invention; FIG. 2 is a schematic diagram of packet packing of a shared class according to an example provided in Embodiment 1 of the present invention; FIG. 3 is an example provided in Embodiment 1 of the present invention; FIG. 4 is a schematic diagram of a book container file package according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a method for downloading an e-book according to Embodiment 2 of the present invention; FIG. 7 is a schematic diagram of data segment parsing in an example provided by Embodiment 2 of the present invention; FIG. 8 is a schematic diagram of e-book downloading according to Embodiment 2 of the present invention; FIG. 9 is a schematic structural diagram of a server provided in Embodiment 3 of the present invention;
图 10为本发明实施例 4所提供客户端的结构示意图;  10 is a schematic structural diagram of a client provided by Embodiment 4 of the present invention;
图 11为本发明实施例 5所提供系统的结构示意图。 具体实施方式  FIG. 11 is a schematic structural diagram of a system according to Embodiment 5 of the present invention. detailed description
本发明实施例提供了一种电子书发布和下载的方法、 设备及系统。 在服 务器端, 首先将电子版书籍文档划分成文件描述区段和包含指定展现集合的 数据区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数 据区段索引表; 然后将划分出的文件描述区段和数据区段打包, 生成书籍容 器文件; 再将所生成的书籍容器文件发布在电子书阅读平台。  Embodiments of the present invention provide a method, device, and system for publishing and downloading an e-book. On the server side, the electronic version of the book document is first divided into a file description section and a data section containing the specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document. Then, the divided file description section and data section are packaged to generate a book container file; and the generated book container file is published on the e-book reading platform.
在客户端, 当需要阅读相应的电子书时, 首先下载电子书阅读平台上的 书籍容器文件中的文件描述区段, 其中, 所述文件描述区段中包括共享类文 档的公共文件区段和数据区段索引表; 然后根据所述数据区段索引表定位指 定展现集合的各个数据区段, 并根据阅读需求下载相应指定展现集合的数据 区段; 再根据所下载的公共文件区段中的共享类文档和数据区段中的指定展 现集合, 生成满足所述阅读需求的电子版书籍文档。  On the client side, when the corresponding e-book needs to be read, the file description section in the book container file on the e-book reading platform is first downloaded, wherein the file description section includes a common file section of the shared-type document and a data segment index table; then positioning each data segment of the specified presentation set according to the data segment index table, and downloading a data segment corresponding to the specified presentation set according to the reading requirement; and then according to the downloaded common file segment A set of presentations in a shared class document and data section is generated to generate an electronic version of the book document that satisfies the reading requirements.
通过上述技术方案的实施, 就可以在客户端实现各种格式规范电子书的 分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
为更好的描述本发明实施例,现结合附图对本发明的具体实施例进行说 明, 实施例 1 : In order to better describe the embodiments of the present invention, the specific embodiments of the present invention will be described with reference to the accompanying drawings. Ming, Example 1:
如图 1所示为本发明实施例 1所提供电子书发布的方法流程示意图, 所述 方法包括:  FIG. 1 is a schematic flowchart of a method for publishing an e-book according to Embodiment 1 of the present invention, where the method includes:
步骤 11 : 将电子版书籍文档划分成文件描述区段和包含指定展现集合的 数据区段。  Step 11: Divide the electronic version of the book document into a file description section and a data section containing the specified presentation collection.
在该步骤 11中, 服务器将指定的电子版书籍文档先划分成文件描述区段 和包含指定展现集合的数据区段; 这里, 该文件描述区段中包括有共享类文 档的公共文件区段和数据区段索引表; 其中, 指定展现集合的数据区段可以 根据需要划分为一个或多个。  In the step 11, the server first divides the specified electronic version of the book document into a file description section and a data section containing the specified presentation set; where the file description section includes a common file section of the shared class document and A data segment index table; wherein the data segments specifying the presentation set may be divided into one or more as needed.
在具体实现过程中,服务器可以先根据电子版书籍的组织结构和文档内 容, 将其划分成共享类文档和多个指定展现集合, 这里所述的共享类文档可 以是上述电子版书籍文档必选的文档, 例如按照 Epub规范的电子书, 必选 的文档就是 mimetype、 container. xml 和 content. o f 等部分; 或是相关的书 籍信息, 例如数字版权文件、 封面文件和封面图片等; 或是书籍每一章节的 共享文件等。  In the specific implementation process, the server may first divide the electronic version of the book into a shared class document and a plurality of specified presentation sets according to the organizational structure and document content of the electronic book. The shared class document described herein may be the above-mentioned electronic version of the book document required. Documents, such as e-books according to the Epub specification, the required documents are mimetype, container.xml and content. of; or related book information, such as digital copyright files, cover files and cover images; or books Shared files for each chapter, etc.
而所述指定展现集合具体可以是所述电子版书籍文档的最小展现元素, 例如如果该电子版书籍文档的最小展现元素是按章节进行划分的, 那么该指 定展现集合就可以是章节的描述文件和章节所独享的文件所组成的,例如章 节内的图片或音频等资源文件等; 或者, 该指定展现集合也可以是将电子版 书籍文档的最小展现元素进行组合后所形成的,例如将若干个章节的内容组 合在一起形成一个指定展现集合。  The specified presentation set may specifically be the smallest presentation element of the electronic version of the book document. For example, if the minimum presentation element of the electronic version of the document document is divided by chapter, the specified presentation collection may be a description file of the chapter. And a file composed of a chapter, such as a resource file such as a picture or an audio in a chapter; or the designated presentation set may be formed by combining the minimum presentation elements of the electronic version of the document document, for example, The contents of several chapters are combined to form a specified presentation set.
在经过上述的划分之后,服务器就可以将该共享类文档打包生成公共文 件区段, 并将该多个指定展现集合分别打包生成多个数据区段; 其中, 上述 的公共文件区段包含在文件描述区段中。  After the above division, the server may package the shared class document to generate a common file segment, and package the plurality of specified presentation sets separately to generate a plurality of data segments; wherein the public file segment is included in the file. In the description section.
以上所述文件描述区段中的数据区段索引表可以用于定位各个数据区 段, 在具体实现过程中, 有多种方式可以实现定位, 例如可以包括各个数据 区段的起始位置和长度信息, 通过起始位置和长度信息来实现定位; 也可以 包含各个数据区段所定义的序号和位置信息, 通过所定义的序号和位置信息 来实现定位。 另外, 在具体实现过程中, 还可以在所述文件描述区段中包括文件格式 描述区段, 该文件格式描述区段长度固定, 用于定位公共文件区段和数据区 段索引表, 在具体实现过程中, 有多种方式可以实现定位, 例如可以包括公 共文件区段的起始位置和长度信息, 以及数据区段索引表的起始位置和长度 信息, 通过起始位置和长度信息来实现定位; 也可以包含公共文件区段所定 义的序号和位置信息, 以及数据区段索引表所定义的序号和位置信息, 通过 所定义的序号和位置信息来实现定位。 由于上述文件格式描述区段的长度可 以是固定不变的, 故客户端可以直接下载, 然后通过该文件格式描述区段来 定位其他的区段。 The data segment index table in the file description section may be used to locate each data segment. In a specific implementation process, there are multiple ways to implement positioning, for example, the start position and length of each data segment may be included. The information is realized by the starting position and the length information; the sequence number and the position information defined by the respective data segments may also be included, and the positioning is realized by the defined serial number and position information. In addition, in a specific implementation process, a file format description section may be further included in the file description section, where the file format description section length is fixed, and is used to locate a common file section and a data section index table, In the implementation process, there are multiple ways to achieve positioning, for example, it can include the starting position and length information of the common file segment, and the starting position and length information of the data segment index table, which is realized by the starting position and length information. Positioning; may also include the sequence number and location information defined by the common file section, and the sequence number and location information defined by the data section index table, and the positioning is implemented by the defined sequence number and location information. Since the length of the above file format description section can be fixed, the client can directly download and then use the file format description section to locate other sections.
另外, 在具体实现过程中, 在执行步骤 11之前, 还可以由书籍出版商通 过服务器根据书籍内容和依据的电子书格式规范, 来制作相应的电子版书籍 文档。 这里电子书格式规范可以是电子出版 Epub规范, 也可以是支持最小 展现集合的文本格式规范或 PDF格式规范等。  In addition, in the specific implementation process, before executing step 11, the corresponding electronic version of the book document may be produced by the book publisher through the server according to the book content and the e-book format specification according to the book. The e-book format specification here may be an electronic publishing Epub specification, or a text format specification or a PDF format specification that supports a minimum presentation set.
步骤 12:将划分出的文件描述区段和数据区段打包,生成书籍容器文件。 在该步骤 12中,服务器将所划分出来的文件描述区段和数据区段打包在 一起, 生成书籍容器文件。  Step 12: Package the divided file description section and data section to generate a book container file. In this step 12, the server packages the divided file description sections and data sections together to generate a book container file.
步骤 13: 将所生成的书籍容器文件发布在电子书阅读平台。  Step 13: Publish the generated book container file on the e-book reading platform.
在该步骤 13中, 在生成书籍容器文件之后, 该服务器就可以将所生成的 书籍容器文件发布在电子书阅读平台, 供读者通过客户端来下载阅读。  In this step 13, after the book container file is generated, the server can publish the generated book container file on the e-book reading platform for the reader to download and read through the client.
通过上述技术方案的实施, 就可以实现分段式电子书的发布, 并在客户 端实现各种格式规范电子书的分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
另外, 在以上实施例 1中, 若所述电子版书籍文档新增加书籍内容, 则 直接增加与所述新增书籍内容相对应的数据区段。 这样对于连载类书籍来 说, 当新增章节时, 只需要新增相应的数据区段就可以了, 而读者也只需要 通过客户端下载相应新增加的数据区段就可以了, 而不需要下载旧有的章 节, 从而节省了时间和流量。  Further, in the above embodiment 1, if the electronic version of the book document newly adds the book content, the data segment corresponding to the newly added book content is directly added. In this way, for a serialized book, when a new chapter is added, only the corresponding data section needs to be added, and the reader only needs to download the corresponding newly added data section through the client, instead of Download old chapters to save time and traffic.
另外, 在以上实施例 1中, 还可以对所划分出的一个或多个数据区段进 行加密。 通过对数据区段的加密, 就可以实现电子书按章节计费, 允许读者 先试读免费的章节, 然后再付款下载阅读收费的章节, 从而进一步丰富了出 版商的收费模式, 通过试读模式来吸引读者, 更加有利于电子书阅读业务的 推广。 In addition, in the above Embodiment 1, it is also possible to encrypt the divided one or more data sectors. By encrypting the data segment, the e-book can be billed by chapter, allowing the reader to Try the free chapters first, then pay for the chapters that read the fees, which further enriches the publisher's charging model, and attracts readers through the trial-reading mode, which is more conducive to the promotion of e-book reading business.
下面以兼容 Epub规范电子书的发布过程为例进行详细说明,在发布 Epub 规范电子书之前, 首先根据书籍内容制作相应的电子版书籍文档, 具体包括 mimetpye文件、 META-INF目录文件和 OEBPS目录文件; 然后再将该电子版 书籍文档打包成书籍容器文件, 将其发布在阅读平台上供读者下载阅读, 具 体过程如下:  The following is a detailed description of the Epub-compliant e-book publishing process. Before publishing the Epub specification e-book, first make the corresponding electronic version of the book document based on the book content, including the mimetpye file, the META-INF directory file, and the OEBPS directory file. Then, the electronic version of the book document is packaged into a book container file, which is published on the reading platform for the reader to download and read. The specific process is as follows:
首先将兼容 Epub规范的电子版书籍文档按照内容划分成共享类文档和 多个指定展现集合, 在本实例中, 指定展现集合是按照章节进行划分的, 具 体来说:  First, the Epub-compliant electronic version of the book document is divided into a shared class document and a plurality of specified presentation sets according to the content. In this example, the specified presentation set is divided according to chapters, specifically:
共享类文档包括:  Shared class documentation includes:
A、 Epub的必选文档 (例如 mimetype、 META-INF中的 container, xml、 OEBPS目录中的 content.opf和 toc.ncx等);  A, Epub's required documents (such as mimetype, container in META-INF, xml, content.opf and toc.ncx in OEBPS directory, etc.);
B、 书籍信息文档 (例如数字版权文件、 封面文件、 封面图片等) c、 章节共享文件 (例如 CSS文件)  B, book information documents (such as digital copyright files, cover files, cover pictures, etc.) c, chapter shared files (such as CSS files)
而指定展现集合, 即章节类文档包括:  The specified presentation set, that is, the chapter class document includes:
A、 章节描述文件  A, chapter description file
B、 章节独享文件 (例如章节内图片、 音频等资源文件)  B, chapter exclusive files (such as chapters, pictures, audio and other resource files)
然后服务器再将所有的共享类文档打包, 生成公共文件区段, 如图 2所 示为本实例中共享类文档打包的示意图; 再将各个章节类文档分别打包, 生 成多个数据区段, 如图 3所示为本实例中章节类文档打包的示意图。 该多个 数据区段存放指定章节的所有内容, 且各个章节内容是相互独立的, 分别存 放在独立的数据区段中。  Then the server packs all the shared class documents to generate a common file segment. As shown in FIG. 2, the shared class document is packaged in the example. Then, each chapter class document is separately packaged to generate multiple data segments, such as FIG. 3 is a schematic diagram showing the packaging of chapter class documents in the present example. The plurality of data segments store all the contents of the specified chapter, and the contents of the chapters are independent of each other and are stored in separate data sections.
另外, 在本实例中, 服务器还可以根据公共文件区段的大小和数据区段 的大小, 生成文件格式描述区段和数据区段索引表。 该文件格式描述区段的 长度固定不变, 用于定位公共文件区段和数据区段索引表, 在本实例中, 该 文件格式描述区段中包含公共文件区段的起始位置和长度信息、 以及数据区 段索引表的起始位置和长度信息, 通过起始位置和长度信息来实现定位。 然后服务器再将文件格式描述区段、 公共文件区段、 数据区段索引表和 多个数据区段打包在一起, 生成书籍容器文件, 如图 4所示为本实例中书籍 容器文件打包的示意图, 所述的文件格式描述区段、 公共文件区段和数据区 段索引表可以统称为文件描述区段。 然后服务器再将所生成的书籍容器文件 发布在阅读平台上, 供读者通过客户端来下载阅读。 In addition, in this example, the server may also generate a file format description section and a data section index table according to the size of the common file section and the size of the data section. The file format description section has a fixed length for locating the common file section and the data section index table. In this example, the file format description section includes the start position and length information of the common file section. And the start position and length information of the data segment index table, and the positioning is implemented by the start position and length information. The server then packages the file format description section, the common file section, the data section index table, and the plurality of data sections together to generate a book container file, as shown in FIG. 4, which is a schematic diagram of the package of the book container file in the present example. The file format description section, the common file section, and the data section index table may be collectively referred to as a file description section. The server then publishes the generated book container file on the reading platform for the reader to download and read through the client.
值得注意的是, 除上述例子所提到的兼容 Epub规范的电子书外, 其他格 分段下载, 例如可以支持划分成最小展现集合的文本格式的电子书或 PDF格 式的电子书等。 这样通过支持通用格式规范 (例如 Epub规范), 就可以进一 步增强电子阅读设备或软件的通用性。 实施例 2:  It is worth noting that, in addition to the e-books compatible with the Epub specification mentioned in the above examples, other segments are downloaded, for example, an e-book or a PDF-formatted e-book that can be divided into a text format of a minimum presentation set. This further enhances the versatility of eReader or software by supporting common format specifications such as the Epub specification. Example 2:
本实施例 2还提供了一种下载电子书的方法, 如图 5所示为本实施例 2所 提供方法的流程示意图, 所述方法包括:  The second embodiment further provides a method for downloading an e-book. As shown in FIG. 5, a schematic flowchart of the method provided in the second embodiment is provided. The method includes:
步骤 51 : 下载电子书阅读平台上的书籍容器文件中的文件描述区段。 在该步骤 51中, 首先读者通过客户端下载电子书阅读平台上的书籍容器 文件中的文件描述区段; 这里, 该文件描述区段中包括共享类文档的公共文 件区段和数据区段索引表部分。  Step 51: Download the file description section in the book container file on the e-book reading platform. In this step 51, the reader first downloads a file description section in the book container file on the e-book reading platform through the client; here, the file description section includes a common file section and a data section index of the shared class document. Table section.
在具体实现过程中, 可以采用如下的下载过程: 首先客户端下载电子书 阅读平台上的书籍容器文件中的文件描述区段, 所述文件描述区段中包含文 件格式描述区段, 该文件格式描述区段可以用于定位公共文件区段和数据区 段索引表, 在具体实现过程中, 有多种方式可以实现定位, 例如可以包括公 共文件区段的起始位置和长度信息, 以及数据区段索引表的起始位置和长度 信息, 通过起始位置和长度信息来实现定位; 也可以包含公共文件区段所定 义的序号和位置信息, 以及数据区段索引表所定义的序号和位置信息, 通过 所定义的序号和位置信息来实现定位, 在本实施例中, 文件格式描述区段是 通过起始位置和长度信息来实现定位。  In the specific implementation process, the following download process may be adopted: First, the client downloads a file description section in the book container file on the e-book reading platform, and the file description section includes a file format description section, and the file format The description section can be used to locate the common file section and the data section index table. In a specific implementation process, there are multiple ways to achieve positioning, for example, the location and length information of the common file section can be included, and the data area. The starting position and length information of the segment index table is realized by the starting position and length information; the sequence number and position information defined by the common file segment, and the sequence number and position information defined by the data segment index table may also be included. The positioning is implemented by the defined sequence number and position information. In this embodiment, the file format description section is implemented by starting position and length information.
然后客户端再根据所述文件格式描述区段提供的公共文件区段的起始 位置和长度信息, 下载包括共享类文档的公共文件区段, 并根据所述文件格 式描述区段提供的数据区段索引表的起始位置和长度信息, 下载所述数据区 段索引表。 Then, the client further downloads a common file section including the shared class document according to the start position and length information of the common file section provided by the section according to the file format, and according to the file grid The start position and length information of the data segment index table provided by the section is described, and the data section index table is downloaded.
值得注意的是,在该步骤 51中,客户端也可以不下载文件格式描述区段, 而直接下载包含共享类文档的公共文件区段和数据区段索引表部分的文件 描述区段, 例如, 客户端可以直接从服务器获知包含文件描述区段相应信息 的消息, 然后根据所述消息来获知该文件描述区段内各部分的信息, 再从服 务器上下载该包含共享类文档的公共文件区段和数据区段索引表部分的文 件描述区段。  It should be noted that, in this step 51, the client may also download the file description section including the common file section of the shared class document and the data section index table part without downloading the file format description section, for example, The client can directly learn the message including the corresponding information of the file description section from the server, and then learn the information of each part in the file description section according to the message, and then download the public file section containing the shared class document from the server. And the file description section of the data section index table section.
步骤 52: 根据数据区段索引表定位指定展现集合的数据区段, 并根据阅 读需求下载相应指定展现集合的数据区段。  Step 52: Locating the data segment of the specified presentation set according to the data segment index table, and downloading the data segment corresponding to the specified presentation set according to the reading requirement.
在该步骤 52中,客户端再根据数据区段索引表来定位指定展现集合的数 据区段, 然后再根据读者的阅读需求下载相应指定展现集合的数据区段。  In this step 52, the client then locates the data segment of the specified presentation set according to the data segment index table, and then downloads the data segment corresponding to the specified presentation set according to the reading requirement of the reader.
步骤 53 : 根据所下载的公共文件区段中的共享类文档和数据区段中的指 定展现集合, 生成满足所述阅读需求的电子版书籍文档。  Step 53: Generate an electronic version of the book document that satisfies the reading requirement according to the shared presentation document in the downloaded common file section and the specified presentation set in the data section.
在该步骤 53中, 在客户端下载了相应指定展现集合的数据区段之后, 客 户端就可以根据步骤 51所下载的公共文件区段中的共享类文档和该指定展 现集合的数据区段, 还原生成满足所述阅读需求的电子版书籍文档; 然后客 户端就可以根据该电子版书籍文档, 将书籍内容呈现给读者。  In this step 53, after the client downloads the data segment corresponding to the specified presentation set, the client may follow the shared class document in the public file segment downloaded in step 51 and the data segment of the specified presentation set. The electronic version of the book document that satisfies the reading requirement is restored; and then the client can present the book content to the reader according to the electronic version of the book document.
通过上述技术方案的实施, 就可以在客户端实现各种格式规范电子书的 分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
下面以兼容 Epub规范电子书的分段下载过程为例进行详细说明,首先客 户端根据读者的阅读请求下载阅读平台上书籍容器文件中的文件描述区段, 这里文件描述区段中包括共享类文档的公共文件区段和数据区段索引表部 分; 然后根据该文件描述区段定位数据区段, 并下载相应指定展现集合的数 据区段; 再将公共文件区段中的共享类文档和指定展现集合的数据区段还原 生成兼容 Epub规范的电子版书籍文档;客户端再根据该生成的电子版书籍文 档, 将书籍内容呈现给读者。  The following is a detailed description of the segment download process compatible with the Epub specification e-book. First, the client downloads the file description section in the book container file on the reading platform according to the reader's reading request, where the file description section includes the shared class document. a common file section and a data section index table section; then, according to the file description section, the data section is downloaded, and the data section corresponding to the specified presentation set is downloaded; and the shared class document and the specified presentation in the common file section are displayed. The data segment of the collection is restored to generate an electronic version of the book document compatible with the Epub specification; the client then presents the book content to the reader according to the generated electronic version of the book document.
在本实例中, 客户端还可以先下载文件格式描述区段, 通过该文件格式 描述区段来完成后继的下载, 具体来说: 客户端可以先下载文件格式描述区 段, 然后根据该文件格式描述区段来定位公共文件区段, 例如可以根据该文 件格式描述区段所提供的公共文件区段的起始地址和长度信息来定位公共 文件区段, 并从阅读平台上下载相应的公共文件区段; 然后再根据该文件格 式描述区段来定位数据区段索引表, 例如可以根据该文件格式描述区段所提 供的数据区段索引表的起始地址和长度信息来定位, 并从阅读平台上下载相 应的数据区段索引表。 In this example, the client may also first download the file format description section, and complete the subsequent download by using the file format description section. Specifically, the client may first download the file format description area. a segment, and then locating the common file segment according to the file format description section, for example, the common file segment can be located according to the start address and length information of the common file segment provided by the file format description section, and read from Downloading a corresponding public file segment on the platform; and then positioning the data segment index table according to the file format description section, for example, the starting address and length of the data segment index table provided by the segment may be described according to the file format. Information is used to locate and download the corresponding data segment index table from the reading platform.
值得注意的是, 客户端也可以不下载文件格式描述区段, 而直接下载包 含共享类文档的公共文件区段和数据区段索引表部分的文件描述区段, 例 如, 客户端可以直接从服务器获知包含文件描述区段相应信息的消息, 然后 根据所述消息来获知该文件描述区段内各部分的信息,再从阅读平台上下载 该包含共享类文档的公共文件区段和数据区段索引表部分的文件描述区段。  It is worth noting that the client can also download the file description section containing the shared file section and the file description section of the data section index table section without downloading the file format description section. For example, the client can directly access the server. Obtaining a message including the corresponding information of the file description section, and then learning the information of each part in the file description section according to the message, and then downloading the common file section and the data section index including the shared class document from the reading platform. The file description section of the table section.
客户端再根据数据区段索引表来定位各个指定展现集合的数据区段, 例 如可以根据数据区段索引表所提供的数据区段的起始地址和长度信息来定 位, 从阅读平台上下载相应的指定展现集合的数据区段。  The client then locates the data segment of each specified presentation set according to the data segment index table, for example, according to the starting address and length information of the data segment provided by the data segment index table, and downloads the corresponding information from the reading platform. Specifies the data section of the collection.
在下载了公共文件区段和相应的指定展现集合的数据区段之后,客户端 就可以解析该下载的公共文件区段, 还原生成 Epub规范电子书的共享类文 档, 如图 6所示为本实例中公共文件区段的解析示意图; 再解析下载的指定 展现集合的数据区段, 还原生成 Epub规范电子书的指定展现集合, 在本实例 中为章节类文档, 如图 7所示为本实例中数据区段解析的示意图。  After downloading the public file section and the corresponding data section of the specified presentation set, the client can parse the downloaded public file section and restore the shared class document that generates the Epub specification e-book, as shown in FIG. A schematic diagram of the parsing of the common file section in the instance; parsing the downloaded data section of the specified presentation set, and restoring the specified presentation set of the Epub specification e-book, which is a chapter-type document in this example, as shown in FIG. 7 Schematic diagram of the parsing of the data segment.
然后客户端再根据解析出的共享类文档和指定展现集合来还原生成满 足所述阅读需求的电子版书籍文档; 再根据该生成的电子版书籍文档, 将书 籍内容呈现给读者, 满足读者的阅读需求。  Then, the client restores and generates an electronic version of the book document that satisfies the reading requirement according to the parsed shared class document and the specified presentation set; and then presents the book content to the reader according to the generated electronic version of the book document to satisfy the reader's reading. demand.
值得注意的是, 除上述例子所提到的兼容 Epub规范的电子书外, 其他格 持最小展现集合的文本格式的电子书或 PDF格式的电子书等。 这样通过支持 通用格式规范 (例如 Epub规范), 就可以进一步增强电子阅读设备或软件的 通用性。  It is worth noting that, in addition to the e-books compatible with the Epub specification mentioned in the above examples, other e-books or e-books in a PDF format that express the minimum text format of the collection. This further enhances the versatility of eReader or software by supporting common format specifications such as the Epub specification.
以具体的应用举例来说,如图 8所示为本实施例 2所举出的电子书下载阅 读的信令交互示意图, 图中: 当读者第一次阅读电子书的某章节时,客户端首先下载该电子书的文件 描述区段, 再通过该文件描述区段来定位指定展现集合的数据区段, 并从阅 读平台 (即服务器)上下载所需要的指定展现集合的数据区段。 由于数据区 段之间相对独立, 数据区段内容的呈现不依赖于其他数据区段, 若读者需要 阅读分段式电子书第 M章节内容, 则不需要下载整本书, 只需要下载第 M章 节所在的数据区段, 然后由客户端将书籍内容呈现给读者, 具体的流程为: 0-1、 读者首次向客户端发起阅读第 M章节请求。 For a specific application example, as shown in FIG. 8 is a schematic diagram of signaling interaction of the e-book download and reading according to the second embodiment, where: When the reader first reads a chapter of the e-book, the client first downloads the file description section of the e-book, and then uses the file description section to locate the data section of the specified presentation set, and from the reading platform (ie, the server) The data segment of the specified presentation set required for downloading. Since the data segments are relatively independent, the presentation of the data segment content does not depend on other data segments. If the reader needs to read the content of the segmented e-book, it is not necessary to download the entire book, and only need to download the Mth. The data section where the chapter is located, and then the content of the book is presented to the reader by the client. The specific process is as follows: 0-1. The reader first requests the client to read the Mth chapter.
0-2、 客户端向服务器请求下载文件描述区段。  0-2. The client requests the server to download the file description section.
0-3、 服务器返回文件描述区段。  0-3, the server returns the file description section.
0-4、 客户端向服务器请求下载数据区段 m,。  0-4. The client requests the server to download the data segment m,.
0-5、 服务器返回数据区段 m,内容。  0-5, the server returns the data segment m, content.
0- 6、 客户端向读者呈现第 M章节内容。  0- 6. The client presents the contents of the Mth chapter to the reader.
当读者继续阅读后续章节时, 就不再需要下载文件描述区段了, 具体流 程为:  As the reader continues to read the subsequent chapters, there is no longer a need to download the file description section. The specific process is:
1-1、 读者向客户端发起阅读第 N章节请求。  1-1. The reader initiates a request to read the Nth chapter to the client.
1- 2、 客户端向服务器请求下载数据区段 n,。  1- 2, the client requests the server to download the data segment n,.
1-3、 服务器返回数据区段 n,内容。  1-3. The server returns the data segment n, the content.
1-4、 客户端向读者呈现第 N章节内容。  1-4. The client presents the content of the Nth chapter to the reader.
从上述应用实例中可以看出, 对于读者来说, 与整本电子书相比, 各个 数据区段相对较小, 下载时间短, 从而可以大幅度改进阅读体验, 同时还可 以边下载边阅读, 进一步提升阅读体验; 而对于书籍出版商来说, 只需要按 照相应的电子书格式规范来制作电子版书籍文档, 就可以使用本发明实施例 所述的方法来对其进行打包发布, 从而实现各种格式规范电子书的分段下 载, 从而缩短电子书的下载等待时间, 提高了阅读体验。 实施例 3:  As can be seen from the above application examples, for the reader, compared with the entire e-book, each data segment is relatively small, and the download time is short, so that the reading experience can be greatly improved, and at the same time, it can be read while downloading. Further improving the reading experience; for the book publisher, only need to follow the corresponding e-book format specification to make the electronic version of the book document, which can be packaged and released by using the method described in the embodiment of the present invention, thereby realizing each The format specification downloads the segmentation of the e-book, thereby shortening the download waiting time of the e-book and improving the reading experience. Example 3:
本发明实施例 3还提供了一种发布电子书的服务器,如图 9所示为本实施 例 3所提供服务器的结构示意图, 所述服务器包括:  The embodiment 3 of the present invention further provides a server for publishing an e-book, as shown in FIG. 9 is a schematic structural diagram of a server provided in the third embodiment, where the server includes:
书籍文档划分单元 91,用于将电子版书籍文档划分成文件描述区段和包 含指定展现集合的数据区段, 其中, 所述文件描述区段中包括共享类文档的 公共文件区段和数据区段索引表。具体划分过程见以上方法实施例 1中所述。 a book document dividing unit 91, configured to divide an electronic version of the book document into a file description section and a package A data segment including a specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document. The specific division process is as described in the above method embodiment 1.
书籍容器文件生成单元 92, 用于将所述书籍文档划分单元 91所划分出的 文件描述区段和数据区段打包, 生成书籍容器文件。 具体生成过程见以上方 法实施例 1中所述。  The book container file generating unit 92 is configured to package the file description section and the data section divided by the book document dividing unit 91 to generate a book container file. The specific generation process is as described in the above embodiment.
文件发布单元 93,用于将所述书籍容器文件生成单元 92所生成的书籍容 器文件发布在电子书阅读平台。 具体发布过程见以上方法实施例 1中所述。 成模块 912, 其中:  The file issuing unit 93 is configured to publish the book container file generated by the book container file generating unit 92 on the e-book reading platform. The specific release process is described in the above method embodiment 1. Formed into module 912, where:
所述内容划分模块 911用于根据电子版书籍的组织结构和文档内容, 将 其划分成共享类文档和多个指定展现集合; 具体划分过程见以上方法实施例 1中所述。  The content division module 911 is configured to divide the electronic version of the book into a shared class document and a plurality of specified presentation sets according to the organizational structure and the document content; the specific division process is as described in Embodiment 1 of the above method.
所述打包生成模块 912用于将所述内容划分模块所划分出的共享类文档 打包生成公共文件区段, 并将所划分出的多个指定展现集合分别打包生成多 个数据区段; 其中, 所述公共文件区段包含在文件描述区段中。 具体打包生 成的过程见以上方法实施例 1中所述。  The package generation module 912 is configured to package the shared class document divided by the content division module to generate a common file segment, and package the plurality of specified presentation presentation sets to generate a plurality of data segments respectively. The common file section is included in a file description section. The process of specific package formation is described in the above method embodiment 1.
另外, 以上所述服务器中还可包括:  In addition, the server described above may further include:
电子版书籍文档制作单元 94, 用于根据书籍内容和依据的电子书格式规 范, 制作相应的电子版书籍文档。  The electronic version of the book document making unit 94 is configured to produce a corresponding electronic version of the book document according to the book content and the e-book format specification.
以上所述服务器中还可包括:  The server described above may also include:
加密单元 95, 用于对所述书籍文档划分单元 91所划分出的一个或多个数 据区段进行加密。 通过对数据区段的加密, 就可以实现电子书按章节计费, 允许读者先试读免费的章节, 然后再付款下载阅读收费的章节, 从而进一步 丰富了出版商的收费模式, 通过试读模式来吸引读者, 更加有利于电子书阅 读业务的推广。  The encryption unit 95 is configured to encrypt one or more data segments divided by the book document dividing unit 91. By encrypting the data segment, the e-book can be billed by chapter, allowing the reader to try the free chapter first, and then paying for the download and reading of the chapter, thereby further enriching the publisher's charging mode, through the trial mode. To attract readers, it is more conducive to the promotion of e-book reading business.
通过上述技术方案的实施, 就可以实现分段式电子书的发布, 并在客户 端实现各种格式规范电子书的分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
实施例 4: 本发明实施例 4提供了一种下载电子书的客户端, 如图 10所示为本发明 实施例 4所提供客户端的结构示意图, 所述客户端包括: Example 4: A fourth embodiment of the present invention provides a client for downloading an e-book. FIG. 10 is a schematic structural diagram of a client provided by Embodiment 4 of the present invention, where the client includes:
文件描述区段下载单元 101, 用于下载电子书阅读平台上的书籍容器文 件中的文件描述区段, 其中, 所述文件描述区段中包括共享类文档的公共文 件区段和数据区段索引表。 具体进行下载的过程见以上方法实施例 2中所述。  a file description section downloading unit 101, configured to download a file description section in a book container file on the e-book reading platform, where the file description section includes a common file section and a data section index of the shared class document table. The process of specifically downloading is as described in Embodiment 2 of the above method.
数据区段下载单元 102, 用于根据所述文件描述区段下载单元 101所下载 的数据区段索引表定位指定展现集合的数据区段, 并根据阅读需求下载相应 指定展现集合的数据区段。 具体进行下载的过程见以上方法实施例 2中所述。  The data section downloading unit 102 is configured to locate a data section of the specified presentation set according to the data section index table downloaded by the file description section download unit 101, and download a data section corresponding to the specified presentation set according to the reading requirement. The process of specifically downloading is as described in Embodiment 2 of the above method.
电子版书籍文档生成单元 103, 用于根据所下载的公共文件区段中的共 享类文档和数据区段中的指定展现集合, 生成满足所述阅读需求的电子版书 籍文档。 具体生成的过程见以上方法实施例 2中所述。  The electronic version of the book document generating unit 103 is configured to generate an electronic version of the book document satisfying the reading requirement according to the shared presentation document in the downloaded common file section and the specified presentation set in the data section. The specific generated process is described in the above method embodiment 2.
另外, 以上所述文件描述区段下载单元 101中可包括:  In addition, the file description section download unit 101 may include:
文件格式描述区段下载模块 1011, 用于下载电子书阅读平台上的书籍容 器文件中的文件格式描述区段, 所述文件格式描述区段位于文件描述区段的 起始位置。  The file format description section downloading module 1011 is configured to download a file format description section in the book container file on the e-book reading platform, where the file format description section is located at a starting position of the file description section.
公共文件区段下载模块 1012, 用于根据所下载的文件格式描述区段提供 的公共文件区段的起始位置和长度信息, 下载包括共享类文档的公共文件区 段。  The public file segment downloading module 1012 is configured to download a common file segment including the shared class document according to the starting location and length information of the common file segment provided by the downloaded file format description section.
数据区段索引表下载模块 1013, 用于根据所下载的文件格式描述区段提 供的数据区段索引表的起始位置和长度信息, 下载所述数据区段索引表。  The data segment index table downloading module 1013 is configured to download the data segment index table according to the starting location and length information of the data segment index table provided by the downloaded file format description section.
通过上述技术方案的实施, 就可以在客户端实现各种格式规范电子书的 分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segment download of the e-books of various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
实施例 5:  Example 5
本实施例 5还提供了一种电子书发布和下载的系统, 如图 11所示为本发 明实施例 5所提供系统的结构示意图, 所述系统包括:  The embodiment 5 further provides a system for publishing and downloading an e-book. FIG. 11 is a schematic structural diagram of a system according to Embodiment 5 of the present invention. The system includes:
服务器 111, 用于将电子版书籍文档划分成文件描述区段和包含指定展 现集合的数据区段, 其中, 所述文件描述区段中包括共享类文档的公共文件 区段和数据区段索引表; 并将划分出的文件描述区段和数据区段打包, 生成 书籍容器文件; 再将所生成的书籍容器文件发布在电子书阅读平台。 上述服 务器具体实现的过程见以上方法实施例 1中所述。 The server 111 is configured to divide the electronic version of the book document into a file description section and a data section including the specified presentation set, where the file description section includes a common file section and a data section index table of the shared class document. ; and package the divided file description section and data section to generate a book container file; and then publish the generated book container file on the e-book reading platform. Above service The process of the specific implementation of the server is as described in the above method embodiment 1.
客户端 112, 用于下载电子书阅读平台上的书籍容器文件中的文件描述 区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区 段索引表; 再根据所述数据区段索引表定位指定展现集合的数据区段, 并根 据阅读需求下载相应指定展现集合的数据区段; 再根据所下载的公共文件区 段中的共享类文档和数据区段中的指定展现集合,生成满足所述阅读需求的 电子版书籍文档。 上述客户端具体实现的过程见以上方法实施例 2中所述。  The client 112 is configured to download a file description section in the book container file on the e-book reading platform, where the file description section includes a common file section and a data section index table of the shared class document; The data segment index table locates a data segment that specifies a presentation set, and downloads a data segment corresponding to the specified presentation set according to a reading requirement; and then according to the shared class document and the data segment in the downloaded common file segment. The presentation collection is specified to generate an electronic version of the book document that satisfies the reading requirements. The process of implementing the above client is as described in Embodiment 2 of the above method.
通过上述技术方案的实施, 就可以实现分段式电子书的发布, 并在客户 端实现各种格式规范电子书的分段下载, 从而缩短电子书的下载等待时间, 提高了阅读体验。  Through the implementation of the above technical solution, the segmented e-book can be released, and the format downloading of the e-books in various formats can be implemented on the client side, thereby shortening the download waiting time of the e-book and improving the reading experience.
值得注意的是, 上述服务器、 客户端和系统实施例中, 所包括的各个单 元只是按照功能逻辑进行划分的, 但并不局限于上述的划分, 只要能够实现 相应的功能即可; 另外, 各功能单元的具体名称也只是为了便于相互区分, 并不用于限制本发明的保护范围。  It should be noted that, in the foregoing server, client, and system embodiments, each unit included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding functions can be implemented; The specific names of the functional units are also for convenience of distinguishing from each other and are not intended to limit the scope of the present invention.
另外, 本领域普通技术人员可以理解实现上述方法实施例 1和 2中的全部 或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于 一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 现各种格式规范电子书的分段下载, 从而缩短电子书的下载等待时间, 提高 了阅读体验; 并通过支持通用格式规范(例如 Epub规范 )进一步增强电子阅 读设备或软件的通用性。  In addition, those skilled in the art can understand that all or part of the steps of implementing the above method embodiments 1 and 2 can be completed by a program to instruct related hardware, and the corresponding program can be stored in a computer readable storage medium, The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. Various formats now standardize the download of e-books, thereby shortening the e-book download latency and improving the reading experience; and further enhancing the versatility of electronic reading devices or software by supporting common format specifications such as the Epub specification.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此,任何熟悉本技术领域的技术人员在本发明实施例揭露的技术范围 内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of it within the technical scope disclosed by the embodiments of the present invention. Variations or substitutions are intended to be covered by the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 Rights request
1、 一种电子书发布的方法, 其特征在于, 所述方法包括;  A method for publishing an e-book, characterized in that the method comprises:
将电子版书籍文档划分成文件描述区段和包含指定展现集合的数据区 段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区段 索引表;  The electronic version of the book document is divided into a file description section and a data section containing the specified presentation set, wherein the file description section includes a common file section and a data section index table of the shared class document;
将划分出的文件描述区段和数据区段打包, 生成书籍容器文件; 将所生成的书籍容器文件发布在电子书阅读平台。  The divided file description section and data section are packaged to generate a book container file; the generated book container file is published on the e-book reading platform.
2、 如权利要求 1 所述的方法, 其特征在于, 所述将电子版书籍文档划 分成文件描述区段和包含指定展现集合的数据区段, 具体包括:  2. The method according to claim 1, wherein the dividing the electronic version of the book document into a file description section and a data section containing the specified presentation set comprises:
根据电子版书籍的组织结构和文档内容,将其划分成共享类文档和多个 指定展现集合;  According to the organizational structure and document content of the electronic version of the book, it is divided into a shared class document and a plurality of specified presentation sets;
将所述共享类文档打包生成公共文件区段, 并将所述多个指定展现集合 分别打包生成多个数据区段; 其中, 所述公共文件区段包含在文件描述区段 中。  The shared class document is packaged to generate a common file segment, and the plurality of specified presentation sets are separately packaged to generate a plurality of data segments; wherein the common file segment is included in a file description section.
3、 如权利要求 1 所述的方法, 其特征在于, 所述数据区段索引表用于 定位数据区段, 具体包括所述数据区段的起始位置和长度信息。  3. The method according to claim 1, wherein the data segment index table is used to locate a data segment, and specifically includes a start position and length information of the data segment.
4、 如权利要求 1-3 其中之一所述的方法, 其特征在于, 所述文件描述 区段中还包括文件格式描述区段, 其中:  The method according to any one of claims 1 to 3, wherein the file description section further includes a file format description section, wherein:
所述文件格式描述区段用于定位公共文件区段和数据区段索引表, 具体 包括所述公共文件区段的起始位置和长度信息, 以及数据区段索引表的起始 位置和长度信息。  The file format description section is configured to locate a common file section and a data section index table, specifically including start position and length information of the common file section, and start position and length information of the data section index table. .
5、 如权利要求 1-3 其中之一所述的方法, 其特征在于, 所述指定展现 集合具体包括:  The method according to any one of claims 1 to 3, wherein the specified presentation set comprises:
所述电子版书籍文档的最小展现元素;  a minimum presentation element of the electronic version of the book document;
或,将所述电子版书籍文档的最小展现元素进行组合后所形成的指定展 现集合。  Or, a specified set of presentations formed by combining the minimum presentation elements of the electronic version of the book document.
6、 如权利要求 1-3 其中之一所述的方法, 其特征在于, 在所述将电子 版书籍文档划分成文件描述区段和包含指定展现集合的数据区段之前, 所述 方法还包括: 根据书籍内容和依据的电子书格式规范, 制作相应的电子版书籍文档。6. The method according to any one of claims 1 to 3, wherein before the dividing the electronic version of the book document into a file description section and a data section containing the specified presentation set, the method further comprises : According to the book content and the e-book format specification based on the book, the corresponding electronic version of the book document is produced.
7、 如权利要求 6所述的方法, 其特征在于, 所述电子书格式规范具体 包括: 电子出版 Epub规范。 7. The method according to claim 6, wherein the e-book format specification specifically comprises: an electronic publishing Epub specification.
8、 如权利要求 1-3 其中之一所述的方法, 其特征在于, 若所述电子版 书籍文档新增书籍内容, 则增加与所述新增书籍内容相对应的数据区段。  The method according to any one of claims 1 to 3, characterized in that, if the electronic version of the book document adds the book content, the data section corresponding to the newly added book content is added.
9、 如权利要求 1-3 其中之一所述的方法, 其特征在于, 在所述将电子 版书籍文档划分成文件描述区段和包含指定展现集合的数据区段之后, 所述 方法还包括:  9. The method of any one of claims 1-3, wherein after the dividing the electronic version of the book document into a file description section and a data section containing the specified presentation set, the method further comprises :
对所划分出的一个或多个数据区段进行加密。  Encrypt one or more of the divided data segments.
10、 一种实现电子书下载的方法, 其特征在于, 所述方法包括: 下载电子书阅读平台上的书籍容器文件的文件描述区段, 其中, 所述文 件描述区段中包括共享类文档的公共文件区段和数据区段索引表;  A method for downloading an e-book, the method comprising: downloading a file description section of a book container file on an e-book reading platform, wherein the file description section includes a shared-type document Public file section and data section index table;
根据所述数据区段索引表定位指定展现集合的数据区段, 并根据阅读需 求下载相应指定展现集合的数据区段;  And locating a data segment of the specified presentation set according to the data segment index table, and downloading a data segment corresponding to the specified presentation set according to the reading requirement;
根据所下载的公共文件区段中的共享类文档和数据区段对应的指定展 现集合, 生成满足所述阅读需求的电子版书籍文档。  An electronic version of the book document that satisfies the reading requirement is generated based on the shared presentation document and the specified presentation set corresponding to the data section in the downloaded common file section.
11、 如权利要求 10所述的方法, 其特征在于, 所述下载电子书阅读平 台上的书籍容器文件中的文件描述区段, 其中, 所述文件描述区段中包括共 享类文档的公共文件区段和数据区段索引表, 具体包括:  The method according to claim 10, wherein the downloading a file description section in a book container file on an e-book reading platform, wherein the file description section includes a public file of a shared class document The segment and data segment index table specifically includes:
下载电子书阅读平台上的书籍容器文件中的文件描述区段, 所述文件描 述区段中包含文件格式描述区段;  Downloading a file description section in a book container file on the e-book reading platform, wherein the file description section includes a file format description section;
根据所述文件格式描述区段提供的公共文件区段的起始位置和长度信 息, 下载包括共享类文档的公共文件区段;  And downloading a common file section including the shared class document according to the start position and length information of the common file section provided by the file format description section;
并根据所述文件格式描述区段提供的数据区段索引表的起始位置和长 度信息, 下载所述数据区段索引表。  And downloading the data segment index table according to the starting position and length information of the data segment index table provided by the file format description section.
12、 一种发布电子书的服务器, 其特征在于, 包括:  12. A server for publishing an e-book, comprising:
书籍文档划分单元, 用于将电子版书籍文档划分成文件描述区段和包含 指定展现集合的数据区段, 其中, 所述文件描述区段中包括共享类文档的公 共文件区段和数据区段索引表; 书籍容器文件生成单元, 用于将所述书籍文档划分单元所划分出的文件 描述区段和数据区段打包, 生成书籍容器文件; a book document dividing unit, configured to divide the electronic version of the book document into a file description section and a data section including the specified presentation set, wherein the file description section includes a common file section and a data section of the shared class document direction chart; a book container file generating unit, configured to package the file description section and the data section divided by the book document dividing unit to generate a book container file;
文件发布单元,用于将所述书籍容器文件生成单元所生成的书籍容器文 件发布在电子书阅读平台。  And a file publishing unit, configured to publish the book container file generated by the book container file generating unit on the e-book reading platform.
13、 如权利要求 12所述的服务器, 其特征在于, 所述书籍文档划分单 元包括:  The server according to claim 12, wherein the book document dividing unit comprises:
内容划分模块, 用于根据电子版书籍的组织结构和文档内容, 将其划分 成共享类文档和多个指定展现集合;  a content division module, configured to divide the electronic version of the book into a shared class document and a plurality of specified presentation sets according to an organizational structure and a document content;
打包生成模块,用于将所述内容划分模块所划分出的共享类文档打包生 成公共文件区段, 并将所划分出的多个指定展现集合分别打包生成多个数据 区段; 其中, 所述公共文件区段包含在文件描述区段中。  a package generation module, configured to package a shared class file divided by the content division module to generate a common file segment, and package the divided plurality of specified presentation sets to generate a plurality of data segments respectively; The public file section is included in the file description section.
14、 如权利要求 12所述的服务器, 其特征在于, 所述服务器还包括: 电子版书籍文档制作单元, 用于根据书籍内容和依据的电子书格式规 范, 制作相应的电子版书籍文档。  The server according to claim 12, wherein the server further comprises: an electronic version of the book document producing unit, configured to create a corresponding electronic version of the book document according to the book content and the e-book format specification according to the book.
15、 如权利要求 12所述的服务器, 其特征在于, 所述服务器还包括: 加密单元, 用于对所述书籍文档划分单元所划分出的一个或多个数据区 段进行加密。  The server according to claim 12, wherein the server further comprises: an encryption unit, configured to encrypt one or more data segments divided by the book document dividing unit.
16、 一种下载电子书的客户端, 其特征在于, 包括:  16. A client for downloading an e-book, comprising:
文件描述区段下载单元, 用于下载电子书阅读平台上的书籍容器文件中 的文件描述区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区 段和数据区段索引表;  a file description section downloading unit, configured to download a file description section in the book container file on the e-book reading platform, wherein the file description section includes a common file section and a data section index table of the shared class document ;
数据区段下载单元, 用于根据所述文件描述区段下载单元所下载的数据 区段索引表定位指定展现集合的数据区段, 并根据阅读需求下载相应指定展 现集合的数据区段;  a data segment downloading unit, configured to locate a data segment of the specified presentation set according to the data segment index table downloaded by the file description segment download unit, and download a data segment corresponding to the specified presentation set according to the reading requirement;
电子版书籍文档生成单元, 用于根据所下载的公共文件区段中的共享类 文档和数据区段中的指定展现集合, 生成满足所述阅读需求的电子版书籍文 档。  The electronic version of the book document generating unit is configured to generate an electronic version of the book document that satisfies the reading requirement according to the shared presentation document and the specified presentation set in the data section in the downloaded common file section.
17、 如权利要求 16所述的客户端, 其特征在于, 所述文件描述区段下 载单元包括: 文件格式描述区段下载模块, 用于下载电子书阅读平台上的书籍容器文 件中的文件格式描述区段, 所述文件格式描述区段位于文件描述区段的起始 位置; The client according to claim 16, wherein the file description section download unit comprises: a file format description section downloading module, configured to download a file format description section in a book container file on the e-book reading platform, where the file format description section is located at a starting position of the file description section;
公共文件区段下载模块, 用于根据所下载的文件格式描述区段提供的公 共文件区段的起始位置和长度信息, 下载包括共享类文档的公共文件区段; 数据区段索引表下载模块, 用于根据所下载的文件格式描述区段提供的 数据区段索引表的起始位置和长度信息, 下载所述数据区段索引表。  a public file section downloading module, configured to download a common file section including a shared class document according to the downloaded file format description starting position and length information of the common file section provided by the section; the data section index table downloading module And for downloading the data segment index table according to the start position and length information of the data segment index table provided by the downloaded file format description section.
18、 一种实现电子书发布和下载的系统, 其特征在于, 所述系统包括: 服务器, 用于将电子版书籍文档划分成文件描述区段和包含指定展现集 合的数据区段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段 和数据区段索引表; 并将划分出的文件描述区段和数据区段打包, 生成书籍 容器文件; 再将所生成的书籍容器文件发布在电子书阅读平台;  18. A system for implementing e-book publishing and downloading, the system comprising: a server, configured to divide an electronic version of a book document into a file description section and a data section including a specified presentation set, wherein The file description section includes a common file section and a data section index table of the shared class document; and the divided file description section and the data section are packaged to generate a book container file; and the generated book container file is further generated Published on the e-book reading platform;
客户端, 用于下载电子书阅读平台上的书籍容器文件中的文件描述区 段, 其中, 所述文件描述区段中包括共享类文档的公共文件区段和数据区段 索引表; 再根据所述数据区段索引表定位指定展现集合的数据区段, 并根据 阅读需求下载相应指定展现集合的数据区段; 再根据所下载的公共文件区段 中的共享类文档和数据区段中的指定展现集合, 生成满足所述阅读需求的电 子版书籍文档。  a client, configured to download a file description section in a book container file on the e-book reading platform, where the file description section includes a common file section and a data section index table of the shared class document; The data segment index table locates the data segment of the specified presentation set, and downloads the data segment corresponding to the specified presentation set according to the reading requirement; and then according to the shared class document and the data segment specified in the downloaded common file segment The collection is presented, and an electronic version of the book document that satisfies the reading requirements is generated.
PCT/CN2010/079303 2009-12-11 2010-12-01 Methods, devices and system for issuing and downloading electronic book WO2011069424A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910241788.4 2009-12-11
CN200910241788.4A CN102096674B (en) 2009-12-11 2009-12-11 Method, equipment and system for releasing and downloading electronic book

Publications (1)

Publication Number Publication Date
WO2011069424A1 true WO2011069424A1 (en) 2011-06-16

Family

ID=44129770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079303 WO2011069424A1 (en) 2009-12-11 2010-12-01 Methods, devices and system for issuing and downloading electronic book

Country Status (2)

Country Link
CN (1) CN102096674B (en)
WO (1) WO2011069424A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198261A1 (en) * 2012-02-01 2013-08-01 Michael Matas Intelligent Downloading and Rendering of Content

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957679B (en) * 2011-08-23 2016-06-15 北京中文在线数字出版股份有限公司 The analytic method of the book file of a kind of Epub form and system
CN103124275B (en) * 2011-11-18 2016-01-20 腾讯科技(深圳)有限公司 A kind of method and apparatus obtaining file
WO2013171761A2 (en) * 2012-04-11 2013-11-21 Abhishek Barari Computer implemented system and method for disseminating readable contents
CN102710761B (en) * 2012-05-24 2015-08-19 上海克而瑞信息技术有限公司 A kind of pdf document on-line storage and access method
CN103279271A (en) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 Method and device for pushing messages and method and device for receiving messages
CN103530776A (en) * 2013-10-08 2014-01-22 重庆动享科技有限公司 Interactive teaching digital publishing system based on EPUB 3 (Electronic Publication 3) standard
CN103593333B (en) * 2013-10-16 2017-09-22 小米科技有限责任公司 A kind of processing method, terminal and the electronic equipment of e-book document
CN104850580B (en) * 2015-04-07 2018-01-12 浙江工业大学 A kind of method of mark and retrieval teaching resource on the internet
CN105162853A (en) * 2015-08-17 2015-12-16 北京京东尚科信息技术有限公司 Streaming document reading system and method
CN106953828B (en) * 2016-01-06 2021-02-26 中文在线数字出版集团股份有限公司 EPUB hybrid protection method and system based on mobile network
CN108108966A (en) * 2017-12-08 2018-06-01 五八有限公司 Payment reading method, terminal and the storage medium of a kind of article
CN108898447B (en) * 2018-07-23 2021-09-28 北京大前科技有限责任公司 Method and device for acquiring extended content
CN111832274B (en) * 2019-04-15 2024-02-27 北京智启蓝墨信息技术有限公司 Rich media editing method, generation method, device and system in intelligent teaching materials

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336064A (en) * 1999-09-27 2002-02-13 皇家菲利浦电子有限公司 Partitioning of file for emulating streaming
CN1517861A (en) * 2003-01-15 2004-08-04 英华达(上海)电子有限公司 Method for trasforming hypertext marker language format to binary electronic book format
CN1845099A (en) * 2006-04-27 2006-10-11 掌富科技(南京)有限公司 Method and structure for conversion and storage of multimedia electronic file in intelligent mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174205A (en) * 2007-09-21 2008-05-07 上海陆行鲨信息科技有限公司 Method for user producing mobile phone electronic book, picture album, game by website

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336064A (en) * 1999-09-27 2002-02-13 皇家菲利浦电子有限公司 Partitioning of file for emulating streaming
CN1517861A (en) * 2003-01-15 2004-08-04 英华达(上海)电子有限公司 Method for trasforming hypertext marker language format to binary electronic book format
CN1845099A (en) * 2006-04-27 2006-10-11 掌富科技(南京)有限公司 Method and structure for conversion and storage of multimedia electronic file in intelligent mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130198261A1 (en) * 2012-02-01 2013-08-01 Michael Matas Intelligent Downloading and Rendering of Content

Also Published As

Publication number Publication date
CN102096674B (en) 2014-01-01
CN102096674A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
WO2011069424A1 (en) Methods, devices and system for issuing and downloading electronic book
US9485286B1 (en) Sharing media items with pass phrases
US9542926B2 (en) Synchronizing the playing and displaying of digital content
US7716570B2 (en) Interfaces for creation and access of extensible markup language paper specification documents
US8826169B1 (en) Hiding content of a digital content item
CN105095168B (en) A kind of automatic generation method and device of treaty documents
WO2017148298A1 (en) Method and apparatus reusing list cell in hybrid application
WO2012016032A2 (en) System and method for individualized media publishing
US8943608B2 (en) Document server and client device document viewer and editor
JP6019285B2 (en) Electronic book reproduction device, history acquisition device, electronic book generation device, electronic book provision system, electronic book reproduction method, history acquisition method, electronic book generation method, electronic book reproduction program, history acquisition program, electronic book generation program
US20140365342A1 (en) Resource provisioning for electronic books
US9542379B1 (en) Synchronizing electronic publications between user devices
CN110190949A (en) For the method and system of big data quantity resource cochain, equipment and storage medium
US8719169B2 (en) Digital media personalization
CN105027116A (en) Flat book to rich book conversion in e-readers
CN107908608A (en) The conversion of the manuscript and method showed in three dimensions, storage medium and equipment
CN106462671A (en) Composite document referenced resources
WO2023142385A1 (en) Method and apparatus for multi-screen transmission between instrument system and entertainment host system, and vehicle
AU2010201612B2 (en) Digital content supply system
CN106953828B (en) EPUB hybrid protection method and system based on mobile network
CN102375859A (en) Method and equipment for processing information
CN105706408A (en) Providiing electronic books to user device
CN111198692A (en) Installation package generation method and device
CN1952970A (en) A network advertisement system and method based on electron reading
KR102213871B1 (en) System and method for advertisement delivery, and apparatus applied to the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10835459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10835459

Country of ref document: EP

Kind code of ref document: A1