CN102890670B - For reading the method and system switched between streaming reading method in format - Google Patents

For reading the method and system switched between streaming reading method in format Download PDF

Info

Publication number
CN102890670B
CN102890670B CN201210332482.1A CN201210332482A CN102890670B CN 102890670 B CN102890670 B CN 102890670B CN 201210332482 A CN201210332482 A CN 201210332482A CN 102890670 B CN102890670 B CN 102890670B
Authority
CN
China
Prior art keywords
books
epub
pdf
container
reading
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210332482.1A
Other languages
Chinese (zh)
Other versions
CN102890670A (en
Inventor
李松峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
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 Beijing Jingdong Century Trading Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201210332482.1A priority Critical patent/CN102890670B/en
Publication of CN102890670A publication Critical patent/CN102890670A/en
Application granted granted Critical
Publication of CN102890670B publication Critical patent/CN102890670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

A kind of system and method for switching between format reading method and streaming reading method.Described system comprises: books processing end comprises: input block, receives the books that will process; Processing processing unit, processes to generate books container to books; And uploading unit, books container is uploaded to content storage server; Content storage server, stores books container, receives the request from books reading client and send asked books container to books reading client; And described books reading client, comprising: requesting processing, receive the read books request from user and request is sent to described content storage server; Document resolver, receives books container from described content storage server, to resolve books container and of calling PDF reader and EPUB reader shows document; And reading controller, control the parsing of described document resolver to books container and the displaying to document.

Description

For reading the method and system switched between streaming reading method in format
Technical field
The present invention relates generally to e-book field, particularly relates to the method and system switched between format reading method and streaming reading method.
Background technology
Along with the development of computer networking technology, e-book obtains applying more and more widely.E-book has the document of two kinds of forms: format document and streaming document, and wherein format document can accurately describe the complicated space of a whole page, but needs convergent-divergent to draw when reading, and reading experience is poor; And streaming document can description scheme information, accurate paging, reading experience is good, but page-describing is coarse.Therefore, there is the demand carrying out when reading freely switching between format reading method and streaming reading method.
But redefining that format and streaming combine by a brand-new form descriptive language is a huge engineering.
At present, the main flow of format document is PDF, and the main flow of streaming document is EPUB.Format and streaming can combine by the CEBX developed by Founder.CEBX has reformulated a form, needs again to make conversion to PDF/EPUB books in the past, and needs the analytics engine again developing format, therefore has high input, makes difficulty, promotes difficulty.
Summary of the invention
In order to solve above-mentioned shortcoming of the prior art and problem and propose the present invention.
According to an aspect, the present invention proposes a kind of system for switching between format reading method and streaming reading method, comprising: books processing end, and described books processing end comprises: input block, for receiving the books that will process; Processing processing unit, generates books container for processing books; And uploading unit, for books container is uploaded to content storage server; Content storage server, for storing books container, receiving the request from books reading client and send asked books container to books reading client; And described books reading client, comprising: requesting processing, request is sent to described content storage server for the read books request that receives from user; Document resolver, for receiving books container from described content storage server, to resolve books container and of calling in PDF reader and EPUB reader shows document; And reading controller, for controlling the parsing of described document resolver to books container and the displaying to document.
Alternatively, described processing processing unit is that these books every make PDF and EPUB two kinds of forms, sets up the related information of books under two kinds of forms, the PDF machined, EPUB, related information is bundled in same books container.
Alternatively, described related information comprises directory associates information, for recording the position of e-book catalogue respectively in PDF and EPUB of books.
Alternatively, described related information comprises view data related information, and the image for recording books lays respectively at the position in PDF and EPUB.
Alternatively, described related information comprises page intelligent association information, for recording corresponding character side-play amount in the first and last position of PDF every page and EPUB.
According to another aspect, the invention provides a kind of method for switching between format reading method and streaming reading method, comprising: process to generate books container to books by books processing end;
Generated books container is uploaded to content storage server; And the request received from books reading client, and send asked books container to books reading client; Show e-book; And according to the request of user, switch between format and streaming.
Alternatively, processing is carried out to books and comprises for these books every make PDF and EPUB two kinds of forms, set up the related information of books under two kinds of forms, the PDF machined, EPUB, related information are bundled in same books container.
Alternatively, described related information comprises directory associates information, for recording the position of e-book catalogue respectively in PDF and EPUB of books.
Alternatively, described related information comprises view data related information, and the image for recording books lays respectively at the position in PDF and EPUB.
Alternatively, described related information comprises page intelligent association information, for recording corresponding character side-play amount in the first and last position of PDF every page and EPUB.
Alternatively, switch between format and streaming and comprise: when user's request switches to streaming from format, determine the current reading page of PDF, inquiry related information also obtains the EPUB character position corresponding with the current reading page of PDF, then open EPUB document and jump to obtained EPUB character position.
Alternatively, switch between format and streaming and comprise: when user's request switches to format from streaming, determine EPUB current page bebinning character, inquiry related information also obtains the PDF page corresponding with EPUB current page bebinning character, then open PDF document and jump to the obtained PDF page.
Accompanying drawing explanation
By the description carried out below in conjunction with accompanying drawing, the above and other aspects, features and advantages of some one exemplary embodiment of the present invention will become apparent to those skilled in the art, wherein:
Fig. 1 is the figure of diagram according to the system for switching between format reading method and streaming reading method of the present invention;
Fig. 2 is the process flow diagram for the method switched between format reading method and streaming reading method; And
Fig. 3 is the process flow diagram of diagram reading method handoff procedure.
Embodiment
There is provided with reference to accompanying drawing the following describes help complete understanding one exemplary embodiment of the present invention.It comprises various details to help understanding, and they should be thought it is only exemplary.Therefore, those of ordinary skill in the art will be appreciated that, can make various change and amendment, and can not deviate from scope and spirit of the present invention to the embodiments described herein.Equally, for clarity and conciseness, the description to known function and structure is eliminated.
The format document of a digital content and streaming document are packed in a vessel by the present invention, when reading, format reading method and streaming reading method can be switched, simultaneously keep reading position consistent and read associated record consistent, such as annotations and comments, bookmark, notes etc.
Describe the present invention in detail below with reference to the accompanying drawings.
Fig. 1 is the figure of diagram according to the system for switching between format reading method and streaming reading method of the present invention.
As shown in fig. 1, system according to the present invention comprises books processing end 110, content storage server 120, books reading client 130.
Books processing end 110 can be positioned on desktop computer, notebook etc.Books processing end 110 can comprise: input block 112, for receiving the books that will process; Processing processing unit 114, generates books container for processing books; Uploading unit 116, for books container is uploaded to content storage server 120, downloads for user.In one embodiment, processing processing unit 114 is that these books every make PDF and EPUB two kinds of forms, sets up the related information of books under two kinds of forms, the PDF machined, EPUB, related information is bundled in same books container.Books to be processed can be with a kind of form in word, PDF and EPUB etc.Also books to be processed can be obtained by scanning paper book and carrying out OCR identification to the books of scanning.
When books to be processed are with PDF, only need to make EPUB form to books, when books to be processed are with EPUB form, only need to make PDF to books; When books to be processed be in other formats time, need to make PDF and EPUB two kinds of forms to books.But, in order to remove the objects such as redundant image (as described below), even if when books to be processed are with PDF or EPUB form, also PDF and EPUB two kinds of forms can be made to books.Certainly, books to be processed also can be with the form except word, PDF and EPUB.Those skilled in the art know that and how PDF and EPUB two kinds of forms are made, so introduce no longer in detail at this to these books every.
Related information can comprise directory associates information, the position of its recorded electronic bibliography record respectively in PDF and EPUB.
Such as, an example of related information can be as follows:
In above-mentioned related information example, mark and the title of chapters and sections is specified respectively by " id " and " text " of " item ", by the page number that " pagenum " of " pdf " specifies each chapters and sections of pdf form to start, specified the link of each chapters and sections of epub form by " href " of " epub ".
Related information may further include view data related information, and its record image lays respectively at the position in PDF and EPUB.When described related information can view data associate further, can remove redundant image when packing books container, namely PDF and EPUB form shares a image.
Such as, following information can be increased in above-mentioned related information:
In above-mentioned related information example, the mark of designated pictures resource and the chained address at its place is distinguished by " id " and " src " of " item ", width and the height of designated pictures is come by " width " and " height " of " item ", by " pagenum " of " pdf " with " " imageid " specifies this picture resource in the page number of pdf form and the picture identification, the link specifying in the chapters and sections of epub form by " href " and " imageid " of " epub " and the picture identification be associated that are associated.
Related information may further include page intelligent association information, corresponding character side-play amount in its record first and last position of PDF every page and EPUB.
Such as, following information can be increased in above-mentioned related information:
In above-mentioned related information example, carry out corresponding character side-play amount in the first and last position of designated recorder PDF every page and EPUB by " para " and " char " of " star " and " end ".
Content storage server 120 can be special server or common personal computer etc., for storing books container, receives the request from books reading client 130, and sends asked books container to books reading client 130.
Books reading client 130 can be desktop computer, notebook, mobile phone, PDA(Personal Digital Assistant), panel computer etc.Books processing end 110 can be connected via wired or wireless connection with content storage server 120.Books reading client 130 and content storage server 120 also can be connected via wired or wireless connection.
Books reading client 130 can comprise: requesting processing 132, document resolver 134, reading controller 136.
Requesting processing 132 is for the read books request that receives from user and request is sent to content storage server.Such as, user the e-book title in the list of read electronic books can send the request of reading a certain books by clicking.
Document resolver 134 for receiving books container from content storage server 120, books container to be resolved and of calling in PDF reader and EPUB reader shows document.Reading controller 136 is for controlling the parsing of document resolver 134 pairs of books containers and the displaying to document.Such as, PDF reader can be set to give tacit consent to reader by reading controller 136.That is, reading controller 136 can control document resolver 134 with after it receives books container from content storage server 120, calls PDF reader acquiescently to show PDF document.As an alternative, EPUB reader can be set to give tacit consent to reader by reading controller 136.
After reading controller 136 receives reading method switching command, it can control document resolver 134 and call another reader and be switched to another kind of reading method based on related information.The detailed process of reading and switching is described in detail below with reference to Fig. 3.
Such as, after receiving books container from content storage server 120 (such as by document resolver 134), book reader client 130 can show any one in PDF document and EPUB document acquiescently.When user selects to switch (being namely switched to EPUB from PDF document) by format to streaming, book reader client 130(is such as by document resolver 134) can related information be inquired about, obtain the EPUB character position that the current read page of PDF is corresponding, open EPUB document and jump to relevant position.When user selects to switch (being namely switched to PDF from EPUB document) by streaming to format, book reader client 130(is such as by document resolver 134) can related information be inquired about, obtain the PDF page corresponding to EPUB current page bebinning character, open PDF document and jump to corresponding page.
Fig. 2 is the process flow diagram according to the method for switching between format reading method and streaming reading method of the present invention.
As shown in FIG. 2, the method starts in step S210.
In step S210, such as, processed by books processing end 110 pairs of books, thus be that these books every make PDF and EPUB two kinds of forms, and set up the related information of these books under two kinds of forms.
In step S220, such as, by books processing end 110, the PDF machined, EPUB, related information are bundled in same container, are uploaded to such as content storage server 120 and download for user.
In step S230, content storage server 120 receives the request from books reading client 130, and asked books container is sent to books reading client 130(and such as verifying that the user that is associated with books reading client 130 have purchased this e-book).
In step S240, show e-book, and according to the request of user, switch between format and streaming.Such as, after receiving books container from content storage server 120, book reader client 130 can show any one in PDF document and EPUB document acquiescently.When user selects to switch (being namely switched to EPUB from PDF document) by format to streaming, book reader client 130 can inquire about related information, obtains the EPUB character position that the current read page of PDF is corresponding, opens EPUB document and jump to relevant position.When user selects to switch (being namely switched to PDF from EPUB document) by streaming to format, book reader client 130 can inquire about related information, obtains the PDF page corresponding to EPUB current page bebinning character, opens PDF document and jump to corresponding page.
Fig. 3 is the process flow diagram of diagram reading method handoff procedure.
First, in step S310, determine switching direction, namely determine to switch from format to streaming or switch to format from streaming.
In step s 320, when determining to switch to streaming from format, determining the current reading page of PDF, inquiry related information also obtains the EPUB character position corresponding with the current reading page of PDF, then open EPUB document and jump to obtained EPUB character position.
In step S330, when determining to switch to format from streaming, determining EPUB current page bebinning character, inquiry related information also obtains the PDF page corresponding with EPUB current page bebinning character, then open PDF document and jump to the obtained PDF page.
Respectively apparatus and method embodiment of the present invention is described respectively above being to be noted that, but another embodiment also be can be applicable to the details that an embodiment describes.
Below ultimate principle of the present invention is described in conjunction with specific embodiments, but, it is to be noted, for those of ordinary skill in the art, whole or any step or the parts that can understand method and system of the present invention can be realized with software, hardware, firmware or their combination, and this is that those of ordinary skill in the art use their basic programming skill just can realize when having read explanation of the present invention.
Therefore, object of the present invention can also be realized by an operation software module or one group of software module on any calculation element.Described calculation element can be known fexible unit.Therefore, object of the present invention also can realize only by the program product of providing package containing the program code realizing described method or device.That is, such program product also forms the present invention, and the storage medium storing such program product also forms the present invention.Obviously, described storage medium can be any storage medium developed in any known storage medium or future.
Although this instructions comprises many particular implementation details, but should not be the restriction of the scope to the content that any invention maybe can be advocated by these detailed explanation, and should be interpreted as can specific to the description of the feature of the specific embodiment of specific invention.Some Feature Combination described in the situation of the embodiment be separated in this manual can also be realized in single embodiment.On the contrary, also each character separation described in the situation of single embodiment can be realized or realizes in any suitable sub-portfolio in multiple embodiment.In addition, work in some combination although may describe feature as above, even initial opinion so, in some cases but the one or more features from advocated combination can be left out from combination, and advocated combination can be pointed to the variant of sub-portfolio or sub-portfolio.
Similarly, although depict operation with certain order in the accompanying drawings, this should be interpreted as and need with shown certain order or perform such operation with continuous order or need to perform the result that all illustrated operations just can reach expectation.In some cases, multitask and parallel processing can be favourable.In addition, the separation of various system components in the above-described embodiments should be interpreted as and all need such separation in all embodiments, and should be understood that, usually can by described program assembly and the system integration to together with become single software product or be encapsulated as multiple software product.
Computer program (also referred to as program, software, software application, script or code) can be write by programming language in any form, described programming language comprises compiling or interpretative code, in other words illustrated or procedural language, and it can be disposed in any form, comprise as stand-alone program or other unit of using in a computing environment as module, assembly, subroutine or be suitable for.Computer program there is no need to correspond to the file in file system.Program can be stored in the file of other program of maintenance or data (such as, be stored in the one or more scripts in marking language document) a part, the Single document being exclusively used in question program or multiple coordinative file (such as, storing the file of one or more module, subroutine or partial code) in.
Above-mentioned embodiment, does not form limiting the scope of the invention.It is to be understood that depend on designing requirement and other factors, various amendment, combination, sub-portfolio can be there is and substitute in those skilled in the art.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within scope.

Claims (10)

1. the system for switching between format reading method and streaming reading method, comprising:
Books processing end, described books processing end comprises: input block, for receiving the books that will process; Processing processing unit, generates books container for processing books; And uploading unit, for books container is uploaded to content storage server;
Content storage server, for storing books container, receiving the request from books reading client and send asked books container to books reading client; And
Described books reading client, comprising: requesting processing, request is sent to described content storage server for the read books request that receives from user; Document resolver, for receiving books container from described content storage server, to resolve books container and of calling in PDF reader and EPUB reader shows document; And reading controller, for controlling the parsing of described document resolver to books container and the displaying to document,
Wherein said processing processing unit is that these books every make PDF and EPUB two kinds of forms, sets up the related information of books under two kinds of forms, the PDF machined, EPUB, related information is bundled in same books container.
2. system according to claim 1, wherein said related information comprises directory associates information, for recording the position of e-book catalogue respectively in PDF and EPUB of books.
3. system according to claim 1, wherein said related information comprises view data related information, and the image for recording books lays respectively at the position in PDF and EPUB.
4. system according to claim 1, wherein said related information comprises page intelligent association information, for recording corresponding character side-play amount in the first and last position of PDF every page and EPUB.
5. the method for switching between format reading method and streaming reading method, comprising:
Process to generate books container to books by books processing end;
Generated books container is uploaded to content storage server; And
Receive the request from books reading client, and send asked books container to books reading client;
Show e-book; And
According to the request of user, switch between format and streaming,
Wherein carry out processing to books to comprise for these books every make PDF and EPUB two kinds of forms, set up the related information of books under two kinds of forms, the PDF machined, EPUB, related information are bundled in same books container.
6. method according to claim 5, wherein said related information comprises directory associates information, for recording the position of e-book catalogue respectively in PDF and EPUB of books.
7. method according to claim 5, wherein said related information comprises view data related information, and the image for recording books lays respectively at the position in PDF and EPUB.
8. method according to claim 5, wherein said related information comprises page intelligent association information, for recording corresponding character side-play amount in the first and last position of PDF every page and EPUB.
9. method according to claim 5, wherein, switch between format and streaming and comprise: when user's request switches to streaming from format, determine the current reading page of PDF, inquiry related information also obtains the EPUB character position corresponding with the current reading page of PDF, then open EPUB document and jump to obtained EPUB character position.
10. method according to claim 5, wherein, switch between format and streaming and comprise: when user's request switches to format from streaming, determine EPUB current page bebinning character, inquiry related information also obtains the PDF page corresponding with EPUB current page bebinning character, then open PDF document and jump to the obtained PDF page.
CN201210332482.1A 2012-09-10 2012-09-10 For reading the method and system switched between streaming reading method in format Active CN102890670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210332482.1A CN102890670B (en) 2012-09-10 2012-09-10 For reading the method and system switched between streaming reading method in format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210332482.1A CN102890670B (en) 2012-09-10 2012-09-10 For reading the method and system switched between streaming reading method in format

Publications (2)

Publication Number Publication Date
CN102890670A CN102890670A (en) 2013-01-23
CN102890670B true CN102890670B (en) 2015-11-25

Family

ID=47534177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210332482.1A Active CN102890670B (en) 2012-09-10 2012-09-10 For reading the method and system switched between streaming reading method in format

Country Status (1)

Country Link
CN (1) CN102890670B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI533194B (en) * 2014-05-07 2016-05-11 金舷國際文創事業有限公司 Methods for generating reflow-content electronic-book and website system thereof
CN106779488A (en) * 2017-01-20 2017-05-31 深圳市天朗时代科技有限公司 The proofreading method and system of digital version e-book
CN107992456B (en) * 2017-11-27 2018-12-28 江苏中威科技软件系统有限公司 Format data stream file multiple terminals localizes flash memory system, method and electronic equipment
CN109002429A (en) * 2018-06-27 2018-12-14 天闻数媒科技(湖南)有限公司 A kind of interactive electronic reading device
CN111666249B (en) * 2020-05-11 2024-02-09 上海连尚网络科技有限公司 Method and device for acquiring target reading mode in reading application
CN111611776B (en) * 2020-05-22 2023-07-25 北京信息科技大学 Method and device for compatible edition flow document content and supporting synchronous reading

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424998A (en) * 2008-11-10 2009-05-06 北大方正集团有限公司 Document page display method and system
CN102446161A (en) * 2010-09-30 2012-05-09 北大方正集团有限公司 Digital content reading control method and device, system and terminal adopting same
CN102541819A (en) * 2010-12-27 2012-07-04 北大方正集团有限公司 Electronic document reading mode processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005056039A (en) * 2003-08-01 2005-03-03 Sony Corp Information processing system and method, program, and recording medium
KR20130124452A (en) * 2010-06-01 2013-11-14 송영주 Electronic multimedia publishing systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424998A (en) * 2008-11-10 2009-05-06 北大方正集团有限公司 Document page display method and system
CN102446161A (en) * 2010-09-30 2012-05-09 北大方正集团有限公司 Digital content reading control method and device, system and terminal adopting same
CN102541819A (en) * 2010-12-27 2012-07-04 北大方正集团有限公司 Electronic document reading mode processing method and device

Also Published As

Publication number Publication date
CN102890670A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN102890670B (en) For reading the method and system switched between streaming reading method in format
CN102662944B (en) By the direct navigation of browser address bar
US20130139052A1 (en) Method and apparatus for loading epub electronic book
CN103761277A (en) ePub electronic book loading method and system
CN103853548A (en) Method and system for deep links in application contexts
JP2015529909A (en) Electronic reader system
CN111602120A (en) Displaying an indication of changes made to content at a source
US20150277837A1 (en) Data supplying device and image processing system
US20180081860A1 (en) Information processing system and control method therefor
CN116451683B (en) Document merging method, terminal and computer readable storage medium
WO2014002614A1 (en) Related content retrieval device and related content retrieval method
US20120050548A1 (en) Method of posting content to a web site
JP6593784B2 (en) Display method, system and program for multiple display devices
US10587731B2 (en) Method and system for providing electronic document, mother book server and child book client
US20220043962A1 (en) Information processing apparatus, system, information processing method, and computer-readable storage medium for storing programs
CN109948123B (en) Image merging method and device
JP6881920B2 (en) Information processing equipment, control methods, and programs
CN110110291A (en) A kind of document display control method, device, equipment and medium
KR20130002614A (en) Method for utilizing interlock of p-book and e-book
KR102317666B1 (en) Electronic document editing method for book binding and electronic device performing the same
KR20210102552A (en) Veiwing system for electronic book based on cloud
US11206336B2 (en) Information processing apparatus, method, and non-transitory computer readable medium
US10831833B2 (en) Information processing apparatus and non-transitory computer readable medium
JP5779412B2 (en) Client / server system, client device, server device, comment screen creation method in client / server system, client device program, server device program
CN114564665A (en) Electronic book typesetting style adapting method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant