CN107689997A - A kind of reading progress synchronous method and system, application service end and client - Google Patents
A kind of reading progress synchronous method and system, application service end and client Download PDFInfo
- Publication number
- CN107689997A CN107689997A CN201710817749.9A CN201710817749A CN107689997A CN 107689997 A CN107689997 A CN 107689997A CN 201710817749 A CN201710817749 A CN 201710817749A CN 107689997 A CN107689997 A CN 107689997A
- Authority
- CN
- China
- Prior art keywords
- book
- current
- page
- paper book
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Instructional Devices (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of reading progress synchronous method and system, application service end and client.The reading progress synchronous method includes:Receive the picture for the paper book current page that marked current reading location that client is sent;Picture is handled, obtains character offset of the current reading location in pandect of paper book;Character offset and user account information of the current reading location of paper book in pandect are sent to e-book reading service end.The reading progress synchronous method can facilitate user that the reading progress of e-book is synchronized to the current reading location of paper book in e-book reading service end, realize when user reads from paper book to the synchronism switching of e-book;User can be facilitated when reading paper book simultaneously, the reading progress of paper book is synchronized to the current reading location of e-book, realize when user reads from e-book to the synchronism switching of paper book, and then greatly facilitate reading progress synchronism switching when user uses paper book and e-book reading.
Description
Technical field
The present invention relates to communication technical field, in particular it relates to a kind of reading progress synchronous method and system, application service
End and client.
Background technology
In the mobile Internet epoch, with the popularization of the smart electronicses product such as smart mobile phone, tablet personal computer, people utilize various
Fragmentation time reading electronic book, but paper book be still it is indispensable, both reading methods modern life all
Generally existing.Many people's selections, which are in, sees paper book, and gos out and see e-book, and how synchronously to be read between both reading methods
The problem of reading progress is then one to be solved.
Existing ocr software can only often realize the preservation and renewal of e-book progress, and can not solve paper book and electricity
Between the philosophical works read progress synchronization, user can not between paper book and e-book free switching, oneself can only manually remember
The reading position of paper book, artificial page turning lookup is then carried out into corresponding e-book, it is more time-consuming.
Therefore, how to realize that paper book is synchronous with the reading progress of e-book turns into current urgent problem to be solved.
The content of the invention
The present invention is for above-mentioned technical problem present in prior art, there is provided a kind of reading progress synchronous method and is
System, application service end and client.The reading progress synchronous method can facilitate user in e-book reading service end by electronics
The reading progress of book is synchronized to the current reading location of paper book, it is achieved thereby that from paper book to e-book when user reads
Synchronism switching;It can facilitate user that the reading progress of paper book is synchronized into the current of e-book when reading paper book simultaneously
Reading position, it is achieved thereby that from e-book to the synchronism switching of paper book when user reads, and then greatly facilitate user and adopt
With reading progress synchronism switching when paper book and e-book reading.
The present invention provides the reading progress of a kind of reading progress synchronous method, methods described synchronization paper book and e-book,
Including:
Receive the picture for the paper book current page that marked current reading location that client is sent;
The picture is handled, obtains character offset of the current reading location in pandect of the paper book;
Character offset and user account information of the current reading location of the paper book in pandect are sent into electron
Book reading service end, so that the reading progress of the e-book is synchronized to the paper book by the e-book reading service end
Current reading location.
Preferably, in addition to:
The current reading location for receiving the e-book that the e-book reading service end is sent is inclined in the character of pandect
Shifting amount;
According to the current reading location of the e-book in the character offset of pandect, the corresponding e-book of calculating acquisition
The current page page number of the paper book of current reading location and the e-book current reading location are worked as in the paper book
The character offset of the preceding page;
By the current page page number of the paper book and the e-book current reading location in the paper book current page
The character offset in face is sent to the client, so that the client reminds user that the reading progress of the paper book is same
Walk the current reading location of the e-book.
Preferably, it is described that the picture is handled, obtain word of the current reading location in pandect of the paper book
Symbol offset includes:
Step S111:Identify the current page page number of the paper book;
Step S112:Monochrome pixels binary conversion treatment is carried out to the picture, to identify that the paper book current page is every
The coordinate position of individual character;
Step S113:Currently read according to the coordinate position of each character of paper book current page and the paper book
The mark coordinate position of position, calculate character offset of the paper book current reading location in current page;
Step S114:The paper book current page is inquired about in database according to the current page page number of the paper book
The character quantity of every page before;The page number that the database is used to store the paper book is corresponding with each page character quantity
Table;
Step S115:The summation of all pages of character quantity before the paper book current page is calculated, and described in calculating
Summation in the character offset of current page and is worth with the paper book current reading location, and described and value is the paper book
Current reading location pandect character offset.
Preferably, the current reading location according to the e-book is in the character offset of pandect, calculating acquisition pair
The current page page number and the e-book current reading location for answering the paper book of the e-book current reading location exist
The character offset of the paper book current page includes:
Step S211:Database is inquired about, obtains the total page number of the paper book and the character quantity of every page;The data
Storehouse is used for corresponding table of the page number with each page character quantity for storing the paper book;
Step S212:Increased page number variable page by page is set, the paper book first page is calculated respectively and often increases one page
Character sum afterwards;
Step S213:Judge whether the character sum after the paper book first page and often increase one page is more than or equal to respectively
Character offset of the current reading location of the e-book in pandect;
If it is, perform step S214:It is determined that the value of the corresponding page number variable is the current page of the paper book
Recto code;
Then step S215 is performed:The summation of all pages of character quantity before calculating the current page of the paper book,
And the difference of the current reading location of the summation and the e-book in the character offset of pandect is calculated, the difference is institute
State character offset of the e-book current reading location in the paper book current page;
If it is not, then continue executing with the step S212.
The present invention also provides a kind of reading progress synchronous method, and the reading of methods described synchronization paper book and e-book is entered
Degree, including:
The current reading location referred to using watermark figure layer for the paper book is marked;
The shot mark picture of the paper book current page of current reading location;
The picture is sent to application service end.
Preferably, in addition to:Receive the institute for the correspondence e-book current reading location that the application service end is sent
The current page page number and the e-book current reading location for stating paper book are offset in the character of the paper book current page
Amount.
The present invention also provides a kind of application service end, for synchronous paper book and the reading progress of e-book, including:
First receiving module, for receiving the paper book current page that marked current reading location of client transmission
The picture in face;
First processing module, for handling the picture, the current reading location of the paper book is obtained complete
The character offset of book;
First sending module, for by the current reading location of the paper book pandect character offset and user's account
Family information is sent to e-book reading service end, so that the e-book reading service end is same by the reading progress of the e-book
Walk the current reading location of the paper book.
Preferably, in addition to:
Second receiving module, the current reading position of the e-book sent for receiving the e-book reading service end
Put the character offset in pandect;
Second processing module, for the current reading location according to the e-book in the character offset of pandect, calculating
The current page page number and the e-book for obtaining the paper book of the corresponding e-book current reading location are currently read
Character offset of the position in the paper book current page;
Second sending module, for the current page page number of the paper book and the e-book current reading location to be existed
The character offset of the paper book current page is sent to the client, so that the client reminds user by the paper
The reading progress of matter book is synchronized to the current reading location of the e-book.
Preferably, the first processing module includes:
First recognition unit, for identifying the current page page number of the paper book;
Second recognition unit, for carrying out monochrome pixels binary conversion treatment to the picture, to identify that the paper book is worked as
The coordinate position of the preceding each character of the page;
First computing unit, for the coordinate position according to each character of paper book current page and the paper book
The mark coordinate position of current reading location, calculate character offset of the paper book current reading location in current page;
First query unit, the paper book is inquired about in database for the current page page number according to the paper book
The character quantity of every page before current page;The database is used for the page number for storing the paper book and each page character quantity
Corresponding table;
Second computing unit, for calculating the summation of all pages of character quantity before the paper book current page, and
The character offset and value of the summation and the paper book current reading location in current page is calculated, described and value is institute
State character offset of the current reading location in pandect of paper book.
Preferably, the Second processing module includes:
Second query unit, for inquiring about database, obtain the total page number of the paper book and the character quantity of every page;
The database is used for corresponding table of the page number with each page character quantity for storing the paper book;
3rd computing unit, for setting increased page number variable page by page, the paper book first page and every is calculated respectively
Increase the character sum after one page;
Judging unit, for judging whether the character sum after the paper book first page and often increase one page is more than respectively
Equal to the e-book current reading location pandect character offset;
Determining unit, for when the judged result of the judging unit is is, it is determined that the corresponding page number variable
It is worth the current page page number for the paper book;
4th computing unit, the summation of all pages of character quantity before the current page for calculating the paper book,
And the difference of the current reading location of the summation and the e-book in the character offset of pandect is calculated, the difference is institute
State character offset of the e-book current reading location in the paper book current page.
The present invention also provides a kind of client, for synchronous paper book and the reading progress of e-book, including:
Mark module, the current reading location for being referred to using watermark figure layer for the paper book are marked;
Taking module, the picture of the paper book current page of current reading location for shot mark;
3rd sending module, for the picture to be sent into application service end.
Preferably, in addition to:3rd receiving module, the correspondence e-book sent for receiving the application service end
The current page page number of the paper book of current reading location and the e-book current reading location are worked as in the paper book
The character offset of the preceding page.
The present invention also provides a kind of reading progress synchronization system, for synchronous paper book and the reading progress of e-book, bag
Include:Above-mentioned application service end and above-mentioned client, in addition to e-book reading service end;
The application service end is used to assist the e-book reading service end that the reading progress of the e-book is synchronous
To the current reading location of the paper book, and the client is assisted to remind user that the reading progress of the paper book is synchronous
To the current reading location of the e-book.
Beneficial effects of the present invention:Reading progress synchronous method provided by the present invention, by obtaining the current of paper book
Reading position can facilitate user in e-book reading service end that the reading progress of e-book is same in the character offset of pandect
The current reading location of paper book is walked, it is achieved thereby that from paper book to the synchronism switching of e-book when user reads;Simultaneously
By the current page page number and e-book current reading location of the paper book of the corresponding e-book current reading location of acquisition in paper
The character offset of matter book current page, user can be facilitated to be synchronized to the reading progress of paper book when reading paper book
The current reading location of e-book, it is achieved thereby that from e-book to the synchronism switching of paper book when user reads, and then significantly
Facilitate reading progress synchronism switching when user uses paper book and e-book reading.
Application service end provided by the present invention, by setting first processing module, user can be facilitated to be read in e-book
The current reading location that the reading progress of e-book is synchronized to paper book by service end is read, it is achieved thereby that by paper when user reads
Synchronism switching of the matter book to e-book;By setting Second processing module, user can be facilitated when reading paper book, by papery
The reading progress of book is synchronized to the current reading location of e-book, it is achieved thereby that from e-book to paper book when user reads
Synchronism switching, and then greatly facilitate reading progress synchronism switching when user uses paper book and e-book reading.
Client provided by the present invention, by setting mark module, taking module, the 3rd sending module and the 3rd to receive
Module, can assistance application service end by the reading progress of paper book and e-book carry out bi-directional synchronization, so as to facilitate user
Reading.
Reading progress synchronization system provided by the present invention, by using above-mentioned application service end and client, Neng Goushi
The bi-directional synchronization of existing paper book and e-book reading progress, so as to facilitate the reading of user.
Brief description of the drawings
Fig. 1 is the flow chart that the current reading location of paper book is synchronized to e-book in the embodiment of the present invention 1;
Fig. 2 is the flow chart that the current reading location of e-book is synchronized to paper book in the embodiment of the present invention 1;
Fig. 3 is the particular flow sheet of step S11 in the embodiment of the present invention 2;
Fig. 4 is the particular flow sheet of step S21 in the embodiment of the present invention 2;
Fig. 5 is the flow chart that progress synchronous method is read in the embodiment of the present invention 3;
Fig. 6 is the theory diagram at application service end in the embodiment of the present invention 4;
Fig. 7 is the theory diagram of client in the embodiment of the present invention 5;
Fig. 8 is the theory diagram that progress synchronization system is read in the embodiment of the present invention 6.
Description of reference numerals therein:
1. the first receiving module;2. first processing module;21. the first recognition unit;22. the second recognition unit;23. first
Computing unit;24. the first query unit;25. the second computing unit;3. the first sending module;4. the second receiving module;5. second
Processing module;51. the second query unit;52. the 3rd computing unit;53. judging unit;54. determining unit;55. the 4th calculates
Unit;6. the second sending module;7. mark module;8. taking module;9. the 3rd sending module;11. application service end;12. visitor
Family end;13. e-book reading service end.
Embodiment
To make those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and it is embodied
Mode is made further detailed to a kind of reading progress synchronous method provided by the present invention and system, application service end and client
Description.
Embodiment 1:
The present embodiment provides the reading progress of a kind of reading progress synchronous method, this method synchronization paper book and e-book,
As shown in figure 1, including:
Step S10:Receive the picture for the paper book current page that marked current reading location that client is sent.
Step S11:Picture is handled, obtains character offset of the current reading location in pandect of paper book.
Step S12:Character offset and user account information of the current reading location of paper book in pandect are sent to
E-book reading service end, so that the reading progress of e-book is synchronized to the current reading of paper book by e-book reading service end
Position.
Wherein, user account information is the user profile that user registers in e-book reading service end, and user passes through its account
Family information could be in e-book reading service end reading electronic book.
By above-mentioned steps S10~step S12, user can be facilitated in e-book reading service end by the reading of e-book
Progress is synchronized to the current reading location of paper book, it is achieved thereby that synchronously cutting from paper book to e-book when user reads
Change.
The synchronous method also includes:As shown in Fig. 2
Step S20:The current reading location for receiving the e-book that e-book reading service end is sent is inclined in the character of pandect
Shifting amount.
Step S21:According to the current reading location of e-book in the character offset of pandect, the corresponding e-book of calculating acquisition
Character of the current page page number and e-book current reading location of the paper book of current reading location in paper book current page
Offset.
Step S22:By the current page page number of paper book and e-book current reading location in paper book current page
Character offset is sent to client, so that client reminds user that the reading progress of paper book is synchronized into the current of e-book
Reading position.
Wherein, client refers to smart mobile phone client.Certainly, client can also be other smart electronicses clients,
Such as personal computer.
By above-mentioned steps S20~step S22, user can be facilitated to enter the reading of paper book when reading paper book
Degree is synchronized to the current reading location of e-book, it is achieved thereby that from e-book to the synchronism switching of paper book when user reads.
The reading progress synchronous method, by obtaining character offset of the current reading location in pandect of paper book, energy
Enough facilitate user that the reading progress of e-book is synchronized to the current reading location of paper book in e-book reading service end, so as to
Realize when user reads from paper book to the synchronism switching of e-book;Simultaneously by obtaining corresponding e-book current reading location
Paper book the current page page number and e-book current reading location in the character offset of paper book current page, Neng Goufang
Just the reading progress of paper book is synchronized to the current reading location of e-book by user when reading paper book, it is achieved thereby that
From e-book to the synchronism switching of paper book when user reads, and then greatly facilitate user and use paper book and e-book reading
When reading progress synchronism switching.
Embodiment 2:
The present embodiment provides a kind of reading progress synchronous method, including:
Step S10:Receive the picture for the paper book current page that marked current reading location that client is sent.
Step S11:Picture is handled, obtains character offset of the current reading location in pandect of paper book.
The step specifically includes:As shown in figure 3,
Step S111:Identify the current page page number of paper book.
Wherein, the numeral in the acquiescence identification paper book current page lower right corner is the page number N of current page.
Step S112:Monochrome pixels binary conversion treatment is carried out to picture, to identify each character of paper book current page
Coordinate position.
In the step, the detailed process for identifying the coordinate position of each character of paper book current page is:By picture two-value
The all pixels point for changing image is converted to two values matrix (all numerical value are 0 or 1 in matrix), and scan matrix obtains the horizontal stroke of character
Ordinate (x, y), specific method are as follows:
1. being scanned by column to matrix, by the points that numerical value in row statistical matrix is 1, column scan statistical result is carried out
Breakpoint analysis (white space of the breakpoint between two line characters), the ordinate of the line character is determined according to the position of breakpoint, really
The method of determining is that the ordinate of two breakpoints is averaged as the ordinate y of the line character.
2. entering line scans to matrix, by the points that numerical value in row statistical matrix is 1, row scan statistics result is broken
Point analysis (white space of the breakpoint between two row characters), the abscissa of each character of the row is determined according to breakpoint location, really
The method of determining is that the abscissa of two breakpoints is averaged as the abscissa x of each character of the row.
Circulation 1. and 2. step, obtains the coordinate position (x, y) of each character, and preserve.
Step S113:According to the coordinate position of each character of paper book current page and the mark of paper book current reading location
Remember coordinate position, calculate character offset Δ A of the paper book current reading location in current page.
In the step, it is assumed that the mark coordinate position of paper book current reading location is (x1, y1), then ordinate y > y1
Character be judged as reading character and make marks;And ordinate y=y1, and abscissa x≤x1 character is also judged as having read
Read character and make marks;The quantity of reading character is counted, as paper book current reading location is inclined in the character of current page
Shifting amount Δ A.
Step S114:It is each before inquiring about paper book current page in database according to the current page page number of paper book
The character quantity of page.Database is used for corresponding table of the page number with each page character quantity for storing paper book.
Step S115:The summation of all pages of character quantity before calculating paper book current page, and calculate summation and paper
Matter book current reading location is in the character offset of current page and is worth, and should be worth the current reading location for paper book complete
The character offset of book.
In the step, if the current reading location of paper book is S in the character offset of pandect, its calculation formula is:S=
Σ1 NA(n-1)+ΔA;Wherein, n=1,2,3 ... N;A (n-1) is the character quantity of paper book page (n-1)th.
Step S12:Character offset and user account information of the current reading location of paper book in pandect are sent to
E-book reading service end, so that the reading progress of e-book is synchronized to the current reading of paper book by e-book reading service end
Position.
In the step, e-book reading service end according to the current reading location of paper book pandect character offset S
Positioning active user corresponds to the reading progress of e-book and stores the numerical value;When user accesses e-book reading service end,
E-book reading service end is automatically positioned the current reading location of paper book in the character offset S of pandect position, and to
User pushes the content of e-book of the current reading location of paper book after the character offset S of pandect.
The synchronous method also includes:
Step S20:The current reading location for receiving the e-book that e-book reading service end is sent is inclined in the character of pandect
Shifting amount.
Step S21:According to the current reading location of e-book in the character offset of pandect, the corresponding e-book of calculating acquisition
Character of the current page page number and e-book current reading location of the paper book of current reading location in paper book current page
Offset.
The step specifically includes:As shown in figure 4,
Step S211:Database is inquired about, obtains the total page number m of the paper book and character quantity A (i) of every page.Database
For storing the page number of paper book and the corresponding table of each page character quantity.Wherein, i=1,2,3 ... m.
Step S212:Increased page number variable i page by page is set, after calculating paper book first page respectively and often increasing one page
Character sum.
Wherein, if the total number variable of character after paper book first page and often increase one page is SS (i), the total number variable of the character
Calculation formula be:SS (i)=Σ1 mA(i);Wherein, i=1,2,3 ... m.Also including to paper book first page and often in the step
Character sum after increase one page is stored.
Step S213:Judge whether the character sum after paper book first page and often increase one page is more than or equal to electronics respectively
Character offset of the current reading location of book in pandect.
Wherein, if the current reading location of e-book in the character offset of pandect is S ', that is, judge whether SS (i) is more than
Equal to S '.
If it is, perform step S214:It is determined that the value of corresponding page number variable is the current page page number N ' of paper book.
Wherein, corresponding page number variable is i.e. as SS (i) >=S ', the value of corresponding page number variable i.
Then step S215 is performed:The summation of all pages of character quantity before the current page of calculating paper book, and count
The difference of the current reading location of summation and e-book in the character offset of pandect is calculated, difference is e-book current reading location
In the character offset of paper book current page.
In the step, if e-book current reading location is Δ A ', Δ A ' in the character offset of paper book current page
=SS (N ' -1)-S ';Wherein, SS (N ' -1) be paper book current page before all pages character quantity summation.
If it is not, then continue executing with the step S212.
Step S22:By the current page page number of paper book and e-book current reading location in paper book current page
Character offset is sent to client, so that client reminds user that the reading progress of paper book is synchronized into the current of e-book
Reading position.
In the step, by the current page page number comprising paper book and e-book current reading location in paper book current page
The reminder message of the character offset in face is sent to client, and reminder message can be short message or APP PUSH messages, can also incite somebody to action
Reminder message writes client memorandum, so that client reminds user that the reading progress of paper book is synchronized into working as e-book
Preceding reading position.
Embodiment 3:
The present embodiment provides a kind of reading progress synchronous method, as shown in figure 5, reading progress synchronization side in embodiment 1
On the basis of method, the reading progress synchronous method also includes before step S10:
Step S07:The current reading location referred to using watermark figure layer for paper book is marked.
Wherein, watermark figure layer indicator marker function is the function that client carries.
Step S08:The shot mark picture of the paper book current page of current reading location.
Step S09:Picture is sent to application service end.
Above-mentioned steps S07~step S09 is the work that client is done when the reading progress of paper book is synchronized into e-book
Make, so that the picture that application service end is sent to client is handled.
In the present embodiment, the reading progress synchronous method also includes after step s 22:Step S23:Receive application service
The current page page number and e-book current reading location of the paper book for the corresponding e-book current reading location that end is sent are in paper
The character offset of matter book current page.
The step is the work that client is done when the reading progress of e-book is synchronized into paper book, so that client carries
The reading progress of e-book is synchronized to paper book by the user that wakes up.
Other steps of reading progress synchronous method are in the same manner as in Example 1 in the present embodiment, and here is omitted.
Embodiment 1-3 beneficial effect:The reading progress synchronous method that embodiment 1-3 is provided, by obtaining paper book
Current reading location in the character offset of pandect, can facilitate user in e-book reading service end by the reading of e-book
Progress is synchronized to the current reading location of paper book, it is achieved thereby that synchronously cutting from paper book to e-book when user reads
Change;Position is currently read by the current page page number and e-book for the paper book for obtaining corresponding e-book current reading location simultaneously
The character offset in paper book current page is put, user can be facilitated when reading paper book, by the reading progress of paper book
The current reading location of e-book is synchronized to, it is achieved thereby that entering when user reads from e-book to the synchronism switching of paper book
And greatly facilitate reading progress synchronism switching when user uses paper book and e-book reading.
Embodiment 4:
The present embodiment provides a kind of application service end, for synchronous paper book and the reading progress of e-book, such as Fig. 6 institutes
Show, including:First receiving module 1, for receiving the paper book current page that marked current reading location of client transmission
Picture.First processing module 2, for handling picture, obtain character of the current reading location in pandect of paper book
Offset.First sending module 3, for character offset and user account of the current reading location of paper book in pandect to be believed
Breath is sent to e-book reading service end, so that the reading progress of e-book is synchronized to paper book by e-book reading service end
Current reading location.
Wherein, the setting of the first receiving module 1, the sending module 3 of first processing module 2 and first, can facilitate user to exist
The reading progress of e-book is synchronized to the current reading location of paper book by e-book reading service end, it is achieved thereby that user reads
From paper book to the synchronism switching of e-book during reading.
In the present embodiment, application service end also includes the second receiving module 4, is sent for receiving e-book reading service end
E-book current reading location pandect character offset.Second processing module 5, for being read according to the current of e-book
Reading location is in the character offset of pandect, the current page page number of the paper book of the corresponding e-book current reading location of calculating acquisition
And e-book current reading location is in the character offset of paper book current page.Second sending module 6, for by paper book
The current page page number and e-book current reading location are sent to client in the character offset of paper book current page, so as to
The reading progress of paper book is synchronized to the current reading location of e-book by client prompting user.
Wherein, the setting of the second receiving module 4, the sending module 6 of Second processing module 5 and second, can facilitate user to exist
When reading paper book, the reading progress of paper book is synchronized to the current reading location of e-book, it is achieved thereby that user reads
When from e-book to the synchronism switching of paper book.
In the present embodiment, first processing module 2 includes:First recognition unit 21, for identifying the current page of paper book
The page number.Second recognition unit 22, for carrying out monochrome pixels binary conversion treatment to picture, to identify that paper book current page is each
The coordinate position of character.First computing unit 23, for the coordinate position and papery according to each character of paper book current page
The mark coordinate position of book current reading location, calculate character offset of the paper book current reading location in current page.The
One query unit 24, for each before inquiring about paper book current page in database according to the current page page number of paper book
The character quantity of page.Database is used for corresponding table of the page number with each page character quantity for storing paper book.Second computing unit 25,
For the summation of all pages of character quantity before calculating paper book current page, and calculate summation and currently read position with paper book
The character offset and value in current page is put, and should be worth and offset for the current reading location of paper book in the character of pandect
Amount.
In the present embodiment, Second processing module 5 includes:Second query unit 51, for inquiring about database, obtain paper book
Total page number and every page character quantity.Database is used for corresponding table of the page number with each page character quantity for storing paper book.
3rd computing unit 52, for setting increased page number variable page by page, after calculating paper book first page respectively and often increasing one page
Character sum.Judging unit 53, for judging whether the character sum after paper book first page and often increase one page is big respectively
In the current reading location equal to e-book pandect character offset.Determining unit 54, for sentencing in judging unit 53
Disconnected result is when being, it is determined that the value of corresponding page number variable is the current page page number of paper book.4th computing unit 55, is used for
The summation of all pages of character quantity before the current page of calculating paper book, and calculate the current reading of the summation and e-book
Position the character offset of pandect difference, the difference be e-book current reading location paper book current page character
Offset.
The beneficial effect of embodiment 4:Application service end provided in embodiment 4, by setting first processing module, energy
Enough facilitate user that the reading progress of e-book is synchronized to the current reading location of paper book in e-book reading service end, so as to
Realize when user reads from paper book to the synchronism switching of e-book;By setting Second processing module, user can be facilitated
When reading paper book, the reading progress of paper book is synchronized to the current reading location of e-book, it is achieved thereby that user reads
From e-book to the synchronism switching of paper book during reading, and then greatly facilitate user and use readding when paper book and e-book reading
Reading progress synchronism switching.
Embodiment 5:
The present embodiment provides a kind of client, for synchronous paper book and the reading progress of e-book, as shown in fig. 7, bag
Include:Mark module 7, the current reading location for being referred to using watermark figure layer for paper book are marked.Taking module 8, use
The picture of the paper book current page of current reading location in shot mark.3rd sending module 9, for picture to be sent to
Application service end.
By setting mark module 7, the sending module 9 of taking module 8 and the 3rd, the client can carry to application service end
Progress picture is read for paper book, so that the picture that application service end is sent to client is handled.
In the present embodiment, client also includes the 3rd receiving module, for receiving the corresponding electronics of application service end transmission
Word of the current page page number and e-book current reading location of the paper book of book current reading location in paper book current page
Accord with offset.
By setting the 3rd receiving module, the client can remind the reading progress of e-book to user, so as to
The reading progress of e-book is synchronized to paper book by family.
The beneficial effect of embodiment 5:Client provided in embodiment 5, by set mark module, taking module,
3rd sending module and the 3rd receiving module, can assistance application service end the reading progress of paper book and e-book is carried out it is double
To synchronization, so as to facilitate the reading of user.
Embodiment 6:
The present embodiment provides a kind of reading progress synchronization system, for synchronous paper book and the reading progress of e-book, such as
Shown in Fig. 8, including:The client 12 in application service end 11 and embodiment 5 in embodiment 4, in addition to e-book reading clothes
Business end 13.Application service end 11 is used to assist e-book reading service end 13 that the reading progress of e-book is synchronized into paper book
Current reading location, and the current reading position for assisting client 12 to remind user that the reading progress of paper book is synchronized to e-book
Put.
The reading progress synchronization system, by using the client in the application service end and embodiment 5 in embodiment 4,
The bi-directional synchronization of paper book and e-book reading progress can be realized, so as to facilitate the reading of user.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, but the invention is not limited in this.For those skilled in the art, the essence of the present invention is not being departed from
In the case of refreshing and essence, various changes and modifications can be made therein, and these variations and modifications are also considered as protection scope of the present invention.
Claims (13)
- A kind of 1. reading progress of reading progress synchronous method, methods described synchronization paper book and e-book, it is characterised in that bag Include:Receive the picture for the paper book current page that marked current reading location that client is sent;The picture is handled, obtains character offset of the current reading location in pandect of the paper book;The current reading location of the paper book is sent into e-book in the character offset and user account information of pandect to read Service end is read, so that the reading progress of the e-book is synchronized to the current of the paper book by the e-book reading service end Reading position.
- 2. reading progress synchronous method according to claim 1, it is characterised in that also include:Receive character offset of the current reading location in pandect for the e-book that the e-book reading service end is sent;According to the current reading location of the e-book in the character offset of pandect, calculate that to obtain the corresponding e-book current The current page page number of the paper book of reading position and the e-book current reading location are in the paper book current page The character offset in face;By the current page page number of the paper book and the e-book current reading location in the paper book current page Character offset is sent to the client, so that the client reminds user to be synchronized to the reading progress of the paper book The current reading location of the e-book.
- 3. reading progress synchronous method according to claim 1, it is characterised in that it is described that the picture is handled, Obtain the current reading location of the paper book includes in the character offset of pandect:Step S111:Identify the current page page number of the paper book;Step S112:Monochrome pixels binary conversion treatment is carried out to the picture, to identify each word of paper book current page The coordinate position of symbol;Step S113:According to the coordinate position of each character of paper book current page and the paper book current reading location Mark coordinate position, calculate character offset of the paper book current reading location in current page;Step S114:Inquired about according to the current page page number of the paper book in database before the paper book current page The character quantity of every page;The database is used for corresponding table of the page number with each page character quantity for storing the paper book;Step S115:The summation of all pages of character quantity before the paper book current page is calculated, and calculates the summation Work as with the paper book current reading location in the character offset of current page and value, described and value for the paper book Character offset of the preceding reading position in pandect.
- 4. reading progress synchronous method according to claim 2, it is characterised in that described according to the current of the e-book Reading position calculates working as the paper book that obtains the corresponding e-book current reading location in the character offset of pandect The preceding page page number and the e-book current reading location include in the character offset of the paper book current page:Step S211:Database is inquired about, obtains the total page number of the paper book and the character quantity of every page;The database is used In the page number and the corresponding table of each page character quantity that store the paper book;Step S212:Increased page number variable page by page is set, after calculating the paper book first page respectively and often increasing one page Character sum;Step S213:It is described to judge whether the character sum after the paper book first page and often increase one page is more than or equal to respectively Character offset of the current reading location of e-book in pandect;If it is, perform step S214:It is determined that the value of the corresponding page number variable is the current page recto of the paper book Code;Then step S215 is performed:The summation of all pages of character quantity before calculating the current page of the paper book, and count The difference of the current reading location of the summation and the e-book in the character offset of pandect is calculated, the difference is the electricity Character offset of the philosophical works current reading location in the paper book current page;If it is not, then continue executing with the step S212.
- A kind of 5. reading progress of reading progress synchronous method, methods described synchronization paper book and e-book, it is characterised in that bag Include:The current reading location referred to using watermark figure layer for the paper book is marked;The shot mark picture of the paper book current page of current reading location;The picture is sent to application service end.
- 6. reading progress synchronous method according to claim 5, it is characterised in that also include:Receive the application service Hold the current page page number and the e-book of the paper book of the correspondence e-book current reading location sent current Character offset of the reading position in the paper book current page.
- A kind of 7. application service end, for synchronous paper book and the reading progress of e-book, it is characterised in that including:First receiving module, the paper book current page that marked current reading location sent for receiving client Picture;First processing module, for handling the picture, the current reading location of the paper book is obtained in pandect Character offset;First sending module, for character offset and user account of the current reading location of the paper book in pandect to be believed Breath is sent to e-book reading service end, so that the reading progress of the e-book is synchronized to by the e-book reading service end The current reading location of the paper book.
- 8. application service end according to claim 7, it is characterised in that also include:Second receiving module, the current reading location of the e-book sent for receiving the e-book reading service end exist The character offset of pandect;Second processing module, for the current reading location according to the e-book in the character offset of pandect, calculating acquisition The current page page number and the e-book current reading location of the paper book of the corresponding e-book current reading location In the character offset of the paper book current page;Second sending module, for by the current page page number of the paper book and the e-book current reading location described The character offset of paper book current page is sent to the client, so that the client reminds user by the paper book Reading progress be synchronized to the current reading location of the e-book.
- 9. application service end according to claim 7, it is characterised in that the first processing module includes:First recognition unit, for identifying the current page page number of the paper book;Second recognition unit, for carrying out monochrome pixels binary conversion treatment to the picture, to identify the paper book current page The coordinate position of each character in face;First computing unit, it is current for the coordinate position according to each character of paper book current page and the paper book The mark coordinate position of reading position, calculate character offset of the paper book current reading location in current page;First query unit, it is current for inquiring about the paper book in database according to the current page page number of the paper book The character quantity of every page before the page;The database is used for pair of the page number with each page character quantity for storing the paper book Answer table;Second computing unit, for calculating the summation of all pages of character quantity before the paper book current page, and calculate The summation in the character offset of current page and is worth with the paper book current reading location, and described and value is the paper Character offset of the current reading location of matter book in pandect.
- 10. application service end according to claim 8, it is characterised in that the Second processing module includes:Second query unit, for inquiring about database, obtain the total page number of the paper book and the character quantity of every page;It is described Database is used for corresponding table of the page number with each page character quantity for storing the paper book;3rd computing unit, for setting increased page number variable page by page, the paper book first page is calculated respectively and is often increased Character sum after one page;Judging unit, for judging whether the character sum after the paper book first page and often increase one page is more than or equal to respectively Character offset of the current reading location of the e-book in pandect;Determining unit, for when the judged result of the judging unit is is, it is determined that the value of the corresponding page number variable is The current page page number of the paper book;4th computing unit, the summation of all pages of character quantity before the current page for calculating the paper book, and count The difference of the current reading location of the summation and the e-book in the character offset of pandect is calculated, the difference is the electricity Character offset of the philosophical works current reading location in the paper book current page.
- A kind of 11. client, for synchronous paper book and the reading progress of e-book, it is characterised in that including:Mark module, the current reading location for being referred to using watermark figure layer for the paper book are marked;Taking module, the picture of the paper book current page of current reading location for shot mark;3rd sending module, for the picture to be sent into application service end.
- 12. client according to claim 11, it is characterised in that also include:3rd receiving module, it is described for receiving The current page page number and the electricity of the paper book for the correspondence e-book current reading location that application service end is sent Character offset of the philosophical works current reading location in the paper book current page.
- A kind of 13. reading progress synchronization system, for synchronous paper book and the reading progress of e-book, it is characterised in that including: The client described in application service end and claim 11-12 any one described in claim 7-10 any one, is also wrapped Include e-book reading service end;The application service end is used to assist the e-book reading service end that the reading progress of the e-book is synchronized into institute The current reading location of paper book is stated, and assists the client to remind user that the reading progress of the paper book is synchronized into institute State the current reading location of e-book.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710817749.9A CN107689997B (en) | 2017-09-12 | 2017-09-12 | A kind of reading progress synchronous method and system, application service end and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710817749.9A CN107689997B (en) | 2017-09-12 | 2017-09-12 | A kind of reading progress synchronous method and system, application service end and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107689997A true CN107689997A (en) | 2018-02-13 |
CN107689997B CN107689997B (en) | 2019-07-16 |
Family
ID=61156182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710817749.9A Active CN107689997B (en) | 2017-09-12 | 2017-09-12 | A kind of reading progress synchronous method and system, application service end and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107689997B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108710679A (en) * | 2018-05-18 | 2018-10-26 | 广州阿里巴巴文学信息技术有限公司 | E-book reading processing method, device and equipment |
CN108776575A (en) * | 2018-06-08 | 2018-11-09 | 掌阅科技股份有限公司 | Synchronous method, e-book reading device and the storage medium of the hand-written notes of user |
CN109240973A (en) * | 2018-08-30 | 2019-01-18 | 掌阅科技股份有限公司 | Based on the determination method and electronic equipment of the read state information of e-book |
CN110045847A (en) * | 2019-05-14 | 2019-07-23 | 杭州电子科技大学 | A kind of entity notes electronic system and method based on electromagnetic induction |
CN110399953A (en) * | 2019-07-29 | 2019-11-01 | 爱布客(武汉)科技有限公司 | A kind of method of paper book and e-book synchronous read |
WO2020019450A1 (en) * | 2018-07-27 | 2020-01-30 | 平安科技(深圳)有限公司 | Split asynchronous loading method and apparatus, terminal device, and storage medium |
CN110795918A (en) * | 2018-07-17 | 2020-02-14 | 广州阿里巴巴文学信息技术有限公司 | Method, device and equipment for determining reading position |
CN112100176A (en) * | 2020-09-03 | 2020-12-18 | 北京得到信息科技有限公司 | Electronic book reading progress calculation method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110095746A (en) * | 2010-02-19 | 2011-08-25 | 엘지전자 주식회사 | Content control apparatus and method thereof |
CN103488423A (en) * | 2013-09-18 | 2014-01-01 | 百度在线网络技术(北京)有限公司 | Method and device for implementing bookmark function in electronic reader |
CN103888531A (en) * | 2014-03-20 | 2014-06-25 | 小米科技有限责任公司 | Reading position synchronization method and reading position obtaining method and device |
CN106125840A (en) * | 2016-06-28 | 2016-11-16 | 李师华 | A kind of c bookmart for paper book |
-
2017
- 2017-09-12 CN CN201710817749.9A patent/CN107689997B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110095746A (en) * | 2010-02-19 | 2011-08-25 | 엘지전자 주식회사 | Content control apparatus and method thereof |
CN103488423A (en) * | 2013-09-18 | 2014-01-01 | 百度在线网络技术(北京)有限公司 | Method and device for implementing bookmark function in electronic reader |
CN103888531A (en) * | 2014-03-20 | 2014-06-25 | 小米科技有限责任公司 | Reading position synchronization method and reading position obtaining method and device |
CN106125840A (en) * | 2016-06-28 | 2016-11-16 | 李师华 | A kind of c bookmart for paper book |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108710679A (en) * | 2018-05-18 | 2018-10-26 | 广州阿里巴巴文学信息技术有限公司 | E-book reading processing method, device and equipment |
CN108776575A (en) * | 2018-06-08 | 2018-11-09 | 掌阅科技股份有限公司 | Synchronous method, e-book reading device and the storage medium of the hand-written notes of user |
CN108776575B (en) * | 2018-06-08 | 2019-04-16 | 掌阅科技股份有限公司 | Synchronous method, e-book reading device and the storage medium of the hand-written notes of user |
CN110795918A (en) * | 2018-07-17 | 2020-02-14 | 广州阿里巴巴文学信息技术有限公司 | Method, device and equipment for determining reading position |
CN110795918B (en) * | 2018-07-17 | 2024-03-19 | 阿里巴巴(中国)有限公司 | Method, device and equipment for determining reading position |
WO2020019450A1 (en) * | 2018-07-27 | 2020-01-30 | 平安科技(深圳)有限公司 | Split asynchronous loading method and apparatus, terminal device, and storage medium |
CN109240973A (en) * | 2018-08-30 | 2019-01-18 | 掌阅科技股份有限公司 | Based on the determination method and electronic equipment of the read state information of e-book |
CN110045847A (en) * | 2019-05-14 | 2019-07-23 | 杭州电子科技大学 | A kind of entity notes electronic system and method based on electromagnetic induction |
CN110399953A (en) * | 2019-07-29 | 2019-11-01 | 爱布客(武汉)科技有限公司 | A kind of method of paper book and e-book synchronous read |
CN112100176A (en) * | 2020-09-03 | 2020-12-18 | 北京得到信息科技有限公司 | Electronic book reading progress calculation method and system |
CN112100176B (en) * | 2020-09-03 | 2024-01-19 | 北京得到信息科技有限公司 | E-book reading progress calculation method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107689997B (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107689997A (en) | A kind of reading progress synchronous method and system, application service end and client | |
CN103310256B (en) | The preparation of the continuous antifalsification label in kind based on image comparison and discrimination method | |
CN101197678B (en) | Picture identifying code generation method and generation device | |
CN103442086B (en) | Electronic name card exchange method based on mobile terminal Quick Response Code identification | |
CN108830267A (en) | A kind of method and system goed over examination papers based on image recognition | |
EP1154373A3 (en) | Information code product, manufacturing device and method for manufacturing the same, information code reading device, authentication system, authentication terminal, authentication server, and authentication method | |
CN106033544A (en) | Test content area extraction method based on template matching | |
CN106778625A (en) | A kind of social security card information acquisition system and its acquisition method | |
CN106056028B (en) | A kind of method and its device that quick scanning record is single | |
CN101470729B (en) | Web page picture displaying method and device | |
CN106407936A (en) | Examination paper marking method and system | |
CN111310750B (en) | Information processing method, device, computing equipment and medium | |
CN109600456B (en) | Contact person identification processing method and device of communication application program | |
CN110765740A (en) | DOM tree-based full-type text replacement method, system, device and storage medium | |
CN104915664A (en) | Contact object identification acquisition method and device | |
CN106203435A (en) | Picture and text recognition methods and device thereof | |
CN206147770U (en) | Classroom management equipment of registering based on two -dimensional code and fingerprint identification | |
CN103701987A (en) | Method for fast sending express delivery notice by intelligent mobile phone | |
JP4967252B2 (en) | Copy forms for servers, programs and electronic pens | |
CN101086691A (en) | Sheet processing system, sheet processing method, program, and optically read sheet | |
CN106156675A (en) | A kind of method and device obtaining 2 D code information | |
JP5246364B1 (en) | Information processing system and program | |
EP1202213A3 (en) | Document format identification apparatus and method | |
CN104731784B (en) | Visual search method, system and mobile terminal | |
CN104507058B (en) | A kind of information transferring method based on two dimensional code, system and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |