CN103295426A - Method, device and system for processing electronic book - Google Patents

Method, device and system for processing electronic book Download PDF

Info

Publication number
CN103295426A
CN103295426A CN2012100409777A CN201210040977A CN103295426A CN 103295426 A CN103295426 A CN 103295426A CN 2012100409777 A CN2012100409777 A CN 2012100409777A CN 201210040977 A CN201210040977 A CN 201210040977A CN 103295426 A CN103295426 A CN 103295426A
Authority
CN
China
Prior art keywords
fingerprint
book
reader
chapters
sections
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.)
Granted
Application number
CN2012100409777A
Other languages
Chinese (zh)
Other versions
CN103295426B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210040977.7A priority Critical patent/CN103295426B/en
Publication of CN103295426A publication Critical patent/CN103295426A/en
Application granted granted Critical
Publication of CN103295426B publication Critical patent/CN103295426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, device and system for processing an electronic book and belongs to the technical field of electronic books. The method comprises the steps that a first fingerprint of the locally stored electronic book is obtained by a reader and sent to a server, so that a second fingerprint matched with the first fingerprint is obtained by the server, and whether the electronic book is updated or not is determined according to the first fingerprint and the second fingerprint; an update notice returned by the server is received by the reader and whether the electronic book needs to be updated or not is determined according to the update notice. According to the technical scheme, an update condition of the electronic book can be automatically obtained by the reader, the operation that whether the electronic book is updated or not needs to be searched on the internet manually is avoided, the update condition of the electronic book can be obtained in time, and the usage experience of a user can be improved.

Description

Handle method, equipment and the system of e-book
Technical field
The present invention relates to the e-book technical field, particularly a kind of method, equipment and system that handles e-book.
Background technology
E-book is that to utilize computer technology to be recorded in light, electric or magnetic by digital mode literal, picture, sound or image etc. be digital publication thing in the equipment of medium, have that capacity is big, easy to carry, low price and save characteristics such as paper, and read and transmit by means of specific equipment.
Computer network provides transmission platform efficiently for the transmission of e-book, at present, the e-book of the overwhelming majority are all transmitted by computer network, and especially for the e-book of the form of publishing in instalments, computer network can be in time, fast up-to-date e-book content propagation is gone out.
In the prior art, for the e-book of the form of publishing in instalments, the user needs constantly online to search the update content of e-book, then update content is downloaded to this locality and reads.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art: prior art needs the continuous online of user to search the update content of e-book, and it is relatively poor to be used for experience, also may cause the user can't in time obtain update content.
Summary of the invention
In order in time to obtain the update content of e-book, guarantee user's experience, the embodiment of the invention provides a kind of method, equipment and system that handles e-book.Described technical scheme is as follows:
A kind of method of handling e-book, described method comprises:
Reader obtains first fingerprint of the local institute store electricity philosophical works;
Described reader sends to described server with described first fingerprint, so that described server obtains second fingerprint that is complementary with described first fingerprint, and determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described reader receives the update notification that described server returns, and determine whether to upgrade described e-book according to described update notification, described update notification is used for the described e-book of notice reader whether down loading updating chapters and sections of the chapters and sections that upgrade chapters and sections, renewal and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
A kind of method of handling e-book, described method comprises:
Server receives first fingerprint of the local institute of the described reader store electricity philosophical works of reader transmission;
Described server obtains second fingerprint that is complementary with described first fingerprint;
Described server determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described server sends update notification to described reader, notifies the described e-book of described reader that the chapters and sections that upgrade chapters and sections, renewal are arranged and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade.
A kind of reader, described reader comprises: acquisition module, sending module and receiver module;
Described acquisition module is for first fingerprint that obtains the local institute store electricity philosophical works;
Described sending module is used for described first fingerprint is sent to described server, so that described server obtains second fingerprint that is complementary with described first fingerprint, and determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described receiver module, be used for receiving the update notification that described server returns, and determine whether to upgrade described e-book according to described update notification, described update notification is used for the described e-book of notice reader whether down loading updating chapters and sections of the chapters and sections that upgrade chapters and sections, renewal and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
A kind of server, described server comprises: receiver module, acquisition module, renewal judge module and sending module;
Described receiver module is for first fingerprint of the local institute of the described reader store electricity philosophical works that receives the reader transmission;
Described acquisition module is used for obtaining second fingerprint that is complementary with described first fingerprint;
Described renewal judge module is used for determining according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described sending module is used for sending update notification to described reader, notifies the described e-book of described reader that the chapters and sections that upgrade chapters and sections, renewal are arranged and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade.
A kind of system that handles e-book, described system comprises: reader and server;
Described reader is used for obtaining first fingerprint of the local institute store electricity philosophical works, and described first fingerprint is sent to described server;
Described server is used for obtaining second fingerprint that is complementary with described first fingerprint, and determine according to described first fingerprint and second fingerprint whether described e-book has renewal, afterwards, send update notification to described reader, notify the described e-book of described reader to have to upgrade the chapters and sections of chapters and sections, renewal and whether inquire the down loading updating chapters and sections, perhaps notify the described e-book of reader not upgrade;
Described reader is used for receiving the update notification that described server returns, and determines whether to upgrade described e-book according to described update notification.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram of handling e-book that provides in the embodiment of the invention 1;
Fig. 2 is the method flow diagram that the another kind that provides in the embodiment of the invention 1 is handled e-book;
Fig. 3 is the method flow diagram that the another kind that provides in the embodiment of the invention 1 is handled e-book;
Fig. 4 is the method flow diagram that the another kind that provides in the embodiment of the invention 1 is handled e-book;
Fig. 5 is the method flow diagram that the another kind that provides in the embodiment of the invention 1 is handled e-book;
Fig. 6 is a kind of reader that provides in the embodiment of the invention 2;
Fig. 7 is the another kind of reader that provides in the embodiment of the invention 2;
Fig. 8 is the structural representation of a kind of server of providing in the embodiment of the invention 3;
Fig. 9 is the structural representation of the another kind of server that provides in the embodiment of the invention 3;
Figure 10 is a kind of system schematic of handling e-book that provides in the embodiment of the invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, a kind of method of handling e-book, method comprises following operation steps:
Step 101: reader obtains first fingerprint of the local institute store electricity philosophical works;
Step 102: reader sends to server with first fingerprint, so that server obtains second fingerprint that is complementary with first fingerprint, and determines according to first fingerprint and second fingerprint whether e-book has renewal;
Step 103: the update notification that the reader reception server returns, and determine whether upgrading e-book according to update notification, wherein, update notification is used for notice reader e-book the renewal chapters and sections of renewal, e-book and the renewal chapters and sections whether the inquiry reader downloads e-book, perhaps is used for the described e-book of notice reader and does not upgrade
Referring to Fig. 2, a kind of method of handling e-book, method comprises following operation steps:
Step 201: server receives first fingerprint of the local institute of the reader store electricity philosophical works of reader transmission;
Step 202: server obtains second fingerprint that is complementary with first fingerprint;
Step 203: server determines according to first fingerprint and second fingerprint whether e-book has renewal;
Step 204: server sends update notification to reader, and notice reader e-book has the renewal chapters and sections that upgrade chapters and sections, e-book and inquires the renewal chapters and sections of whether downloading e-book, perhaps notifies the described e-book of reader not upgrade.
The beneficial effect that the embodiment of the invention is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Describe as depicted in figs. 1 and 2 technical scheme in detail below in conjunction with specific embodiment, referring to Fig. 3, a kind of method of handling e-book comprises following operation steps:
Step 301: reader obtains first fingerprint of the local institute store electricity philosophical works;
Particularly, reader first fingerprint that obtains the local institute store electricity philosophical works comprises:
Reader adopts default disconnected chapter algorithm to the chapter processing of break of the local institute store electricity philosophical works, obtains each chapters and sections of e-book;
Reader adopts default fingerprint algorithm that each chapters and sections is handled, and obtains first fingerprint.
The embodiment of the invention is when specific implementation, first fingerprint is specially the fingerprint of the current version of the local institute store electricity philosophical works, wherein, the e-book current version refers to the version of e-book after upgrading last time, below abbreviate the fingerprint of the current version of the local store electricity philosophical works as the current version fingerprint, then reader adopts default disconnected chapter algorithm to the chapter processing of break of the local institute store electricity philosophical works, and each chapters and sections that obtains e-book comprise:
Reader reads the current version of e-book with text behavior unit, and when reading the end of current text row, judges whether the number of words of current text row is not more than predetermined value;
When if the number of words of current text row is not more than predetermined value, determine whether there is predetermined keyword in the current text row;
If when having predetermined key word in the current text row, then judge the current chapter title of current text behavior e-book current version, the content of text between described current chapter title and the next chapter section header is chapters and sections of described e-book.
Reader adopts default fingerprint algorithm that each chapters and sections is handled, and obtains first fingerprint and comprises:
Reader reads the chapter title of each chapters and sections as the general structure fingerprint of e-book;
Reader reads the content of text of predetermined quantity as the fingerprint of each chapters and sections in the precalculated position of each chapters and sections respectively.
In addition, in the embodiment of the invention, reader can also calculate the position of chapter title in described e-book of each chapters and sections, and the caption position of each chapters and sections that will calculate is judged fingerprint as the scarce chapter of e-book.
In the embodiment of the invention, described predetermined value can be self-defining data,, can this predetermined value be set to 25 (characters) here;
In the embodiment of the invention, described predetermined keyword can be self-defining character,, can be set to " chapter ", " volume ", " joint " or/and character such as " " perhaps, can be set to numeral by this predetermined keyword by predetermined keyword here;
In the embodiment of the invention, chapter title comprises section number and chapters and sections title, and the chapters and sections fingerprint of chapter title correspondence is used for the chapters and sections content of sign chapters and sections.
Step 302: when reader is connected to server, the current version fingerprint is sent to server;
Step 303: server receives the current version fingerprint;
Step 304: server obtains second fingerprint that is complementary with the current version fingerprint;
Particularly, server obtains second fingerprint that is complementary with the current version fingerprint and comprises:
In local fingerprint base, find out second fingerprint that is complementary with the current version fingerprint, general structure fingerprint in the described current version fingerprint and the general structure fingerprint in described second fingerprint are complementary each chapter title that described general structure fingerprint is described e-book.
Wherein, finding out second fingerprint that is complementary with the current version fingerprint in the local fingerprint base comprises:
Successively with each fingerprint in the local fingerprint base as current fingerprint to be checked, compare each chapter title in the current fingerprint to be checked and each chapter title in the current version fingerprint, find out identical chapter title in current fingerprint to be checked and the current version fingerprint, in the embodiment of the invention, will search the identical chapter title that obtains as key topics;
Calculate the ratio that key topics accounts for each chapter title in the current version fingerprint;
Judge whether ratio is not less than predetermined value;
When if ratio is not less than predetermined value, then current fingerprint to be checked is second fingerprint of e-book.
In the embodiment of the invention, described predetermined value can be self-defined numerical value, and here, this predetermined value can be set to 60%.
Step 305: server determines according to current version fingerprint and second fingerprint whether e-book has renewal;
Particularly, determine according to current version fingerprint and second fingerprint whether e-book has renewal to comprise:
Described server determines whether described e-book is upgraded, each chapter title that described general structure fingerprint is described e-book according to the general structure fingerprint in second fingerprint and the general structure fingerprint in the current version fingerprint.
Wherein, determining according to the general structure fingerprint in second fingerprint and the general structure fingerprint in the current version fingerprint whether described e-book is upgraded comprises:
According to each chapter title in the current version fingerprint, find out the maximum section number in the current version fingerprint, and according to each chapter title in second fingerprint, find out the maximum section number in second fingerprint, here, chapter title comprises section number;
Judge that whether maximum section number in the current version fingerprint is less than the maximum section number in second fingerprint;
If judged result be less than, judge that then the current version of the e-book of storing in the reader upgrades in server;
Find out in each chapter title from second fingerprint than the big chapter title of maximum section number in the current version fingerprint, and the chapters and sections of the chapter title correspondence of finding out are these chapters and sections that need upgrade of reader.
Step 306: server sends update notification to reader, and notice reader e-book has the chapters and sections that upgrade chapters and sections, renewal and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade;
Step 307: the update notification that the reader reception server returns, determine whether to upgrade e-book according to update notification, wherein, update notification is used for notice reader e-book the chapters and sections of renewal, upgrade whether down loading updating chapters and sections of chapters and sections and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
The embodiment of the invention when specific implementation, when step 304 search obtain key topics after, described method comprises: determine according to described key topics whether the local institute of the reader store electricity philosophical works lacks the chapters and sections chapter, and the specific implementation process is as follows:
Determine the primary importance of described key topics according to the caption position of each chapters and sections in the current version fingerprint;
Determine the second place of described key topics according to the caption position of each chapters and sections in second fingerprint;
Determine whether primary importance is consistent with the second place;
If primary importance and the second place are inconsistent, then return notification message to reader, notice reader e-book current version lacks chapters and sections or/and whether the inquiry reader downloads the e-book of the second fingerprint correspondence.
The embodiment of the invention when specific implementation, step 304 search obtain key topics after, described method also comprises:
Described server determines according to the fingerprint of each chapters and sections in described second fingerprint and the fingerprint of each chapters and sections in the current version fingerprint whether the content of described each chapters and sections of e-book is complete.Being implemented as follows of this operation:
Determine the first chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in the current version, determine the second chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in second fingerprint;
Determine whether the described first chapters and sections fingerprint is consistent with the described second chapters and sections fingerprint;
If the described first chapters and sections fingerprint and the described second chapters and sections fingerprint are inconsistent, then return notification message to reader, there are the incomplete chapters and sections of content or/and whether inquiry downloads the incomplete chapters and sections of content again in the notice reader e-book current version.
The beneficial effect that the embodiment of the invention is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Referring to Fig. 4, another that provides for the embodiment of the invention handled the method for e-book, and this method specifically comprises following operation steps:
Step 401: reader obtains first fingerprint of the local institute store electricity philosophical works;
The method that this step is obtained first fingerprint specifically sees also the described method of step 301, just repeats no more herein.
In the embodiment of the invention, first fingerprint specifically comprises the fingerprint of local institute store electricity philosophical works current version and the fingerprint of the last version of e-book, wherein, the last version of e-book refers to the version of e-book before upgrading last time, the e-book current version refers to the version of e-book after upgrading last time, below, abbreviate the fingerprint of e-book current version as the current version fingerprint, abbreviate the fingerprint of the last version of e-book as last version fingerprint;
Particularly, the method that reader obtains the current version fingerprint sees also the described method of step 301, just repeats no more herein.And reader can obtain last version fingerprint in local fingerprint base, and the last version fingerprint of storing in the local fingerprint base can adopt similar and the described method of step 201 obtains, the places different with the described method of step 201 are, what reader read is the last version of e-book, just repeats no more herein.
Step 402: when reader is connected to server, current version fingerprint and last version fingerprint are sent to server;
Step 403: server receives current version fingerprint and last version fingerprint;
Step 404: server obtains second fingerprint that is complementary with last version fingerprint;
Particularly, server obtains second fingerprint that is complementary with last version fingerprint and comprises:
Judge whether it is to receive last version fingerprint first;
If receive last version fingerprint first, then successively with each fingerprint in the local fingerprint base as current fingerprint to be checked, compare each chapter title in the current fingerprint to be checked and each chapter title in the last version fingerprint one by one, find out identical chapter title in current fingerprint to be checked and the last version fingerprint, in the embodiment of the invention, will search the identical chapter title that obtains as key topics;
Determine that key topics accounts for the ratio of each chapter title in the last version fingerprint;
Judge whether ratio is not less than predetermined value;
When if ratio is not less than predetermined value, then current fingerprint to be checked is second fingerprint, and records corresponding relation between described last version fingerprint and second fingerprint;
If not receiving last version fingerprint first, inquire about then that corresponding relation obtains second fingerprint between last version fingerprint and second fingerprint.
In the embodiment of the invention, described predetermined value can be self-defined numerical value, and here, this predetermined value can be set to 60%.
Step 405: server determines according to current version fingerprint and second fingerprint whether e-book has renewal;
The detailed description of this step sees also step 305, just repeats no more herein.
Step 406: server sends update notification to reader, and notice reader e-book has the chapters and sections that upgrade chapters and sections, renewal and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade;
Step 407: the update notification that the reader reception server returns, determine whether to upgrade e-book according to update notification, wherein, update notification is used for notice reader e-book whether down loading updating chapters and sections of the chapters and sections that upgrade chapters and sections, renewal and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
The embodiment of the invention is when specific implementation, when search in the step 404 obtain key topics after, described method also comprises: determine according to described key topics whether the local institute of the reader store electricity philosophical works lacks the chapters and sections chapter, the specific implementation of this step sees also in the step 307 about determining that according to described key topics whether the local institute of the reader store electricity philosophical works lacks the description of the realization of chapters and sections chapter, just repeats no more herein.
The embodiment of the invention is when specific implementation, step 404 search obtain key topics after, described method also comprises: described server determines according to the fingerprint of each chapters and sections in fingerprint, current version fingerprint and the last version fingerprint of each chapters and sections in described second fingerprint whether the content of described each chapters and sections of e-book complete.Being implemented as follows of this operation:
Judge whether it is to receive last version fingerprint first;
If receive last version fingerprint first, determine the first chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in the last version, determine the second chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in second fingerprint;
Whether contrast the described first chapters and sections fingerprint consistent with the described second chapters and sections fingerprint;
If the described first chapters and sections fingerprint and the described second chapters and sections fingerprint are inconsistent, then return notification message to described reader, notify to have the incomplete chapters and sections of content in the described e-book current version of described reader or/and whether inquiry downloads the incomplete chapters and sections of content again;
If not receiving last version fingerprint first, then according to the fingerprint of each chapters and sections in last version fingerprint and the current version fingerprint, obtain the fingerprint of specific chapters and sections, the fingerprint of described specific chapters and sections be present in the current version fingerprint and do not exist with last version fingerprint in the fingerprint of chapters and sections;
Whether the fingerprint of judging the described specific chapters and sections in described second fingerprint is consistent with the fingerprint of the above-mentioned specific chapters and sections that obtain;
If judged result is inconsistent, then return notification message to described reader, notify to have the incomplete chapters and sections of content in the described e-book current version of described reader or/and whether inquiry downloads the incomplete chapters and sections of content again.
The beneficial effect that the embodiment of the invention is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Referring to Fig. 5, another that provides for the embodiment of the invention handled the method for e-book, and this method specifically comprises following operation steps:
Step 501: reader obtains first fingerprint of the local institute store electricity philosophical works;
The method that this step is obtained first fingerprint specifically sees also the described method of step 301, just repeats no more herein.
In the embodiment of the invention, first fingerprint specifically comprises the fingerprint of the update content that the fingerprint of the last version of described e-book and last time upgrade, wherein, the e-book current version refers to the version of e-book after upgrading last time, below, abbreviate the fingerprint of the last version of e-book as last version fingerprint, the fingerprint of the update content that upgraded last time abbreviates the renewal fingerprint as.
Particularly, reader obtains the method for last version fingerprint and the method for renewal fingerprint sees also the described method of step 301, just repeats no more herein.And reader can obtain last version fingerprint in local fingerprint base, and the last version fingerprint of storing in the local fingerprint base can adopt similar and the described method of step 201 obtains, the places different with the described method of step 201 are, what reader read when obtaining last version fingerprint is the last version of e-book, the update content that reads when obtaining the renewal fingerprint just repeats no more herein.
Step 502: when reader is connected to server, last version fingerprint and renewal fingerprint are sent to server;
Step 503: server receives last version fingerprint and upgrades fingerprint;
Step 504: server obtains second fingerprint that is complementary with last version;
The specific implementation method of this step sees also the description of step 404, just repeats no more herein.
Step 505: server determines according to upgrading fingerprint and second fingerprint whether e-book has renewal;
This step specifically comprises following operation:
According to each chapter title that upgrades in the fingerprint, find out the maximum section number that upgrades in the fingerprint, and according to each chapter title in second fingerprint, find out the maximum section number in second fingerprint, wherein, chapter title comprises section number;
Judge that whether the maximum section number that upgrades in the fingerprint is less than the maximum section number in second fingerprint;
If judged result be less than, judge that then the e-book that store reader this locality upgrades in server;
Find out the chapter title of the section number correspondence bigger than the maximum section number in the renewal fingerprint in each chapter title from second fingerprint, and the chapters and sections of the chapter title correspondence of finding out are these chapters and sections that need upgrade of reader.
Step 506: server sends update notification to reader, and notice reader e-book has the chapters and sections that upgrade chapters and sections, renewal and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade;
Step 507: the update notification that the reader reception server returns, determine whether to upgrade e-book according to update notification, wherein, update notification is used for that notice reader e-book has the chapters and sections that upgrade chapters and sections, renewal or/and inquiry reader down loading updating chapters and sections whether perhaps are used for the described e-book of notice reader and do not upgrade.
The embodiment of the invention is when specific implementation, when search in the step 404 obtain key topics after, described method also comprises: described server determines according to the fingerprint of each chapters and sections in described second fingerprint, the fingerprint of each chapters and sections in the last version fingerprint and the fingerprint that upgrades each chapters and sections in the fingerprint whether the content of described each chapters and sections of e-book complete.Being implemented as follows of this operation:
Judge whether it is to receive last version fingerprint first;
If receive last version fingerprint first, determine the first chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in the last version, determine the second chapters and sections fingerprint of the chapters and sections of described key topics correspondence according to the fingerprint of each chapters and sections in second fingerprint;
Whether contrast the described first chapters and sections fingerprint consistent with the described second chapters and sections fingerprint;
If the described first chapters and sections fingerprint and the described second chapters and sections fingerprint are inconsistent, then return notification message to described reader, notify to have the incomplete chapters and sections of content in the described e-book current version of described reader or/and whether inquiry downloads the incomplete chapters and sections of content again;
If not receiving last version fingerprint first, the fingerprint of then judging each chapters and sections in the renewal fingerprint in second fingerprint whether with upgrade fingerprint in the fingerprint of each chapters and sections consistent;
If judged result is inconsistent, then return notification message to reader, there are the incomplete chapters and sections of content or/and whether inquiry downloads the incomplete chapters and sections of content again in the notice reader e-book current version.
The beneficial effect that the embodiment of the invention is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Embodiment 2
Referring to Fig. 6, a kind of reader, this reader specifically comprises: acquisition module 601, sending module 602 and receiver module 603;
Acquisition module 601 is for first fingerprint that obtains the local institute store electricity philosophical works;
Sending module 602 is used for first fingerprint is sent to server, so that server obtains second fingerprint that is complementary with first fingerprint, and determines according to first fingerprint and second fingerprint whether e-book has renewal;
Receiver module 603, be used for the update notification that reception server returns, and determine whether to upgrade e-book according to update notification, update notification is used for notice reader e-book the chapters and sections of renewal, upgrade whether down loading updating chapters and sections of chapters and sections and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
In the embodiment of the invention, first fingerprint comprises the fingerprint of e-book current version, and the fingerprint of e-book current version comprises that the chapters and sections fingerprint of each chapter title of current version, each chapter title correspondence of current version is or/and the position of each chapter title of current version in current version.
Referring to Fig. 7, as shown in Figure 6 acquisition module 601 comprises in the embodiment of the invention:
Disconnected Zhang Danyuan 6011 is used for adopting default disconnected chapter algorithm to the chapter processing of break of the local institute store electricity philosophical works, obtains each chapters and sections of e-book;
Fingerprint generation unit 6012 is used for adopting default fingerprint algorithm that each chapters and sections is handled, and obtains first fingerprint.
Wherein, disconnected Zhang Danyuan 6011, concrete being used for read e-book with text behavior unit, and when reading the end of current text row, judges whether the number of words of current text row is not more than predetermined value; If the number of words of current text row is not more than predetermined value, determine whether there is predetermined keyword in the current text row; If have predetermined keyword in the current text row, then judge the current chapter title of current text behavior e-book, wherein, the content of text between described current chapter title and the next chapter section header is chapters and sections of described e-book.
Fingerprint generation unit 6012, concrete being used for read the chapter title of each chapters and sections as the general structure fingerprint of e-book, and reads the content of text of predetermined quantity as the fingerprint of each chapters and sections in the precalculated position of each chapters and sections respectively.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Embodiment 3
Referring to Fig. 8, a kind of server, this server comprises: receiver module 701, acquisition module 702, renewal judge module 703 and sending module 704;
Receiver module 701 is for first fingerprint of the local institute of the reader store electricity philosophical works that receives the reader transmission;
Acquisition module 702 is used for obtaining second fingerprint that is complementary with first fingerprint;
Upgrade judge module 703, be used for determining according to first fingerprint and second fingerprint whether e-book has renewal;
Sending module 704 is used for sending update notification to reader, and whether notice reader e-book has the chapters and sections that upgrade chapters and sections, renewal and whether inquire the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade.
In the embodiment of the invention, acquisition module 702, concrete being used for found out second fingerprint that is complementary with first fingerprint in local fingerprint base, the general structure fingerprint in first fingerprint and the general structure fingerprint in second fingerprint are complementary, and the general structure fingerprint is each chapter title of e-book.
Upgrade judge module 703, concrete for determining according to the general structure fingerprint in second fingerprint and the general structure fingerprint in first fingerprint whether e-book is upgraded, the general structure fingerprint is each chapter title of e-book.
Referring to Fig. 9, embodiment of the invention server as shown in Figure 8 also comprises: content judge module 705 is used for determining according to each the chapters and sections fingerprint in described second fingerprint and each the chapters and sections fingerprint in described first fingerprint whether the content of described each chapters and sections of e-book is complete.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
Embodiment 4
Referring to Figure 10, a kind of system that handles e-book, this system comprises: reader 801 and server 802;
Reader 801 is used for obtaining first fingerprint of the local institute store electricity philosophical works, and first fingerprint is sent to server 802;
Server 802 is used for obtaining second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, afterwards, send update notification to reader 801, notice reader 801 e-book have the chapters and sections that upgrade chapters and sections, renewal and whether inquire the down loading updating chapters and sections, perhaps notify the described e-book of reader not upgrade;
Reader 801 is used for the update notification that reception server 802 returns, and determines whether to upgrade e-book according to update notification.
Wherein, the concrete structure of reader 801 sees also the reader of embodiment 2, just repeats no more herein, and the concrete structure of server 802 sees also the server of embodiment 3, just repeats no more herein.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is: reader is by obtaining first fingerprint of the local institute store electricity philosophical works, first fingerprint is sent to server, server obtains second fingerprint that is complementary with first fingerprint, and determine according to first fingerprint and second fingerprint whether e-book has renewal, send update notification to reader, reader is after receiving the update notification that server returns, determine whether the realization of technical scheme that e-book is upgraded according to update notification, can obtain the update notification of e-book automatically, avoided the people to surf the Net to inquire about the operation whether e-book is upgraded, the timely more new situation of electron gain book, and improved user's experience.
In the embodiment of the invention, the interaction of each intermodule in relevant each equipment can just repeat no more referring to method embodiment part herein.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a method of handling e-book is characterized in that, described method comprises:
Reader obtains first fingerprint of the local institute store electricity philosophical works;
Described reader sends to described server with described first fingerprint, so that described server obtains second fingerprint that is complementary with described first fingerprint, and determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described reader receives the update notification that described server returns, and determine whether to upgrade described e-book according to described update notification, described update notification is used for the described e-book of notice reader whether down loading updating chapters and sections of the chapters and sections that upgrade chapters and sections, renewal and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
2. method according to claim 1 is characterized in that, first fingerprint that described reader obtains local e-book of storing comprises:
Described reader adopts default disconnected chapter algorithm to the chapter processing of break of the local institute store electricity philosophical works, obtains each chapters and sections of described e-book;
Described reader adopts default fingerprint algorithm that described each chapters and sections are handled, and obtains described first fingerprint.
3. method according to claim 2 is characterized in that, described reader adopts default disconnected chapter algorithm to the chapter processing of break of the local institute store electricity philosophical works, and each chapters and sections that obtains described e-book comprise
Described reader reads described e-book with text behavior unit, and when reading the end of current text row, judges whether the number of words of described current text row is not more than predetermined value;
If the number of words of described current text row is not more than described predetermined value, determine whether there is predetermined keyword in the described current text row;
If have described predetermined keyword in the described current text row, then judge the current chapter title of the described e-book of described current text behavior, the content of text between described current chapter title and the next chapter section header is chapters and sections of described e-book.
4. method according to claim 2 is characterized in that, described reader adopts default fingerprint algorithm that described each chapters and sections are handled, and obtains described first fingerprint and comprises:
Described reader reads the chapter title of described each chapters and sections as the general structure fingerprint of described e-book;
Described reader reads the content of text of predetermined quantity as the fingerprint of described each chapters and sections in the precalculated position of described each chapters and sections respectively.
5. a method of handling e-book is characterized in that, described method comprises:
Server receives first fingerprint of the local institute of the described reader store electricity philosophical works of reader transmission;
Described server obtains second fingerprint that is complementary with described first fingerprint;
Described server determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described server sends update notification to described reader, notifies the described e-book of described reader that the chapters and sections that upgrade chapters and sections, renewal are arranged and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade.
6. method according to claim 5 is characterized in that, described server obtains second fingerprint that is complementary with described first fingerprint and comprises:
Described server is found out second fingerprint that is complementary with described first fingerprint in local fingerprint base, general structure fingerprint in described first fingerprint and the general structure fingerprint in described second fingerprint are complementary each chapter title that described general structure fingerprint is described e-book.
7. method according to claim 5 is characterized in that, described server determines according to described first fingerprint and second fingerprint whether described e-book has renewal to comprise:
Described server determines according to the general structure fingerprint in the general structure fingerprint in described second fingerprint and described first fingerprint whether described e-book is upgraded, each chapter title that described general structure fingerprint is described e-book.
8. according to the described method of claim 5 to 7, it is characterized in that described server determines according to described first fingerprint and second fingerprint whether described e-book has after the renewal, and described method also comprises:
Described server determines according to each the chapters and sections fingerprint in described second fingerprint and each the chapters and sections fingerprint in described first fingerprint whether the content of described each chapters and sections of e-book is complete.
9. a reader is characterized in that, described reader comprises: acquisition module, sending module and receiver module;
Described acquisition module is for first fingerprint that obtains the local institute store electricity philosophical works;
Described sending module is used for described first fingerprint is sent to described server, so that described server obtains second fingerprint that is complementary with described first fingerprint, and determines according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described receiver module, be used for receiving the update notification that described server returns, and determine whether to upgrade described e-book according to described update notification, described update notification is used for the described e-book of notice reader whether down loading updating chapters and sections of the chapters and sections that upgrade chapters and sections, renewal and inquiry reader, perhaps is used for the described e-book of notice reader and does not upgrade.
10. a server is characterized in that, described server comprises: receiver module, acquisition module, renewal judge module and sending module;
Described receiver module is for first fingerprint of the local institute of the described reader store electricity philosophical works that receives the reader transmission;
Described acquisition module is used for obtaining second fingerprint that is complementary with described first fingerprint;
Described renewal judge module is used for determining according to described first fingerprint and second fingerprint whether described e-book has renewal;
Described sending module is used for sending update notification to described reader, notifies the described e-book of described reader that the chapters and sections that upgrade chapters and sections, renewal are arranged and whether inquires the down loading updating chapters and sections, perhaps notifies the described e-book of reader not upgrade.
11. a system that handles e-book is characterized in that, described system comprises: reader and server;
Described reader is used for obtaining first fingerprint of the local institute store electricity philosophical works, and described first fingerprint is sent to described server;
Described server is used for obtaining second fingerprint that is complementary with described first fingerprint, and determine according to described first fingerprint and second fingerprint whether described e-book has renewal, afterwards, send update notification to described reader, notify the described e-book of described reader to have to upgrade the chapters and sections of chapters and sections, renewal and whether inquire the down loading updating chapters and sections, perhaps, perhaps notify the described e-book of reader not upgrade;
Described reader is used for receiving the update notification that described server returns, and determines whether to upgrade described e-book according to described update notification.
CN201210040977.7A 2012-02-22 2012-02-22 Method, the equipment and system of process e-book Active CN103295426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210040977.7A CN103295426B (en) 2012-02-22 2012-02-22 Method, the equipment and system of process e-book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210040977.7A CN103295426B (en) 2012-02-22 2012-02-22 Method, the equipment and system of process e-book

Publications (2)

Publication Number Publication Date
CN103295426A true CN103295426A (en) 2013-09-11
CN103295426B CN103295426B (en) 2015-12-16

Family

ID=49096208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210040977.7A Active CN103295426B (en) 2012-02-22 2012-02-22 Method, the equipment and system of process e-book

Country Status (1)

Country Link
CN (1) CN103295426B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630942A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for scheduling update sections of electronic book
CN106709008A (en) * 2016-12-23 2017-05-24 掌阅科技股份有限公司 Internet article revising and renewing method and device and method and device for renewing internet article reading processing rate
CN113656549A (en) * 2021-08-18 2021-11-16 掌阅科技股份有限公司 Content searching method of electronic book, electronic device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741569A (en) * 2009-12-24 2010-06-16 中兴通讯股份有限公司 Data synchronization method, data synchronization system, client and server
CN101763386A (en) * 2008-12-25 2010-06-30 新奥特硅谷视频技术有限责任公司 Retrieval method, device and user equipment based on retrieval scope authority
CN102243746A (en) * 2010-05-10 2011-11-16 李晓 Electronic publication, electronic publication system and electronic terminal
CN102263803A (en) * 2010-05-24 2011-11-30 英华达(上海)电子有限公司 Method, device and system for updating electronic book data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763386A (en) * 2008-12-25 2010-06-30 新奥特硅谷视频技术有限责任公司 Retrieval method, device and user equipment based on retrieval scope authority
CN101741569A (en) * 2009-12-24 2010-06-16 中兴通讯股份有限公司 Data synchronization method, data synchronization system, client and server
CN102243746A (en) * 2010-05-10 2011-11-16 李晓 Electronic publication, electronic publication system and electronic terminal
CN102263803A (en) * 2010-05-24 2011-11-30 英华达(上海)电子有限公司 Method, device and system for updating electronic book data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630942A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for scheduling update sections of electronic book
CN105630942B (en) * 2015-12-23 2019-05-21 北京奇虎科技有限公司 The dispatching method and device of e-book update chapters and sections
CN106709008A (en) * 2016-12-23 2017-05-24 掌阅科技股份有限公司 Internet article revising and renewing method and device and method and device for renewing internet article reading processing rate
CN113656549A (en) * 2021-08-18 2021-11-16 掌阅科技股份有限公司 Content searching method of electronic book, electronic device and computer storage medium

Also Published As

Publication number Publication date
CN103295426B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN101512498B (en) The access to the data file be distributed in multiple dissimilar subscriber equipment is provided to user
CN103678319B (en) Resource file update method, device and system and server
CN102521280B (en) Loading method and loading device of EPub electronic book
CN103605534B (en) picture loading method and device
CN102129378B (en) A kind of software menu updating method and device
CN102970402B (en) A kind of method updating mobile terminal addressbook associated person information and device
CN102739791A (en) File downloading and uploading method and device
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
CN1988547A (en) Method, server and system for online playing medium file
CN103139259A (en) Method and server of achieving low-flux synchronous message logging
CN101702173A (en) Method and device for increasing access speed of mobile portal dynamic page
CN101741569B (en) Data synchronization method, data synchronization system, client and server
US9167026B2 (en) Communication system, communication apparatus, and control method of relay apparatus
CN105279236A (en) File cleaning method and device and electronic equipment
CN101238519A (en) Updating a portable communication device with media files
CN100395978C (en) Unloading method and terminal
CN101207580A (en) System and method for adding and deleting linkman synchronously by instant communication platform and business platform
CN103414765A (en) Method, device and system for shunting information in graphic code
CN103295426A (en) Method, device and system for processing electronic book
EP3506599B1 (en) Method for synchronizing contact information, apparatus and medium
CN103595808A (en) Method and device for pushing update information of file
CN102375881A (en) Content signature notification
CN105868399A (en) Method and device of managing photo album folders
CN103294881A (en) Method and device for acquiring game page and mobile terminal
CN106484248A (en) The reading processing method of e-book and device

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
TR01 Transfer of patent right

Effective date of registration: 20200831

Address after: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Co-patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right