CN107045549A - A kind of e-book number of pages acquisition methods and device - Google Patents
A kind of e-book number of pages acquisition methods and device Download PDFInfo
- Publication number
- CN107045549A CN107045549A CN201710277834.0A CN201710277834A CN107045549A CN 107045549 A CN107045549 A CN 107045549A CN 201710277834 A CN201710277834 A CN 201710277834A CN 107045549 A CN107045549 A CN 107045549A
- Authority
- CN
- China
- Prior art keywords
- book
- pages
- data
- configuration information
- loading
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Abstract
Embodiments of the present invention provide a kind of e-book number of pages acquisition methods.The e-book number of pages acquisition methods include:The e-book number of pages acquisition request that requesting party sends is received, e-book is identified and e-book loads configuration information wherein carrying;If finding corresponding number of pages data, the number of pages data found are returned to requesting party.By prestoring the e-book number of pages data corresponding to different e-book loading configuration informations in e-book server side, so, the number of pages data that configuration information asks e-book to be loaded to e-book server can be loaded according to Current electronic book when loading e-book, on the one hand it ensure that the accuracy of e-book number of pages, on the other hand, because e-book client is without voluntarily calculating e-book number of pages, so as to significantly reduce the e-book load time, the process resource of user equipment has been saved, has been that user brings more preferable experience.In addition, embodiments of the present invention provide a kind of e-book number of pages acquisition device.
Description
Technical field
Embodiments of the present invention are related to Internet communication technology field, more specifically, embodiments of the present invention are related to
A kind of e-book number of pages acquisition methods and device.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein
Description recognizes it is prior art not because not being included in this part.
E-book is also known as e-book, can be by special ocr software (reader), in the form of e-file,
User equipment is downloaded to by network connection, for example:Personal computer (PC), mobile computer (Note-book) and intelligence
Mobile phone, or any can read on the reader of mass storage digital reading data (digital reading material)
Books, are a kind of substitutes of traditionally on paper books.
With the development of development of Mobile Internet technology and cloud treatment technology, content and service provider realizes the electricity based on high in the clouds
Philosophical works reading service.E-book reading service system based on high in the clouds is by the e-book client and the cloud that are installed on terminal device
E-book server two parts composition at end, e-book server is used to store e-book, user by e-book client with
E-book server is set up after network connection from e-book server download e-book reading.
When e-book client loads an e-book, meeting is adopted according to the content of e-book with reference to active client
The display size of font, font size and current page calculates the number of pages of e-book.E-book number of pages calculation
It is probably accurate calculating, it is also possible to Fuzzy Calculation.Accurate calculate is usually sightless to user using additionally creating one
The mode that client carries out pandect loading gets accurate number of pages information.Fuzzy Calculation is currently read generally by user is calculated
The number of pages information of chapters and sections is read, a chapters and sections number is then multiplied by.Above two number of pages computational methods are locally counted using client
The mode of calculation.
The content of the invention
In above two e-book number of pages computational methods, although the first computational methods result of calculation is more accurate,
The extra client for opening a simulation is needed, the overhead of user equipment is caused, and if it is intended to obtain accurate
Result of calculation, in addition it is also necessary to could be calculated after the whole eBook content of loading, this needs to expend longer time, calculates and completes
Afterwards, if user changes font or font size is required for recalculating number of pages, this is same time-consuming longer and needs additionally
Resource overhead;And in second method, its calculating speed is substantially better than the first computational methods, but it calculates obtained page
Number data are inaccurate.
Therefore, a kind of improved e-book number of pages computational methods are highly desirable to, to improve e-book number of pages calculating speed
While, device resource expense is reduced, and ensure the accuracy of e-book number of pages result of calculation.
In the present context, embodiments of the present invention are expected to provide a kind of e-book number of pages acquisition methods and device.
Obtained in the first aspect of embodiment of the present invention there is provided a kind of e-book number of pages of e-book server implementation
Method is taken, including:
The e-book number of pages acquisition request that requesting party sends is received, the e-book number of pages obtains in request and carries electronics
Book label is known and e-book loads configuration information;
If loading configuration information in the e-book number of pages data prestored according to e-book mark and e-book
In find corresponding number of pages data, then return to the number of pages data that find to requesting party.
Alternatively, if loading configuration information in the electronics page prestored according to e-book mark and e-book
Corresponding number of pages data are not found in number data, then methods described also includes:
Configuration information is loaded according to the e-book, the e-book is generated and identifies corresponding number of pages data;
Identified according to the e-book, the e-book loads configuration information and the number of pages data of generation update storage
E-book number of pages data;And
The number of pages data of generation are returned to the requesting party.
Preferably, the e-book number of pages data prestored are obtained in such a way:
For each e-book, the number of pages data of the e-book are generated respectively according to different e-book loading configuration informations
And store;Or
For each e-book, e-book loading configurations that e-book client is reported for the e-book, different are received
The corresponding number of pages data of information are simultaneously stored;Or
For each e-book, receive e-book provider and load the number of pages that configuration information is provided for different e-book
Data are simultaneously stored.
Preferably, the e-book loading configuration information includes at least one of following:Loading page size information, load word
Body information and loading font size information.
Preferably, it is stored with each chapter that the e-book included for each e-book in the e-book number of pages data
The total page number of section.
There is provided the e-book number of pages that a kind of e-book server side is implemented in the second aspect of embodiment of the present invention
Acquisition device, including:
First receiving unit, the e-book number of pages for receiving requesting party's transmission obtains request, and the e-book number of pages is obtained
Take and e-book mark and e-book loading configuration information are carried in request;
Response unit, if for loading configuration information in the electricity prestored according to e-book mark and e-book
Corresponding number of pages data are found in philosophical works number of pages data, then the number of pages data found are returned to requesting party.
Alternatively, the e-book number of pages acquisition device that e-book server side is implemented, can also include the first generation unit
And updating block, wherein:
First generation unit, if for loading configuration information advance according to e-book mark and e-book
Corresponding number of pages data are not found in the e-book number of pages data of storage, then configuration information are loaded according to the e-book, it is raw
Corresponding number of pages data are identified into the e-book;
The updating block, for according to e-book mark, e-book loading configuration information and generation
Number of pages data update the e-book number of pages data of storage;
The response unit, is additionally operable to return the number of pages data of generation to the requesting party.
Alternatively, the e-book number of pages acquisition device that e-book server side is implemented, can be with:
Second generation unit, for for each e-book, being generated respectively according to different e-book loading configuration informations
The number of pages data of the e-book are simultaneously stored;Or
Second receiving unit is that e-book client is reported for the e-book, no for for each e-book, receiving
The corresponding number of pages data of configuration information are loaded with e-book and are stored;Or
3rd receiving unit, is loaded for for each e-book, receiving e-book provider for different e-book
The number of pages data of configuration information offer are simultaneously stored.
Preferably, the e-book loading configuration information includes at least one of following:Loading page size information, load word
Body information and loading font size information.
Preferably, it is stored with each chapter that the e-book included for each e-book in the e-book number of pages data
The total page number of section.
There is provided the e-book number of pages acquisition side that a kind of client-side is implemented in the third aspect of embodiment of the present invention
Method, including:
When loading e-book, send e-book number of pages to e-book server and obtain request, the e-book number of pages is obtained
Take and the corresponding e-book mark of e-book to be loaded and e-book loading configuration information are carried in request;
Receive the number of pages data that the e-book server is returned, the number of pages data be the e-book server according to
The e-book mark and e-book load what configuration information was found in the e-book number of pages data prestored.
Preferably, the total page for each chapters and sections that the e-book to be loaded that is stored with the e-book number of pages data is included
Number;And
Methods described, in addition to:
The total page number of each chapters and sections included according to e-book to be loaded, determines the total page number of e-book to be loaded;
According to all chapters before number of pages offset of page record, to be loaded in chapters and sections to be loaded and chapters and sections to be loaded
The total page number sum of section, determines the number of pages information of the page to be loaded;
Show the number of pages information of the e-book total page number to be loaded and/or the page to be loaded.
Alternatively, if receive the e-book server and do not find the response message of corresponding number of pages data,
Methods described, in addition to:
Configuration information is loaded according to the e-book and generates the corresponding number of pages data of the e-book mark;
Number of pages data are sent to the e-server and report request, described in the number of pages data are reported and carried in request
The number of pages data of e-book mark, e-book loading configuration information and generation.
The e-book number of pages implemented in the fourth aspect of embodiment of the present invention there is provided a kind of client-side obtains dress
Put, including:
First transmitting element, for when loading e-book, sending e-book number of pages to e-book server and obtaining request,
The e-book number of pages, which obtains to carry the corresponding e-book mark of e-book to be loaded in request and load with e-book, matches somebody with somebody confidence
Breath;
Receiving unit, for receiving the number of pages data that the e-book server is returned, the number of pages data are the electricity
Philosophical works server loads configuration information in the e-book number of pages data prestored according to e-book mark and e-book
Find.
Preferably, the total page for each chapters and sections that the e-book to be loaded that is stored with the e-book number of pages data is included
Number;And
Described device, in addition to:
First determining unit, for the total page number of each chapters and sections included according to e-book to be loaded, is determined to be loaded
The total page number of e-book;
Second determining unit, for according to number of pages offset of page record, to be loaded in chapters and sections to be loaded and treating
The total page number sum of all chapters and sections, determines the number of pages information of the page to be loaded before loading chapters and sections;
Display unit, the number of pages information for showing the e-book total page number to be loaded and/or the page to be loaded.
Alternatively, the e-book number of pages acquisition device of e-book client implementation, in addition to:
Generation unit, if the response for not finding corresponding number of pages data for receiving the e-book server disappears
During breath, configuration information is loaded according to the e-book and generates the corresponding number of pages data of the e-book mark;
Second transmitting element, is reported in request, the number of pages data for sending number of pages data to the e-server
Submit a report asking for and the e-book mark, e-book loading configuration information and the number of pages data of generation are carried in asking.
Preferably, the e-book loading configuration information includes at least one of following:Loading page size information, load word
Body information and loading font size information.
There is provided a kind of e-book number of pages acquisition device in the 5th aspect of embodiment of the present invention, for example, can wrap
Memory and processor are included, wherein, processor can be used for reading the program in memory, perform following process:Receive request
The e-book number of pages that side is sent obtains request, carries e-book mark in the e-book number of pages acquisition request and e-book adds
Carry configuration information;If loading configuration information in the e-book number of pages number prestored according to e-book mark and e-book
Corresponding number of pages data are found in, then the number of pages data found are returned to requesting party.
There is provided a kind of program product in the 6th aspect of embodiment of the present invention, it includes program code, when described
When program product is run, described program code is used to perform procedure below:The e-book number of pages acquisition for receiving requesting party's transmission please
Ask, the e-book number of pages, which is obtained, carries e-book mark and e-book loading configuration information in request;If according to described
E-book is identified and e-book loading configuration information finds corresponding number of pages number in the e-book number of pages data prestored
According to the number of pages data then found to requesting party's return.
There is provided a kind of e-book number of pages acquisition device in the 7th aspect of embodiment of the present invention, for example, can wrap
Memory and processor are included, wherein, processor can be used for reading the program in memory, perform following process:In loading electricity
During the philosophical works, send e-book number of pages to e-book server and obtain request, the e-book number of pages, which obtains to carry in request, to be needed
Load the corresponding e-book mark of e-book and e-book loads configuration information;Receive the number of pages that the e-book server is returned
Data, the number of pages data are that the e-book server loads configuration information pre- according to e-book mark and e-book
Found in the e-book number of pages data first stored.
There is provided a kind of program product in the eighth aspect of embodiment of the present invention, it includes program code, when described
When program product is run, described program code is used to perform procedure below:When loading e-book, sent to e-book server
E-book number of pages obtains request, and the e-book number of pages, which is obtained, carries the corresponding e-book mark of e-book to be loaded in request
Configuration information is loaded with e-book;The number of pages data that the e-book server is returned are received, the number of pages data are the electricity
Philosophical works server loads configuration information in the e-book number of pages data prestored according to e-book mark and e-book
Find.
According to the e-book acquisition methods and device of embodiment of the present invention, by being prestored in e-book server side
E-book number of pages data corresponding to different e-book loading configuration informations, so, e-book client is in loading e-book
When the number of pages data that configuration information asks e-book to be loaded to e-book server, a side can be loaded according to Current electronic book
Face ensure that the accuracy of e-book number of pages, on the other hand, because e-book client is without voluntarily calculating e-book number of pages, from
And the e-book load time is significantly reduced, the process resource of user equipment has been saved, has been that user brings more preferable experience.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing
, feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation
Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram according to embodiment of the present invention;
Fig. 2 schematically shows the e-book number of pages data according to the e-book server storage of embodiment of the present invention
A kind of possible schematic diagram of table;
Fig. 3 is schematically shown to be illustrated according to the implementing procedure of the e-book number of pages acquisition methods of embodiment of the present invention
Figure;
The implementing procedure that Fig. 4 schematically shows e-book number of pages acquisition methods according to another embodiment of the present invention shows
It is intended to;
Fig. 5 is schematically shown to be shown according to the implementing procedure of the e-book number of pages acquisition methods of further embodiment of this invention
It is intended to;
Fig. 6 a schematically show the implementing procedure of e-book number of pages acquisition methods according to yet another embodiment of the invention
Schematic diagram;
Fig. 6 b schematically show the implementation of another e-book number of pages acquisition methods according to embodiment of the present invention
Schematic flow sheet;
Fig. 7 schematically shows the e-book number of pages being applied in e-book server according to embodiment of the present invention
The structural representation of acquisition device;
Fig. 8 schematically shows the e-book number of pages being applied in e-book client according to embodiment of the present invention
The structural representation of acquisition device;
Fig. 9 is schematically shown may be disposed in e-book server according to another of embodiment of the present invention
The structural representation of e-book number of pages acquisition device;
Figure 10 is schematically shown may be disposed in e-book client according to another of embodiment of the present invention
E-book number of pages acquisition device structural representation;
Figure 11 is schematically shown to be shown according to the program product for being used for the acquisition of e-book number of pages of embodiment of the present invention
It is intended to;
Figure 12 schematically shows the journey obtained according to another of embodiment of the present invention for e-book number of pages
Sequence product schematic diagram.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
The principle and spirit of the present invention is described below with reference to some illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of better understood when those skilled in the art and then realizing the present invention, and not with any
Mode limits the scope of the present invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy
It is enough that the scope of the present disclosure is intactly conveyed into those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method
Or computer program product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware, complete software
(including firmware, resident software, microcode etc.), or the form that hardware and software is combined.
According to the embodiment of the present invention, it is proposed that a kind of e-book number of pages acquisition methods and device.
Herein, it is to be understood that any number of elements in accompanying drawing is used to example and unrestricted and any
Name is only used for distinguishing, without any limitation.
Below with reference to the principle and spirit of some representative embodiments of the present invention, in detail the explaination present invention.
Summary of the invention
The inventors discovered that, it is a kind of when e-book client is loading e-book, it is necessary to voluntarily calculate e-book number of pages
The method of e-book number of pages is accurately calculated to open another client, is added according to the loading of Current electronic book client configuration
Carry and accurate e-book number of pages data are obtained after whole eBook contents, and user is during reading electronic book, if changed
E-book loading configuration is, it is necessary to re-executing said process recalculates e-book number of pages data, due to calculate electricity in real time
Philosophical works number of pages data, therefore, add e-book loading delay, and need to consume the more process resource of user equipment;Separately
In a kind of outer e-book number of pages data calculation, the number of pages information of chapters and sections is currently read by calculating user, one is then multiplied by
Individual chapters and sections number obtains e-book number of pages data, and although this calculation improves calculating speed, but the number of pages number calculated
It is inaccurate according to result.
In view of this, in the embodiment of the present invention, for each e-book, configuration information is loaded according to different e-book,
Corresponding number of pages data are configured by the difference loading of e-book server storage in advance, the number of pages data can contain including e-schoolbag
Each chapters and sections total page number and the total page number of e-book, so, e-book client load e-book when, can be to electronics
Book server asks the number of pages data of the e-book, without voluntarily calculating, so as to improve the loading velocity of e-book, saves
The process resource of user equipment, and the number of pages data that server is prestored can be accurate electronic book data, so that
Improve the accuracy of e-book number of pages data.
When it is implemented, e-book server can be configured by being loaded for different e-book, simulant-client adds
The process of e-book is carried, is stored so as to obtain accurate electronic book data, or e-book can also receive different electronics
The e-book number of pages data that client under book loading configuration is reported are stored;Or e-book server can also receive electricity
Philosophical works provider loads number of pages data etc. that configuration information is provided for different e-book, thus, and e-book server can be with
The accuracy of e-book number of pages provided is provided.
After the general principle of the present invention is described, lower mask body introduces the various non-limiting embodiment party of the present invention
Formula.
Application scenarios overview
With reference first to Fig. 1, it shows for the application scenarios of e-book number of pages data capture method provided in an embodiment of the present invention
It is intended to, including user equipment 11 and e-book server 12.Wherein, e-book client can be installed in the user equipment 11
End, such as bean cotyledon read client, Netease's cloud and read client, caricature class client etc..User 10 can be by user equipment 11
E-book client ask e-book download request or online reading e-book to be asked to e-book server 12, e-book
Server 12 provides e-book download service in response to the request of user equipment 11 or e-book online reading is serviced.If with
Family 10 sends e-book download request to e-book server 12, then after the completion of e-book is downloaded, and user 10 is downloaded by opening
Read to the local e-book of user equipment 11.If online reading request, then e-book server 12 is according to user
Any chapters and sections in e-book or e-book are opened in 10 requests sent, provide the user online reading service.
Wherein, user equipment 11 and e-book server 12 can be communicatively coupled by communication network, and the network can be with
For LAN, wide area network etc..User equipment 11 can be mobile phone, tablet personal computer, notebook computer, personal computer etc., electronics
Book server 12 can provide e-book online reading or the server apparatus of download service to be any.
In the embodiment of the present invention, in order to improve speed during e-book client loading e-book, reduce due to e-book
Client calculates e-book number of pages data required time due to accurate, and for each e-book, e-book server can be advance
The corresponding e-book number of pages data of the different loading configurations of storage.Generally, e-book number of pages data and loading page size, load word
Body is relevant with loading font size, wherein, loading page size is generally determined by user equipment display screen size, e-book clothes
Business device can store its e-book number of pages under different fonts and font size respectively for the display screen size of main flow
Data, for example, the display screen size of main flow includes 4 inches, 4.7 inches, 5 inches, 5.5 inches and 6 inches etc., common fonts
Including the Song typeface, the refined black, regular script of Microsoft etc., font size also includes that small size font, medium font and large print etc. are multiple to match somebody with somebody
Put, combined for each configuration, e-book server can store each self-corresponding e-book number of pages data, as shown in Fig. 2 its
For a kind of possible schematic diagram of e-book number of pages tables of data of e-book server storage.
Wherein, e-book server is for the e-book number of pages number under the different loading configurations of each e-book storage
According to, can e-book server for the e-book provide online reading or download etc. service before, by e-book server
Process for each e-book and different loading configuration information simulant-client loading e-book calculates what is obtained, also may be used
To be supplied to e-book server by e-book provider, or e-book server provide the e-book online reading or
After person's download service, accurate e-book number of pages data that e-book client is reported etc., the embodiment of the present invention pair are received
This is without limiting.
Illustrative methods
With reference to Fig. 1 application scenarios, described with reference to Fig. 2-Fig. 6 a and Fig. 6 b according to exemplary embodiment party of the invention
The e-book number of pages acquisition methods of formula.It should be noted that above-mentioned application scenarios are for only for ease of the spirit for understanding the present invention
Shown with principle, embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can be answered
For applicable any scene.
Embodiment one
As shown in figure 3, it is e-book server implementation e-book number of pages acquisition methods provided in an embodiment of the present invention
Implementation process diagram, may comprise steps of:
S31, the e-book number of pages acquisition request for receiving requesting party's transmission.
When it is implemented, e-book client can be when user asks reading electronic book, the electronics selected according to user
Book, to the number of pages data of the e-book server acquisition request e-book, wherein carrying e-book mark and e-book loading
Configuration information.
If S32, according to the e-book mark and e-book load configuration information in the e-book number of pages prestored
Corresponding number of pages data are found in data, then the number of pages data found are returned to requesting party.
In this step, e-book server is after the acquisition request of e-book number of pages is received, according to the electricity wherein carried
The philosophical works is identified and e-book loads configuration information, and corresponding data note is searched from the e-book number of pages tables of data prestored
Record.Wherein, e-book loading configuration information can include at least one of following:Loading page size information, loading font information
With loading font size information.For example, being designated ID1 with e-book, loading page configuration information is 4.7 inches, loading font
Information is that then e-book server finds corresponding data note in table 1 exemplified by the Song typeface, loading font size information are trumpet
Record as (chapter 1:Page 25;Chapter 2:Page 28;Chapter 3:Page 32;Chapter 4, page 64;... total page number:Page 225).
In the embodiment of the present invention, the e-book number of pages data that e-book server is prestored can be according to following any
What mode was obtained:
Mode one, for each e-book, the e-book is generated according to different e-book loading configuration informations respectively
Number of pages data are simultaneously stored.
Mode two, for each e-book, receive e-book that e-book client is reported for the e-book, different and add
Carry the corresponding number of pages data of configuration information and store.
Mode three, for each e-book, receive e-book provider for different e-book loading configuration information carry
The number of pages data of confession are simultaneously stored.
Embodiment two
If e-book server loads electricity of the configuration information in storage according to the e-book mark and e-book that receive
Corresponding data record is not found in philosophical works number of pages tables of data, then e-book server can also be according to the electronics received
Page number obtains the e-book mark carried in request and e-book loading configuration information generates corresponding number of pages data, and renewal is deposited
The e-book number of pages data of storage, and the number of pages data generated are returned to e-book client.
As shown in figure 4, it shows for the implementing procedure of second of e-book number of pages acquisition methods provided in an embodiment of the present invention
It is intended to, may comprise steps of:
S41, e-book server receive the e-book number of pages acquisition request that requesting party sends.
Wherein, the e-book number of pages that e-book server is received, which is obtained, carries e-book mark and e-book in request
Load configuration information.
Whether S42, e-book whois lookup are locally stored with corresponding e-book number of pages data, if it is, performing
Step S43, if it is not, then performing step S44.
In this step, e-book server obtains the e-book mark and e-book carried in request according to e-book number of pages
Loading configuration information searches corresponding data record in the e-book business datum table prestored.
S43, e-book server send the e-book number of pages data found to e-book client, and flow terminates.
S44, e-book server load configuration information according to e-book, generate corresponding number of pages data.
S45, the e-book number of pages tables of data of e-book server update storage.
In this step, according to the number of pages data generated in step S44, electricity is added in the e-book number of pages tables of data of storage
Philosophical works number of pages obtains the e-book mark carried in request e-book number of pages data note corresponding with e-book loading configuration information
Record.
S46, e-book server return to the number of pages data of generation to e-book client.
It should be noted that step S45 and step S46 have no certain priority execution sequence, step S45 and step S46
It can perform simultaneously, or step S46 can also be performed prior to step S45.
Embodiment three
In embodiment three, if e-book server matches somebody with somebody confidence according to the e-book mark and e-book loading that receive
Breath does not find corresponding data record in the e-book number of pages tables of data of storage, then e-book server can also be notified
E-book client, accurate e-book number of pages is calculated by e-book client using the accurate method for calculating e-book number of pages
Data, and report e-book server.
As shown in figure 5, it shows for the implementing procedure of the third e-book number of pages acquisition methods provided in an embodiment of the present invention
It is intended to, may comprise steps of:
S51, e-book server receive the e-book number of pages acquisition request that requesting party sends.
Wherein, the e-book number of pages that e-book server is received, which is obtained, carries e-book mark and e-book in request
Load configuration information.
Whether S52, e-book whois lookup are locally stored with corresponding e-book number of pages data, if it is, performing
Step S53, if it is not, then performing step S54.
In this step, e-book server obtains the e-book mark and e-book carried in request according to e-book number of pages
Loading configuration information searches corresponding data record in the e-book business datum table prestored.
S53, e-book server send the e-book number of pages data found to e-book client, and flow terminates.
The response that S54, e-book server do not find corresponding e-book number of pages data to the return of e-book client disappears
Breath.
S55, e-book client load configuration information according to e-book and generate corresponding number of pages data.
In this step, e-book client can be calculated using the accurate method for calculating e-book number of pages and obtain e-book page
Number data.
S56, e-book client send the notification message of the e-book number of pages data of generation to e-book server.
E-book client send notification message in carry e-book mark, e-book loading configuration information and
The e-book number of pages data of generation.
S57, e-book server storage receive e-book number of pages data.
Configured when it is implemented, e-book server increases e-book mark in e-book number of pages tables of data with e-book
Corresponding relation between information and e-book number of pages data.So, other e-book clients subsequently ask the electricity again
The philosophical works is when the e-book loads the number of pages data under configuration, and e-book server can be directly to the number of pages number of its return storage
According to.
It should be noted that when it is implemented, user is during reading electronic book, matching somebody with somebody if having modified e-book loading
Any one of put, then e-book client can be electric to the transmission of e-book server according to amended e-book loading configuration
Philosophical works number of pages obtains request, wherein the e-book loading configuration information after being changed after carrying, after e-book server is according to renewal
E-book loading configuration information e-book number of pages data are determined by the method provided in the various embodiments described above and are supplied to
E-book client, will not enumerate here.
Example IV,
As shown in Figure 6 a, it is e-book client implementation e-book number of pages acquisition methods provided in an embodiment of the present invention
Implementation process diagram, may comprise steps of:
S61, when loading e-book, send e-book number of pages to e-book server and obtain and ask.
Wherein, transmission e-book number of pages obtain carry in request e-book to be loaded corresponding e-book mark and
E-book loads configuration information.
S62, the number of pages data for receiving the e-book server return.
Wherein, the number of pages data are that the e-book server loads configuration according to e-book mark and e-book
What information was found in the e-book number of pages data prestored.
Preferably, the total page number for each chapters and sections that the e-book to be loaded that is stored with e-book number of pages data is included, this
Sample, the total page number for each chapters and sections that e-book client can contain according to e-schoolbag calculates the total page number for obtaining e-book.When
So, when it is implemented, the total page number of e-book can also be included in the e-book number of pages data that e-book server is provided.
E-book client is according to the e-book number of pages data received, and during user's reading electronic book, record is treated
Number of pages offset of the loading page in chapters and sections to be loaded, according to number of pages offset of the page to be loaded in chapters and sections to be loaded and
The total page number sum of all chapters and sections before chapters and sections to be loaded, determines the number of pages information of the page to be loaded, and treated described in display
Load the number of pages information of e-book total page number and/or the page to be loaded.
For example, the electronic book data that e-book client is received is (chapter 1:Page 25;Chapter 2:Page 28;Chapter 3:
Page 32;Chapter 4, page 64;... total page number:Page 225), and determine that chapters and sections to be loaded are chapter 3, root according to the selection of user
According to number of pages offset of the operation note of the user page to be loaded in chapters and sections to be loaded, for example, according to the page turn over operation of user
Number of pages offset of the page to be loaded in chapters and sections to be loaded can be determined, it is assumed that the offset of record is 3, then e-book client
End can determine that the corresponding number of pages information of the page to be loaded is 25+28+3=56, and e-book client is in number of pages viewing area
The number of pages information format of display can be page 56/225, it is preferred that e-book client can also show that e-book has been read
In ratio, this example, as 56/225=25% etc..
If when it is implemented, e-book client, which receives e-book server, does not find corresponding number of pages data
During response message, e-book client can also load configuration information generation e-book according to e-book and identify corresponding number of pages number
According to, and request is reported to e-server transmission number of pages data, the number of pages data report in request and carry the e-book
The number of pages data of mark, e-book loading configuration information and generation, by e-book server according to the number of pages number received
According to being stored.Similarly, e-book loading configuration information includes at least one of following:Loading page size information, load word
Body information and loading font size information.
Embodiment for a better understanding of the present invention, below in conjunction with the friendship between e-book client and e-book server
The specific implementation process of e-book number of pages acquisition methods provided in an embodiment of the present invention is described in detail mutual flow, such as Fig. 6 b
It is shown, it may comprise steps of:
S601, when loading e-book, e-book client, which sends e-book number of pages to e-book server and obtained, asks.
Wherein, e-book client is according to the corresponding e-book mark of e-book to be loaded, the display screen of user equipment
Size information, the font of e-book loading and loading font size information, in the electronics page sent to e-book server
E-book mark is carried in number acquisition request and e-book loads configuration information.
S602, e-book server judge whether find corresponding page in the e-book number of pages tables of data prestored
Number data, if it is, performing step S603, otherwise, perform step S604.
In this step, e-book server can obtain the e-book carried in request according to the e-book number of pages received
Mark, e-book loading configuration information search corresponding number of pages data in the e-book number of pages data prestored.
S603, e-book server return to the number of pages data found to e-book client, and flow terminates.
S604, e-book server load configuration information according to e-book and generate the corresponding number of pages number of the e-book mark
According to.
S605, e-book server storage e-book mark, e-book loading configuration information and the electronics page of generation
Number data.
When it is implemented, e-book server adds e-book mark, e-book loading in e-book number of pages tables of data
Corresponding relation between configuration information and the e-book number of pages data of generation.
S606, e-book server return to the number of pages data of generation to e-book client.
S607, e-book client are according to the number of pages data received, skew of the page to be loaded in chapters and sections to be loaded
Determine the number of pages information of the page to be loaded.
In this step, e-book client is according to the number of pages data received, if do not wrapped in the number of pages data received
Total page number containing e-book, then e-book client e-book total page number is determined according to the total page number of each chapters and sections first, then, electricity
Sub-book client is cheap in chapters and sections to be loaded further according to the page to be loaded, determines the number of pages information of the page to be loaded and carries out
Display.
S608, e-book client show the number of pages information determined.
Electronic client can only show the number of pages information of the page to be loaded when showing the number of pages information of the page to be loaded
With total page number information, reading ratio can also be shown, the embodiment of the present invention is to this without limiting.
Further, if user changes e-book loading configuration information during reading electronic book, for example, just
During the beginning, e-book ID1 that user sets loading configuration information for (4.7 inches, the Song typeface, trumpet), then e-book server according to
The e-book number of pages data that the e-book mark and loading configuration information that e-book client is sent can be found are (first
Chapter:Page 25;Chapter 2:Page 28;Chapter 3:Page 32;Chapter 4:Page 64;... total page number:Page 225), e-book client root
The number of pages information for obtaining the page to be loaded is calculated according to offset of the current page to be loaded in chapters and sections to be loaded, if user reads
In read procedure, change e-book loading configuration information is (4.7 inches, the Song typeface, medium size), i.e. user's amplification electron book display font
Size, then e-book client please to the transmission e-book number of pages acquisition of e-book server according to the loading configuration information after change
Ask, wherein carrying the e-book loading configuration information (4.7 inches, the Song typeface, medium size) after e-book mark ID and change, electronics
Book server identifies ID1 according to the e-book received and e-book loads configuration information (4.7 inches, the Song typeface, medium size) and deposited
Searched in the e-book number of pages tables of data of storage in corresponding number of pages data, this example, e-book server can be in the electricity shown in Fig. 2
Corresponding number of pages data (chapter 1 is found in philosophical works number of pages tables of data:Page 32;Chapter 2:Page 36;Chapter 3:Page 40;4th
Chapter:Page 72;... total page number:Page 280), and e-book client is sent to, e-book client is according to the number of pages number received
According to the corresponding number of pages information of current page is recalculated, equally, e-book client is remained as according to current page in current chapter
The number of pages summation of all chapters and sections calculates and waits until the corresponding number of pages information of current page simultaneously before offset and current chapters and sections in section
Display.
In e-book number of pages acquisition methods provided in an embodiment of the present invention, for each e-book, by being taken in e-book
Business device prestores the corresponding number of pages data of the e-book under different loading configuration informations, so that, it need to add in e-book client
, can be directly to e-book server acquisition request when carrying the e-book, the number of pages number without voluntarily calculating the e-book
According to so as to while number of pages data accuracy is ensured, improve e-book loading velocity, save user equipment process resource
Expense.
Example devices
After the method for exemplary embodiment of the invention is described, next, showing with reference to Fig. 7 and Fig. 8 the present invention
The e-book number of pages acquisition device of example property embodiment.
As shown in fig. 7, it is the structural representation for the e-book number of pages acquisition device that e-book server side is implemented, can be with
Including:
First receiving unit 71, the e-book number of pages for receiving requesting party's transmission obtains request, the e-book number of pages
Obtain and e-book mark and e-book loading configuration information are carried in request;
Response unit 72, if for being identified according to the e-book and e-book loads configuration information and prestored
Corresponding number of pages data are found in e-book number of pages data, then the number of pages data found are returned to requesting party.
Alternatively, the e-book number of pages acquisition device that e-book server side is implemented, can also include the first generation unit
73 and updating block 74, wherein:
First generation unit 73, if for loading configuration information pre- according to e-book mark and e-book
Corresponding number of pages data are not found in the e-book number of pages data first stored, then configuration information are loaded according to the e-book,
Generate the e-book and identify corresponding number of pages data;
The updating block 74, for loading configuration information and generation according to e-book mark, the e-book
Number of pages data update storage e-book number of pages data;
The response unit 72, is additionally operable to return the number of pages data of generation to the requesting party.
Alternatively, the e-book number of pages acquisition device that e-book server side is implemented, can also include:
Second generation unit 75, for for each e-book, being given birth to respectively according to different e-book loading configuration informations
Into the e-book number of pages data and store;Or
Second receiving unit 76, for for each e-book, receive it is that e-book client is reported for the e-book,
Different e-book load the corresponding number of pages data of configuration information and stored;Or
3rd receiving unit 77, adds for for each e-book, receiving e-book provider for different e-book
The number of pages data of configuration information offer are provided and stored.
Preferably, it is stored with each chapter that the e-book included for each e-book in the e-book number of pages data
The total page number of section.
As shown in figure 8, it is the structural representation of the e-book number of pages acquisition device of e-book client implementation, it can wrap
Include:
First transmitting element 81, for when loading e-book, sending the acquisition of e-book number of pages to e-book server please
Ask, the e-book number of pages, which is obtained, carries the corresponding e-book mark of e-book to be loaded and e-book loading configuration in request
Information;
Receiving unit 82, for receiving the number of pages data that the e-book server is returned, the number of pages data are described
E-book server loads configuration information in the e-book number of pages data prestored according to e-book mark and e-book
In find.
Preferably, the total page for each chapters and sections that the e-book to be loaded that is stored with the e-book number of pages data is included
Number;And
The e-book number of pages acquisition device that e-book client-side is implemented, in addition to:
First determining unit 83, for the total page number of each chapters and sections included according to e-book to be loaded, is determined to be added
Carry the total page number of e-book;
Second determining unit 84, for according to number of pages offset of page record, to be loaded in chapters and sections to be loaded and
The total page number sum of all chapters and sections before chapters and sections to be loaded, determines the number of pages information of the page to be loaded;
Display unit 85, the number of pages information for showing the e-book total page number to be loaded and/or the page to be loaded.
Alternatively, the e-book number of pages acquisition device that e-book client-side is implemented, can also include:
Generation unit 86, if not finding the response of corresponding number of pages data for receiving the e-book server
During message, configuration information is loaded according to the e-book and generates the corresponding number of pages data of the e-book mark;
Second transmitting element 87, request, the number of pages data are reported for sending number of pages data to the e-server
Report and the e-book mark, e-book loading configuration information and the number of pages data of generation are carried in request.
Preferably, the e-book loading configuration information includes at least one of following:Loading page size information, load word
Body information and loading font size information.
After the method and apparatus of exemplary embodiment of the invention are described, next, introducing according to the present invention's
The e-book number of pages acquisition device of another exemplary embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be implemented as following form, i.e.,:It is complete hardware embodiment, complete
Complete Software Implementation (including firmware, microcode etc.), or the embodiment combined in terms of hardware and software, it can unite here
Referred to as " circuit ", " module " or " system ".
In some possible embodiments, according to e-book number of pages that is of the invention, being arranged in e-book server
Acquisition device can include at least one processing unit and at least one memory cell.Wherein, the memory cell is stored with
Program code, when described program code is performed by the processing unit so that it is above-mentioned that the processing unit performs this specification
Described in " illustrative methods " part according to various illustrative embodiments of the invention, e-book server side implement side
Various steps in method.For example, the processing unit can perform step S31 as shown in Figure 3, receive what requesting party sent
E-book number of pages obtains request, and e-book mark and e-book loading are carried in the e-book number of pages acquisition request with confidence
Breath;Step S32, if loading configuration information in the e-book number of pages number prestored according to e-book mark and e-book
Corresponding number of pages data are found in, then the number of pages data found are returned to requesting party.
E-book number of pages acquisition device 90 according to the embodiment of the invention is described referring to Fig. 9.Fig. 9 shows
The e-book number of pages acquisition device shown is only an example, should not be appointed to the function of the embodiment of the present invention and using range band
What is limited.
As shown in figure 9, e-book number of pages acquisition device 90 can be showed in the form of universal computing device, for example it can be with
For user equipment.The component of e-book number of pages acquisition device 90 can include but is not limited to:At least one above-mentioned processing unit 91,
The bus 93 of at least one above-mentioned memory cell 92, connection different system component (including memory cell 92 and processing unit 91).
Bus 93 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory cell 92 can include the computer-readable recording medium of form of volatile memory, such as random access memory (RAM)
921 and/or cache memory 922, it can further include read-only storage (ROM) 923.
Memory cell 92 can also include program/utility 925 with one group of (at least one) program module 924,
Such program module 924 includes but is not limited to:Operating system, one or more application program, other program modules and
The realization of network environment is potentially included in each or certain combination in routine data, these examples.
E-book number of pages acquisition device 90 can also be with one or more external equipments 94 (such as keyboard, sensing equipment)
Communication, can also enable a user to the equipment communication interacted with the e-book number of pages acquisition device 90 with one or more, and/or
With any equipment (such as road for enabling e-book number of pages acquisition device 90 to be communicated with one or more of the other computing device
By device, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 95.Also, e-book
Number of pages acquisition device 90 can also pass through network adapter 96 and one or more network (such as LAN (LAN), wide area network
(WAN) and/or public network, such as internet) communication.As illustrated, network adapter 96 passes through bus 93 and electronics page
Other modules communication of number acquisition device 90.It should be understood that although not shown in the drawings, e-book number of pages acquisition device can be combined
90 use other hardware and/or software module, include but is not limited to:Microcode, device driver, redundant processing unit, outside
Disk drive array, RAID system, tape drive and data backup storage system etc..
In some possible embodiments, according to e-book number of pages that is of the invention, being arranged in e-book client
Acquisition device can include at least one processing unit and at least one memory cell.Wherein, the memory cell is stored with
Program code, when described program code is performed by the processing unit so that it is above-mentioned that the processing unit performs this specification
Described in " illustrative methods " part according to various illustrative embodiments of the invention, e-book client-side implement side
Various steps in method.For example, the processing unit can perform step S61 as shown in FIG. 6 a, when loading e-book,
E-book number of pages is sent to e-book server and obtains request, and the e-book number of pages obtains in request and carries electronics to be loaded
The corresponding e-book mark of book and e-book load configuration information;Step S62, receives the number of pages that the e-book server is returned
Data, the number of pages data are that the e-book server loads configuration information pre- according to e-book mark and e-book
Found in the e-book number of pages data first stored.
E-book number of pages acquisition device 100 according to the embodiment of the invention is described referring to Figure 10.Figure
The e-book number of pages acquisition device of 10 displays are only an example, to the function of the embodiment of the present invention and should not use range band
Carry out any limitation.
As shown in Figure 10, e-book number of pages acquisition device 100 can be showed in the form of universal computing device, and for example it can
Think server apparatus.The component of e-book number of pages acquisition device 100 can include but is not limited to:At least one above-mentioned processing is single
Member 101, at least one above-mentioned memory cell 102, connection different system component (including memory cell 102 and processing unit 101)
Bus 103.
Bus 103 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory cell 102 can include the computer-readable recording medium of form of volatile memory, such as random access memory (RAM)
1021 and/or cache memory 1022, it can further include read-only storage (ROM) 1023.
Memory cell 102 can also include program/utility with one group of (at least one) program module 1024
1025, such program module 1024 includes but is not limited to:Operating system, one or more application program, other program moulds
The realization of network environment is potentially included in each or certain combination in block and routine data, these examples.
E-book number of pages acquisition device 100 can also be with one or more external equipments 104 (such as keyboard, sensing equipment
Deng) communication, the equipment communication interacted with the e-book number of pages acquisition device 100 can be also enabled a user to one or more,
And/or with any equipment that e-book number of pages acquisition device 100 is communicated with one or more of the other computing device
(such as router, modem etc.) communicates.This communication can be carried out by input/output (I/O) interface 105.And
And, e-book number of pages acquisition device 100 can also pass through network adapter 106 and one or more network (such as LAN
(LAN), wide area network (WAN) and/or public network, such as internet) communication.As illustrated, network adapter 106 passes through bus
103 communicate with other modules of e-book number of pages acquisition device 100.It should be understood that although not shown in the drawings, electronics can be combined
Page number acquisition device 100 uses other hardware and/or software module, includes but is not limited to:It is microcode, device driver, superfluous
Remaining processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Exemplary process product
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product
Formula, it includes program code, when described program product is run on server apparatus, and described program code is used to make the clothes
Business device equipment perform described in above-mentioned " illustrative methods " part of this specification according to various illustrative embodiments of the invention
, applied to e-book number of pages acquisition methods in e-book server the step of, for example, the server apparatus can be performed
Step S31 as shown in Figure 3, receives the e-book number of pages acquisition request that requesting party sends, the e-book number of pages is obtained please
E-book mark is carried in asking and e-book loads configuration information;Step S32, if according to e-book mark and electronics
Book loading configuration information finds corresponding number of pages data in the e-book number of pages data prestored, then is returned to requesting party
The number of pages data found.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
System, device or the device of outside line or semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing
(non exhaustive list) includes:Electrical connection, portable disc with one or more wires, hard disk, random access memory
(RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
As shown in figure 11, the program product that e-book number of pages is obtained that is used for according to the embodiment of the present invention is described
110, it can be using portable compact disc read only memory (CD-ROM) and including program code, it is possible in server apparatus
Upper operation.However, the present invention program product not limited to this, in this document, readable storage medium storing program for executing can be it is any include or
The tangible medium of storage program, the program can be commanded execution system, device or device and use or in connection.
Readable signal medium can be included in a base band or as the data-signal of carrier wave part propagation, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be beyond readable storage medium storing program for executing it is any can
Read medium, the computer-readable recording medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for performing the program that the present invention is operated
Code, described program design language includes object oriented program language-Java, C++ etc., in addition to conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
Perform, partly perform on a user device on computing device, being performed as an independent software kit, partly in user's calculating
Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to
In the situation of journey computing device, remote computing device can be by the network of any kind --- including LAN (LAN) or wide
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (for example utilizes Internet service
Provider comes by Internet connection).
In some possible embodiments, various aspects of the invention are also implemented as a kind of shape of program product
Formula, it includes program code, when described program product is run on a user device, and described program code is used to make the user
Equipment perform described in above-mentioned " illustrative methods " part of this specification according to various illustrative embodiments of the invention, should
The step of for e-book number of pages acquisition methods in e-book client, for example, the user equipment can be performed such as Fig. 6 a
Shown in step S61, when loading e-book, send e-book number of pages to e-book server and obtain and ask, the electronics
Page number, which is obtained, carries the corresponding e-book mark of e-book to be loaded and e-book loading configuration information in request;Step
S62, receives the number of pages data that the e-book server is returned, and the number of pages data are the e-book server according to described
E-book is identified and e-book loads what configuration information was found in the e-book number of pages data prestored.
Described program product can use any combination of one or more computer-readable recording mediums.Computer-readable recording medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
System, device or the device of outside line or semiconductor, or any combination above.The more specifically example of readable storage medium storing program for executing
(non exhaustive list) includes:Electrical connection, portable disc with one or more wires, hard disk, random access memory
(RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
As shown in figure 12, another described according to the embodiment of the present invention is used for the journey that e-book number of pages is obtained
Sequence product 120, it can be using portable compact disc read only memory (CD-ROM) and including program code, it is possible in user
Run in equipment.However, the program product not limited to this of the present invention, in this document, readable storage medium storing program for executing can be any bag
Contain or storage program tangible medium, the program can be commanded execution system, device or device and use or in connection
Use.
Readable signal medium can be included in a base band or as the data-signal of carrier wave part propagation, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be beyond readable storage medium storing program for executing it is any can
Read medium, the computer-readable recording medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code included on computer-readable recording medium can be transmitted with any appropriate medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for performing the program that the present invention is operated
Code, described program design language includes object oriented program language-Java, C++ etc., in addition to conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
Perform, partly perform on a user device on computing device, being performed as an independent software kit, partly in user's calculating
Its upper side point is performed or performed completely in remote computing device or server on a remote computing.It is remote being related to
In the situation of journey computing device, remote computing device can be by the network of any kind --- including LAN (LAN) or wide
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (for example utilizes Internet service
Provider comes by Internet connection).
Although it should be noted that being referred to some units or subelement of device, this stroke in above-detailed
What is point be merely exemplary is not enforceable.In fact, according to the embodiment of the present invention, it is above-described two or more
The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can
To be further divided into being embodied by multiple units.
In addition, although the operation of the inventive method is described with particular order in the accompanying drawings, this do not require that or
Hint must be performed according to the particular order these operation, or the operation having to carry out shown in whole could realize it is desired
As a result.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step execution, and/or by one
Step is decomposed into execution of multiple steps.
Although describing spirit and principles of the present invention by reference to some embodiments, it should be appreciated that, this
Invention is not limited to disclosed embodiment, and the division to each side does not mean that the feature in these aspects can not yet
Combination is this to divide merely to the convenience of statement to be benefited.It is contemplated that cover appended claims spirit and
In the range of included various modifications and equivalent arrangements.
Claims (11)
1. a kind of e-book number of pages acquisition methods, including:
The e-book number of pages acquisition request that requesting party sends is received, the e-book number of pages obtains in request and carries electronics book label
Know and e-book loads configuration information;
If looked into according to e-book mark and e-book loading configuration information in the e-book number of pages data prestored
Corresponding number of pages data are found, then the number of pages data found are returned to requesting party.
2. according to the method described in claim 1, if loading configuration information pre- according to e-book mark and e-book
Corresponding number of pages data are not found in the e-book number of pages data first stored, then methods described also includes:
Configuration information is loaded according to the e-book, the e-book is generated and identifies corresponding number of pages data;
Identified according to the e-book, the e-book loads configuration information and the number of pages data of generation update the electronics stored
Page number data;And
The number of pages data of generation are returned to the requesting party.
3. according to the method described in claim 1, the e-book number of pages data prestored are to obtain in such a way
's:
For each e-book, the number of pages data of the e-book are generated according to different e-book loading configuration informations respectively and deposited
Storage;Or
For each e-book, e-book loading configuration informations that e-book client is reported for the e-book, different are received
Corresponding number of pages data are simultaneously stored;Or
For each e-book, receive e-book provider and load the number of pages data that configuration information is provided for different e-book
And store.
4. the method according to claim 1,2 or 3, the e-book loading configuration information includes at least one of following:Plus
Carry page-size information, loading font information and loading font size information.
5. it is stored with this for each e-book in the method according to claim 1,2 or 3, the e-book number of pages data
The total page number for each chapters and sections that e-book is included.
6. a kind of e-book number of pages acquisition device, including:
First receiving unit, obtains request, the e-book number of pages is obtained please for receiving the e-book number of pages of requesting party's transmission
E-book mark is carried in asking and e-book loads configuration information;
Response unit, if for loading configuration information in the e-book prestored according to e-book mark and e-book
Corresponding number of pages data are found in number of pages data, then the number of pages data found are returned to requesting party.
7. a kind of e-book number of pages acquisition methods, including:
When loading e-book, send e-book number of pages to e-book server and obtain request, the e-book number of pages is obtained please
The corresponding e-book mark of e-book to be loaded is carried in asking and e-book loads configuration information;
The number of pages data that the e-book server is returned are received, the number of pages data are the e-book server according to described
E-book is identified and e-book loads what configuration information was found in the e-book number of pages data prestored.
8. it is stored with what e-book to be loaded was included in method according to claim 7, the e-book number of pages data
The total page number of each chapters and sections;And
Methods described, in addition to:
The total page number of each chapters and sections included according to e-book to be loaded, determines the total page number of e-book to be loaded;
According to all chapters and sections before number of pages offset of page record, to be loaded in chapters and sections to be loaded and chapters and sections to be loaded
Total page number sum, determines the number of pages information of the page to be loaded;
Show the number of pages information of the e-book total page number to be loaded and/or the page to be loaded.
9. method according to claim 7, if receiving the e-book server does not find corresponding number of pages number
According to response message when, methods described, in addition to:
Configuration information is loaded according to the e-book and generates the corresponding number of pages data of the e-book mark;
Number of pages data are sent to the e-server and report request, and the number of pages data report in request and carry the electronics
The number of pages data of book label knowledge, e-book loading configuration information and generation.
10. the method according to claim 7,8 or 9, the e-book loading configuration information includes at least one of following:Plus
Carry page-size information, loading font information and loading font size information.
11. a kind of e-book number of pages acquisition device, including:
First transmitting element, it is described for when loading e-book, sending e-book number of pages to e-book server and obtaining request
E-book number of pages, which is obtained, carries the corresponding e-book mark of e-book to be loaded and e-book loading configuration information in request;
Receiving unit, for receiving the number of pages data that the e-book server is returned, the number of pages data are the e-book
Server is searched according to e-book mark and e-book loading configuration information in the e-book number of pages data prestored
Arrive.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710277834.0A CN107045549B (en) | 2017-04-25 | 2017-04-25 | Method and device for acquiring page number of electronic book |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710277834.0A CN107045549B (en) | 2017-04-25 | 2017-04-25 | Method and device for acquiring page number of electronic book |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107045549A true CN107045549A (en) | 2017-08-15 |
CN107045549B CN107045549B (en) | 2020-02-14 |
Family
ID=59545801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710277834.0A Expired - Fee Related CN107045549B (en) | 2017-04-25 | 2017-04-25 | Method and device for acquiring page number of electronic book |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107045549B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116795475A (en) * | 2023-08-22 | 2023-09-22 | 腾讯科技(深圳)有限公司 | Page number prediction method, page number display method, server and client |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521280A (en) * | 2011-11-26 | 2012-06-27 | 华为技术有限公司 | Loading method and loading device of EPub electronic book |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
-
2017
- 2017-04-25 CN CN201710277834.0A patent/CN107045549B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521280A (en) * | 2011-11-26 | 2012-06-27 | 华为技术有限公司 | Loading method and loading device of EPub electronic book |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116795475A (en) * | 2023-08-22 | 2023-09-22 | 腾讯科技(深圳)有限公司 | Page number prediction method, page number display method, server and client |
CN116795475B (en) * | 2023-08-22 | 2023-11-21 | 腾讯科技(深圳)有限公司 | Page number prediction method, page number display method, server and client |
Also Published As
Publication number | Publication date |
---|---|
CN107045549B (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10650102B2 (en) | Method and apparatus for generating parallel text in same language | |
US20180295194A1 (en) | Techniques for supporting remote micro-services as native functions in spreadsheet applications | |
US20200074999A1 (en) | Semi-supervised question answering machine | |
CN105719329B (en) | Bookkeeping voucher generation method and system | |
CN109325213A (en) | Method and apparatus for labeled data | |
CN108628830A (en) | A kind of method and apparatus of semantics recognition | |
CN109302461A (en) | Information displaying, processing method, medium, system and calculating equipment | |
US20140082523A1 (en) | Collaborative form filling and dynamic transfer of redacted information | |
JP2022039973A (en) | Method and apparatus for quality control, electronic device, storage medium, and computer program | |
JP2022006173A (en) | Knowledge pre-training model training method, device and electronic equipment | |
CN109918530A (en) | Method and apparatus for pushing image | |
CN112966824A (en) | Deployment method and device of inference library and electronic equipment | |
CN111399833A (en) | Service data processing method and device, computer equipment and storage medium | |
CN104714942A (en) | Method and system for usablility of content to natural language processing tasks. | |
CN109634579A (en) | Code generating method, device, computer installation and storage medium | |
CN109543154A (en) | Method for converting types, device, storage medium and the electronic equipment of list data | |
CN109889325B (en) | Verification method, verification device, electronic equipment and medium | |
CN114780701A (en) | Automatic question-answer matching method, device, computer equipment and storage medium | |
CN107045549A (en) | A kind of e-book number of pages acquisition methods and device | |
US10891431B2 (en) | Populating electronic form data | |
CN111767024A (en) | Simple operation-oriented answering method and device | |
WO2020240872A1 (en) | Patent text generating device, patent text generating method, and patent text generating program | |
CN109840072A (en) | Information processing method and device | |
CN107424002A (en) | Methods of exhibiting, equipment and the computer-readable recording medium of picture search result | |
JP6676083B2 (en) | Search device, search method, and program |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200214 |
|
CF01 | Termination of patent right due to non-payment of annual fee |