CN106844302A - E-book page display method, device and terminal device - Google Patents
E-book page display method, device and terminal device Download PDFInfo
- Publication number
- CN106844302A CN106844302A CN201710202917.3A CN201710202917A CN106844302A CN 106844302 A CN106844302 A CN 106844302A CN 201710202917 A CN201710202917 A CN 201710202917A CN 106844302 A CN106844302 A CN 106844302A
- Authority
- CN
- China
- Prior art keywords
- book page
- word
- icon
- individual icon
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of e-book page display method, device and a kind of terminal device are the embodiment of the invention provides, wherein, e-book page display method includes:Determine the pending word in the currently displaying e-book page;Obtain the individual icon corresponding with the pending word;Based on display location of the pending word in the e-book page, the display location of the individual icon is determined;In the display location of the individual icon, the individual icon is drawn.By the embodiment of the present invention, so that the display mode of the e-book page of display is more diversified, it is also more interesting, while user individual reading requirement is met, attraction of the e-book reading to user is improved, the reading experience of Ebook user is improve.
Description
Technical field
The present embodiments relate to technical field of data processing, more particularly to a kind of e-book page display method, device
With a kind of terminal device.
Background technology
E-book is to utilize computer technology by the publication of the information content digitizations such as word, picture, sound, image.
With Internet technology application more and more extensively, traditional paper reading mode is gradually replaced by e-book, and people are more next
More it is intended to using internet and computer technology, e-book is downloaded by the reading application for reading electronic book and is read
Read.
But the current e-book page more pursue or identical bandwagon effect similar with paper book, page composition also with papery
Book is more or less the same, it is impossible to embodies computer technology and applies the advantage in e-book shows.Thus, the e-book page is also resulted in show
Show that mode is single, it is impossible to meet the personalized reading requirement of user.
The content of the invention
A kind of e-book page display method, device and a kind of terminal device are the embodiment of the invention provides, to solve mesh
Preceding e-book page display way is single, it is impossible to meet the problem of the personalized reading requirement of user.
A kind of one side according to embodiments of the present invention, there is provided e-book page display method, including:It is determined that current
Pending word in the e-book page of display;Obtain the individual icon corresponding with the pending word;Based on institute
Display location of the pending word in the e-book page is stated, the display location of the individual icon is determined;Described
The display location of individual icon, draws the individual icon.
Other side according to embodiments of the present invention, additionally provides a kind of e-book page display device, including:First
Determining module, for determining the pending word in the currently displaying e-book page;Acquisition module, treats for obtaining with described
The corresponding individual icon for the treatment of word;Second determining module, for based on the pending word in the electronics page
Display location in face, determines the display location of the individual icon;Drafting module, in the aobvious of the individual icon
Show position, draw the individual icon.
Another aspect according to embodiments of the present invention, additionally provides a kind of terminal device, including:Processor, memory,
Communication interface and communication bus, the processor, the memory and the communication interface complete phase by the communication bus
Communication between mutually;The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device
The corresponding operation of e-book page display method as described above.
Another aspect according to embodiments of the present invention, additionally provides a kind of computer-readable recording medium, the calculating
Machine readable storage medium storing program for executing is stored with:Executable instruction for determining the pending word in the currently displaying e-book page;
Executable instruction for obtaining the individual icon corresponding with the pending word;For based on the pending word
Display location in the e-book page, determines the executable instruction of the display location of the individual icon;For
The display location of the individual icon, draws the executable instruction of the individual icon.
The e-book page displaying scheme for providing according to embodiments of the present invention, individual character is carried out to some of e-book word
Change the display processing of icon, to realize the interesting and variation that the e-book page shows, solve the current e-book page and show
Mode is single, it is impossible to meet the problem of the personalized reading requirement of user.Specifically, for the currently displaying e-book page
When, first determine pending word therein (word of i.e. pending individual icon display processing), then determine to wait to locate with these
The corresponding individual icon of reason word, and then the display location based on pending word, draw and show in corresponding position
Corresponding individual icon.By above-mentioned treatment so that the display mode of the e-book page of display is more diversified, also more
It is interesting, while user individual reading requirement is met, attraction of the e-book reading to user is improved, improve
The reading experience of Ebook user.
Brief description of the drawings
The step of Fig. 1 is a kind of according to embodiments of the present invention one e-book page display method flow chart;
The step of Fig. 2 is a kind of according to embodiments of the present invention two e-book page display method flow chart;
Fig. 3 is a kind of signal for not carrying out the e-book display interface that individual icon shows according to embodiments of the present invention
Figure;
Fig. 4 is a kind of signal for carrying out the e-book display interface that individual icon shows according to embodiments of the present invention
Figure;
Fig. 5 is a kind of structured flowchart of according to embodiments of the present invention three e-book page display device;
Fig. 6 is a kind of structured flowchart of according to embodiments of the present invention four e-book page display device;
Fig. 7 is a kind of structural representation of according to embodiments of the present invention five terminal device.
Specific embodiment
(identical label represents identical element in some accompanying drawings) and embodiment, implement to the present invention below in conjunction with the accompanying drawings
The specific embodiment of example is described in further detail.Following examples are used to illustrate the present invention, but are not limited to the present invention
Scope.
It will be understood by those skilled in the art that the term such as " first ", " second " in the embodiment of the present invention is only used for difference
Different step, equipment or module etc., neither represent any particular technology implication, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
Reference picture 1, flow chart the step of show a kind of according to embodiments of the present invention one e-book page display method.
The e-book page display method of the present embodiment is comprised the following steps:
Step S102:Determine the pending word in the currently displaying e-book page.
The embodiment of the present invention can be to some of e-book page word, and e.g., characters name, expression, article etc. are carried out
The display processing of individual icon.When being processed, it is necessary to first determine which word can be or needs are processed
, namely, it is necessary to first determine the pending word in the currently displaying e-book page.
Wherein, the determination of pending word can determine according to the input of user or setting, such as in user input e-book
Certain name, then the name in the e-book will be confirmed as pending word, the display of individual icon is carried out to it
Treatment;For another example, user sets the display processing that individual icon is carried out to the institute's espressiove in e-book, then in the e-book
All words (such as smile, laugh, wail) relevant with expression will be confirmed as pending word;The determination of pending word
Can also be determined by default setting by e-book reading application, if e-book reading application default setting is in e-book
Expression carries out the display processing of individual icon, then the word relevant with expression in the e-book will be confirmed as pending text
Word.
Specific to currently displaying e-book interface, then can first determine pending in the currently displaying e-book page
Word, can again determine its pending word, it is of course also possible to use certain plan when other e-book pages need display
Slightly predefine or disposably the pending word in whole e-book is determined, the embodiment of the present invention is to specifically really
Timing machine is not restricted.
Step S104:Obtain the individual icon corresponding with pending word.
Wherein, pending word can be by e-book reading application according to certain rule with the corresponding relation of individual icon
Then set, e.g., corresponded rule, or, according to certain rule selection one from multiple individual icons, such as with
Machine rule, Cahn-Ingold-Prelog sequence rule etc.;The corresponding relation can also be specified or set by user.Based on this, after the determination of pending word,
Can determine that corresponding individual icon.
Such as, pending word is " smile ", then can select the icon of display smile smiling face.
Step S106:Based on display location of the pending word in the e-book page, the display of individual icon is determined
Position.
Pending word should have certain display location in the currently displaying e-book page, can generally show
It is coordinate form, e.g., relative to the coordinate of display screen, or, relative to the coordinate etc. of e-book display interface.Determining
After the display location of pending word, it may be determined that the display location of individual icon.The display location of individual icon with
The display location of pending word is relevant, e.g., the display location of pending word is defined as the display location of individual icon,
Or, centered on the display location of pending word, the display location is expanded the display location obtained after certain limit and is made
Display location for individual icon etc..Those skilled in the art in actual applications, can according to the actual requirements with it is pending
The display location of word suitably determines the display location of individual icon.
Step S108:In the display location of individual icon, individual icon is drawn.
Individual icon can using it is any it is appropriate by the way of realize, including but not limited to:Two-dimentional paster special efficacy icon, three
Dimension special efficacy icon, particle effect icon etc..
To the drafting of individual icon can by those skilled in the art according to actual needs, using it is any it is appropriate by the way of
Realize, coding including but not limited to based on platform draw mode (such as image drawing method of Android or function),
OpenGL modes, Unity modes or OpenCL modes etc., the embodiment of the present invention are not made to the specific drafting mode of individual icon
Limitation.
By the e-book page display method of the present embodiment, individual icon is carried out to some of e-book word
Display processing, to realize the interesting and variation that the e-book page shows, the current e-book page display way of solution is single,
The problem of the personalized reading requirement of user cannot be met.Specifically, when for the currently displaying e-book page, first determine
Pending word (word of i.e. pending individual icon display processing) therein, then determine relative with these pending words
The individual icon answered, and then the display location based on pending word, draw in corresponding position and show corresponding individual character
Change icon.By above-mentioned treatment so that the display mode of the e-book page of display is more diversified, also more interesting,
While user individual reading requirement is met, attraction of the e-book reading to user is improved, improve e-book use
The reading experience at family.
The e-book page display method of the present embodiment can be held by any appropriate equipment with data-handling capacity
OK, including but not limited to:Mobile terminal, E-book reader or desktop computer etc..
Embodiment two
Reference picture 2, flow chart the step of show a kind of according to embodiments of the present invention two e-book page display method.
The e-book page display method of the present embodiment is comprised the following steps:
Step S202:Determine the pending word in the currently displaying e-book page.
As it was previously stated, pending word can be any appropriate word with certain attribute, such as name, expression, move
Make etc..
In the pending word in specifically determining the currently displaying e-book page, a kind of feasible pattern includes:To working as
The e-book page of preceding display carries out text detection, obtains the pending word of setting attribute.Wherein, setting attribute is by this area
Technical staff suitably sets according to the actual requirements, including but not limited at least one of:Name attribute, expression attribute, action
Attribute, scene properties, goods attribute.Wherein, name attribute is used for the title for indicating in eBook content, such as name, animal name,
Place name, station name etc.;Expression attribute is used for the expression for indicating in eBook content, such as laughs, wails, being taken aback, dejected;
Action attributes are used to indicate the action in eBook content, such as run, dance;Scene properties are used to indicate eBook content
In scene, such as snowy day scene, rainy day scene, sun scene, moon scene, seashore scene, grassland scene;Article
Attribute is used to indicate some of eBook content article, such as sword, mobile phone, apple.Show it should be noted that these are only
Example property explanation, those skilled in the art can be arranged as required to more other attributes.
Additionally, implementing for text detection can also be realized by those skilled in the art using any appropriate ways, such as
Neural network fashion or other machine learning modes etc., can be with automatic detection word content, and therefrom obtaining has different attribute
Pending word.
In an e-book page, such as in the currently displaying e-book page, may only have the pending of an attribute
Word, such as only name, it is also possible to can simultaneously have the pending word of many attribute, such as existing name and espressiove.Additionally,
In an e-book, attribute may to that should have multiple different specific words or character string, such as in an e-book,
The corresponding pending word of name attribute is existing " Zhang San ", has again " Li Si " etc..
Pending word is obtained by text detection, can be substantially increased determination and treat without manual intervention detection process
Process the intelligence degree of word.
In another feasible pattern, detection can be identified to the currently displaying e-book page, obtain setting mark
The pending word known;Wherein, at least one word attribute mark is previously provided with the e-book page.Wherein, word attribute
Mark includes but is not limited at least one of:Name attribute mark, expression attribute-bit, action attributes mark, scene properties
Mark, goods attribute mark.Wherein, name attribute is identified for identifying the title in eBook content;Expression attribute-bit is used
Expression in eBook content is identified;Action attributes are identified for identifying the action in eBook content;Scene properties are identified
For identifying the scene in eBook content;Goods attribute is identified for identifying some of eBook content article.Additionally, this
Art personnel can be arranged as required to more other attributes.
Setting for word attribute mark can be by the way of artificial setting, it would however also be possible to employ the side that machine is set automatically
Formula, such as machine pass through identification or by study, when corresponding word content is detected automatically for it stamps corresponding attribute
Mark.
By way of word attribute is identified, pending word can be quickly determined out, improve the pending text of determination
The efficiency of word.
In still further possibility, the word of input can be received, and style of writing is entered to the currently displaying e-book page
Word detection, obtains the pending word matched with the word of input.For example, e-book reading application provides a user with input circle
Face, for the corresponding word of user input, the word of the input can be the specific word (owner such as in e-book to be detected
Public name), or the word (such as input " expression ") of a certain attribute is indicated, instruction with the attribute in eBook content to having
The word (word such as relevant with expression) of pass is detected, and is defined as pending word.
By way of characters matching, operation selection is provided the user, improve user and carry out individual icon and show
The flexibility for the treatment of and participation.
But it should be understood by those skilled in the art that in addition to above-mentioned feasible pattern, determine other appropriate sides of pending word
Formula is applied equally to scheme provided in an embodiment of the present invention.
Step S204:Obtain the individual icon corresponding with pending word.
Wherein, individual icon can be obtained by various appropriate ways.For example, e-book reading is applied being locally stored
There is individual icon, after the determination of pending word, you can determine corresponding individual icon;Or, e-book reading
Apply in the individual icon that is not stored with locally, then after the determination of pending word, can be obtained by accessing corresponding server
Obtain corresponding individual icon;Or, e-book reading is applied being locally stored part individual icon, but in the part
Property icon in, not with pending this also corresponding icon, at this time it is also possible to obtain personalized figure by access server
Mark;Or, e-book reading application has provided a user with inputting interface, and the figure of certain format can be input into by the interface
Mark, or word can be input into, and then corresponding icon is generated according to the word of input;Again or, e-book reading application to
Multiple individual icons that user's displaying is locally stored are selected for user, and the individual icon that user selects is defined as and is treated
The corresponding icon for the treatment of word.
Specifically, such as, if pending word is " Zhang San ", drafting there can be into band cap according to certain corresponding relation
The icon of man's head portrait of son is defined as individual icon corresponding with " Zhang San ";Or, obtain band cap from corresponding server
The icon of man's head portrait of son, is defined as individual icon corresponding with " Zhang San ";Or, show multiple head portraits to user
Icon, the icon of the man's head portrait with cap that user is selected is defined as individual icon corresponding with " Zhang San ";Or, lead to
Inputting interface is crossed, user uploads the icon of the man's head portrait with cap as individual icon corresponding with " Zhang San ";Or,
User input " Li Si ", such as e-book reading application icon of the generation comprising " Li Si ", white gravoply, with black engraved characters icon or cloud shape
Icon, and the icon that will be generated is used as individual icon corresponding with " Zhang San ", etc..
Individual icon can be realized in any suitable way, including but not limited to following at least one:Two-dimentional paster
Special efficacy icon, three-dimensional special efficacy icon, particle effect icon.Wherein, three-dimensional special efficacy icon and particle effect icon can be realized moving
State icon shows, and two-dimentional paster special efficacy icon then can both realize static icon, it is also possible to realize dynamic icon, such as GIF lattice
Icon of formula etc..
For the interest that the participation and the e-book page that further lift user show, can be given birth to User Defined
Into corresponding individual icon.In the case, e-book reading application can provide a user with inputting interface, by being input into boundary
Face receives the self-defined word of user input, and then according to the self-defined word generation individual icon;Then, the generation is obtained
The individual icon corresponding with pending word.For example, user wants for the hero's name in e-book to replace with oneself
Name, then the name of user can be input into by inputting interface, e-book reading application can generate a white background picture,
The name of user is write thereon, at hero's name of the e-book page of display, former hero's name is covered using the picture
Word.
Step S206:Based on display location of the pending word in the e-book page, the display of individual icon is determined
Position.
As described in embodiment one, the indication range of individual icon can it is identical with the indication range of pending word or
Person is bigger, and implementing can suitably be set by those skilled in the art according to actual conditions.
Step S208:Determine the display mode of individual icon.
For example, display or the display in background in the e-book page in the prospect of the e-book page.In general, exist
Individual icon is shown in prospect, then can block pending word;And individual icon is shown in the background, will not typically treat
Treatment word is produced and blocked;And for some hollow icons, then can both show in the foreground to show in the background.
Step S210:In the display location of individual icon, according to the display mode of individual icon, display individual character is drawn
Change icon.
When it is determined that showing individual icon in the prospect of the e-book page, can be in the e-book page of completing
After content of pages, in the display location of individual icon, individual icon is drawn to content of pages;When it is determined that in electronics
When showing individual icon in the background in page face, individual icon can be drawn in the display location of individual icon
Cheng Hou, draws the content of pages of the e-book page.
It should be noted that in the same e-book page, such as currently displaying e-book page is waited to locate for different
Reason word can select different display modes, and e.g., for the pending word of scene properties, selection shows individual character in the background
Change icon;For the pending word of attribute of expressing one's feelings, selection shows individual icon etc. in the foreground.
Additionally, if the size of individual icon is not inconsistent with indication range, can also be according to the display location of individual icon
Adjust the size of individual icon;And then in the display location of individual icon, draw the individual icon after adjustment size.
Hereinafter, according to the comparison for carrying out the e-book display interface before and after individual icon shows, to the embodiment of the present invention
The e-book page show and illustrate.
It is a kind of not carry out e-book display interface that individual icon shows as shown in figure 3, that is, Fig. 3 shows one kind
Conventional e-book display interface.In the interface, there is appearance " Zhang San " twice, once " laugh " occur, once occur " micro-
Laugh at ".
In this example, as a example by carrying out individual icon display processing to name " Zhang San ", expression " laugh " and " smile ".
One kind has carried out individual icon display processing, and e-book display interface after completing is as shown in Figure 4.Its
In, individual icon corresponding with " Zhang San " is man's head portrait, and individual icon corresponding with " laugh " is the card of laugh apperance
Logical face, individual icon corresponding with " smile " is the cartoon human face of smile apperance.A kind of feasible implementation process includes:It is right
The word content of the currently displaying e-book page detected, " Zhang San ", " laugh ", " smile " are found out respectively in word content
In position, and identified accordingly, e.g., " Zhang San " is designated name attribute-name 1, " laugh " is designated expression
Attribute-expression 1, expression attribute-expression 2 is designated by " smile ";Corresponding with " Zhang San " man's avatar icon is obtained, and " greatly
Laugh at " the cartoon human face icon of corresponding laugh apperance, the cartoon human face icon of smile apperance corresponding with " smile ";According to electronics
The drafting in page face, determines the display location of " Zhang San ", " laugh ", " smile " in the e-book page respectively, by display position
Put the display location for being defined as individual icon;Using prospect display mode, in the display location, individual icon is drawn.Paint
Make the e-book page for completing as shown in Figure 4.By upper, realize at the individual icon display of the currently displaying e-book page
Reason.
It can be seen that, by the e-book page display method of the present embodiment, individual icon is carried out to the word in e-book
Display processing, realize the interesting and variation that the e-book page shows, solve current e-book page display way
It is single, it is impossible to meet the problem of the personalized reading requirement of user so that the display mode of the e-book page of display is more more
Sample, it is also more interesting, while user individual reading requirement is met, improve suction of the e-book reading to user
Gravitation, improves the reading experience of Ebook user.
The e-book page display method of the present embodiment can be held by any appropriate equipment with data-handling capacity
OK, including but not limited to:Mobile terminal, E-book reader or desktop computer etc..
Embodiment three
Reference picture 5, shows a kind of structured flowchart of according to embodiments of the present invention three e-book page display device.
The e-book page display device of the present embodiment includes:First determining module 302, for determining currently displaying electricity
Pending word in the philosophical works page;Acquisition module 304, for obtaining the individual icon corresponding with pending word;The
Two determining modules 306, for the display location based on pending word in the e-book page, determine the display of individual icon
Position;Drafting module 308, in the display location of individual icon, drawing individual icon.
By the e-book page display device of the present embodiment, the display of individual icon is carried out to the word in e-book
Treatment, to realize the interesting and variation that the e-book page shows, solves current e-book page display way single, it is impossible to
Meet the problem of the personalized reading requirement of user.Specifically, when for the currently displaying e-book page, first determine wherein
Pending word (word of i.e. pending individual icon display processing), then determine corresponding with these pending words
Individual icon, and then the display location based on pending word, draw in corresponding position and show corresponding personalized figure
Mark.By above-mentioned treatment so that the display mode of the e-book page of display is more diversified, also more interesting, full
While sufficient user individual reading requirement, attraction of the e-book reading to user is improved, improve Ebook user
Reading experience.
The e-book page display device of the present embodiment can be arranged at any appropriate setting with data-handling capacity
In standby, including but not limited to:Mobile terminal, E-book reader or desktop computer etc., it is also possible to be set to independent equipment.
Example IV
Reference picture 6, shows a kind of structured flowchart of according to embodiments of the present invention four e-book page display device.
The e-book page display device of the present embodiment includes:First determining module 402, for determining currently displaying electricity
Pending word in the philosophical works page;Acquisition module 404, for obtaining the individual icon corresponding with pending word;The
Two determining modules 406, for the display location based on pending word in the e-book page, determine the display of individual icon
Position;Drafting module 408, in the display location of individual icon, drawing individual icon.
Alternatively, the first determining module 402 includes at least one of:Text detection module 4022, for current aobvious
The e-book page for showing carries out text detection, obtains the pending word of setting attribute;Wherein, alternatively, setting attribute includes
At least one of:Name attribute, expression attribute, action attributes, scene properties, goods attribute;Label detection module 4024, uses
In detection is identified to the currently displaying e-book page, the pending word of setting identification is obtained;Wherein, the e-book page
In be previously provided with least one word attribute mark, wherein, word attribute mark includes at least one of:Name attribute mark
Know, expression attribute-bit, action attributes mark, scene properties mark, goods attribute are identified;Matching module 4026, for receiving
The word of input, and text detection is carried out to the currently displaying e-book page, obtains and locates with waiting of matching of the word being input into
Reason word.
Alternatively, drafting module 408 includes prospect drafting module 4082 and/or background drafting module 4084.Wherein, prospect
Drafting module 4082 is used to determine to show individual icon in the prospect of the e-book page;In the e-book page of completing
After content of pages, in the display location of individual icon, individual icon is drawn to content of pages;Background drafting module
4084 are used to determine to show individual icon in the background of the e-book page;In the display location of individual icon, by individual character
After change icon is completed, the content of pages of the e-book page is drawn.
Alternatively, drafting module 408 also includes:Adjusting module 4086, for adjusting individual icon according to display location
Size;In the display location of individual icon, the individual icon after adjustment size is drawn.For example, first passing through adjusting module
The size of 4086 adjustment individual icons, then calls prospect drafting module 4082 or background drafting module 4084 to carry out currently
The drafting of individual icon.
Alternatively, acquisition module 404 includes:Generation module 4042, the self-defined word for receiving user input, according to
Self-defined word generates individual icon;Obtain the individual icon corresponding with pending word of generation.
Alternatively, individual icon includes following at least one:Two-dimentional paster special efficacy icon, three-dimensional special efficacy icon, particle
Special efficacy icon.
The e-book page display device of the present embodiment is used to realize corresponding e-book in aforesaid plurality of embodiment of the method
Page display device, and with the beneficial effect of corresponding embodiment of the method, will not be repeated here.
The e-book page display device of the present embodiment can be arranged at any appropriate setting with data-handling capacity
In standby, including but not limited to:Mobile terminal, E-book reader or desktop computer etc., it is also possible to be set to independent equipment.
Embodiment five
Reference picture 7, shows a kind of structural representation of according to embodiments of the present invention five terminal device, and the present invention is specific
Embodiment is not limited implementing for terminal device.
As shown in fig. 7, the terminal device can include:Processor (processor) 502, communication interface
(Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, communicates for the network element with miscellaneous equipment such as other terminal devices or server etc..
Processor 502, for configuration processor 510, in can specifically performing above-mentioned e-book page display method embodiment
Correlation step.
Specifically, program 510 can include program code, and the program code includes computer-managed instruction.
Processor 502 is probably central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention
Road.The one or more processors that terminal device includes, can be same type of processors, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for storage program 510, and the e-book page related data.Memory 506 may be included
High-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least one magnetic
Disk storage.
Program 510 specifically can be used for so that processor 502 performs following operation:Determine the currently displaying e-book page
In pending word;Obtain the individual icon corresponding with pending word;Based on pending word in the e-book page
In display location, determine the display location of individual icon;In the display location of individual icon, individual icon is drawn.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 it is determined that currently displaying electronics
During pending word in page face, text detection is carried out to the currently displaying e-book page, obtain setting attribute wait locate
Reason word.
In a kind of optional implementation method, setting attribute includes at least one of:It is name attribute, expression attribute, dynamic
Make attribute, scene properties, goods attribute.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 it is determined that currently displaying electronics
During pending word in page face, detection is identified to the currently displaying e-book page, obtain setting identification wait locate
Reason word;Wherein, at least one word attribute mark is previously provided with the e-book page.
In a kind of optional implementation method, word attribute mark includes at least one of:Name attribute mark, expression
Attribute-bit, action attributes mark, scene properties mark, goods attribute mark.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 it is determined that currently displaying electronics
During pending word in page face, the word of input is received, and text detection is carried out to the currently displaying e-book page, obtained
Take the pending word matched with the word of input.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 in the display position of individual icon
Put, when drawing individual icon, it is determined that showing individual icon in the prospect of the e-book page;In electronics page of completing
After the content of pages in face, in the display location of individual icon, individual icon is drawn to content of pages.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 in the display position of individual icon
Put, when drawing individual icon, it is determined that showing individual icon in the background of the e-book page;In the display of individual icon
Position, after individual icon is completed, draws the content of pages of the e-book page.
In a kind of optional implementation method, program 510 is additionally operable to cause processor 502 in the display position of individual icon
Put, when drawing individual icon, the size of individual icon is adjusted according to display location;In the display location of individual icon,
Draw the individual icon after adjustment size.
In a kind of optional implementation method, program 510 is additionally operable to so that processor 502 is being obtained and pending word phase
During corresponding individual icon, the self-defined word of user input is received, individual icon is generated according to self-defined word;Obtain
The individual icon corresponding with pending word of generation.
In a kind of optional implementation method, individual icon includes following at least one:Two-dimentional paster special efficacy icon, three
Dimension special efficacy icon, particle effect icon.
In program 510 each step implement may refer to it is corresponding in above-mentioned e-book page display method embodiment
Corresponding description, will not be described here in step and unit.It is apparent to those skilled in the art that, it is description
Conveniently and succinctly, the equipment of foregoing description and the specific work process of module, may be referred to the correspondence in preceding method embodiment
Process description, will not be repeated here.
By the terminal device of the present embodiment, the display processing of individual icon is carried out to the word in e-book, realized
The interesting and variation that the e-book page shows, solves current e-book page display way single, it is impossible to meets and uses
The problem of the personalized reading requirement at family so that the display mode of the e-book page of display is more diversified, also more interesting
Taste, while user individual reading requirement is met, improves attraction of the e-book reading to user, improves electronics
The reading experience of book user.
It may be noted that the need for according to implementation, all parts/step described in the embodiment of the present invention can be split as more
Multi-part/step, also can be combined into new part/step by the part operation of two or more components/steps or components/steps
Suddenly, realizing the purpose of the embodiment of the present invention.
Above-mentioned method according to embodiments of the present invention can be realized in hardware, firmware, or be implemented as being storable in note
Application or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through net
The original storage that network is downloaded is in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code so that method described here can be stored in using all-purpose computer, application specific processor or can compile
Such application treatment in the recording medium of journey or specialized hardware (such as ASIC or FPGA).It is appreciated that computer, treatment
Device, microprocessor controller or programmable hardware include can store or receives apply or computer code storage assembly (for example,
RAM, ROM, flash memory etc.), when the application or computer code are by computer, processor or hardware access and execution, realize
E-book page display method described here.Additionally, when all-purpose computer accesses the electronics page for realizing being shown in which
During the code that face shows, the execution of code is converted to for performing what the e-book page being shown in which showed all-purpose computer
Special-purpose computer.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Unit and method and step, can be realized with electronic hardware or computer application and the combination of electronic hardware.These functions are actually
Performed with hardware or application mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function, but this realization can be realized it is not considered that exceeding using distinct methods to each specific application
The scope of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and not to the limitation of the embodiment of the present invention, relevant skill
The those of ordinary skill in art field, in the case of the spirit and scope for not departing from the embodiment of the present invention, can also make various
Change and modification, therefore all equivalent technical schemes fall within the category of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection domain should be defined by the claims.
A1, a kind of e-book page display method are the embodiment of the invention provides, including:
Determine the pending word in the currently displaying e-book page;
Obtain the individual icon corresponding with the pending word;
Based on display location of the pending word in the e-book page, the aobvious of the individual icon is determined
Show position;
In the display location of the individual icon, the individual icon is drawn.
A2, the method according to A1, wherein, it is described to determine pending word in the currently displaying e-book page
Step, including:
Text detection is carried out to the currently displaying e-book page, the pending word of setting attribute is obtained.
A3, the method according to A2, wherein, the setting attribute includes at least one of:Name attribute, expression category
Property, action attributes, scene properties, goods attribute.
A4, the method according to A1, wherein, it is described to determine pending word in the currently displaying e-book page
Step, including:
Detection is identified to the currently displaying e-book page, the pending word of setting identification is obtained;
Wherein, at least one word attribute mark is previously provided with the e-book page.
A5, the method according to A4, wherein, the word attribute mark includes at least one of:Name attribute mark
Know, expression attribute-bit, action attributes mark, scene properties mark, goods attribute are identified.
A6, the method according to A1, wherein, it is described to determine pending word in the currently displaying e-book page
Step, including:
The word of input is received, and text detection is carried out to the currently displaying e-book page, obtained and the input
The pending word that word matches.
A7, the method according to A1, wherein, in the display location of the individual icon, draw the personalized figure
Target step, including:
It is determined that showing the individual icon in the prospect of the e-book page;
After the content of pages of the e-book page of completing, in the display location of the individual icon, by institute
Individual icon is stated to draw to the content of pages.
A8, the method according to A1, wherein, in the display location of the individual icon, draw the personalized figure
Target step, including:
It is determined that showing the individual icon in the background of the e-book page;
In the display location of the individual icon, after the individual icon is completed, the e-book is drawn
The content of pages of the page.
A9, the method according to A7 or A8, wherein, in the display location of the individual icon, draw the individual character
The step of changing icon, including:
The size of the individual icon is adjusted according to the display location;
In the display location of the individual icon, the individual icon after adjustment size is drawn.
A10, the method according to any one of A1-A8, wherein, it is described to obtain corresponding with the pending word
The step of property icon, including:
The self-defined word of user input is received, according to the self-defined word generation individual icon;
Obtain the individual icon corresponding with the pending word of generation.
A11, the method according to any one of A1-A8, wherein, the individual icon includes following at least one:Two
Dimension paster special efficacy icon, three-dimensional special efficacy icon, particle effect icon.
B12, a kind of e-book page display device, including:
First determining module, for determining the pending word in the currently displaying e-book page;
Acquisition module, for obtaining the individual icon corresponding with the pending word;
Second determining module, for the display location based on the pending word in the e-book page, it is determined that
The display location of the individual icon;
Drafting module, in the display location of the individual icon, drawing the individual icon.
B13, the device according to B12, wherein, first determining module includes:
Text detection module, for carrying out text detection to the currently displaying e-book page, obtains treating for setting attribute
Treatment word.
B14, the device according to B13, wherein, the setting attribute includes at least one of:Name attribute, expression
Attribute, action attributes, scene properties, goods attribute.
B15, the device according to B12, wherein, first determining module includes:
Label detection module, for being identified detection to the currently displaying e-book page, obtains treating for setting identification
Treatment word;Wherein, at least one word attribute mark is previously provided with the e-book page.
B16, the device according to B15, wherein, the word attribute mark includes at least one of:Name attribute
Mark, expression attribute-bit, action attributes mark, scene properties mark, goods attribute mark.
B17, the device according to B12, wherein, first determining module includes:
Matching module, for receiving the word of input, and carries out text detection to the currently displaying e-book page, obtains
The pending word matched with the word of the input.
B18, the device according to B12, wherein, the drafting module includes:
Prospect drafting module, for determining to show the individual icon in the prospect of the e-book page;Painting
After system completes the content of pages of the e-book page, in the display location of the individual icon, by the individual icon
Draw to the content of pages.
B19, the device according to B12, wherein, the drafting module includes:
Background drafting module, for determining to show the individual icon in the background of the e-book page;Institute
The display location of individual icon is stated, after the individual icon is completed, is drawn in the page of the e-book page
Hold.
B20, the device according to B18 or B19, wherein, the drafting module also includes:
Adjusting module, the size for adjusting the individual icon according to the display location;In the personalized figure
Target display location, draws the individual icon after adjustment size.
B21, the device according to any one of B12-B19, wherein, the acquisition module includes:
Generation module, the self-defined word for receiving user input, according to the self-defined personalized figure of word generation
Mark;Obtain the individual icon corresponding with the pending word of generation.
B22, the device according to any one of B12-B19, wherein, the individual icon includes following at least one:
Two-dimentional paster special efficacy icon, three-dimensional special efficacy icon, particle effect icon.
C23, a kind of terminal device, including:Processor, memory, communication interface and communication bus, the processor, institute
State memory and the communication interface and mutual communication is completed by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device such as
The corresponding operation of e-book page display method described in any one of A1-A11.
Claims (10)
1. a kind of e-book page display method, including:
Determine the pending word in the currently displaying e-book page;
Obtain the individual icon corresponding with the pending word;
Based on display location of the pending word in the e-book page, the display position of the individual icon is determined
Put;
In the display location of the individual icon, the individual icon is drawn.
2. method according to claim 1, wherein, the pending word determined in the currently displaying e-book page
The step of, including:
Text detection is carried out to the currently displaying e-book page, the pending word of setting attribute is obtained.
3. method according to claim 2, wherein, the setting attribute includes at least one of:Name attribute, expression
Attribute, action attributes, scene properties, goods attribute.
4. method according to claim 1, wherein, the pending word determined in the currently displaying e-book page
The step of, including:
Detection is identified to the currently displaying e-book page, the pending word of setting identification is obtained;
Wherein, at least one word attribute mark is previously provided with the e-book page.
5. method according to claim 4, wherein, the word attribute mark includes at least one of:Name attribute
Mark, expression attribute-bit, action attributes mark, scene properties mark, goods attribute mark.
6. method according to claim 1, wherein, the pending word determined in the currently displaying e-book page
The step of, including:
The word of input is received, and text detection is carried out to the currently displaying e-book page, obtain the word with the input
The pending word for matching.
7. method according to claim 1, wherein, in the display location of the individual icon, draw the personalization
The step of icon, including:
It is determined that showing the individual icon in the prospect of the e-book page;
After the content of pages of the e-book page of completing, in the display location of the individual icon, by described
Property icon is drawn to the content of pages.
8. method according to claim 1, wherein, in the display location of the individual icon, draw the personalization
The step of icon, including:
It is determined that showing the individual icon in the background of the e-book page;
In the display location of the individual icon, after the individual icon is completed, the e-book page is drawn
Content of pages.
9. a kind of e-book page display device, including:
First determining module, for determining the pending word in the currently displaying e-book page;
Acquisition module, for obtaining the individual icon corresponding with the pending word;
Second determining module, for the display location based on the pending word in the e-book page, it is determined that described
The display location of individual icon;
Drafting module, in the display location of the individual icon, drawing the individual icon.
10. a kind of terminal device, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction wants the computing device such as right
Ask the corresponding operation of e-book page display method described in any one of 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202917.3A CN106844302B (en) | 2017-03-30 | 2017-03-30 | Electronic book page display method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710202917.3A CN106844302B (en) | 2017-03-30 | 2017-03-30 | Electronic book page display method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106844302A true CN106844302A (en) | 2017-06-13 |
CN106844302B CN106844302B (en) | 2020-07-28 |
Family
ID=59142532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710202917.3A Active CN106844302B (en) | 2017-03-30 | 2017-03-30 | Electronic book page display method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844302B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107526824A (en) * | 2017-08-30 | 2017-12-29 | 广州阿里巴巴文学信息技术有限公司 | A kind of object displaying method, device and terminal device being applied in electronic reading |
CN107577768A (en) * | 2017-09-05 | 2018-01-12 | 广州阿里巴巴文学信息技术有限公司 | Import processing method, device and the intelligent terminal of cover document |
CN107621966A (en) * | 2017-08-31 | 2018-01-23 | 广州阿里巴巴文学信息技术有限公司 | Gui display method, device and terminal device |
CN107704153A (en) * | 2017-09-30 | 2018-02-16 | 咪咕动漫有限公司 | A kind of methods of exhibiting, device and computer-readable recording medium for reading special efficacy |
CN108388463A (en) * | 2018-03-02 | 2018-08-10 | 平安普惠企业管理有限公司 | Icon processing method, device, computer equipment and storage medium |
CN113721814A (en) * | 2021-08-31 | 2021-11-30 | 北京得间科技有限公司 | Electronic book page display method, computing equipment and computer storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199217A (en) * | 2005-06-30 | 2008-06-11 | 诺基亚公司 | Terminal with messaging application |
CN101789130A (en) * | 2009-12-24 | 2010-07-28 | 中兴通讯股份有限公司 | Method and device for terminal equipment to use self-drawn picture |
CN101853127A (en) * | 2010-05-18 | 2010-10-06 | 鸿富锦精密工业(深圳)有限公司 | Electronic reading device and preview method thereof |
CN102479216A (en) * | 2010-11-30 | 2012-05-30 | 上海博路信息技术有限公司 | Method for realizing multimedia annotation of electronic book |
CN103186912A (en) * | 2011-12-28 | 2013-07-03 | 北京神州泰岳软件股份有限公司 | Method and system for showing letter in picture format |
CN104050155A (en) * | 2014-07-01 | 2014-09-17 | 西安诺瓦电子科技有限公司 | Text editing device and method |
CN104239313A (en) * | 2013-06-09 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal |
US20160125632A1 (en) * | 2014-10-31 | 2016-05-05 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Electronic device and method for creating comic strip |
CN106502506A (en) * | 2016-11-01 | 2017-03-15 | 上海爱数信息技术股份有限公司 | The mask method of document, system and electronic equipment in webpage |
-
2017
- 2017-03-30 CN CN201710202917.3A patent/CN106844302B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199217A (en) * | 2005-06-30 | 2008-06-11 | 诺基亚公司 | Terminal with messaging application |
CN101789130A (en) * | 2009-12-24 | 2010-07-28 | 中兴通讯股份有限公司 | Method and device for terminal equipment to use self-drawn picture |
CN101853127A (en) * | 2010-05-18 | 2010-10-06 | 鸿富锦精密工业(深圳)有限公司 | Electronic reading device and preview method thereof |
CN102479216A (en) * | 2010-11-30 | 2012-05-30 | 上海博路信息技术有限公司 | Method for realizing multimedia annotation of electronic book |
CN103186912A (en) * | 2011-12-28 | 2013-07-03 | 北京神州泰岳软件股份有限公司 | Method and system for showing letter in picture format |
CN104239313A (en) * | 2013-06-09 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | Method for searching for characters displayed in screen and based on mobile terminal and mobile terminal |
CN104050155A (en) * | 2014-07-01 | 2014-09-17 | 西安诺瓦电子科技有限公司 | Text editing device and method |
US20160125632A1 (en) * | 2014-10-31 | 2016-05-05 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Electronic device and method for creating comic strip |
CN106502506A (en) * | 2016-11-01 | 2017-03-15 | 上海爱数信息技术股份有限公司 | The mask method of document, system and electronic equipment in webpage |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107526824A (en) * | 2017-08-30 | 2017-12-29 | 广州阿里巴巴文学信息技术有限公司 | A kind of object displaying method, device and terminal device being applied in electronic reading |
CN107621966A (en) * | 2017-08-31 | 2018-01-23 | 广州阿里巴巴文学信息技术有限公司 | Gui display method, device and terminal device |
CN107577768A (en) * | 2017-09-05 | 2018-01-12 | 广州阿里巴巴文学信息技术有限公司 | Import processing method, device and the intelligent terminal of cover document |
CN107704153A (en) * | 2017-09-30 | 2018-02-16 | 咪咕动漫有限公司 | A kind of methods of exhibiting, device and computer-readable recording medium for reading special efficacy |
CN108388463A (en) * | 2018-03-02 | 2018-08-10 | 平安普惠企业管理有限公司 | Icon processing method, device, computer equipment and storage medium |
CN113721814A (en) * | 2021-08-31 | 2021-11-30 | 北京得间科技有限公司 | Electronic book page display method, computing equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106844302B (en) | 2020-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844302A (en) | E-book page display method, device and terminal device | |
US20220075845A1 (en) | Computer aided systems and methods for creating custom products | |
CN109359538B (en) | Training method of convolutional neural network, gesture recognition method, device and equipment | |
CN106157341B (en) | Generate the method and device of synthesising picture | |
CN108537859A (en) | Use the image masks of deep learning | |
CN109429519A (en) | System and method for verifying the authenticity of certificate photograph | |
Chen et al. | Sem2nerf: Converting single-view semantic masks to neural radiance fields | |
CN105354248A (en) | Gray based distributed image bottom-layer feature identification method and system | |
WO2013106984A1 (en) | Learning painting styles for painterly rendering | |
CN109522436A (en) | Similar image lookup method and device | |
US10853983B2 (en) | Suggestions to enrich digital artwork | |
CN109144384A (en) | Display methods, device, hardware device and computer readable storage medium | |
CN109271587A (en) | A kind of page generation method and device | |
CN109003224A (en) | Strain image generation method and device based on face | |
Wu et al. | Styleme: Towards intelligent fashion generation with designer style | |
CN110490959A (en) | Three dimensional image processing method and device, virtual image generation method and electronic equipment | |
CN102446361B (en) | The method and system of the performance fidelity of the element of automatic adjustment works | |
WO2020112078A1 (en) | Geometry-aware interactive design | |
Zhang et al. | NK-CDS: A creative design system for museum art derivatives | |
Ueno et al. | Continuous and gradual style changes of graphic designs with generative model | |
Xing et al. | SVGDreamer: Text guided SVG generation with diffusion model | |
KR20180111242A (en) | Electronic device and method for providing colorable content | |
Laishram et al. | High-quality face caricature via style translation | |
Li et al. | 3D sketching for 3D object retrieval | |
CN110473272B (en) | Oil painting generation method and device based on image, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |