A kind of electric document page-turning method and apparatus
Technical field
The invention belongs to electronic information field, more particularly to a kind of electric document page-turning method and apparatus.
Background technology
With the development and popularization of the Internet, PC and intelligent terminal, e-file(Including format document, picture etc.)Need
Use between a variety of equipment, user needs the part for browsing this document in the terminal after concrete file is navigated to
Or full content.And in increasingly hommization and intelligentized epoch, it is typically big according to the screen of equipment when browsing file
Little, file size carries out paging displaying to file.Therefore, many electronic documents have automatic page turning function, realize reading operations
Intellectuality.
Generally reader in reading electronic documents using manual page turning or using many e-files carry it is automatic
Page-turning function page turning.On the one hand manual page turning can increase the loss of machine hardware, on the other hand can increase the feeling of fatigue of handss.And show
The usual page-turning speed of automatic page turning function that the e-file for having technology is carried is difficult to control to.Automatic page turning function is solid according to one
Fixed speed page turning, it is for different readers, different electronic document content bad adaptability, it is difficult to adapt to the need of reader
Will, the normal readers of Jing can only be forced to use manual page turning, the number of times of the manual page turning of increase or frequently adjust turning over for automatic page turning
Page speed, and automatic page turning function cannot get real realization, while increased the power consumption of machine.So, make to reader
Into very big inconvenience, and the reading efficiency of reader is reduced, the experience effect extreme difference of reader.
The content of the invention
The technical problem to be solved is for above-mentioned deficiency present in prior art, there is provided a kind of electronics text
Shelves page turning method and device, the method and device can be carried out automatically according to the rate of reading of the data volume of current presentation and user
Page turning, improves the degree of accuracy of automatic page turning.
The present invention provides a kind of page turning method of electronic document, including:According to the automatic page turning speed of current page with it is current
The actual page-turning speed of page determines the automatic page turning speed of lower one page.
Preferably, the automatic page turning speed of described lower one page is:V=(V1+V2)/2,
Wherein, V is the automatic page turning speed of described lower one page, V1For the automatic page turning speed of the current page, V2For described
The actual page-turning speed of current page.
Preferably, the page turning method of electronic document includes:When first time the electronic document is read, the current page
Automatic page turning speed V1For preset value V0。
Preferably, the page turning method of electronic document, including:When the electronic document is read again, the current page
Automatic page turning speed V1For:When last time reads the electronic document and closes, automatic page turning speed V of corresponding read pagen。
Preferably, the value of the actual page-turning speed of current page is:
When current page only has word, the value that the word quantity of current page is obtained divided by the time used by reading word;
When current page only has picture, the value that the picture number of current page is obtained divided by the time used by reading picture.
The present invention also provides a kind of leaf turner of electronic document, and described device includes:
Lower one page automatic page turning speed acquiring unit, for according to the reality of the automatic page turning speed of current page and current page
Page-turning speed obtains the automatic page turning speed of lower one page.
Preferably, the automatic page turning speed of described lower one page that lower one page automatic page turning speed acquiring unit is obtained
For:V=(V1+V2)/2,
Wherein, V is the automatic page turning speed of described lower one page, V1For the automatic page turning speed of the current page, V2For described
The actual page-turning speed of current page.
Preferably, the leaf turner of the electronic document also includes:
Initial read automatic page turning acquiring unit, it is described current for when first time the electronic document is read, obtaining
Automatic page turning speed V of page1For preset value V0。
Preferably, the leaf turner of the electronic document also includes:Automatic page turning acquiring unit is read again, for working as
When reading the electronic document again, automatic page turning speed V of the current page is obtained1For:Last time reads the electronic document
During closing, automatic page turning speed V of corresponding read pagen。
Preferably, the leaf turner of the electronic document also includes:
The actual page-turning speed acquiring unit of current page, the value of the actual page-turning speed for obtaining current page is:
When current page only has word, the value that the word quantity of current page is obtained divided by the time used by reading word;
When current page only has picture, the value that the picture number of current page is obtained divided by the time used by reading picture.
The page turning method of the electronic document of the present invention, can automatically adjust automatic page turning speed according to the reading speed of reader
Degree, but also can be according to the content adjustment automatic page turning speed of electronic document.The page turning method of the electronic document is read to difference
The strong adaptability of the different reading speed of the reading speed of reader, same reader and electronic document content, self-regulation ability
It is high.Greatly reduce the number of times of the manual page turning of reader, with increasing for reader's page turning quantity, the rate value of automatic page turning with
The surfing of reader itself becomes closer to, and substantially increases the degree of accuracy of automatic page turning.
Description of the drawings
Fig. 1 is the electric document page-turning method flow diagram of the embodiment of the present invention.
Specific embodiment
To make those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and specific embodiment party
Formula is described in further detail to the present invention.
Embodiment 1
As shown in figure 1, the present embodiment provides a kind of page turning method of electronic document, comprise the following steps:
S101 readers read first the electronic document, open reader and open automatic page turning function, and arrange current
Automatic page turning speed V of page1For V0.Preferably, V0United according to one that the reading speed of numerous readers is made for reader
Reference value is counted, or user judges according to an empirical value of itself reading speed, or a random set-point.
S102 readers start to browse electronic document, and reader record reader starts the time started of the current page for browsing
For T1.Meanwhile, when current page only has word, pageview S of reader statistics current page is word quantity S1;Or current page is only
When having picture, the flow S of reader statistics current page is that picture number is S2.According to automatic page turning speed V of current page1, so as to
Being calculated current page will be in Δ T=S/V1Time interval after automatic page turning.Reader can point out user between the time of VT
Automatic page turning will be carried out after, so that user judges the operation for whether interrupting automatic page turning.Preferably, current page is from readding
Reader starts to read reader and reads when have passed through the time interval of VT, that is, exist(T1+VT)Moment, reader remind read
Whether person carries out automatic page turning.
If S103 readers are reading current page from after starting to read, do not turn over manually when have passed through the time interval of VT
Page, but by reader automatic page turning, then the automatic page turning speed for descending one page is still V1。
If the manual page turning of reader, the time of the actual page turning of reader record reader is T2, then the reality of current page
Page-turning speed V2For V2=S/ (T2-T1), then automatic page turning speed V for obtaining lower one page is
The automatic page turning speed of the lower one page for so obtaining each time all contains the actual reading of the reader of current page
Speed influence factor.
S104 translates into again lower one page, repeats S102, S103 and terminates until reading, and closes reader, now reads
The automatic page turning speed of last page is Vn, and preserve.The number of pages that reader reads is more, and the automatic page turning speed of lower one page is got over
Accurately, the reading habit of reader is closer to, but also adapts to the reading content on different read pages.
S105 readers read again the electronic document, open reader and open automatic page turning function, then current page
Automatic page turning speed V1When reading the electronic document for last time and closing, automatic page turning speed V of corresponding read pagen.Its
In, VnVery close to the reading habit of reader, and the different reading contents of this electronic document are adapted to, so conduct
Automatic page turning speed V of corresponding current page during the electronic document is read again1, the automatic page turning of reader can be greatly improved
Degree of accuracy.
Preferably, when reader reads the electronic document, open reader but and when being not turned on automatic page turning function, but
It is the automatic page turning speed of still one page in the case where the actual page-turning speed of the automatic page turning speed according to current page and current page determines.
If reader is not turned on automatic page turning function until reading last page, reader is closed, then what is now obtained reads
The automatic page turning speed of the last page of reading is Vn' ', and preserve.Even if reader does not use automatic page turning function when reading,
Reader also according to the reading speed of current page obtains the automatic page turning speed of a lower one page always, is at any time that reader opens
Automatic page turning function is prepared.Preferably, reader starts not open automatic page turning function, but opens in reading process
Automatic page turning function.
The implementation procedure of the page turning of S106, S107, S108 such as S102, S103, the S104 in embodiment 1, here no longer
Repeat, terminate until reading, close reader, the automatic page turning speed of the last page now read is Vn', and preserve.
Preferably, when reader runs into the existing word of current page in reading process has picture again, do not adopt as front
Described actual reading speed and automatic page turning speed according to current page determines the automatic page turning speed of lower one page.Current page
The estimated speed of image reading reads automatic page turning speed V of the only page of picture nearest apart from current page read3, reader
The word quantity for browsing of statistics current page is S3, then the time T of the reading picture that current page is expected3For T3=S3/V3;Current page
The estimated speed of word read read automatic page turning speed V of the only page of word nearest apart from current page read4, read
The quantity of the picture for browsing of device statistics current page is S4, then the time T of the reading word that current page is expected4For T4=S4/V4;When
Total automatic page turning time T of front pageAlways=T3+T4., reader can remind reader current page read start after through TAlwaysWhen
Between be spaced after automatic page turning.If reader automatic page turning, the automatic page turning speed of current page be not by page up from
What dynamic page-turning speed and actual page-turning speed determined;If the manual page turning of reader, the actual page-turning speed of current page is not yet
For determining the automatic page turning speed of lower one page, lower one page entirely page of picture or entirely word
The automatic page turning speed of page is still according to the automatic page turning speed determined with the page of its same type before immediate.
The page turning method of the electronic document of the present invention, can automatically adjust automatic page turning speed according to the reading speed of reader
Degree, but also can be according to the content adjustment automatic page turning speed of electronic document.The page turning method of the electronic document is read to difference
The strong adaptability of the different reading speed of the reading speed of reader, same reader and electronic document content, self-regulation ability
It is high.Greatly reduce the number of times of the manual page turning of reader, with increasing for reader's page turning quantity, the rate value of automatic page turning with
The surfing of reader itself becomes closer to, and substantially increases the degree of accuracy of automatic page turning.
Embodiment 2
The present embodiment also provides a kind of leaf turner of electronic document, and described device includes:
Lower one page automatic page turning speed acquiring unit, for according to the reality of the automatic page turning speed of current page and current page
Page-turning speed obtains the automatic page turning speed of lower one page.
Preferably, the automatic page turning speed of described lower one page that lower one page automatic page turning speed acquiring unit is obtained
For:V=(V1+V2)/2,
Wherein, V is the automatic page turning speed of described lower one page, V1For the automatic page turning speed of the current page, V2For described
The actual page-turning speed of current page.
Preferably, the leaf turner of the electronic document also includes:
Initial read automatic page turning acquiring unit, it is described current for when first time the electronic document is read, obtaining
Automatic page turning speed V of page1For preset value V0。
Preferably, the leaf turner of the electronic document also includes:Automatic page turning acquiring unit is read again, for working as
When reading the electronic document again, automatic page turning speed V of the current page is obtained1For:Last time reads the electronic document
During closing, automatic page turning speed V of corresponding read pagen。
Preferably, the leaf turner of the electronic document also includes:
The actual page-turning speed acquiring unit of current page, the value of the actual page-turning speed for obtaining current page is:
When current page only has word, the value that the word quantity of current page is obtained divided by the time used by reading word.
The leaf turner of the electronic document of the present invention, can automatically adjust automatic page turning speed according to the reading speed of reader
Degree, but also can be according to the content adjustment automatic page turning speed of electronic document.The leaf turner of the electronic document is read to difference
The strong adaptability of the different reading speed of the reading speed of reader, same reader and electronic document content, self-regulation ability
It is high.Greatly reduce the number of times of the manual page turning of reader, with increasing for reader's page turning quantity, the rate value of automatic page turning with
The surfing of reader itself becomes closer to, and substantially increases the degree of accuracy of automatic page turning.
It is understood that the embodiment of above principle being intended to be merely illustrative of the present and the exemplary enforcement for adopting
Mode, but the invention is not limited in this.For those skilled in the art, in the essence without departing from the present invention
In the case of god and essence, various modifications and improvement can be made, these modifications and improvement are also considered as protection scope of the present invention.