CN106126662A - A kind of electronic book displaying method and mobile terminal - Google Patents
A kind of electronic book displaying method and mobile terminal Download PDFInfo
- Publication number
- CN106126662A CN106126662A CN201610488384.5A CN201610488384A CN106126662A CN 106126662 A CN106126662 A CN 106126662A CN 201610488384 A CN201610488384 A CN 201610488384A CN 106126662 A CN106126662 A CN 106126662A
- Authority
- CN
- China
- Prior art keywords
- keyword
- animation
- page
- book
- alternative
- 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.)
- Pending
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/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/48—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a kind of electronic book displaying method, relate to field of computer technology.Described method includes: obtain the keyword in the currently displaying page of e-book;According to the corresponding relation of keyword Yu animation, from cartoon databank, extract the animation corresponding with described keyword from cartoon databank, extract the animation corresponding with described keyword;Described animation is play in the described currently displaying page.Solving existing electronic book displaying method cannot be for the content of each page of e-book, judge the current e-book read interested with making user's quicklook, it is easier to reduce user, the most teen-age reading interest, thus reduces the problems such as the reading experience of user.Achieve and user can be made to judge whether interested in e-book according to the animation shown by each page of e-book intuitively, but also the reading interest of user can be increased, improve the reading experience of user.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of electronic book displaying method and mobile terminal.
Background technology
Nowadays, along with computer technology and the development of electronic equipment and universal, increasing mobile terminal has
The function of electronic reading, and increasing user uses mobile terminal to carry out electronic reading.The display of existing e-book
Mode can be divided into two classes: first simple displaying, adds any sign or annotation will not to the content of e-book, and it two is can
To be obtained the mood of user by recognition of face, and then play the music of corresponding sentiment according to the mood of user, or according to working as
Time the differently configured reading background of weather, or add simple icon explanation according to the classification of read books.
But for the display mode of the first above-mentioned e-book, simply also reducing interest simultaneously, and
User cannot judge to quicklook the current e-book read interested, is easier to reduce user, especially blue or green
Juvenile reading interest, thus reduce the reading experience of user;And for above-mentioned the second display mode, the music of increase,
Read background or icon explanation be also relatively-stationary, can't adjust because of e-book every page content difference, also without
Method judges the current e-book read interested with making user's quicklook.
Summary of the invention
User's fast direct cannot be made for the content of each page of e-book to solve existing electronic book displaying method
See ground and judge the current e-book read interested, be easier reduction user, the most teen-age reading interest,
Thus reducing the problem of the reading experience of user, the embodiment of the present invention provides a kind of electronic book displaying method and mobile terminal.
On the one hand, the invention discloses a kind of electronic book displaying method, including:
Obtain the keyword in the currently displaying page of e-book;
According to the corresponding relation of keyword Yu animation, from cartoon databank, extract the animation corresponding with described keyword;
Described animation is play in the described currently displaying page.
On the other hand, the invention also discloses a kind of mobile terminal, including:
Keyword acquisition module, the keyword in the currently displaying page obtaining e-book;
Animation extraction module, for the corresponding relation according to keyword Yu animation, extracts with described from cartoon databank
The animation that keyword is corresponding;
First animation playing module, for playing described animation in the described currently displaying page.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention one;
Fig. 2 is the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention two;
Fig. 3 is the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention three;
Fig. 3 A is the flow chart of each sub-step that the step 302 in the embodiment of the present invention three comprises;
Fig. 3 B is the flow chart of each sub-step that the sub-step 3024 in the embodiment of the present invention three includes;
Fig. 4 is the structural representation of a kind of mobile terminal in the embodiment of the present invention four;
Fig. 5 is the structural representation of a kind of mobile terminal in the embodiment of the present invention five;
Fig. 6 is the block diagram of a kind of mobile terminal in the embodiment of the present invention six;
Fig. 7 is the structural representation of a kind of mobile terminal in the embodiment of the present invention seven.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
Below by enumerate several specific embodiment be discussed in detail the present invention provide a kind of electronic book displaying method and
Mobile terminal.
Embodiment one
A kind of electronic book displaying method that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 1, it is shown that the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention.
Step 101, obtains the keyword in the currently displaying page of e-book.
In actual applications, user can utilize the mobile terminal reading electronic books such as mobile phone.
Keyword may be configured at utmost summarize word or the word of the information content of current display page.Keyword
Can be a word, it is also possible to be a word, or comprise the field of some characters, the contrast embodiment of the present invention be not
It is limited.And, the kind of the character that keyword specifically can comprise and quantity, the embodiment of the present invention is not limited
Fixed.
In embodiments of the present invention, the concrete form of keyword can set according to demand before this step.Such as, as
Really e-book is middle document, then keyword can be Chinese Fields;And if e-book is English book, then keyword then may be used
Think English field.
The mode of the keyword of the page that concrete acquisition e-book is currently displaying can have a variety of.Such as can be direct
The field that occurrence number is most is extracted, as the keyword of the currently displaying page, but now from the currently displaying page
Also need to it is considered that, if keyword can be individual Chinese character, then need to get rid of " ", " ", " ", "Yes" etc. not
The high frequency word of flesh and blood can be summarized;The available algorithm that can also utilize other obtains the keyword in the currently displaying page,
This embodiment of the present invention is not limited.
Step 102, according to the corresponding relation of keyword Yu animation, extracts corresponding with described keyword from cartoon databank
Animation.
Cartoon databank is the preset memory space in order to deposit animation, and cartoon databank may reside in cloud service
In device, it is also possible to be present in mobile terminal local, this embodiment of the present invention is not limited.In cartoon databank, preset
The animation corresponding from different keywords, a concrete keyword can corresponding one or more animations, an animation also may be used
With corresponding one or more keywords, this embodiment of the present invention is not limited.Wherein, if a keyword correspondence is many
Individual animation, then need to set the priority level of multiple animations of its correspondence, when from animation extracting data animation, can give tacit consent to
Extract the animation that the priority level corresponding with this keyword is the highest.For example, it is assumed that cartoon databank comprises animation a, animation b,
The keyword obtained be " tea ceremony ", and in cartoon databank and " tea ceremony " exist corresponding relation for animation a and animation b, and
Animation a can show the content of " tea ceremony ", and animation b can show the captivation of " tea ceremony ", if setting the animation a of performance content
Being the first priority match, the animation b of performance captivation is the second priority match, then can give tacit consent to and extract from cartoon databank
The animation a of the first priority match.And in cartoon databank, animation a can also deposit with other keywords such as such as " tea ceremony "
At corresponding relation.
Concrete, keyword and the corresponding relation of animation, and the priority match of each animation corresponding with same keyword
Rank is all to set before this step according to demand, is not limited this embodiment of the present invention.
It addition, in embodiments of the present invention, cartoon databank there may be multiple animation and same keyword exist right
Should be related to, therefore according to the corresponding relation of keyword Yu animation, from cartoon databank, extract move corresponding with described keyword
Drawing, concrete can extract the whole animations that there is corresponding relation in cartoon databank with keyword, or according to a set pattern
Then extract the part animation that there is corresponding relation in cartoon databank with keyword;Or according to other Rule Extraction animation
Data base exists an animation of corresponding relation with keyword.Can preset according to demand, to this embodiment of the present invention
It is not limited.
Certainly, in embodiments of the present invention, it is also possible to occur that cartoon databank does not exist the animation corresponding with keyword
Situation, then now can point out without corresponding animation, concrete can pass through on the currently displaying page with suspended frame or bullet
The form promptings such as frame, or by voice or auditory tone cues, this embodiment of the present invention is not limited.
Step 103, plays described animation in the described currently displaying page.
In embodiments of the present invention, in order to avoid the currently displaying page is blocked by animation, can by obtain animation with
On the page of the currently displayed display of translucent mode, the lower right corner of the page of the most currently displayed display or the upper left corner
Etc., concrete display position can be the most preset, is not limited this embodiment of the present invention.And, the most transparent
Ratio can also set according to demand, this embodiment of the present invention is not limited.
In embodiments of the present invention, user can also input animation out code, will play on the currently displaying page
Animation close.For example, it is possible in the currently displaying page during playing animation, the currently displaying page creates one and moves
Drawing and close control, user can close control input animation out code by this animation, is closed by currently playing animation, when
So profit can also input animation out code in other ways, this embodiment of the present invention is not limited.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
Embodiment two
A kind of electronic book displaying method that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 2, it is shown that the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention.
Step 201, corresponding between keyword and the animation in cartoon databank of each page building described e-book
Relation.
In embodiments of the present invention, the keyword of each page and the animation in cartoon databank in e-book can first be built
Between corresponding relation.Concrete, a cartoon databank comprising multiple animation can be built in advance, cartoon databank wraps
The various animations contained build antagonistic relations from different fields respectively, and field therein can include the pass of each page of this e-book
Key word, it is also possible to only include the keyword of this e-book partial page, is not limited this embodiment of the present invention.So, as
Really the keyword of the field page a certain with e-book is identical, then be equivalent to construct in the keyword of this page and cartoon databank
To should corresponding relation between the animation of field;A cartoon databank can also be built in advance, and it is each to obtain e-book
The keyword of the page, then according to set up corresponding by the keyword of each page with the animation in cartoon databank between certain rule
Relation, concrete rule can be according to the requirements set of user, such as in order to attract user or former in order to show content etc.
Then, this embodiment of the present invention is not limited.It is of course also possible to built each page of e-book by other available means
Keyword and cartoon databank in animation between corresponding relation, this embodiment of the present invention is not limited.
Concrete, e-book can be built before e-book is imported mobile terminal and do not opens e-book by user
The corresponding relation between animation in the keyword of each page and cartoon databank;Mobile terminal can also not imported in e-book
Before, build the corresponding relation between the animation in the keyword of each page of e-book and cartoon databank, then follow-up
When e-book is imported mobile terminal, need cartoon databank is stored in mobile terminal simultaneously, or by animation data stock
Enter cloud server, in order to obtain the animation that the page each with e-book is corresponding.For building the key of each page of e-book
The time of the corresponding relation between animation in word and cartoon databank, the embodiment of the present invention is not limited.
Step 202, obtains the keyword in the currently displaying page of e-book.
Step 203, according to the corresponding relation of keyword Yu animation, extracts corresponding with described keyword from cartoon databank
Animation.
Step 204, if there is not the animation corresponding with described keyword in described cartoon databank, then receives user
Input the 3rd animation, described 3rd animation is stored in described cartoon databank and with the pass in the described currently displaying page
Corresponding relation set up in key word, and is play in the described currently displaying page by described 3rd animation.
In actual applications, the cartoon databank of initial construction can not consider the keyword being all likely to occur, because of
The cartoon databank of this initial construction may not exist the animation that the keyword in the page currently displaying with e-book is corresponding,
Now in order to also play the animation of corresponding keyword on the currently displaying page, user can input by himself judging and working as
The 3rd animation that keyword in the page of front display is corresponding, then mobile phone users receives the 3rd animation of user's input
Afterwards, i.e. the 3rd animation can be play in the currently displaying page, in concrete broadcast mode and playing animation data base
Animation consistent.
In actual applications, for the keyword in the currently displaying page, it is also possible to for other pages in this e-book,
Or the keyword of some page in other e-book.In order to show the above-mentioned page run into same keyword time, no
Need user again to repeatedly input the 3rd animation, and can directly play the 3rd animation of user's input for the first time, then be permissible
The 3rd animation directly user inputted first is stored in cartoon databank, and by the 3rd animation and the currently displaying page
Keyword set up corresponding relation.So, when being subsequently encountered same keyword, can directly obtain from cartoon databank
3rd animation is also play.
Step 205, plays described animation in the described currently displaying page.
Step 206, receives the second animation of user's input, and utilizes described second animation to replace described currently displaying page
The animation play in face.
In the currently displaying page during playing animation, if the animation that user is to playing in the currently displaying page
Dissatisfied, the second animation can be inputted.Mobile terminal receives the second animation of user's input, it is possible to use the second animation is replaced
The animation play in the currently displaying page.
Such as, if the animation play in the currently displaying page is animation A, if animation A is unsatisfied with by user, input
Animation B, then then can utilize and replace, at animation B, the animation A play in the currently displaying page, be equivalent to currently displaying
The page in delete animation A, and in the currently displaying page playing animation B.
Step 207, described second animation is stored in described cartoon databank and with in the described currently displaying page
Corresponding relation set up in keyword.
Equally in order to follow-up run into same keyword again time avoid user to repeatedly enter the second animation, real in the present invention
Execute in example, it is also possible to the second animation directly user inputted first is stored in cartoon databank, simultaneously can be with currently displaying
Corresponding relation set up in keyword in the page.So follow-up when running into same keyword, can be directly from animation data
Storehouse obtains the second animation and plays.
Such as, the second animation B that aforesaid user is inputted, can be deposited in cartoon databank, and with currently
Corresponding relation set up in keyword in the page of display, then being subsequently encountered, the keyword with the currently displaying page is consistent
Keyword, then can obtain the second animation B and display the page in play.
In embodiments of the present invention, the keyword in the second animation and the currently displaying page is set up corresponding relation it
After, can directly cancel in the currently displaying page in the animation of original broadcasting and the currently displaying page in cartoon databank
The corresponding relation of keyword, then can directly obtain the second animation and play when being subsequently encountered same keyword;Certainly,
The corresponding relation of the keyword of animation and the currently displaying page play in the currently displaying page can not also be cancelled, but
At the corresponding relation according to keyword Yu animation, when obtaining animation from cartoon databank, what acquiescence obtained is that user is with crucial
The second animation that word is corresponding.
Step 208, receives the animation switching command of user's input.
Step 209, according to described animation switching command, utilize in described cartoon databank with the described currently displaying page
In keyword exist corresponding relation other animations replace in the described currently displaying page play animation.
It has been observed that in embodiments of the present invention, for same keyword, cartoon databank there may be multiple animation
There is a corresponding relation with this keyword, but can only obtain wherein part animation playing, such as aforementioned tool for same keyword
Body obtains the rule of animation and can pre-set.If according to the Rule animation pre-set and at the currently displaying page
After middle broadcasting, user's animation to obtaining is unsatisfied with, and can input animation switching command, and can be in animation switching command
The current rule obtaining animation of amendment, or can determine what needs obtained from cartoon databank in animation switching command
The animation corresponding with the keyword in current display page, then mobile terminal receives the animation switching command of user's input
After, then can obtain its corresponding with the keyword in the currently displaying page from cartoon databank according to animation switching command
His animation, and utilize the animation of acquisition to replace the animation play in the currently displaying page.
Certainly, the animation switching command of user's input can be just for the currently displaying page;Can also be for currently
The e-book at the page place of display;Or for the E-book reader for showing e-book, at this point for utilizing this electricity
The e-book that philosophical works reader shows can carry out animation switching according to the animation switching command received.Real to this present invention
Execute example not to be limited.
In embodiments of the present invention, step 208-209 can also be sequentially before step 206 and before step 206
Perform before either step, this embodiment of the present invention is not limited.
Step 210, receives the position adjustment instruction of user's input, and described currently according to described position adjustment instruction adjustment
The display position of animation in the page of display.
It has been observed that the position that animation is play in the currently displaying page can pre-set, if user is to working as
The position of front broadcasting is unsatisfied with, and can adjust instruction with input position, and mobile terminal receives the position adjustment instruction of user's input,
I.e. can adjust the display position of animation in the currently displaying page according to position adjustment instruction.Such as, user can be by straight
It is connected on mobile terminal display screen and pulls, by touch point, the animation play in the most currently displaying page, until dragging
It is pulled to customer satisfaction system position;Or input needs the target position information being adjusted in position adjustment instructs;Or
Other available means, are not limited this embodiment of the present invention.
It addition, the position adjustment instruction of user's input can be adjusted just for the position of animation in the currently displaying page
Whole, then the most only to adjust the display position of animation in the currently displaying page, and for the follow-up page, the display position of animation
Put still can be the position pre-set;The position adjustment instruction of user's input can also be for for currently displaying page institute
Animation position in e-book adjusts, then now when the page of follow-up this e-book of display, and animation therein all can adjusted
Position display after whole, but for other e-book, the position that in each page, animation shows when display still can be
The position pre-set;The position adjustment instruction of user's input can also be the instruction of the play position pre-set, and now may be used
The animation play position pre-set with direct amendment, then the animation display position in all pages of follow-up display all can phase
Should adjust.In embodiments of the present invention, the position adjustment instruction of user's input can be above-mentioned any one, to this present invention reality
Execute example not to be limited.
In embodiments of the present invention, this step can be after the either step after step 204 and after step 204
Perform, this embodiment of the present invention is not limited.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
And, in embodiments of the present invention, it is also possible to build keyword and the animation data of each page of e-book in advance
The corresponding relation between animation in storehouse, and the animation of user's input can be received and play, but also can be according to input
Animation, cartoon databank adjusts corresponding relation, such that it is able to improve further the reading experience of user.
Embodiment three
A kind of electronic book displaying method that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 3, it is shown that the flow chart of steps of a kind of electronic book displaying method in the embodiment of the present invention.
Step 301, receives the e-book that user imports.
At displaying electronic book with movable terminal, it is necessary first to e-book to be imported mobile terminal, or by mobile terminal basis
The e-book on ground imports the E-book reader of mobile terminal.Therefore, in embodiments of the present invention, need first to receive user to lead
The e-book entered.
Step 302, extracts the keyword of each page of described e-book.
In embodiments of the present invention, it is possible to use the method obtaining page keyword described in embodiment one obtains electronics
The keyword of each page of book, does not repeats them here.
Alternatively, in embodiments of the present invention, such as the flow chart that Fig. 3 A is each sub-step that step 302 comprises, described step
Rapid 302 may include that further
Sub-step 3021, obtains the class indication of described e-book.
In embodiments of the present invention, the class indication of e-book and the interior of each page of e-book can preferably be utilized
Hold the keyword confirming each page.Firstly the need of the class indication of acquisition e-book, such as child, science, health, literature etc.
Class indication.
In actual applications, it is possible to use e-book is classified by existing e-book sorting technique in advance, then
When obtaining e-book, it is also possible to obtain the class indication of this e-book simultaneously.In embodiments of the present invention, if e-book in advance
There is class indication, then can directly obtain the class indication of this e-book, and if e-book does not the most have class indication,
So can first e-book be classified, then at the class indication obtaining e-book.In embodiments of the present invention, can be by
The aspects such as content, form, subject matter or the purposes according to e-book, utilize certain sorted logic to classify e-book, specifically
According to which kind aspect and the form of the sorted logic of utilization, can according to demand before this step set, to this
Inventive embodiments is not limited.After e-book is classified, the class indication of the e-book that i.e. can obtain.
Sub-step 3022, obtains the directory tags of each page of described e-book as the first alternative keyword.
In actual applications, a complete e-book can identify the directory tags of each page, and directory tags
The content that each page is general can be summarized.The most in embodiments of the present invention, the catalogue of each page of e-book can be obtained
Label is as the first alternative keyword.
In actual applications, the catalogue of e-book can divide chapters and sections to be identified, and the chapter title of such as different chapters is not
With, and in same chapter, the section name of different joints claims also different, and same chapter may be belonged to by multiple pages, multiple pages belong to same
Joint, the section name of the chapter title and this joint that now the directory tags belonging to the page of same joint can be defined as this joint place chapter claims
Combination, concrete compound mode can set according to demand, is not limited this embodiment of the present invention.And, if chapter
Title or section name claim to be not suitable for directly in order to as directory tags, then can first chapter title or section name be claimed into
Recombinant after the pretreatment such as row extraction keyword, is not limited this embodiment of the present invention.
Sub-step 3023, obtains first three phrase that in each page of described e-book, the frequency of occurrences is the highest standby as second
Select keyword.
In embodiments of the present invention, first three phrase conduct that the frequency of occurrences in each page of e-book is the highest can be obtained
Second alternative keyword.Equally, need to get rid of some can not as the phrase of keyword, the most aforesaid " ", " ",
"Yes", " " etc..If first three phrase that the acquired frequency of occurrences is the highest existing and cannot function as the second alternative key
The phrase of word, then can delete this phrase, then according to the sequence of the frequency of occurrences, continues backward to obtain from the 4th beginning
Take phrase, till acquisition three can be as the phrase of the second alternative keyword.
Sub-step 3024, determines each from the described first alternative keyword and described second alternative keyword of each page
The keyword of the page.
After the alternative keyword of obtain each page first and the second alternative keyword, i.e. can be according to a set pattern
From the first alternative keyword and the second alternative keyword of each page, then select the keyword of this page.Concrete selection rule
Then can set as required, this embodiment of the present invention is not limited.
Alternatively, in embodiments of the present invention, such as flow chart that Fig. 3 B is each sub-step that sub-step 3024 includes.Described
Sub-step 3024 may include that further
Sub-step 30241, it is judged that whether the first alternative keyword of arbitrary page surpasses with the similarity of described class indication
Cross first threshold;If described first alternative keyword exceedes first threshold with the similarity of described class indication, then enter step
Rapid 30242;If the similarity of described first alternative keyword and described class indication is not less than first threshold, then enter step
30243。
In embodiments of the present invention, it can be determined that the first alternative keyword of the arbitrary page in each page of e-book with should
Whether the similarity of the class indication of e-book exceedes first threshold, if the first alternative keyword and the similarity of class indication
Exceed first threshold, then can the first alternative keyword of this page as the keyword of this page;If the first alternative key
The similarity of word and class indication not less than first threshold, then needs to determine whether that described second alternative keyword is at described page
Whether the number of times occurred in face is all less than Second Threshold.Therein, first threshold can set according to demand before this step
Fixed, this embodiment of the present invention is not limited.
The method of concrete calculating similarity may include that
(1) European similarity
The computing formula of European similarity is:
Wherein, diAnd djRepresent the element needing to calculate similarity, w respectivelykRepresent weights.
(2) cosine similarity
The computing formula of cosine similarity is:
(3) Jaccard similarity
Jaccard calculating formula of similarity is:
Jaccard (D1, D2)=| D1 ∩ D2 |/| D1 ∪ D2 |
Wherein D1 and D2 is two set, and D1 ∩ D2 represents that the common factor of D1 and D2, D1 ∪ D2 represent the union of D1 and D2.Profit
When calculating similarity by the method, need to be converted to the element calculating similarity the form of set.
(4) similarity calculating method based on Hash (Hash) algorithm
Conventional similarity calculating method based on hash algorithm includes: minhash (min-hash) algorithm, simhash
Algorithm etc..
Certainly, there is also the algorithm of some other calculating similarity, do not repeat them here.
In embodiments of the present invention, it is possible to use any one above-mentioned method calculating similarity calculates the first alternative pass
The similarity of key word and class indication, is not limited this embodiment of the present invention, now needs the element calculating similarity to be
First alternative keyword and the similarity of class indication.But use different similarity calculating methods to need the first alternative pass
Key word and class indication process accordingly.
Sub-step 30242, using described first alternative keyword as the keyword of the described page.
Sub-step 30243, it is judged that the number of times that described second alternative keyword occurs in the described page whether all less than
Second Threshold;If the number of times that described second alternative keyword occurs in the described page is all less than Second Threshold, then enter
Sub-step 30244;If the number of times that described second alternative keyword occurs in the described page is not all of less than Second Threshold,
Then enter sub-step 30245.
In embodiments of the present invention, if the similarity of the first alternative keyword and class indication is not less than first threshold,
Then in order to confirm the keyword of this page, need to determine whether that described second alternative keyword occurs in the described page secondary
Whether number is all less than Second Threshold.Second Threshold therein can also set before this step according to demand, sends out this
Bright embodiment is not limited.
If the number of times that described second alternative keyword occurs in the described page is all less than Second Threshold, then explanation
Each second alternative keyword all cannot function as the keyword of this page, then remain using the first alternative keyword as this page
Keyword;And if the number of times that each second alternative keyword occurs in this page is not all of both less than Second Threshold, then may be used
Using the second alternative keyword most in described page occurrence number as the keyword of the described page.
Sub-step 30244, using described first alternative keyword as the keyword of the described page.
Sub-step 30245, using the second alternative keyword most in described page occurrence number as the pass of the described page
Key word.
Step 303, sets up corresponding relation by described keyword with at least one animation in described cartoon databank.
After obtaining the keyword of each page of e-book, i.e. can according to each keyword and the content of animation,
Each keyword is set up corresponding relation with at least one animation in cartoon databank.In embodiments of the present invention for same key
Word, can set up corresponding relation by this keyword with the multiple animations in cartoon databank according to different purposes.Such as, in order to
Keyword O is set up corresponding relation, in order to show captivation by this keyword O with the animation M in cartoon databank by prominent content
Corresponding relation is set up with the animation N in cartoon databank.If cartoon databank does not exist can with this keyword set up right
Should be related to show captivation, then then only with an animation in cartoon databank, this keyword can be set up corresponding closing
System.Concrete, build keyword and the animation in cartoon databank and set up the rule of corresponding relation and mode can be in this step
Set before, this embodiment of the present invention is not limited.
Certainly, in embodiments of the present invention, for some keyword, it is also possible to not having in cartoon databank can with it
To set up the animation of corresponding relation, this embodiment of the present invention is not limited.
Step 304, obtains the keyword in the currently displaying page of e-book.
The keyword of each page in e-book has been obtained, then now can be according to currently displaying page in step 302
Face and the relation of e-book, find out the keyword of the currently displaying page from the keyword of each page obtained.
Step 305, according to the corresponding relation of keyword Yu animation, extracts corresponding with described keyword from cartoon databank
Animation.
In embodiments of the present invention, for there is the keyword of multiple corresponding animation, default priority can be preset and obtain
The animation taken, for example, it can be set to the preferential animation obtaining prominent content, then now can highlight the dynamic of content with advantage distillation
Draw, such as the keyword O in step 303, then can preferentially extract corresponding with described keyword from cartoon databank
Animation M.And if customer data base does not exist the animation of the prominent content corresponding with keyword, then the most do not extract animation,
User can be pointed out to input suitable animation;Or the extraction priority of different corresponding relation can also be preset, such as
According to performance content, the priority of performance captivation, then for same keyword, then can be with this keyword pair of advantage distillation
, if there is not the animation of the performance content corresponding with this keyword in cartoon databank, then in the animation of the performance content answered
Extract the animation of performance captivation corresponding to this keyword, if the most not existing corresponding with this keyword in cartoon databank
The animation of performance captivation, does not the most extract animation, and also user can be pointed out to input suitable animation.
Step 306, plays described animation in the described currently displaying page.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
And, in embodiments of the present invention, especially by after receiving the e-book that user imports, electricity i.e. can be obtained
The keyword of each page of the philosophical works, then sets up corresponding relation by keyword with at least one animation in cartoon databank, thus
Build the corresponding relation between the animation in the keyword of each page of e-book and cartoon databank in advance.And can pass through
E-book classified and obtains the class indication of described e-book, then obtaining the catalogue mark of each page of described e-book
Sign as the first alternative keyword, and obtain first three phrase that in each page of e-book, the frequency of occurrences is the highest as second
Alternative keyword, and then determine each page from the described first alternative keyword and described second alternative keyword of each page
Keyword.Thus improving the reliability of the keyword of acquisition further, then the animation corresponding with keyword the most more can show
The keyword place page, such that it is able to preferably improve the reading experience of user.
Embodiment four
A kind of mobile terminal that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 4, it is shown that the structural representation of a kind of mobile terminal in the embodiment of the present invention.
The mobile terminal 400 of the embodiment of the present invention includes: keyword acquisition module 401, animation extraction module 402 and
First animation playing module 403.
Interactive relation function and each module of each module between is discussed in detail separately below.
Keyword acquisition module 401, the keyword in the currently displaying page obtaining e-book.
Animation extraction module 402, for the corresponding relation according to keyword Yu animation, extracts and institute from cartoon databank
State the animation that keyword is corresponding.
First animation playing module 403, for playing described animation in the described currently displaying page.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
Embodiment five
A kind of mobile terminal that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 5, it is shown that the structural representation of a kind of mobile terminal in the embodiment of the present invention.
The mobile terminal 500 of the embodiment of the present invention includes: first relation build module 501, keyword acquisition module 502,
Animation extraction module the 503, the 3rd animation playing module the 504, first animation playing module the 505, second animation playing module 506,
Second relation sets up module 507, animation switching command receiver module 508, animation handover module 509 and position adjusting type modules
510。
Interactive relation function and each module of each module between is discussed in detail separately below.
First relation builds module 501, in the keyword building each page of described e-book and cartoon databank
Animation between corresponding relation.Alternatively, in embodiments of the present invention, described first relation builds module 501, further may be used
To include: e-book imports submodule 5011, for receiving the e-book that user imports.Keyword obtains submodule 5012, uses
In the keyword extracting each page of described e-book.Relation sets up submodule 5013, for described keyword is dynamic with described
Draw at least one animation in data base and set up corresponding relation.Alternatively, in embodiments of the present invention, described keyword obtains submodule
Block 5012, may include that taxon further, for obtaining the class indication of described e-book.First alternative keyword obtains
Take unit, for obtaining the directory tags of each page of described e-book as the first alternative keyword.Second alternative keyword
Acquiring unit, for obtaining first three phrase that in each page of described e-book, the frequency of occurrences is the highest as the second alternative key
Word.Keyword determines unit, for true from the described first alternative keyword and described second alternative keyword of each page
The keyword of fixed each page.Alternatively, in embodiments of the present invention, described keyword determines unit, may include that further
One judgment sub-unit, for judging that the similarity of the first alternative keyword of arbitrary page and described class indication is whether more than the
One threshold value.If described first alternative keyword exceedes first threshold with the similarity of described class indication, then notify the first pass
Key word determines subelement.If the similarity of described first alternative keyword and described class indication is not less than first threshold, then
Notify the second judgment sub-unit.First keyword determines subelement, for using described first alternative keyword as the described page
Keyword.Second judgment sub-unit, for judging number of times that described second alternative keyword occurs in the described page whether
All less than Second Threshold;If the number of times that described second alternative keyword occurs in the described page is all less than the second threshold
Value, then notify that the second keyword determines subelement;If the number of times that described second alternative keyword occurs in the described page is not
It is all less than Second Threshold, then notifies that the 3rd keyword determines subelement.Second keyword determines subelement, for described
First alternative keyword is as the keyword of the described page.3rd keyword determines subelement, for occur at the described page
Most the second alternative keyword of number of times is as the keyword of the described page.
Keyword acquisition module 502, the keyword in the currently displaying page obtaining e-book.
Animation extraction module 503, for the corresponding relation according to keyword Yu animation, extracts and institute from cartoon databank
State the animation that keyword is corresponding.
3rd animation playing module 504, if corresponding with described keyword for not existing in described cartoon databank
Animation, then receive user input the 3rd animation, described 3rd animation is stored in described cartoon databank and with described work as
Corresponding relation set up in keyword in the page of front display, and is broadcast in the described currently displaying page by described 3rd animation
Put.
First animation playing module 505, for playing described animation in the described currently displaying page.
Second animation playing module 506, for receiving the second animation of user's input, and utilizes described second animation to replace
The animation play in the described currently displaying page.
Second relation sets up module 507, for being stored in described cartoon databank by described second animation and working as with described
Corresponding relation set up in keyword in the page of front display.
Animation switching command receiver module 508, for receiving the animation switching command of user's input.
Animation handover module 509, for according to described animation switching command, utilizes in described cartoon databank and works as with described
There is other animations of corresponding relation and replace broadcasting in the described currently displaying page in the keyword in the page of front display
Animation.
Position adjusting type modules 510, for receiving the position adjustment instruction of user's input, and instructs according to described position adjustment
Adjust the display position of animation in the described currently displaying page.
The present invention is by the keyword in the currently displaying page of acquisition e-book, then according to keyword and animation
Corresponding relation, extracts the animation corresponding with described keyword from cartoon databank, and then in the described currently displaying page
Play described animation.Such that it is able to make user judge whether e-book sense emerging according to the animation shown by each page intuitively
Interest, but also the reading interest of user can be increased, improve the reading experience of user.
And, in embodiments of the present invention, especially by after receiving the e-book that user imports, electricity i.e. can be obtained
The keyword of each page of the philosophical works, then sets up corresponding relation by keyword with at least one animation in cartoon databank, thus
Build the corresponding relation between the animation in the keyword of each page of e-book and cartoon databank in advance.And can pass through
E-book classified and obtains the class indication of described e-book, then obtaining the catalogue mark of each page of described e-book
Sign as the first alternative keyword, and obtain first three phrase that in each page of e-book, the frequency of occurrences is the highest as second
Alternative keyword, and then determine each page from the described first alternative keyword and described second alternative keyword of each page
Keyword.Thus improving the reliability of the keyword of acquisition further, then the animation corresponding with keyword the most more can show
The keyword place page, such that it is able to preferably improve the reading experience of user.
It addition, in embodiments of the present invention, it is also possible to build keyword and the animation data of each page of e-book in advance
The corresponding relation between animation in storehouse, and the animation of user's input can be received and play, but also can be according to input
Animation, cartoon databank adjusts corresponding relation, thus the reading experience of user can also be improved further.
Embodiment six
A kind of mobile terminal that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 6, it is shown that the block diagram of a kind of mobile terminal in the embodiment of the present invention.
Mobile terminal 600 shown in Fig. 6 includes: at least one processor 601, memorizer 602, at least one network interface
604 and user interface 603.Each assembly in mobile terminal 600 is coupled by bus system 605.It is understood that bus
System 605 is for realizing the connection communication between these assemblies.Bus system 605, in addition to including data/address bus, also includes electricity
Source bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in figure 6 various buses are all designated as always
Wire system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (such as, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
The memorizer 602 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (RandomAccess Memory, RAM), and it is used as outside high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memorizer 602 of the system and method that the embodiment of the present invention describes is intended to include but not limited to these
Memorizer with arbitrarily other applicable type.
In some embodiments, memorizer 602 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 6021 and application program 6022.
Wherein, operating system 6021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 6022, comprises various application program, such as media
Player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of memorizer 602 storage, concrete, can be application
The program stored in program 6022 or instruction, the processor 601 keyword in the currently displaying page obtaining e-book;
According to the corresponding relation of keyword Yu animation, from cartoon databank, extract the animation corresponding with described keyword;Work as described
The page of front display is play described animation.
The method that the invention described above embodiment discloses can apply in processor 601, or is realized by processor 601.
Processor 601 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 601 or software form.Above-mentioned process
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable GateArray, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General
The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only
In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at
Memorizer 602, processor 601 reads the information in memorizer 602, completes the step of said method in conjunction with its hardware.
It is understood that the embodiment of the present invention describe these embodiments can use hardware, software, firmware, middleware,
Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special IC
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable GateArray, FPGA), general place
Reason device, controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can come by performing the module (such as process, function etc.) of function described in the embodiment of the present invention
Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Memorizer can
Within a processor or to realize outside processor.
Alternatively, as another embodiment, processor 601 is additionally operable to: build the key of each page of described e-book
The corresponding relation between animation in word and cartoon databank.
Alternatively, as another embodiment, processor 601 is additionally operable to: receive the e-book that user imports;Extract described
The keyword of each page of e-book;Described keyword is set up with at least one animation in described cartoon databank corresponding closing
System.
Alternatively, processor 601 is additionally operable to: obtain the class indication of described e-book;Obtain each page of described e-book
The directory tags in face is as the first alternative keyword;Obtain first three word that in each page of described e-book, the frequency of occurrences is the highest
Group is as the second alternative keyword;Determine from the described first alternative keyword and described second alternative keyword of each page
The keyword of each page.
Alternatively, processor 601 is additionally operable to: judge that the first alternative keyword of arbitrary page in described each page is with described
Whether the similarity of class indication exceedes first threshold;If described first alternative keyword and the similarity of described class indication
Exceed first threshold, then using described first alternative keyword as the keyword of the described page;If described first alternative key
The similarity of word and described class indication not less than first threshold, then judges that described second alternative keyword goes out in the described page
Whether existing number of times is all less than Second Threshold;If the number of times that described second alternative keyword occurs in the described page is whole
Less than Second Threshold, then using described first alternative keyword as the keyword of the described page;If described second alternative key
The number of times that word occurs in the described page is not all of less than Second Threshold, then with in described page occurrence number most second
Alternative keyword is as the keyword of the described page.
Alternatively, processor 601 is additionally operable to: receives the second animation of user's input, and utilizes described second animation to replace
The animation play in the described currently displaying page;Described second animation is stored in described cartoon databank and with described currently
Corresponding relation set up in keyword in the page of display.
Alternatively, processor 601 is additionally operable to: if not existing corresponding with described keyword in described cartoon databank
Animation, then receive user input the 3rd animation, described 3rd animation is stored in described cartoon databank and with described currently
Corresponding relation set up in keyword in the page of display, and is play in the described currently displaying page by described 3rd animation.
Alternatively, processor 601 is additionally operable to: receive the animation switching command of user's input.
Alternatively, processor 601 is additionally operable to: according to described animation switching command, utilize in described cartoon databank with institute
State the keyword in the currently displaying page exist corresponding relation other animations replace broadcast in the described currently displaying page
The animation put.
Alternatively, processor 601 is additionally operable to: receive the position adjustment instruction of user's input, and according to described position adjustment
Instruction adjusts the display position of animation in the described currently displaying page.
Mobile terminal 600 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating, here
Repeat no more.
Embodiment seven
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
700 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memorizer 720, input
Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) module 780 and electricity
Source 790.
Wherein, input block 730 can be used for receiving numeral or the character information of user's input, and produces and mobile terminal
The user setup of 700 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 730 can
To include contact panel 731.Contact panel 731, also referred to as touch screen, can collect user thereon or neighbouring touch operation
(such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 731), and according in advance
The formula set drives corresponding attachment means.Optionally, contact panel 731 can include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give this processor 760 again, and order that processor 760 sends can be received and performed.Furthermore, it is possible to employing resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 731.Except contact panel 731, input block
730 can also include other input equipments 732, and other input equipments 732 can include but not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 740 can be used for showing the information inputted by user or the information being supplied to user and movement
The various menu interfaces of terminal 700.Display unit 740 can include display floater 741, optionally, can use LCD or organic
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display floater 741.
It should be noted that contact panel 731 can cover display floater 741, formed and touch display screen, when this touch display screen is examined
Measure thereon or after neighbouring touch operation, send processor 760 to determine the type of touch event, with preprocessor
760 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show
Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as,
The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein, processor 760 is the control centre of mobile terminal 700, utilizes various interface and the whole mobile phone of connection
Various piece, be stored in the software program in first memory 721 and/or module by running or performing, and call and deposit
Storage data in second memory 722, perform the various functions of mobile terminal 700 and process data, thus to mobile terminal
700 carry out integral monitoring.Optionally, processor 760 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 721 and/
Or the data in this second memory 722, the processor 760 keyword in the currently displaying page obtaining e-book;
According to the corresponding relation of keyword Yu animation, from cartoon databank, extract the animation corresponding with described keyword;Work as described
The page of front display is play described animation.
Alternatively, as another embodiment, processor 760 is additionally operable to: build the key of each page of described e-book
The corresponding relation between animation in word and cartoon databank.
Alternatively, as another embodiment, processor 760 is additionally operable to: receive the e-book that user imports;Extract described
The keyword of each page of e-book;Described keyword is set up with at least one animation in described cartoon databank corresponding closing
System.
Alternatively, processor 760 is additionally operable to: obtain the class indication of described e-book;Obtain each page of described e-book
The directory tags in face is as the first alternative keyword;Obtain first three word that in each page of described e-book, the frequency of occurrences is the highest
Group is as the second alternative keyword;Determine from the described first alternative keyword and described second alternative keyword of each page
The keyword of each page.
Alternatively, processor 760 is additionally operable to: judge that the first alternative keyword of arbitrary page in described each page is with described
Whether the similarity of class indication exceedes first threshold;If described first alternative keyword and the similarity of described class indication
Exceed first threshold, then using described first alternative keyword as the keyword of the described page;If described first alternative key
The similarity of word and described class indication not less than first threshold, then judges that described second alternative keyword goes out in the described page
Whether existing number of times is all less than Second Threshold;If the number of times that described second alternative keyword occurs in the described page is whole
Less than Second Threshold, then using described first alternative keyword as the keyword of the described page;If described second alternative key
The number of times that word occurs in the described page is not all of less than Second Threshold, then with in described page occurrence number most second
Alternative keyword is as the keyword of the described page.
Alternatively, processor 760 is additionally operable to: receives the second animation of user's input, and utilizes described second animation to replace
The animation play in the described currently displaying page;Described second animation is stored in described cartoon databank and with described currently
Corresponding relation set up in keyword in the page of display.
Alternatively, processor 760 is additionally operable to: if not existing corresponding with described keyword in described cartoon databank
Animation, then receive user input the 3rd animation, described 3rd animation is stored in described cartoon databank and with described currently
Corresponding relation set up in keyword in the page of display, and is play in the described currently displaying page by described 3rd animation.
Alternatively, processor 760 is additionally operable to: receive the animation switching command of user's input.
Alternatively, processor 760 is additionally operable to: according to described animation switching command, utilize in described cartoon databank with institute
State the keyword in the currently displaying page exist corresponding relation other animations replace broadcast in the described currently displaying page
The animation put.
Alternatively, processor 760 is additionally operable to: receive the position adjustment instruction of user's input, and according to described position adjustment
Instruction adjusts the display position of animation in the described currently displaying page.
Visible, the present invention by obtain e-book the currently displaying page in keyword, then according to keyword with
The corresponding relation of animation, extracts the animation corresponding with described keyword from cartoon databank, and then described currently displaying
The page is play described animation.Such that it is able to make user judge whether electronics according to the animation shown by each page intuitively
Book is interested, but also can increase the reading interest of user, improves the reading experience of user.
And, in embodiments of the present invention, it is also possible to build keyword and the animation data of each page of e-book in advance
The corresponding relation between animation in storehouse, and the animation of user's input can be received and play, but also can be according to input
Animation, cartoon databank adjusts corresponding relation, such that it is able to improve further the reading experience of user.
It addition, in embodiments of the present invention, especially by after receiving the e-book that user imports, electricity can i.e. be obtained
The keyword of each page of the philosophical works, then sets up corresponding relation by keyword with at least one animation in cartoon databank, thus
Build the corresponding relation between the animation in the keyword of each page of e-book and cartoon databank in advance.And can pass through
E-book classified and obtains the class indication of described e-book, then obtaining the catalogue mark of each page of described e-book
Sign as the first alternative keyword, and obtain first three phrase that in each page of e-book, the frequency of occurrences is the highest as second
Alternative keyword, and then determine each page from the described first alternative keyword and described second alternative keyword of each page
Keyword.Thus improving the reliability of the keyword of acquisition further, then the animation corresponding with keyword the most more can show
The keyword place page, such that it is able to preferably improve the reading experience of user.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each
The unit of example and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These
Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty
Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not
Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other
Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only
A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (18)
1. an electronic book displaying method, described method is applied to mobile terminal, it is characterised in that including:
Obtain the keyword in the currently displaying page of e-book;
According to the corresponding relation of keyword Yu animation, from cartoon databank, extract the animation corresponding with described keyword;
Described animation is play in the described currently displaying page.
Method the most according to claim 1, it is characterised in that in the currently displaying page of described acquisition e-book
Before the step of keyword, also include:
Build the corresponding relation between the animation in the keyword of each page of described e-book and cartoon databank.
Method the most according to claim 2, it is characterised in that the keyword of each page of the described e-book of described structure with
The step of the corresponding relation between animation in cartoon databank, including:
Receive the e-book that user imports;
Extract the keyword of each page of described e-book;
Described keyword is set up corresponding relation with at least one animation in described cartoon databank.
Method the most according to claim 3, it is characterised in that the keyword of each page of the described e-book of described extraction
Step, including:
Obtain the class indication of described e-book;
Obtain the directory tags of each page of described e-book as the first alternative keyword;
Obtain first three phrase that in each page of described e-book, the frequency of occurrences is the highest as the second alternative keyword;
The keyword of each page is determined from the described first alternative keyword and described second alternative keyword of each page.
Method the most according to claim 4, it is characterised in that described from the described first alternative keyword of each page and
Described second alternative keyword determines the step of the keyword of each page, including:
Judge that the similarity of the first alternative keyword of arbitrary page in described each page and described class indication is whether more than the
One threshold value;
If the similarity of described first alternative keyword and described class indication exceedes first threshold, then with described first alternative
Keyword is as the keyword of the described page;
If the similarity of described first alternative keyword and described class indication is not less than first threshold, then judge described second
Whether the number of times that alternative keyword occurs in the described page is all less than Second Threshold;
If the number of times that described second alternative keyword occurs in the described page is all less than Second Threshold, then with described first
Alternative keyword is as the keyword of the described page;
If the number of times that described second alternative keyword occurs in the described page is not all of less than Second Threshold, then with in institute
State the second most alternative keyword of the page occurrence number keyword as the described page.
6. according to the method described in any one of claim 1-5, it is characterised in that play institute in the described currently displaying page
After stating the step of animation, also include:
Receive the second animation of user's input, and utilize what the described second animation described currently displaying page of replacement was play to move
Draw;
Described second animation is stored in described cartoon databank and with the keyword in the described currently displaying page set up right
Should be related to.
Method the most according to claim 1, it is characterised in that at the described corresponding relation according to keyword Yu animation, from
After cartoon databank extracts the step of the animation corresponding with described keyword, also include:
If there is not the animation corresponding with described keyword in described cartoon databank, then receive the 3rd of user's input and move
Draw, described 3rd animation is stored in described cartoon databank and sets up corresponding with the keyword in the described currently displaying page
Relation, and described 3rd animation is play in the described currently displaying page.
Method the most according to claim 1, it is characterised in that play described animation in the described currently displaying page
After step, also include:
Receive the animation switching command of user's input;
According to described animation switching command, utilize in described cartoon databank and deposit with the keyword in the described currently displaying page
Other animations at corresponding relation replace the animation play in the described currently displaying page.
9. according to the method described in any one of claim 1-5, it is characterised in that play institute in the described currently displaying page
After stating the step of animation, also include:
Receive the position adjustment instruction of user's input, and adjust in the described currently displaying page according to described position adjustment instruction
The display position of animation.
10. a mobile terminal, it is characterised in that including:
Keyword acquisition module, the keyword in the currently displaying page obtaining e-book;
Animation extraction module, for the corresponding relation according to keyword Yu animation, extracts and described key from cartoon databank
The animation that word is corresponding;
First animation playing module, for playing described animation in the described currently displaying page.
11. mobile terminals according to claim 10, it is characterised in that also include:
First relation builds module, the animation in keyword and the cartoon databank building each page of described e-book it
Between corresponding relation.
12. mobile terminals according to claim 11, it is characterised in that described first relation builds module, including:
E-book imports submodule, for receiving the e-book that user imports;
Keyword obtains submodule, for extracting the keyword of each page of described e-book;
Relation sets up submodule, for described keyword is set up corresponding closing with at least one animation in described cartoon databank
System.
13. mobile terminals according to claim 12, it is characterised in that described keyword obtains submodule, including:
Taxon, for obtaining the class indication of described e-book;
First alternative keyword acquiring unit, for obtaining the directory tags of each page of described e-book as the first alternative pass
Key word;
Second alternative keyword acquiring unit, for obtaining first three word that in each page of described e-book, the frequency of occurrences is the highest
Group is as the second alternative keyword;
Keyword determines unit, for true from the described first alternative keyword and described second alternative keyword of each page
The keyword of fixed each page.
14. mobile terminals according to claim 13, it is characterised in that described keyword determines unit, including:
Whether first judgment sub-unit, for judging the similarity of the first alternative keyword of arbitrary page and described class indication
Exceed first threshold;If described first alternative keyword exceedes first threshold with the similarity of described class indication, then notify
First keyword determines subelement;If the similarity of described first alternative keyword and described class indication is not less than the first threshold
Value, then notify the second judgment sub-unit;
First keyword determines subelement, for the keyword using described first alternative keyword as the described page;
Second judgment sub-unit, for judging that the number of times that described second alternative keyword occurs in the described page is the least
In Second Threshold;If the number of times that described second alternative keyword occurs in the described page is all less than Second Threshold, then lead to
Know that the second keyword determines subelement;If the number of times that described second alternative keyword occurs in the described page is not all of little
In Second Threshold, then notify that the 3rd keyword determines subelement;
Second keyword determines subelement, for the keyword using described first alternative keyword as the described page;
3rd keyword determines subelement, for using the second alternative keyword most in described page occurrence number as described
The keyword of the page.
15. according to the mobile terminal described in any one of claim 10-14, it is characterised in that also include:
Second animation playing module, for receiving the second animation of user's input, and utilizes described second animation to replace described working as
The animation play in the page of front display;
Second relation sets up module, for being stored in described cartoon databank and currently displaying with described by described second animation
Corresponding relation set up in keyword in the page.
16. mobile terminals according to claim 10, it is characterised in that also include:
3rd animation playing module, if for there is not the animation corresponding with described keyword in described cartoon databank,
Then receive the 3rd animation of user's input, described 3rd animation is stored in described cartoon databank and currently displaying with described
Corresponding relation set up in keyword in the page, and is play in the described currently displaying page by described 3rd animation.
17. mobile terminals according to claim 10, it is characterised in that also include:
Animation switching command receiver module, for receiving the animation switching command of user's input;
Animation handover module, for according to described animation switching command, utilizes in described cartoon databank currently displaying with described
The page in keyword exist corresponding relation other animations replace in the described currently displaying page play animation.
18. according to the mobile terminal described in any one of claim 10-14, it is characterised in that also include:
Position adjusting type modules, for receiving the position adjustment instruction of user's input, and adjusts institute according to described position adjustment instruction
State the display position of animation in the currently displaying page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610488384.5A CN106126662A (en) | 2016-06-24 | 2016-06-24 | A kind of electronic book displaying method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610488384.5A CN106126662A (en) | 2016-06-24 | 2016-06-24 | A kind of electronic book displaying method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106126662A true CN106126662A (en) | 2016-11-16 |
Family
ID=57284753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610488384.5A Pending CN106126662A (en) | 2016-06-24 | 2016-06-24 | A kind of electronic book displaying method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126662A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229475A (en) * | 2017-06-05 | 2017-10-03 | 掌阅科技股份有限公司 | Page display method, electronic equipment and computer-readable storage medium |
CN110377208A (en) * | 2019-07-17 | 2019-10-25 | 广州酷狗计算机科技有限公司 | Audio frequency playing method, device, terminal and computer readable storage medium |
CN113672836A (en) * | 2021-07-16 | 2021-11-19 | 上海硬通网络科技有限公司 | Method, device and equipment for setting dynamic special effect of webpage and storage medium |
CN113742450A (en) * | 2021-08-30 | 2021-12-03 | 中信百信银行股份有限公司 | User data grade label falling method and device, electronic equipment and storage medium |
CN117033447A (en) * | 2023-09-27 | 2023-11-10 | 广州信安数据有限公司 | Service function label catalog construction method, medium and system based on application catalog |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202864A (en) * | 2006-12-12 | 2008-06-18 | 株式会社日立制作所 | Player for movie contents |
CN102136199A (en) * | 2011-03-10 | 2011-07-27 | 刘超 | On-line electronic book reader and on-line electronic book editor |
CN104991708A (en) * | 2015-07-22 | 2015-10-21 | 北京奇虎科技有限公司 | Electronic reading device and reading scenario self-adaptive configuration method therefor |
CN105335421A (en) * | 2014-08-06 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for making and displaying e-book expansion content |
-
2016
- 2016-06-24 CN CN201610488384.5A patent/CN106126662A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101202864A (en) * | 2006-12-12 | 2008-06-18 | 株式会社日立制作所 | Player for movie contents |
CN102136199A (en) * | 2011-03-10 | 2011-07-27 | 刘超 | On-line electronic book reader and on-line electronic book editor |
CN105335421A (en) * | 2014-08-06 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for making and displaying e-book expansion content |
CN104991708A (en) * | 2015-07-22 | 2015-10-21 | 北京奇虎科技有限公司 | Electronic reading device and reading scenario self-adaptive configuration method therefor |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107229475A (en) * | 2017-06-05 | 2017-10-03 | 掌阅科技股份有限公司 | Page display method, electronic equipment and computer-readable storage medium |
CN110377208A (en) * | 2019-07-17 | 2019-10-25 | 广州酷狗计算机科技有限公司 | Audio frequency playing method, device, terminal and computer readable storage medium |
CN110377208B (en) * | 2019-07-17 | 2023-04-07 | 广州酷狗计算机科技有限公司 | Audio playing method, device, terminal and computer readable storage medium |
CN113672836A (en) * | 2021-07-16 | 2021-11-19 | 上海硬通网络科技有限公司 | Method, device and equipment for setting dynamic special effect of webpage and storage medium |
CN113672836B (en) * | 2021-07-16 | 2024-03-15 | 上海硬通网络科技有限公司 | Method, device, equipment and storage medium for setting dynamic special effects of web pages |
CN113742450A (en) * | 2021-08-30 | 2021-12-03 | 中信百信银行股份有限公司 | User data grade label falling method and device, electronic equipment and storage medium |
CN113742450B (en) * | 2021-08-30 | 2023-05-30 | 中信百信银行股份有限公司 | Method, device, electronic equipment and storage medium for user data grade falling label |
CN117033447A (en) * | 2023-09-27 | 2023-11-10 | 广州信安数据有限公司 | Service function label catalog construction method, medium and system based on application catalog |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201177B (en) | A kind of operation execution method and mobile terminal | |
CN105528392B (en) | Classification label ordering method and device | |
CN106126662A (en) | A kind of electronic book displaying method and mobile terminal | |
CN107632895A (en) | A kind of information sharing method and mobile terminal | |
CN106371789B (en) | The display methods and mobile terminal of prompting message in a kind of application program | |
CN105224276A (en) | A kind of multi-screen display method and electronic equipment | |
CN105955646A (en) | Content processing method and intelligent terminal | |
CN105975144A (en) | Information processing method and apparatus | |
CN106126210A (en) | A kind of application icon display packing and mobile terminal | |
US10191953B2 (en) | Method of storing and expressing web page in an electronic device | |
CN104238897A (en) | Menu item displaying method and device | |
US9460227B2 (en) | Electronic device and method for displaying web history thereof | |
CN106293705A (en) | A kind of collecting method and mobile terminal | |
CN106776821B (en) | A kind of album creating method and terminal | |
CN106126035A (en) | A kind of method that application program shows and mobile terminal | |
CN106446048B (en) | A kind of song recommendations method and mobile terminal | |
CN105095426A (en) | Processing method and device for search results | |
CN106227488A (en) | The display packing of a kind of reminder message and mobile terminal | |
KR20160023412A (en) | Method for display screen in electronic device and the device thereof | |
CN105824499A (en) | Window control method and mobile terminal | |
CN107566917A (en) | A kind of video marker method and video playback apparatus | |
CN106446180A (en) | Song recognition method and mobile terminal | |
CN106534200A (en) | Identity authentication method and mobile terminal | |
CN106775755A (en) | One kind application recommendation method and mobile terminal | |
CN106408289A (en) | Payment page switching method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |