CN109726166A - Display methods, device, computer equipment and the readable storage medium storing program for executing of e-book - Google Patents
Display methods, device, computer equipment and the readable storage medium storing program for executing of e-book Download PDFInfo
- Publication number
- CN109726166A CN109726166A CN201811565319.3A CN201811565319A CN109726166A CN 109726166 A CN109726166 A CN 109726166A CN 201811565319 A CN201811565319 A CN 201811565319A CN 109726166 A CN109726166 A CN 109726166A
- Authority
- CN
- China
- Prior art keywords
- page
- book
- sections
- chapters
- picture
- 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
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000012545 processing Methods 0.000 claims description 17
- 238000003780 insertion Methods 0.000 claims description 16
- 230000037431 insertion Effects 0.000 claims description 16
- 230000007306 turnover Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 11
- 230000005611 electricity Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 210000003733 optic disk Anatomy 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application proposes display methods, device, computer equipment and the readable storage medium storing program for executing of a kind of e-book, wherein method includes: the page picture of reading e-books when detecting the opening operation of e-book;Wherein, page picture is to be saved when the last time closing e-book to the page object read extremely;Show the page picture of e-book;During showing e-book, page object said target chapters and sections are inquired, parsing is carried out to target chapters and sections and typesetting handles to obtain page object;When detecting the object run to the execution of page picture, page object performance objective is operated and shown.This method can be realized through page picture, so that user's direct reading the last time reads page object extremely when closing e-book, even if obtaining user is directly entered read state, stress state can be avoided the occurrence of, the waiting time for reducing user, improve the reading experience of user.
Description
Technical field
This application involves Internet technical field more particularly to a kind of display methods of e-book, device, computer equipment
And readable storage medium storing program for executing.
Background technique
With the continuous development of Internet technology and terminal technology, the mobile reading demand of user is constantly promoted, therewith
Derive all kinds of reading class application programs (Application, abbreviation APP).Currently, reading the process that class APP opens e-book
Are as follows: e-book is parsed, typesetting, is shown after drafting.
It however, aforesaid operations are being handled from the background, can not be presented to the user, foreground is caused to be constantly in load
(loading) state, the file size of personal attendant's e-book when load and change, when the file of e-book is larger, load duration
Longer, user needs that the long period is waited just to can enter read state, and the opening efficiency of e-book is lower.
Summary of the invention
The application proposes display methods, device, computer equipment and the readable storage medium storing program for executing of a kind of e-book, logical to realize
Page picture is crossed, so that user's direct reading the last time reads page object extremely when closing e-book, even if it is direct to obtain user
Into read state, stress state can be avoided the occurrence of, reduces the waiting time of user, improves the reading experience of user, is used for
Solve the lower technical problem of the opening efficiency of e-book in the prior art.
The application first aspect embodiment proposes a kind of display methods of e-book, comprising:
When detecting the opening operation of e-book, the page picture of the e-book is read;Wherein, the page figure
Piece is to be saved when the last time closing the e-book to the page object read extremely;
Show the page picture of the e-book;
During showing the e-book, inquire the page object said target chapters and sections, to the target chapters and sections into
Row parsing and typesetting handle to obtain the page object;
When detecting the object run to page picture execution, the object run is executed simultaneously to the page object
Display.
The display methods of the e-book of the embodiment of the present application, by reading electricity when detecting the opening operation of e-book
The page picture of the philosophical works, wherein page picture is to protect when the last time closing e-book to the page object read extremely
It deposits, then shows the page picture of e-book.User can pass through the page picture, direct reading nearest one as a result,
Page object extremely is read when secondary closing e-book, i.e. user can be directly entered read state, can avoid the occurrence of load shape
State reduces the waiting time of user, improves the reading experience of user.By inquiring page object during showing e-book
Said target chapters and sections, to target chapters and sections carry out parsing and typesetting handle to obtain page object, may be implemented by chapters and sections to e-book into
Row load, shortens the load duration of e-book, and can reduce Memory Allocation.It is detected by working as to the execution of page picture
When object run, page object performance objective is operated and shown, can satisfy the practical reading requirement of user.
The application second aspect embodiment proposes a kind of display device of e-book, comprising:
Detecting module, for when detecting the opening operation of e-book, reading the page picture of the e-book;Its
In, the page picture is to be saved when the last time closing the e-book to the page object read extremely;
Display module, for showing the page picture of the e-book;
Processing module, for the page object said target chapters and sections being inquired, to institute during showing the e-book
State target chapters and sections carry out parsing and typesetting handle to obtain the page object;
Operation module, for being executed to the page object when detecting the object run to page picture execution
The object run is simultaneously shown.
The display device of the e-book of the embodiment of the present application, by reading electricity when detecting the opening operation of e-book
The page picture of the philosophical works, wherein page picture is to protect when the last time closing e-book to the page object read extremely
It deposits, then shows the page picture of e-book.User can pass through the page picture, direct reading nearest one as a result,
Page object extremely is read when secondary closing e-book, i.e. user can be directly entered read state, can avoid the occurrence of load shape
State reduces the waiting time of user, improves the reading experience of user.By inquiring page object during showing e-book
Said target chapters and sections, to target chapters and sections carry out parsing and typesetting handle to obtain page object, may be implemented by chapters and sections to e-book into
Row load, shortens the load duration of e-book, and can reduce Memory Allocation.It is detected by working as to the execution of page picture
When object run, page object performance objective is operated and shown, can satisfy the practical reading requirement of user.
The application third aspect embodiment proposes a kind of computer equipment, comprising: memory, processor and is stored in
On reservoir and the computer program that can run on a processor, when the processor executes described program, realize as before the application
State the display methods of the e-book of first aspect embodiment proposition.
To achieve the goals above, the application fourth aspect embodiment proposes a kind of computer-readable storage of non-transitory
Medium is stored thereon with computer program, and such as the application aforementioned first aspect embodiment is realized when which is executed by processor
The display methods of the e-book of proposition.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the display methods of e-book provided by the embodiment of the present application one;
Fig. 2 is the flow diagram of the display methods of e-book provided by the embodiment of the present application two;
Fig. 3 is the flow diagram of the display methods of e-book provided by the embodiment of the present application three;
Fig. 4 is the flow diagram of the display methods of e-book provided by the embodiment of the present application four;
Fig. 5 is the structural schematic diagram of the display device of e-book provided by the embodiment of the present application five;
Fig. 6 is the structural schematic diagram of the display device of e-book provided by the embodiment of the present application six;
Fig. 7 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Currently, it mainly includes following several for reading class APP to open the process of e-book:
E-book is carried out full text downloading, and shown after carrying out regulation by first way.
E-book is carried out full text downloading by the second way, and is shown after carrying out point chapter parsing.
E-book is carried out a point chapter and downloaded by the third mode, and is shown after carrying out point chapter parsing.
However, full text downloading and parsing need to expend longer time, and need to distribute biggish under first way
Memory.
Under the second way, download time is longer, and from parsing this period of chapter 1 is downloaded to, foreground, which is constantly in, to be added
Load state.
Under the third mode, downloads and parse by chapter, although load duration can be reduced, when user opens electronics
When book, it is still desirable to load a period of time.
Therefore, the application technical problem lower mainly for the opening efficiency of e-book in the prior art, proposes one kind
The display methods of e-book.
The display methods of the e-book of the embodiment of the present application, by reading electricity when detecting the opening operation of e-book
The page picture of the philosophical works, wherein page picture is to protect when the last time closing e-book to the page object read extremely
It deposits, then shows the page picture of e-book.User can pass through the page picture, direct reading nearest one as a result,
Page object extremely is read when secondary closing e-book, i.e. user can be directly entered read state, can avoid the occurrence of load shape
State reduces the waiting time of user, improves the reading experience of user.By inquiring page object during showing e-book
Said target chapters and sections, to target chapters and sections carry out parsing and typesetting handle to obtain page object, may be implemented by chapters and sections to e-book into
Row load, shortens the load duration of e-book, and can reduce Memory Allocation.It is detected by working as to the execution of page picture
When object run, page object performance objective is operated and shown, can satisfy the practical reading requirement of user.
Below with reference to the accompanying drawings the display methods of the e-book of the embodiment of the present application, device, computer equipment and readable are described
Storage medium.
Fig. 1 is the flow diagram of the display methods of e-book provided by the embodiment of the present application one.
The embodiment of the present application be configured in the display device of e-book with the display methods of the e-book come for example,
The display device of the e-book can be applied in any computer equipment, so that the computer equipment can execute e-book
Display function.
Wherein, computer equipment can be PC (Personal Computer, abbreviation PC), cloud device, movement
Equipment etc., mobile device can for example have for mobile phone, tablet computer, personal digital assistant, wearable device, mobile unit etc.
The hardware device of various operating systems, touch screen and/or display screen.
As shown in Figure 1, the display methods of the e-book the following steps are included:
Step 101, when detecting the opening operation of e-book, the page picture of reading e-books;Wherein, page figure
Piece is to be saved when the last time closing e-book to the page object read extremely.
In the embodiment of the present application, opening operation be user triggering, for example, user can by major e-book website,
Search for and click want reading e-book, to trigger the opening operation of e-book, alternatively, user can by read class APP,
It searches for and clicks the e-book for wanting reading, to trigger the opening operation of e-book, alternatively, user can also be in bookshelf directly
The e-book read is clicked, to trigger the opening operation of e-book, with no restriction to this.
In the embodiment of the present application, user can open e-book and read, when user reads some chapters and sections, alternatively,
When user's eyes fatigue, alternatively, user is according to self-demand, it is desirable to when closing e-book, at this point, user can trigger e-book
Shutoff operation, when the application e-book display device by listening to mode, monitor that user triggers the pass of e-book
After closed operation, the page object that can currently read to user extremely is saved, and obtains page picture.
That is, the page object of the secondary reading extremely can be carried out according to user when user closes e-book every time
It saves, obtains page picture, this time of user can be carried in page picture and closes corresponding shut-in time when e-book, thus
The last book when closing e-book, saved to the page object read extremely can be determined according to each shut-in time
Page picture, alternatively, new page picture can cover old page picture, thus when user opens e-book, acquisition it is equal
When closing e-book for the last time, the corresponding page picture of page object extremely is read.
In the embodiment of the present application, when the display device of e-book monitors that user triggers e-book by listening to mode
Opening operation when, can be with the page picture of reading e-books.
Step 102, the page picture of e-book is shown.
In the embodiment of the present application, after reading the page picture of e-book, can page picture to e-book carry out
It has been shown that, so that user can read page object extremely by the page picture, direct reading the last time when closing the e-book,
I.e. user can be directly entered read state, thus, it is possible to avoid the occurrence of stress state, reduce the waiting time of user, improve
The reading experience of user.
Step 103, during showing e-book, page object said target chapters and sections is inquired, target chapters and sections are solved
Analysis and typesetting handle to obtain page object.
In the embodiment of the present application, in order to promote the opening efficiency of e-book, user is avoided to be waited for, can visited
When measuring the opening operation of e-book, page object said target chapters and sections are inquired, then target chapters and sections are carried out at parsing and typesetting
Reason, obtains above-mentioned page object.Alternatively, can also be inquired belonging to page object during showing the page picture of e-book
Target chapters and sections then carry out parsing to target chapters and sections and typesetting are handled, obtain above-mentioned page object.Thus, it is possible to realize by chapters and sections
E-book is loaded, the load duration of e-book is shortened, and Memory Allocation can be reduced.
As a kind of possible implementation, user can read target extremely when the last time closing e-book
It is inserted into label in page, it, can be with when detecting user by listening to mode and close e-book alternatively, work as the display device of e-book
Automatically it is read in user and is inserted into label in page object extremely, and store the mark of above-mentioned label, wherein the mark of label is for referring to
Show target chapters and sections belonging to corresponding timestamp and page object, thus, it, can be according to the mark instruction of each label in the application
Timestamp determines the label of the last insertion, according to belonging to page object indicated by the mark of the label of the last time insertion
Target chapters and sections, to determine target chapters and sections belonging to page object.
In the embodiment of the present application, after determining target chapters and sections belonging to page object, target chapters and sections can be parsed, be obtained
To chapters and sections content, the typesetting rule used when then can close e-book according to last time carries out above-mentioned chapters and sections content
Typesetting obtains each page in target chapters and sections, so as to the label place page for being inserted into the last time, as above-mentioned mesh
Mark page.
Step 104, when detecting the object run to the execution of page picture, page object performance objective is operated and is shown
Show.
In the embodiment of the present application, object run is user's triggering, and object run can be edit operation, page turn over operation
Be used to carry out page object editing and processing Deng, wherein edit operation, for example, can font size to page object, font, line space,
Section spacing etc. is edited;Page turn over operation is used to carry out page processing to page object.
In the embodiment of the present application, when the display device of e-book, user is detected by listening to mode, page picture is held
When capable object run, page object performance objective can be operated and be shown, thus, it is possible to meet the practical reading need of user
It asks.
The display methods of the e-book of the embodiment of the present application, by reading electricity when detecting the opening operation of e-book
The page picture of the philosophical works, wherein page picture is to protect when the last time closing e-book to the page object read extremely
It deposits, then shows the page picture of e-book.User can pass through the page picture, direct reading nearest one as a result,
Page object extremely is read when secondary closing e-book, i.e. user can be directly entered read state, can avoid the occurrence of load shape
State reduces the waiting time of user, improves the reading experience of user.By inquiring page object during showing e-book
Said target chapters and sections, to target chapters and sections carry out parsing and typesetting handle to obtain page object, may be implemented by chapters and sections to e-book into
Row load, shortens the load duration of e-book, and can reduce Memory Allocation.It is detected by working as to the execution of page picture
When object run, page object performance objective is operated and shown, can satisfy the practical reading requirement of user.
As a kind of possible implementation, when object run is page turn over operation, referring to fig. 2, embodiment shown in Fig. 1
On the basis of, step 104 can specifically include following sub-step:
Step 201, when detecting the page turn over operation to the execution of page picture, according to page object, the book of page turning extremely is determined
Page.
In the embodiment of the present application, when the display device of e-book, user is detected by listening to mode, page picture is held
When capable page turn over operation, the page of page turning extremely can be determined according to page object.
For example, user can slide page picture to the left, so that it is determined that the page of page turning extremely is the latter of page object
Page, alternatively, user can slide to the right page picture, so that it is determined that the page of page turning extremely is the prevpage of page object.
Step 202, page picture the page of page turning extremely is switched to show.
In the embodiment of the present application, after determining the page of page turning extremely, page picture can be switched to the page of page turning extremely
It is shown.
Still with above-mentioned example, user can slide page picture to the left, so as to which page picture is switched to mesh
The next page of mark page is shown, alternatively, user can slide to the right page picture, so as to which page picture is switched to mesh
The prevpage of mark page is shown.
The display methods of the e-book of the embodiment of the present application, by working as the page turn over operation for detecting and executing to page picture
When, it according to page object, determines the page of page turning extremely, then, page picture is switched to the page of page turning extremely and is shown.By
This, may be implemented through page picture, page processing be carried out to page object, so that user can continue before reading the page object
Page or rear page, to meet the practical reading requirement of user.
As alternatively possible implementation, when object run is edit operation, referring to Fig. 3, implementation shown in Fig. 1
On the basis of example, step 104 can specifically include following sub-step:
Step 301, when detecting the edit operation to the execution of page picture, page object executive editor is operated.
In the embodiment of the present application, when the display device of e-book, user is detected by listening to mode, page picture is held
When capable edit operation, page object executive editor can be operated.
For example, user can click or the long-pressing page picture, to show each editting function option, thus user
It can be by triggering corresponding editting function option, to trigger corresponding edit operation, and page object executive editor is operated.
Step 302, page picture edited page object is switched to show.
In the embodiment of the present application, after being operated to page object executive editor, page picture can be switched to edited
Page object is shown.
The display methods of the e-book of the embodiment of the present application, by working as the edit operation for detecting and executing to page picture
When, page object executive editor is operated, then, page picture is switched to edited page object and is shown.Thus, it is possible to
It realizes to by page picture, editing and processing is carried out to page object, to meet the practical reading requirement of user.
As a kind of possible implementation, if the unread page picture to e-book, show that user is for the first time
The e-book is read, at this point it is possible to only carry out parsing and typesetting to the first chapters and sections of the e-book, obtains each of first chapters and sections
Page shows so as to the homepage to first chapters and sections.Below with reference to example IV, the above process is carried out specifically
It is bright.
Fig. 4 is the flow diagram of the display methods of e-book provided by the embodiment of the present application four.
As shown in figure 4, the display methods of the e-book may comprise steps of:
Step 401, when detecting the opening operation of e-book, judge whether the page picture for reading e-book, if
It is no, step 402 is executed to 403, if so, executing step 404.
Wherein, page picture is to be saved to obtain to the page object read extremely when the last time closing e-book
's.
Step 402, parsing and typesetting are carried out to the first chapters and sections of e-book, to obtain each page of first chapters and sections;Wherein,
The data volume of first chapters and sections is less than given threshold.
In the embodiment of the present application, in the unread page picture to e-book, show user to read the electricity for the first time
The philosophical works.At this point, in order to promote the opening efficiency of the e-book, so that user is avoided to be waited for, it, can be only in the application
The first chapters and sections of e-book are parsed to obtain first chapters and sections content, the typesetting rule then used using the e-book is right
First chapters and sections content carries out typesetting, obtains each page of first chapters and sections.Add thus, it is possible to realize and carry out a point chapters and sections to e-book
It carries, shortens the load duration of e-book, and Memory Allocation can be reduced.
It should be noted that when user reads the e-book for the first time, in order to realize the solution for further shortening first chapters and sections
Analysis and typesetting duration, so that user be avoided to be waited for for a long time, in the application, the data volume of first chapters and sections can be less than
Given threshold, wherein given threshold is pre-set.
Step 403, the homepage of first chapters and sections is shown.
In the embodiment of the present application, after obtaining each page of first chapters and sections, the homepage of first chapters and sections can be shown
Show, so that user can read from the homepage of e-book.
Step 404, the page picture of e-book is shown.
The implementation procedure of step 404 may refer to the implementation procedure of step 102 in above-described embodiment, and this will not be repeated here.
Step 405, during showing e-book, the mark for each label being inserted into reading e-books.
In the embodiment of the present application, user can be inserted into when the last time closing e-book in reading page object extremely
Label, alternatively, work as e-book display device, by listen to mode detect user close e-book when, can automatically with
Read the mark be inserted into label in page object extremely, and store above-mentioned label in family, wherein the mark of label is used to indicate corresponding
Target chapters and sections belonging to timestamp and page object, thus, in the application, during showing e-book, electronics can be read
The mark for each label being inserted into book.
Step 406, according to the timestamp of each mark instruction, the label of the last insertion is determined.
It, can be according to the time of the mark instruction of each label after the mark for reading each label in the embodiment of the present application
Stamp determines the label of the last insertion.
Step 407, according to the mark of the label of the last time insertion, target chapters and sections belonging to page object are determined.
It, can the mesh belonging to page object according to indicated by the mark of the label of the last time insertion in the embodiment of the present application
Chapters and sections are marked, to determine target chapters and sections belonging to page object.
Step 408, the target chapters and sections of the label comprising the last insertion in e-book are parsed, is obtained in chapters and sections
Hold.
In the embodiment of the present application, it can be inserted in e-book comprising the last based on related algorithm in the related technology
The target chapters and sections of the label entered are parsed, and obtain the chapters and sections content of target chapters and sections, this will not be repeated here.
Step 409, the typesetting rule used when closing e-book according to last time, carries out typesetting to chapters and sections content, obtains
Each page into target chapters and sections.
It is understood that user is in each reading electronic book, it can be according to practical reading requirement, to e-book
Typesetting rule is modified, for example, can carry out to the corresponding font of each chapters and sections, font size, line space, and/or section spacing etc.
Modification, thus, in the application, after obtaining the chapters and sections content of target chapters and sections, in order to realize the practical reading requirement for meeting user,
The typesetting rule used when can close e-book according to last time, carries out typesetting to chapters and sections content, obtains in target chapters and sections
Each page.
Step 410, by the last time insertion label where page, be determined as last time close e-book when read to
Page object.
It, can be by the label institute of the last time insertion after determining each page in target chapters and sections in the embodiment of the present application
In page, page object extremely is read when closing e-book as last time.
Step 411, when detecting the object run to the execution of page picture, page object performance objective is operated and is shown
Show.
The implementation procedure of step 411 may refer to the implementation procedure of step 104 in above-described embodiment, alternatively, referring to above-mentioned
The implementation procedure of step 201 to 202 in embodiment, alternatively, referring to the implementation procedure of step 301 in above-described embodiment to 302,
This is not repeated them here.
The display methods of the e-book of the embodiment of the present application, if by the unread page picture to e-book, to electronics
The first chapters and sections of book carry out parsing and typesetting, to obtain each page of first chapters and sections;Wherein, the data volume of first chapters and sections is less than and sets
Determine threshold value, the homepage of first chapters and sections is shown.It is loaded thus, it is possible to realize and carry out a point chapters and sections to e-book, shortens electronics
The load duration of book, and Memory Allocation can be reduced.
As a kind of possible implementation, in the setting duration after the last closing e-book, if not detecting
The opening operation of the e-book triggered to user, then delete above-mentioned page picture, i.e., when user does not read the e-book for a long time
When, above-mentioned page picture can be deleted, to avoid excessive page picture is saved, to occupy excessive memory.
Wherein, a length of pre-set when setting, such as can be pre-set for the plug-in of computer equipment, or
Person, in order to promote the flexibility and applicability of the display methods, setting duration can also be configured by user, not limited this
System, such as setting duration can be 7 days.
In order to realize above-described embodiment, the application also proposes a kind of display device of e-book.
Fig. 5 is the structural schematic diagram of the display device of e-book provided by the embodiment of the present application five.
As shown in figure 5, the display device of the e-book includes: detecting module 101, display module 102, processing module 103,
And operation module 104.
Wherein, detecting module 101, for when detecting the opening operation of e-book, the page picture of reading e-books;
Wherein, page picture is to be saved when the last time closing e-book to the page object read extremely.
Display module 102, for showing the page picture of e-book.
Processing module 103, for target chapters and sections belonging to page object being inquired, to target during showing e-book
Chapters and sections carry out parsing and typesetting handles to obtain page object.
Operation module 104, for being grasped to page object performance objective when detecting the object run to the execution of page picture
Make and shows.
As a kind of possible implementation, object run is page turn over operation, and operation module 104 is specifically used for: working as detection
When to the page turn over operation executed to page picture, according to page object, the page of page turning extremely is determined;Page picture is switched to page turning
Page extremely is shown.
As alternatively possible implementation, object run is edit operation, and operation module 104 is specifically used for: working as spy
When measuring the edit operation to the execution of page picture, page object executive editor is operated;Page picture is switched to edited
Page object is shown.
As a kind of possible implementation, when the last time closes e-book, mark is inserted into reading page object extremely
Label, and store the mark of label, wherein the mark of label is used to indicate target chapters and sections belonging to timestamp and page object.
Processing module 103, is specifically used for: the mark for each label being inserted into reading e-books;According to each mark instruction
Timestamp determines the label of the last insertion;According to the mark of the label of the last time insertion, mesh belonging to page object is determined
Mark chapters and sections.
As alternatively possible implementation, processing module 103 is specifically used for: in e-book comprising the last time
The target chapters and sections of the label of insertion are parsed, and chapters and sections content is obtained;The typesetting used when closing e-book according to last time
Rule carries out typesetting to chapters and sections content, obtains each page in target chapters and sections;Page where the label that the last time is inserted into,
It is determined as reading page object extremely when last time closes e-book.
Further, in a kind of possible implementation of the embodiment of the present application, referring to Fig. 6, embodiment shown in Fig. 5
On the basis of, the display device of the e-book can also include: parsing module 105 and removing module 106.
Parsing module 105, for after detecting the opening operation of e-book, if the unread page figure to e-book
Piece carries out parsing and typesetting to the first chapters and sections of e-book, to obtain each page of first chapters and sections;Wherein, the number of first chapters and sections
It is less than given threshold according to amount.
Display module 103 is also used to show the homepage of first chapters and sections.
Removing module 106, if being solved in the unread page picture to e-book to the first chapters and sections of e-book
Before analysis obtains each page of first chapters and sections, in the setting duration after the last closing e-book, if not detecting electricity
The opening operation of the philosophical works deletes page picture.
It should be noted that the explanation of the aforementioned display methods embodiment to e-book is also applied for the embodiment
The display device of e-book, details are not described herein again.
The display device of the e-book of the embodiment of the present application, by reading electricity when detecting the opening operation of e-book
The page picture of the philosophical works, wherein page picture is to protect when the last time closing e-book to the page object read extremely
It deposits, then shows the page picture of e-book.User can pass through the page picture, direct reading nearest one as a result,
Page object extremely is read when secondary closing e-book, i.e. user can be directly entered read state, can avoid the occurrence of load shape
State reduces the waiting time of user, improves the reading experience of user.By inquiring page object during showing e-book
Said target chapters and sections, to target chapters and sections carry out parsing and typesetting handle to obtain page object, may be implemented by chapters and sections to e-book into
Row load, shortens the load duration of e-book, and can reduce Memory Allocation.It is detected by working as to the execution of page picture
When object run, page object performance objective is operated and shown, can satisfy the practical reading requirement of user.
In order to realize above-described embodiment, the application also proposes a kind of computer equipment, comprising: memory, processor and deposits
The computer program that can be run on a memory and on a processor is stored up, when processor executes program, is realized as the application is aforementioned
The display methods for the e-book that embodiment proposes.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon
Computer program is contained, the display side of the e-book proposed such as the application previous embodiment is realized when which is executed by processor
Method.
Fig. 7 shows the block diagram for being suitable for the exemplary computer device for being used to realize the application embodiment.What Fig. 7 was shown
Computer equipment 12 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in fig. 7, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (Industry Standard
Architecture;Hereinafter referred to as: ISA) bus, microchannel architecture (Micro Channel Architecture;Below
Referred to as: MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards
Association;Hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component
Interconnection;Hereinafter referred to as: PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 28 may include the computer system readable media of form of volatile memory, such as random access memory
Device (Random Access Memory;Hereinafter referred to as: RAM) 30 and/or cache memory 32.Computer equipment 12 can be with
It further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example,
Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 7 do not show, commonly referred to as " hard drive
Device ").Although being not shown in Fig. 7, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven
Dynamic device, and to removable anonvolatile optical disk (such as: compact disc read-only memory (Compact Disc Read Only
Memory;Hereinafter referred to as: CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only
Memory;Hereinafter referred to as: DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual
Execute the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (Local Area Network;Hereinafter referred to as:
LAN), wide area network (Wide Area Network;Hereinafter referred to as: WAN) and/or public network, for example, internet) communication.Such as figure
Shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that although not showing in figure
Out, other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: microcode, device drives
Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the display methods of the e-book referred in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (10)
1. a kind of display methods of e-book, which is characterized in that the described method comprises the following steps:
When detecting the opening operation of e-book, the page picture of the e-book is read;Wherein, the page picture is
When the last time closing the e-book, the page object read extremely is saved;
Show the page picture of the e-book;
During showing the e-book, target chapters and sections belonging to the page object are inquired, the target chapters and sections are carried out
Parsing and typesetting handle to obtain the page object;
When detecting the object run to page picture execution, the object run is executed to the page object and is shown
Show.
2. display methods according to claim 1, which is characterized in that the object run is page turn over operation, described when spy
When measuring the object run to page picture execution, the object run is executed to the page object and is shown, comprising:
When detecting the page turn over operation to page picture execution, according to the page object, the page of page turning extremely is determined;
The page picture is switched to the page of the page turning extremely to show.
3. display methods according to claim 1, which is characterized in that the object run is edit operation, described when spy
When measuring the object run to page picture execution, the object run is executed to the page object and is shown, comprising:
When detecting the edit operation to page picture execution, the edit operation is executed to the page object;
The page picture is switched to edited page object to show.
4. display methods according to claim 1, which is characterized in that when the last time closes the e-book, reading
Be inserted into label in page object extremely, and store the mark of the label, wherein the mark of the label be used to indicate timestamp and
Target chapters and sections belonging to the page object;Target chapters and sections belonging to the inquiry page object, comprising:
Read the mark for each label being inserted into the e-book;
According to the timestamp of each mark instruction, the label of the last insertion is determined;
According to the mark of the label of the last insertion, target chapters and sections belonging to the page object are determined.
5. display methods according to claim 4, which is characterized in that described to carry out parsing and typesetting to the target chapters and sections
Processing obtains the page object, comprising:
The target chapters and sections of label comprising the last insertion in the e-book are parsed, chapters and sections content is obtained;
According to the typesetting rule used when closing the e-book for the last time, typesetting is carried out to the chapters and sections content, obtains institute
State each page in target chapters and sections;
By page where the label of the last insertion, it is determined as reading mesh extremely when last time closes the e-book
Mark page.
6. display methods according to claim 1-5, which is characterized in that described when the unlatching for detecting e-book
After operation, further includes:
If the unread page picture to the e-book, parsing and typesetting are carried out to the first chapters and sections of the e-book, with
To each page of the first chapters and sections;Wherein, the data volume of the first chapters and sections is less than given threshold;
The homepage of the first chapters and sections is shown.
7. display methods according to claim 6, which is characterized in that if the unread page figure to the e-book
Piece, to the first chapters and sections of the e-book carry out parsing and typesetting before, further includes:
In the setting duration after the last closing e-book, if not detecting the opening operation of the e-book,
Delete the page picture.
8. a kind of display device of e-book, which is characterized in that described device includes:
Detecting module, for when detecting the opening operation of e-book, reading the page picture of the e-book;Wherein, institute
Page picture is stated, is to be saved when the last time closing the e-book to the page object read extremely;
Display module, for showing the page picture of the e-book;
Processing module, for the page object said target chapters and sections being inquired, to the mesh during showing the e-book
Mark chapters and sections carry out parsing and typesetting handles to obtain the page object;
Operation module, for when detect to the page picture execute object run when, to the page object execute described in
Object run is simultaneously shown.
9. a kind of computer equipment, which is characterized in that on a memory and can be in processor including memory, processor and storage
The computer program of upper operation when the processor executes described program, realizes the electronics as described in any in claim 1-7
The display methods of book.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the program
The display methods of the e-book as described in any in claim 1-7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565319.3A CN109726166B (en) | 2018-12-20 | 2018-12-20 | Electronic book display method and device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811565319.3A CN109726166B (en) | 2018-12-20 | 2018-12-20 | Electronic book display method and device, computer equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109726166A true CN109726166A (en) | 2019-05-07 |
CN109726166B CN109726166B (en) | 2024-06-07 |
Family
ID=66296987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811565319.3A Active CN109726166B (en) | 2018-12-20 | 2018-12-20 | Electronic book display method and device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109726166B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112015887A (en) * | 2019-05-31 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Data recommendation method and device based on electronic reading materials and readable storage medium |
CN113204951A (en) * | 2021-05-27 | 2021-08-03 | 广州文石信息科技有限公司 | Document processing method, document processing device, storage medium and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006313485A (en) * | 2005-05-09 | 2006-11-16 | Sharp Corp | Electronic book display device and method for operating display device |
CN101415060A (en) * | 2007-10-18 | 2009-04-22 | 索尼株式会社 | Book-shaped display apparatus and method of editing video using book-shaped display apparatus |
CN102521280A (en) * | 2011-11-26 | 2012-06-27 | 华为技术有限公司 | Loading method and loading device of EPub electronic book |
CN103761277A (en) * | 2014-01-09 | 2014-04-30 | 北京掌阔技术有限公司 | ePub electronic book loading method and system |
US20150199314A1 (en) * | 2010-10-26 | 2015-07-16 | Google Inc. | Editing Application For Synthesized eBooks |
KR101638327B1 (en) * | 2015-02-16 | 2016-07-20 | 김진도 | Manufacturing system for e-book using a smart phone |
CN106484248A (en) * | 2016-09-19 | 2017-03-08 | 北京京东尚科信息技术有限公司 | The reading processing method of e-book and device |
CN107590114A (en) * | 2017-09-08 | 2018-01-16 | 掌阅科技股份有限公司 | Processing method, electronic equipment and the storage medium of e-book comment information |
CN108376031A (en) * | 2018-03-30 | 2018-08-07 | 百度在线网络技术(北京)有限公司 | Method, apparatus, storage medium and the terminal device of reading page page turning |
-
2018
- 2018-12-20 CN CN201811565319.3A patent/CN109726166B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006313485A (en) * | 2005-05-09 | 2006-11-16 | Sharp Corp | Electronic book display device and method for operating display device |
CN101415060A (en) * | 2007-10-18 | 2009-04-22 | 索尼株式会社 | Book-shaped display apparatus and method of editing video using book-shaped display apparatus |
US20150199314A1 (en) * | 2010-10-26 | 2015-07-16 | Google Inc. | Editing Application For Synthesized eBooks |
CN102521280A (en) * | 2011-11-26 | 2012-06-27 | 华为技术有限公司 | Loading method and loading device of EPub electronic book |
CN103761277A (en) * | 2014-01-09 | 2014-04-30 | 北京掌阔技术有限公司 | ePub electronic book loading method and system |
KR101638327B1 (en) * | 2015-02-16 | 2016-07-20 | 김진도 | Manufacturing system for e-book using a smart phone |
CN106484248A (en) * | 2016-09-19 | 2017-03-08 | 北京京东尚科信息技术有限公司 | The reading processing method of e-book and device |
CN107590114A (en) * | 2017-09-08 | 2018-01-16 | 掌阅科技股份有限公司 | Processing method, electronic equipment and the storage medium of e-book comment information |
CN108376031A (en) * | 2018-03-30 | 2018-08-07 | 百度在线网络技术(北京)有限公司 | Method, apparatus, storage medium and the terminal device of reading page page turning |
Non-Patent Citations (1)
Title |
---|
徐良: "利用TPI系统加工电子书的方法", 《图书馆学刊》, no. 1, 31 January 2006 (2006-01-31), pages 119 - 121 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112015887A (en) * | 2019-05-31 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Data recommendation method and device based on electronic reading materials and readable storage medium |
CN113204951A (en) * | 2021-05-27 | 2021-08-03 | 广州文石信息科技有限公司 | Document processing method, document processing device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109726166B (en) | 2024-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108170792A (en) | Question and answer bootstrap technique, device and computer equipment based on artificial intelligence | |
US8108346B1 (en) | Systems and methods for maintaining settings for multiple applications | |
US20080104129A1 (en) | Delayed Deletion of Extended Attributes | |
EP1168158A3 (en) | Context switch architecture and system | |
CN110083688A (en) | Search result recalls method, apparatus, server and storage medium | |
KR20110095925A (en) | Systems and methods for managing endian mode of a device | |
EP1617320A3 (en) | Computer system and method for migrating from one storage system to another | |
CN101000614A (en) | File delete method and file open method | |
US20180232439A1 (en) | Generating word clouds | |
CN109121009A (en) | Method for processing video frequency, client and server | |
CN107423894A (en) | The task measures and procedures for the examination and approval, device and computer equipment | |
CN109740140B (en) | Page typesetting method and device and computer equipment | |
CN107766325A (en) | Text joining method and its device | |
CN109726166A (en) | Display methods, device, computer equipment and the readable storage medium storing program for executing of e-book | |
EP1569083A3 (en) | Storage system, computer system and a method of establishing volume attribute | |
CN109960554B (en) | Method, device and computer storage medium for displaying reading content | |
CN109582153A (en) | information input method and device | |
CN109582882A (en) | Search result shows method, apparatus and electronic equipment | |
US8589454B2 (en) | Computer data file merging based on file metadata | |
CN110020163A (en) | Searching method, device, computer equipment and storage medium based on human-computer interaction | |
CN107783946A (en) | Text display method and text display | |
US20100042617A1 (en) | Method and system for downloading additional search results into electronic dictionaries | |
US20040044954A1 (en) | Data-bidirectional spreadsheet | |
US9904728B2 (en) | Messaging digest | |
CN107544811A (en) | Ios platform hides method, storage medium, electronic equipment and the system of dylib files |
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 |