CN106713962B - Video display method, apparatus and terminal device - Google Patents
Video display method, apparatus and terminal device Download PDFInfo
- Publication number
- CN106713962B CN106713962B CN201611176011.0A CN201611176011A CN106713962B CN 106713962 B CN106713962 B CN 106713962B CN 201611176011 A CN201611176011 A CN 201611176011A CN 106713962 B CN106713962 B CN 106713962B
- Authority
- CN
- China
- Prior art keywords
- video
- book
- current page
- updated
- page
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
An embodiment of the present invention provides a kind of video display method, apparatus and terminal devices, wherein video display method includes:After the location updating triggering message for receiving the video in e-book in current page, the position of the updated video is obtained;According to the position of the updated video, typesetting again is carried out to the word content of the page of the e-book;It redraws the word content after typesetting again and the video and shows.Through the embodiment of the present invention, it realizes and shows video in e-books, to meet demand of the user in terms of showing content.
Description
Technical field
The present embodiments relate to technical field of data processing more particularly to video display method, apparatus and terminal devices.
Background technology
In mobile internet era, more and more users are full with this by installing e-book application on mobile terminals
The demand of its mobile reading of foot.In general, e-book is realized with this single form of word.In order to promote the reading experience of user,
Major application program producer has exited the function of playing video in e-books again.
In the implementation of the present invention, following problem exists in the prior art in inventor:In existing electronics
During playing video in book, when video can not be normally displayed on the page of e-book, for example, e-book page turn over operation is led
Cause video not in the screen area of mobile terminal, for another example, e-book rolling operation causes video not in the screen of mobile terminal
In curtain region, in such cases, the only remaining e-book itself of display content, to cannot be satisfied user in terms of showing content
Demand.
Invention content
The purpose of the embodiment of the present invention is, provides a kind of video display method, apparatus and terminal device, is existed with realizing
Video is shown in e-book, to meet user the needs of showing in terms of content.
One side according to the ... of the embodiment of the present invention provides a kind of video display method, including:Receive in e-book when
After the location updating triggering message of video in the preceding page, the position of the updated video is obtained;According to updated institute
The position for stating video carries out typesetting again to the word content of the page of the e-book;It redraws in the word after typesetting again
Appearance and the video are simultaneously shown.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of video display device, including:Acquisition module is used
After the location updating triggering message for receiving the video in e-book in current page, the position of the updated video is obtained
It sets;Type-setting module carries out weight for the position according to the updated video to the word content of the page of the e-book
New typesetting;Module is redrawn, for redrawing the word content after typesetting again and the video and showing.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of terminal device, including:Processor, leads to memory
Believe that interface and communication bus, the processor, the memory and the communication interface are completed mutual by the communication bus
Between communication;The memory makes the processor execute such as storing an at least executable instruction, the executable instruction
The preceding corresponding operation of video display method.
It is according to the ... of the embodiment of the present invention in another aspect, additionally provide a kind of computer readable storage medium, the computer
Readable storage medium storing program for executing is stored with:After location updating for receiving the video in e-book in current page triggers message, obtain
Take the executable instruction of the position of the updated video;For the position according to the updated video, to the electricity
The word content of the page of the philosophical works carries out the executable instruction of typesetting again;For redrawing the word content after typesetting again and institute
State the executable instruction of video and display.
The video display method, apparatus and terminal device provided according to embodiments of the present invention, with receive in e-book when
The location updating triggering message of video in the preceding page is trigger condition, obtains the position of updated video, further basis
The position of updated video carries out typesetting again, to the text after typesetting again to the word content of the page of e-book
Word content and video are redrawn, and at the same time showing the word content and video after typesetting again.With in the prior art when regarding
When frequency can not be normally displayed on the page of e-book, the only remaining e-book of display content itself is compared, both can be in the updated
The position of video draw and show video, and can be in the page of e-book in addition to the position of updated video position
It sets, draw and shows the word content after typesetting again.As it can be seen that the scheme provided through the embodiment of the present invention, realizes in electricity
Video is shown in the philosophical works, to meet demand of the user in terms of showing content, greatly improving the e-book of user makes
With experience.
Description of the drawings
Fig. 1 is the step flow chart of a kind of according to embodiments of the present invention one video display method;
Fig. 2 is the step flow chart of a kind of according to embodiments of the present invention two video display method;
Fig. 3 is the step flow chart of a kind of according to embodiments of the present invention three video display method;
Fig. 4 is the step flow chart of a kind of according to embodiments of the present invention four video display method;
Fig. 5 is a kind of structure diagram of according to embodiments of the present invention five video display device;
Fig. 6 is a kind of structure diagram of according to embodiments of the present invention six video display device;
Fig. 7 is a kind of structural schematic diagram of according to embodiments of the present invention seven terminal device.
Specific implementation mode
(identical label indicates identical element in several attached drawings) and embodiment below in conjunction with the accompanying drawings, implement the present invention
The specific implementation mode of example is described in further detail.Following embodiment is not limited to the present invention for illustrating the present invention
Range.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present invention are only used for distinguishing
Different step, equipment or module etc. neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
Referring to Fig.1, the step flow chart of a kind of according to embodiments of the present invention one video display method is shown.
The video display method of the present embodiment includes the following steps:
Step S102:After the location updating triggering message for receiving the video in e-book in current page, update is obtained
The position of video afterwards.
In embodiments of the present invention, location updating triggering message is for characterizing video in e-books in current page
The changed triggering message in position.The case where location updating triggering message that video can be received, can be, for example, user
When watching video in the current page of e-book, after implementing pressing operation to video, into current page, any position drags
The video simultaneously discharges.For another example, when detecting that video removes current page range, the location updating that can also receive video touches
Send out message.
It will be apparent to a skilled person that the case where above-mentioned location updating triggering message for receiving video, is only
Exemplary illustration.In practical applications, when arbitrary appropriate ways make the position of video that update have occurred, it can receive electronics
The location updating of video in book in current page triggers message.
Continuation is illustrated with aforementioned, if it is user's pressing, drag-and-drop operation the location updating for receiving video is touched
Message is sent out, then the position of updated video can be determined according to drag-and-drop operation, that is to say, that user drags video and is moved to
The a certain position of current page, in the position when to video implement release operation, which can serve as updated video
Position.
Step S104:According to the position of updated video, typesetting again is carried out to the word content of the page of e-book.
Specifically, it can send a notification message and be sent to e-book composing system, it should be noted that above-mentioned notification message
Be for informing that region that the position of the updated video of e-book composing system is characterized is the region for showing video, because
This, notification message needs to carry the position of updated video.E-book composing system receives notification message, to according to more
The position of video after new, typesetting is re-started to the word content of the page of e-book.
Wherein, again typesetting processing can according to the position of the page-size information and updated video of e-book,
Determine the one layout region that can be used for that typesetting again is carried out to the word content of the page of e-book, and determine the page of e-book
Typesetting pattern of the word content in the one layout region, wherein typesetting pattern may include line number, the data of line width and often row display
The quantity of element, but not limited to this.According to the typesetting pattern determined, in one layout region in word content is arranged again
Version.
Step S106:It redraws word content and video after typesetting again and shows.
In practical applications, video exists usually in the form of control or similar to control, as a result, control location and again
Word content after new typesetting is required for being redrawn.
The video display method provided through this embodiment, to receive the position of the video in e-book in current page
Update triggering message is trigger condition, obtains the position of updated video, right further according to the position of updated video
The word content of the page of e-book carries out typesetting again, to after typesetting again word content and video redraw,
And at the same time showing the word content and video after typesetting again.With in the prior art when video can not be normally displayed in e-book
The page on when, the only remaining e-book of display content itself is compared, and the position of video that both can be in the updated is drawn and shown
Video, but can be in the page of e-book in addition to the position of updated video position, draw and show typesetting again
Word content afterwards.As it can be seen that the scheme provided through the embodiment of the present invention, realizes and shows video in e-books, to full
Foot demand of the user in terms of showing content, greatly improves the e-book usage experience of user.
The video display method of the present embodiment can be executed and realized by the terminal device arbitrarily with data-handling capacity,
Including but unlimited smart mobile phone, E-book reader, tablet computer etc..
Embodiment two
With reference to Fig. 2, the step flow chart of a kind of according to embodiments of the present invention two video display method is shown.
In the present embodiment, video display method provided in an embodiment of the present invention is illustrated by taking smart mobile phone as an example.It reads
The client end AP P for reading e-book is mounted on smart mobile phone, and user reads e-book therein by client end AP P.
Based on this, the video display method of the present embodiment includes the following steps:
Step S202:After detecting user to the pressing operation of video, intercept for characterizing dragging corresponding to drag-and-drop operation
The video playing interface of dynamic object, also, record the information of the currently playing video frame of video.
In a kind of feasible pattern, when user pins the video in e-book current page, video stops playing, intelligent hand
Machine intercepts video playing interface when video stops, and the video playing interface of interception is corresponding when video drag operation for characterizing
Drag object gives user one intuitive experience with this, and user can be reached more by dragging the video playing interface of interception
The purpose of the position of new video.Meanwhile in order to remain able to continue at the position of video subsequently in the updated to play video, because
This, need to record the information of the currently playing video frame of video.
Step S204:Receive the drag-and-drop operation triggering to video in current page, in e-book in current page
Video location updating triggering message after, the position of updated video is determined according to drag-and-drop operation.
In embodiments of the present invention, after aforementioned video pressing operation, into current page, any position drags the video simultaneously
Release, at this point, smart mobile phone can receive the location updating triggering message of the video in current page in e-book.Wherein, position
It is the changed triggering message in position for characterizing video in e-books in current page to set update triggering message.Update
The position of video afterwards can be determined according to drag-and-drop operation, can be specifically that user's dragging video is moved to a certain of current page
Position, in the position when to video implement release operation, which can serve as the position of updated video.
Step S206:The notification message for the position for carrying updated video is sent to e-book composing system, with
Make e-book composing system according to the position of updated video, the word content of the current page of e-book is arranged again
Version.
It should be noted that above-mentioned notification message is the position institute for informing the updated video of e-book composing system
The region of characterization is the region for showing video, and therefore, notification message needs to carry the position of updated video.Electronics
Book composing system receives notification message, thus according to the position of updated video, in the word of the current page of e-book
Appearance re-starts typesetting.
In addition, the processing of typesetting can be determined according to the position of current page size information and updated video again
It can be used for carrying out the word content of current page the one layout region of typesetting again, and determine the word content of current page at this
Typesetting pattern in one layout region, wherein typesetting pattern may include the quantity of the data element of line number, line width and often row display,
But not limited to this.According to the typesetting pattern determined, in one layout region in word content carry out typesetting again.
Step S208:Word content and video after typesetting again are redrawn, and is continued according to the information of the video frame of record
Play video.
In practical applications, video exists usually in the form of control or similar to control, as a result, control location and again
Word content after new typesetting is required for being redrawn.The letter of the currently playing video frame of video is had recorded in abovementioned steps S202
Breath can continue to play video, ensure video with this according to the position of the information video in the updated of the video frame of record as a result,
The continuity of broadcasting improves video viewing experience in user's e-book.
Through this embodiment, on the one hand, not only realize and show video in e-book, but also ensure that the company of video playing
Continuous property, to improve user experience;On the other hand, it is completed according to updated video using e-book composing system
Position re-starts typesetting to the word content of the current page of e-book, greatly improves the treatment effeciency of video display.
Embodiment three
With reference to Fig. 3, the step flow chart of a kind of according to embodiments of the present invention three video display method is shown.
The video display method of the present embodiment includes the following steps:
Step S302:According to the position relationship of video and the boundary of e-book current page, whether detection video, which removes, is worked as
The preceding page.
In a kind of feasible scheme, the boundary such as up-and-down boundary, right boundary of e-book current page have its coordinate
The position of data, video display also has coordinate data, can determine that video is worked as with e-book by the comparison of the two coordinate data
The position relationship on the boundary of the preceding page judges whether video removes current page by determining position relationship.
For example, the e-book current page upper left corner is coordinate origin, is X by starting point horizontal direction of coordinate origin
Axis, horizontal is to the right X-axis positive direction, and vertical direction is Y-axis, is straight down Y-axis positive direction.Video can be considered as a rectangle
Frame, it is assumed that the coordinate data of the corresponding point A in the upper left corner of rectangle frame is (xi,yj), the point Ai of projections of the point A in X-axis is located at electricity
The coboundary of philosophical works current page, then, the coordinate data of point Ai is (xi, 0), if yjLess than zero, then show that video has surpassed
The coboundary of e-book current page is crossed, detects video out of current page as a result,.
Step S304:It receives and detects that video removes video that current page triggers, in e-book in current page
Location updating triggering message after, obtain for characterizing the video location of default video display area as updated video
Position.
In embodiments of the present invention, location updating triggering message is for characterizing video in e-books in current page
The changed triggering message in position.Video removes current page and makes video can not be when current page is normally shown, can be with
Receive the location updating triggering message of the video in e-book in current page.Here, the position of updated video can be with
It is pre-set video display area, such as the upper right corner of current page.
Step S306:The notification message for the position for carrying updated video is sent to e-book composing system, with
Make e-book composing system according to the position of updated video, the word content of the current page of e-book is arranged again
Version.
Specifically, it can send a notification message and be sent to e-book composing system, it should be noted that above-mentioned notification message
Be for informing that region that the position of the updated video of e-book composing system is characterized is the region for showing video, because
This, notification message needs to carry the position of updated video.E-book composing system receives notification message, to according to more
The position of video after new, typesetting is re-started to the word content of the current page of e-book.
Wherein, the processing of typesetting can be determined according to the position of current page size information and updated video again
It can be used for carrying out the word content of current page the one layout region of typesetting again, and determine the word content of current page at this
Typesetting pattern in one layout region, wherein typesetting pattern may include the quantity of the data element of line number, line width and often row display,
But not limited to this.According to the typesetting pattern determined, in one layout region in word content carry out typesetting again.
Step S308:It redraws word content and video after typesetting again and shows.
In practical applications, video exists usually in the form of control or similar to control, as a result, control location and again
Word content after new typesetting is required for being redrawn.
Through this embodiment, it realizes and accurately and rapidly detects whether video removes current page, to receive in time
The location updating of video in e-book in current page triggers message, and then resets and redraw word content and video and show
Show, improves the usage experience of user.
Example IV
With reference to Fig. 4, the step flow chart of a kind of according to embodiments of the present invention four video display method is shown.
In the present embodiment, video display method provided in an embodiment of the present invention is illustrated by taking smart mobile phone as an example.It reads
The client end AP P for reading e-book is mounted on smart mobile phone, and user reads e-book therein by client end AP P.
Based on this, the video display method of the present embodiment includes the following steps:
Step S402:After detecting the page turn over operation to e-book, the information of the currently playing video frame of video is recorded.
In a kind of feasible pattern, page turn over operation of the user to e-book so that the video in e-book current page stops
It only plays, records the information of the currently playing video frame of video, to still can at the position for follow-up video in the updated
It is enough to continue to play video offer data basis.
Step S404:Receive the position of video triggered to the page turn over operation of e-book, in e-book in current page
After setting update triggering message, position position as updated video of the video in current page is obtained.
Wherein, location updating triggering message is to change for characterizing position of the video in e-books in current page
Triggering message.The position of updated video can still use position of the video in current page, can also use and use
The video location of video display area is preset in characterization.
Step S406:The notification message for the position for carrying updated video is sent to e-book composing system, with
Make e-book composing system according to the position of updated video, to the word content of the next page of the current page of e-book
Carry out typesetting again.
When user's page turn over operation has occurred, in order to inform that e-book composing system reserves displaying video in next page
Region, can be transmitted above-mentioned notification message, and then can by e-book composing system according to updated video position to next
The word content of the page carries out typesetting again.
Step S408:Word content and video after typesetting again are redrawn, and is continued according to the information of the video frame of record
Play video.
In practical applications, video exists usually in the form of control or similar to control, as a result, control location and again
Word content after new typesetting is required for being redrawn.The letter of the currently playing video frame of video is had recorded in abovementioned steps S402
Breath can continue to play video, ensure video with this according to the position of the information video in the updated of the video frame of record as a result,
The continuity of broadcasting improves video viewing experience in user's e-book.
Through this embodiment, on the one hand, can be in the phase of next page and current page when there is user's page turn over operation
Video is shown with position, meets demand of the user to video display;On the other hand, display in e-book is not only realized to regard
Frequently, and the continuity of video playing is ensure that, to improve user experience.
Embodiment five
With reference to Fig. 5, a kind of structure diagram of according to embodiments of the present invention four video display device is shown.
The video display device of the present embodiment includes:Acquisition module 502, for receiving in e-book in current page
After the location updating triggering message of video, the position of updated video is obtained;Type-setting module 504, for according to updated
The position of video carries out typesetting again to the word content of the page of e-book;Module 506 is redrawn, for redrawing typesetting again
Word content and video afterwards are simultaneously shown.
The video display device provided through this embodiment, to receive the position of the video in e-book in current page
Update triggering message is trigger condition, obtains the position of updated video, right further according to the position of updated video
The word content of the page of e-book carries out typesetting again, to after typesetting again word content and video redraw,
And at the same time showing the word content and video after typesetting again.With in the prior art when video can not be normally displayed in e-book
The page on when, the only remaining e-book of display content itself is compared, and the position of video that both can be in the updated is drawn and shown
Video, but can be in the page of e-book in addition to the position of updated video position, draw and show typesetting again
Word content afterwards.As it can be seen that the scheme provided through the embodiment of the present invention, realizes and shows video in e-books, to full
Foot demand of the user in terms of showing content, greatly improves the e-book usage experience of user.
In addition, the video display device of the present embodiment can be set to the terminal device appropriate with data-handling capacity
In, including but not limited to smart mobile phone, E-book reader, tablet computer etc..
Embodiment six
With reference to Fig. 6, a kind of structure diagram of according to embodiments of the present invention six video display device is shown.
The video display device of the present embodiment includes:Acquisition module 602, for receiving in e-book in current page
After the location updating triggering message of video, the position of updated video is obtained;Type-setting module 604, for according to updated
The position of video carries out typesetting again to the word content of the page of e-book;Module 606 is redrawn, for redrawing typesetting again
Word content and video afterwards are simultaneously shown.
Optionally, acquisition module 602, for receiving the drag-and-drop operation triggering to video in current page, electronics
The location updating of video in book in current page triggers message;Alternatively, acquisition module 602, video is detected for receiving
Remove the location updating triggering message of video that the current page triggers, in e-book in current page.
Optionally, acquisition module 602, the position for determining updated video according to drag-and-drop operation;Alternatively, obtaining mould
Block 602, for obtaining position of the video location for characterizing default video display area as updated video.
Optionally, acquisition module 602, for receiving the page turn over operation triggering to e-book, current page in e-book
The location updating of video in face triggers message.
Optionally, acquisition module 602 obtain position position as updated video of the video in current page;
Alternatively, acquisition module 602, for obtaining the video location for characterizing default video display area as updated video
Position.
Optionally, type-setting module 604, for the notification message for carrying the position of updated video to be sent to electronics
Book composing system, so that position of the e-book composing system according to updated video, to the word of the current page of e-book
The word content of the next page of content or current page carries out typesetting again.
Optionally, the video display device of the present embodiment further includes:Interception and logging modle 608, for detecting user
After the pressing operation of video, the video playing interface for characterizing the drag object corresponding to drag-and-drop operation is intercepted, also, remember
Record the information of the currently playing video frame of video.
Optionally, the video display device of the present embodiment further includes:Logging modle 610, for detecting to e-book
After page turn over operation, the information of the currently playing video frame of video is recorded.
Optionally, the information for redrawing module 606 for the video frame according to record continues to play video.
Optionally, the video display device of the present embodiment further includes:Detection module 612, for according to video and e-book
Whether the position relationship on the boundary of current page, detection video remove current page.
The video display device of the present embodiment for realizing corresponding video display method in aforesaid plurality of embodiment of the method,
And the advantageous effect with embodiment of the method, details are not described herein.
Embodiment seven
With reference to Fig. 7, show that a kind of structural schematic diagram of according to embodiments of the present invention seven terminal device, the present invention are specific
Embodiment does not limit the specific implementation of terminal device.
As shown in fig. 7, the terminal device may include:Processor (processor) 702, communication interface
(Communications Interface) 704, memory (memory) 706 and communication bus 708.
Wherein:
Processor 702, communication interface 704 and memory 706 complete mutual communication by communication bus 708.
Communication interface 704, for being communicated with the network element of miscellaneous equipment such as client or other terminal devices etc..
Processor 702 can specifically execute the correlation in above-mentioned video display embodiment of the method for executing program 710
Step.
Specifically, program 710 may include program code, which includes computer-managed instruction.
Processor 702 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal device includes can be same type of processor, 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 706, for storing the first data acquisition system, the second data set and program 710.Memory 706 may
Including high-speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile memory), for example, at least one
A magnetic disk storage.
Program 710 specifically can be used for so that processor 702 executes following operation:It receives in e-book in current page
Video location updating triggering message after, obtain the position of updated video;According to the position of updated video, to electricity
The word content of the page of the philosophical works carries out typesetting again;It redraws word content and video after typesetting again and shows.
In a kind of optional embodiment, program 710 is for so that the current page in receiving e-book of processor 702
When the location updating triggering message of the video in face:Receive to video in the current page drag-and-drop operation triggering,
The location updating of video in e-book in current page triggers message;Detect that video removes current page alternatively, receiving
The location updating of video trigger, in e-book in current page triggers message.
In a kind of optional embodiment, program 710 is additionally operable to so that processor 702 is obtaining updated video
When position:The position of updated video is determined according to drag-and-drop operation;Alternatively, obtaining for characterizing default video display area
Position of the video location as updated video.
In a kind of optional embodiment, program 710 is for so that the current page in receiving e-book of processor 702
When the location updating triggering message of the video in face:Receive the page turn over operation triggering to e-book, current page in e-book
The location updating of video in face triggers message.
In a kind of optional embodiment, program 710 is additionally operable to so that processor 702 is obtaining updated video
When position:Obtain position of position of the video in the current page as the updated video;Alternatively,
It obtains for characterizing position of the video location of default video display area as the updated video.
In a kind of optional embodiment, program 710 is additionally operable to so that processor 702 is according to updated video
Position, when carrying out typesetting again to the word content of the current page of e-book:The position of updated video will be carried
Notification message is sent to e-book composing system, so that position of the e-book composing system according to updated video, to electronics
The word content of the word content of the current page of book or the next page of current page carries out typesetting again.
In a kind of optional embodiment, program 710 is additionally operable to so that processor 702 is being received to video current
Before the location updating triggering message of video that drag-and-drop operation in the page triggers, in e-book in current page, detect
After user is to the pressing operation of video, the video playing interface for characterizing the drag object corresponding to drag-and-drop operation is intercepted, and
And record the information of the currently playing video frame of video;Word content and the video after redrawing typesetting again are simultaneously shown
When:Continued to play video according to the information of the video frame of record.
In a kind of optional embodiment, program 710 is additionally operable to so that processor 702 is received described to electronics
Before the location updating triggering message of video in the page turn over operation triggering of book, described e-book in current page, detect
After the page turn over operation of e-book, the information of the currently playing video frame of the video is recorded;Text after redrawing typesetting again
Word content and the video and when showing:Continued to play video according to the information of the video frame of record.
In a kind of optional embodiment, program 710 be additionally operable to so that processor 702 receive detect video move
Go out before the location updating triggering message of video that the current page triggers, in e-book in current page, according to video
With the position relationship on the boundary of e-book current page, whether detection video removes current page.
In program 710 specific implementation of each step may refer to corresponding steps in above-mentioned video display Processing Example and
Corresponding description in unit, this will not be repeated here.It is apparent to those skilled in the art that for description convenience and
Succinctly, the specific work process of the equipment and module of foregoing description, can refer to corresponding processes in the foregoing method embodiment and retouch
It states, details are not described herein.
The scheme provided through this embodiment, the location updating to receive the video in e-book in current page trigger
Message is trigger condition, obtains the position of updated video, further according to the position of updated video, to e-book
The word content of the page carries out typesetting again, to after typesetting again word content and video redraw, and at the same time
Show the word content and video after typesetting again.With in the prior art when video can not be normally displayed on the page of e-book
When, the only remaining e-book of display content itself is compared, and video is drawn and shown in the position of video that not only can be in the updated, but also can
With the position in the page of e-book in addition to the position of updated video, draws and show in the word after typesetting again
Hold.As it can be seen that the scheme provided through the embodiment of the present invention, realizes and show video in e-books, exist to meet user
It shows the demand in terms of content, greatly improves the e-book usage experience of user.
It may be noted that according to the needs of implementation, all parts/step described in the embodiment of the present invention can be split as
More components/steps, the part operation of two or more components/steps or components/steps can be also combined into new component/
Step, to realize the purpose of the embodiment of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the embodiment of the present invention, or be implemented as being storable in note
Software 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 in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code, can be stored in using all-purpose computer, application specific processor or can compile to method described here
Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing
Device, microprocessor controller or programmable hardware include can store or receive software or computer code storage assembly (for example,
RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize
Processing method described here.In addition, when all-purpose computer accesses the code for realizing the processing being shown here, code
Execute special purpose computer all-purpose computer is converted to for executing the processing being shown here.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The range of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and is not the limitation to the embodiment of the present invention, related skill
The those of ordinary skill in art field can also make various in the case where not departing from the spirit and scope of the embodiment of the present invention
Variation and modification, therefore all equivalent technical solutions also belong to the scope of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection domain should be defined by the claims.
The embodiment of the invention discloses A1, a kind of video display methods, including:
After the location updating triggering message for receiving the video in e-book in current page, updated described regard is obtained
The position of frequency;
According to the position of the updated video, typesetting again is carried out to the word content of the page of the e-book;
It redraws the word content after typesetting again and the video and shows.
A2, the method according to A1, wherein the location updating for receiving the video in e-book in current page
Message is triggered, including:
It receives in the e-book that the drag-and-drop operation to video in the current page triggers, described in current page
The location updating of video triggers message;Alternatively,
It receives and detects that the video removes regarding in current page in the current page triggering, described e-book
The location updating of frequency triggers message.
A3, the method according to A2, wherein the position for obtaining the updated video, including:
The position of the updated video is determined according to the drag-and-drop operation;Alternatively,
It obtains for characterizing position of the video location of default video display area as the updated video.
A4, the method according to A1, wherein the location updating for receiving the video in e-book in current page
Message is triggered, including:
Receive the location updating of the video in e-book triggered to the page turn over operation of e-book, described in current page
Trigger message.
A5, the method according to A4, wherein the position for obtaining the updated video, including:
Obtain position of position of the video in the current page as the updated video;Or
Person,
It obtains for characterizing position of the video location of default video display area as the updated video.
A6, the method according to any one of A1-A5, wherein the position according to the updated video, it is right
The word content of the current page of the e-book carries out typesetting again, including:
The notification message for the position for carrying the updated video is sent to e-book composing system, so that described
E-book composing system according to it is described it is new after the video position, word content to the current page of the e-book or
The word content of the next page of person's current page carries out typesetting again.
A7, the method according to A2 or A3, wherein in the drag and drop received to video in the current page
Before the location updating triggering message of video in operation triggering, described e-book in current page, the method further includes:
After detecting user to the pressing operation of video, intercept for characterizing the drag object corresponding to the drag-and-drop operation
Video playing interface, also, record the information of the currently playing video frame of the video;
The word content redrawn after typesetting again and the video simultaneously show, including:
Continue to play the video according to the information of the video frame of record.
A8, the method according to A4 or A5, wherein receive the page turn over operation triggering to e-book, institute described
Before the location updating triggering message for stating the video in e-book in current page, the method further includes:
After detecting the page turn over operation to e-book, the information of the currently playing video frame of the video is recorded;
The word content redrawn after typesetting again and the video simultaneously show, including:
Continue to play the video according to the information of the video frame of record.
A9, the method according to A2, wherein detect that the video removes the current page and touches in described receive
Before the location updating triggering message of video in hair, described e-book in current page, the method further includes:
According to the position relationship of the video and the boundary of the e-book current page, detect whether the video removes
The current page.
The embodiment of the invention also discloses B10, a kind of video display devices, including:
Acquisition module obtains after the location updating for receiving the video in e-book in current page triggers message
The position of the updated video;
Type-setting module, for the position according to the updated video, to the word content of the page of the e-book
Carry out typesetting again;
Module is redrawn, for redrawing the word content after typesetting again and the video and showing.
B11, the device according to B10, wherein the acquisition module, for receiving to video in the current page
The location updating of video in the e-book that drag-and-drop operation in face triggers, described in current page triggers message;Alternatively, described
Acquisition module detects that the video removes current page in the current page triggering, described e-book for receiving
In video location updating trigger message.
B12, the device according to B11, wherein the acquisition module is updated for being determined according to the drag-and-drop operation
The position of the video afterwards;Alternatively, the acquisition module, for obtaining the video position for characterizing default video display area
Set the position as the updated video.
B13, the device according to B10, wherein the acquisition module, for receiving the page turn over operation to e-book
The location updating of video in triggering, described e-book in current page triggers message.
B14, the device according to B13, wherein the acquisition module, for obtaining the video in the current page
Position of the position as the updated video in face;Alternatively, the acquisition module, pre- for characterizing for obtaining
Position of the video location of setting video display area as the updated video.
B15, the device according to any one of B10-B14, wherein the type-setting module, for update will to be carried
The notification message of the position of the video afterwards is sent to e-book composing system, so that the e-book composing system is according to institute
The position of the video after stating newly, the next page of word content or current page to the current page of the e-book
Word content carry out typesetting again.
B16, the device according to B11 or B12, wherein described device further includes:
First interception and logging modle, after detecting user to the pressing operation of video, interception is described for characterizing
The video playing interface of drag object corresponding to drag-and-drop operation, also, record the letter of the currently playing video frame of the video
Breath;
Described to redraw module, the information for the video frame according to record continues to play the video.
B17, the device according to B13 or B14, wherein described device further includes:
Second interception and logging modle record the video and currently broadcast after detecting the page turn over operation to e-book
The information for the video frame put;
Described to redraw module, the information for the video frame according to record continues to play the video.
B18, the device according to B11, wherein described device further includes:
Detection module detects institute for the position relationship according to the video and the boundary of the e-book current page
State whether video removes the current page.
The embodiment of the invention also discloses C17, a kind of terminal devices, including:Processor, memory, communication interface and logical
Believe bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute such as storing an at least executable instruction, the executable instruction
The corresponding operation of A1-A9 any one of them video display methods.
Claims (11)
1. a kind of video display method, including:
Receive detect e-book rolling operation cause video remove current page triggering, in e-book in current page
After the location updating triggering message of video, the position of the updated video is obtained;
According to the position of the updated video, typesetting again is carried out to the word content of the page of the e-book;
It redraws the word content after typesetting again and the video and shows;
Wherein, when detecting pressing operation of the user to video, stop video playing.
2. according to the method described in claim 1, wherein, detecting that e-book rolling operation causes video to move in described receive
After going out the location updating triggering message of video that current page triggers, in e-book in current page, after the acquisition update
The video position, including:
It obtains for characterizing position of the video location of default video display area as the updated video.
3. method according to claim 1 or 2, wherein the position according to the updated video, to the electricity
The word content of the current page of the philosophical works carries out typesetting again, including:
The notification message for the position for carrying the updated video is sent to e-book composing system, so that the electronics
Book composing system according to the position of the updated video, word content to the current page of the e-book or
The word content of the next page of current page carries out typesetting again.
4. according to the method described in claim 1, wherein, after the stopping video playing, the method further includes:
Record the information of the currently playing video frame of the video;
The word content redrawn after typesetting again and the video simultaneously show, including:
Continue to play the video according to the information of the video frame of record.
5. according to the method described in claim 1, wherein, detecting that e-book rolling operation causes video to move in described receive
Before going out after the location updating triggering message of video that current page triggers, in e-book in current page, the method is also
Including:
According to the position relationship of the video and the boundary of the e-book current page, detect the video whether remove it is described
Current page.
6. a kind of video display device, including:
Acquisition module detects that e-book rolling operation causes video to remove current page triggering, e-book for receiving
After the location updating triggering message of video in middle current page, the position of the updated video is obtained;
Type-setting module carries out the word content of the page of the e-book for the position according to the updated video
Again typesetting;
Module is redrawn, for redrawing the word content after typesetting again and the video and showing;
The video display device is additionally operable to:When detecting pressing operation of the user to video, stop video playing.
7. device according to claim 6, wherein the acquisition module is shown for obtaining for characterizing pre- setting video
Position of the video location in region as the updated video.
8. the device described according to claim 6 or 7, wherein the type-setting module, for updated described regard will to be carried
The notification message of the position of frequency is sent to e-book composing system, so that the e-book composing system is according to described updated
The position of the video, in the word of the next page of word content or current page to the current page of the e-book
Hold and carries out typesetting again.
9. device according to claim 6, wherein described device further includes:
Logging modle, the information for recording the currently playing video frame of the video;
Described to redraw module, the information for the video frame according to record continues to play the video.
10. device according to claim 6, wherein described device further includes:
Detection module is regarded for the position relationship according to the video and the boundary of the e-book current page described in detection
Whether frequency removes the current page.
11. 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 makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction
Ask the corresponding operation of 1-5 any one of them video display methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611176011.0A CN106713962B (en) | 2016-12-19 | 2016-12-19 | Video display method, apparatus and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611176011.0A CN106713962B (en) | 2016-12-19 | 2016-12-19 | Video display method, apparatus and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106713962A CN106713962A (en) | 2017-05-24 |
CN106713962B true CN106713962B (en) | 2018-10-09 |
Family
ID=58938316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611176011.0A Active CN106713962B (en) | 2016-12-19 | 2016-12-19 | Video display method, apparatus and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713962B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562680A (en) * | 2017-08-29 | 2018-01-09 | 广州阿里巴巴文学信息技术有限公司 | Data processing method, device and terminal device |
CN108712676B (en) * | 2018-05-30 | 2021-08-10 | 浙江口碑网络技术有限公司 | Method and device for automatically playing video based on React framework |
CN114330277B (en) * | 2021-12-31 | 2023-08-22 | 抖音视界有限公司 | Reading typesetting method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385571A (en) * | 2010-09-06 | 2012-03-21 | 联想(北京)有限公司 | Display method and display device |
CN103761277A (en) * | 2014-01-09 | 2014-04-30 | 北京掌阔技术有限公司 | ePub electronic book loading method and system |
CN104423839A (en) * | 2013-08-30 | 2015-03-18 | 中兴通讯股份有限公司 | Browser resource display method and device |
CN104881478A (en) * | 2015-06-02 | 2015-09-02 | 吴小宇 | Web page positioning identification system and method |
CN105930059A (en) * | 2016-04-20 | 2016-09-07 | 网易(杭州)网络有限公司 | Display method and apparatus for mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150026573A1 (en) * | 2013-07-16 | 2015-01-22 | Zhiping Meng | Media Editing and Playing System and Method Thereof |
-
2016
- 2016-12-19 CN CN201611176011.0A patent/CN106713962B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385571A (en) * | 2010-09-06 | 2012-03-21 | 联想(北京)有限公司 | Display method and display device |
CN104423839A (en) * | 2013-08-30 | 2015-03-18 | 中兴通讯股份有限公司 | Browser resource display method and device |
CN103761277A (en) * | 2014-01-09 | 2014-04-30 | 北京掌阔技术有限公司 | ePub electronic book loading method and system |
CN104881478A (en) * | 2015-06-02 | 2015-09-02 | 吴小宇 | Web page positioning identification system and method |
CN105930059A (en) * | 2016-04-20 | 2016-09-07 | 网易(杭州)网络有限公司 | Display method and apparatus for mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106713962A (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11199942B2 (en) | Method and system for sorting desktop objects | |
CN106575196B (en) | Electronic device and method for displaying user interface thereof | |
CN108196759B (en) | Icon control method and terminal | |
CN103902158A (en) | Method and terminal for managing application icon | |
EP2549369A2 (en) | Method and Apparatus for Managing Icon in Portable Terminal | |
CN105474158B (en) | Slide tool item is with switch labels | |
CN108064369B (en) | Interaction method and device of flexible display screen | |
CN106713962B (en) | Video display method, apparatus and terminal device | |
CN105117156A (en) | Information processing method and electronic device | |
JP2017504877A (en) | Method and apparatus for click object enlargement based on floating touch | |
WO2015184736A1 (en) | Method and terminal for transforming background picture of touchscreen device | |
US20160110069A1 (en) | Information processing apparatus and method of controlling information processing apparatus | |
CN108108078B (en) | Electronic equipment, display control method and related product | |
KR20150039552A (en) | Display manipulating method of electronic apparatus and electronic apparatus thereof | |
WO2018226989A1 (en) | Displaying images associated with apps based on app processing task progress statuses | |
CN104978114A (en) | Method and device for displaying chart | |
CN107734138A (en) | The display methods and device of notification message, computer installation and storage medium | |
WO2015181830A1 (en) | User account switching interface | |
CN111273842B (en) | Notification message processing method and device, electronic equipment and storage medium | |
JP6287498B2 (en) | Electronic whiteboard device, electronic whiteboard input support method, and program | |
CN107239212A (en) | Segmentation selection view rendering method, device and user terminal | |
CN109766530B (en) | Method and device for generating chart frame, storage medium and electronic equipment | |
CN112947805A (en) | Icon sorting method and device | |
CN108762637A (en) | Control method, apparatus and system | |
CN108134871A (en) | Electronic device, display control method and related product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |