CN107948716A - A kind of video broadcasting method, device and set-top box - Google Patents
A kind of video broadcasting method, device and set-top box Download PDFInfo
- Publication number
- CN107948716A CN107948716A CN201711218033.3A CN201711218033A CN107948716A CN 107948716 A CN107948716 A CN 107948716A CN 201711218033 A CN201711218033 A CN 201711218033A CN 107948716 A CN107948716 A CN 107948716A
- Authority
- CN
- China
- Prior art keywords
- instruction
- video
- thread
- cached
- frame picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 20
- 230000009471 action Effects 0.000 claims description 2
- 230000000717 retained effect Effects 0.000 abstract description 7
- 230000000052 comparative effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4333—Processing operations in response to a pause request
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A kind of video broadcasting method, device and set-top box provided in an embodiment of the present invention, it will be cached as the instruction received by first thread in the form of queue, the first instruction in cached instruction is performed based on the second thread, stop playing the first video with instruction, and determine the present frame picture that the first video is played, determine in the instruction cached in the form of queue, and perform whether there is the second instruction within the preset time period after the first instruction based on the second thread, present frame is retained if having the second instruction in preset time and is shown, otherwise hides present frame picture.Thus, when may be implemented in the video playing of user's switching different business, stop playing video instructions according to instruction and instruction is again started up playing the comparative result of video instructions time interval and preset time, determine to do frozen frame processing to the last frame picture for stopping playing video or blank screen is handled, to solve the caused residual video frame when the program for switching different service types plays out.
Description
Technical field
The present invention relates to video display arts field, more particularly to a kind of video broadcasting method, device and set-top box.
Background technology
To better adapt to the trend of the rapid development of internet, Internet resources, Web TV are substantially effectively utilized
Become important household electrical appliances amusement equipment.In digital TV field, IPTV set top box is connected with television set and obtains by runing
Business safeguards the webpage that the front-end server of renewal is provided, and acquired webpage passes through JS(Java Script)Language is adjusted
With the player of IPTV set top box, to realize the broadcasting to video web page content.
When user, which switches, is in the program of broadcast state under live or demand (telecommunication) service, at present usually in two switched
Frozen frame processing is done between a program, that is, retains the last frame picture of previous program, when switching to next program broadcasting, then is disappeared
Except the previous program retained last frame picture and show the broadcasting pictures of actual program.
But when the program for switching different service types is watched, if still doing frozen frame processing in handoff procedure, it will
There is the phenomenon of video residual frame.Such as:Demand (telecommunication) service is switched to from live broadcast service to be watched, and is during which first played from live broadcast service
The page returns to EPG(Electronic Program Guide, electronic program guides)Homepage, enters back into demand (telecommunication) service broadcast page
Face.If doing frozen frame processing during the page is played by live broadcast service and switches into the demand (telecommunication) service broadcasting page, can retain
The last frame picture of live page, until when the broadcasting pictures of demand (telecommunication) service commence play out program, the live page that is retained
Last frame picture is just eliminated, and is thereby resulted in the long-time residual of video frame, is reduced user experience.
Therefore, for above-mentioned deficiency, how to eliminate when the program for switching different service types plays out, because doing frozen frame
Residual video frame caused by processing is those skilled in the art's technical problem urgently to be resolved hurrily.
The content of the invention
The present invention provides a kind of video broadcasting method, device and set-top box, switching different service types program into
When row plays, handled by different threads caching to the control command in queue, broadcast in definite service switchover type
Blank screen processing is done when putting, prevents video frame from remaining, improves user experience.
According to the first aspect of the invention, there is provided a kind of video broadcasting method, it includes:It will be connect based on first thread
Received instruction is cached in the form of queue;Cached described instruction is performed based on the second thread, described instruction includes at least the
One instruction, performs first instruction to indicate to stop to play the first video, determines present frame picture;Determine to perform described first
Whether there is the second instruction in preset time after instruction in the described instruction cached, second instruction is used to indicating playing the
Two videos;If so, then show the present frame picture;If nothing, the present frame picture is hidden.
According to the second aspect of the invention, a kind of video play device is additionally provided, including:Cache module, for by base
Cached in the instruction received by first thread in the form of queue;Execution module, for performing what is cached based on the second thread
Described instruction, described instruction include at least the first instruction, perform first instruction to indicate to stop to play the first video, determine
Present frame picture;Processing module, determines have in the preset time after execution first instruction in the described instruction cached
No second instruction, second instruction are used to indicate to play the second video;If so, then show the present frame picture;If nothing,
Hide the present frame picture.
According to the third aspect of the invention we, a kind of set-top box is additionally provided, including second aspect provides video playing dress
Put.
By above technical scheme as it can be seen that a kind of video broadcasting method, device and set-top box provided in an embodiment of the present invention, are incited somebody to action
Cached as the instruction received by first thread in the form of queue, first performed based on the second thread in cached instruction is referred to
Order, stops playing the first video with instruction, and determines the present frame picture that the first video is played, and determines in the institute in the form of queue
In the instruction of caching, and perform whether there is the second instruction within the preset time period after the first instruction based on the second thread, if
Preset time has the second instruction that present frame then is retained display, otherwise hides present frame picture.Thus, it can be achieved that switching in user
During the video playing of different business, stop playing video instructions according to instruction and instruction was again started up between the broadcasting video instructions time
Every with the comparative result with preset time, determine to stops play video last frame picture do frozen frame handle or it is black
Screen processing, to solve the caused residual video frame when the program for switching different service types plays out, improves user and sees
See experience.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
Can the limitation present invention.
Brief description of the drawings
In order to illustrate more clearly of technical scheme, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor,
Other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram for video broadcasting method that the embodiment of the present invention one provides;
Fig. 2 is the first schematic diagram of a scenario in the embodiment of the present invention;
Fig. 3 is second of schematic diagram of a scenario in the embodiment of the present invention;
Fig. 4 is a kind of structure diagram of video play device provided by Embodiment 2 of the present invention;
Fig. 5 is a kind of structure diagram for set-top box that the embodiment of the present invention three provides.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.In addition, for the ease of clear
Chu describes the technical solution of the embodiment of the present invention, in an embodiment of the present invention, employs the printed words such as " first ", " second " to work(
And essentially identical identical entry can be acted on or similar item distinguishes, it will be appreciated by those skilled in the art that " first ", " second "
It is not to be defined to quantity and execution order Deng printed words.
Embodiment one
User in correlation technique is directed to, when zapping plays different video, to carry out the last frame picture image of previous video
Retain, when being played out up to switching to next video, the last frame picture for retaining display is switched to next video and is broadcast
Put picture to be shown, that is, do frozen frame processing.But when the video content that user is switched belongs to different service types, play window
Mouth preserves the last frame picture of current business video, and is back to the selection that EPG homepages carry out other business video types, directly
When the video content of extremely selected business commences play out, the last frame picture retained can just stop showing, next to play
Video content, and in actual watching process, user is when EPG homepages make choice spent to type of service and video content
Between it is longer, if still continuously display retained last frame picture at this time, will certainly reduce user experience.
This is directed to, an embodiment of the present invention provides a kind of video broadcasting method, device and set-top box, its central principle
It is:It will be cached, performed based on the second thread in cached instruction in the form of queue as the instruction received by first thread
First instruction, stops playing the first video with instruction, and determines the present frame picture that the first video is played, and determines with queue
In the instruction that form is cached, and perform whether there is the second finger within the preset time period after the first instruction based on the second thread
Order, present frame is retained and shown, otherwise hide present frame picture if having the second instruction in preset time.Thus, it can be achieved that
When user switches the video playing of different business, broadcasting video is again started up with instruction according to instruction stopping broadcasting video instructions and referred to
Time interval and the comparative result with preset time are made, determines that to the last frame picture for stopping playing video done at frozen frame
Reason or blank screen processing, to solve the caused residual video when the video frequency program for switching different service types plays out
Frame, improves user's viewing experience.
It should be noted that the video playing in the embodiment of the present invention is realized by set-top box built-in browser,
The broadcasting of video is to be controlled by operator by the webpage that front-end server is provided, and passes through JS by webpage(JavaScript)
Function calls the interface of set-top box built-in browser or player to realize video playing.Wherein, once complete video is broadcast
Open need to be called by putting, play, stop, and four JS functions of close are realized.Wherein, the calling of open functions is that instruction browses
Device obtains the address for the video to be played by url addresses from server end;The calling of play functions is that instruction browser is broadcast
Put acquired video content;The calling of stop functions be instruction browser pause play video content, correlation technique at this moment,
I.e. the calling of stop functions when, frozen frame processing is done to the video content played, retains the last frame of currently played video
Picture;The calling of close functions is to indicate that browser closes currently playing video content.
The video content example played in the embodiment of the present invention is live video program and order video program, its
In, request program and programme televised live belong to the program of different service types, and user can carry out different business class in EPG menus homepage
The selection of type.
Based on above-mentioned principle, will describe in detail below to video broadcasting method provided in an embodiment of the present invention.Fig. 1 is
Video broadcasting method schematic diagram provided in an embodiment of the present invention, shown in Figure 1, this method comprises the following steps:
S10, will be cached based on the instruction received by first thread in the form of queue.
Specifically, received instruction refers to that browser receives the calling of its interface of webpage JS function pairs, such as above
It is described, it is usually clear come what is called by open, play, stop, four JS functions of close to realize the broadcasting of video on webpage
Device the corresponding interface is look at, to realize the control of each process of video playing respectively.
Specifically, the instruction received is cached according to sequential in the form of fifo queue based on first thread.Wherein, according to
Sequential specifically refers to be cached by the received time order and function order of instruction, and exemplary, video completes the whole of broadcasting
Process is:Open, play, suspend and stop, therefore, correspondingly, the receiving time order of instruction also corresponds to the broadcasting of video
Control process, and then the instruction received is cached according to time order and function order.
Further, based on first thread by the instruction received with FIFO(First Input First Output)Team
The form of row form, i.e. fifo queue, is cached.Specifically, fifo queue form refers to the instruction being introduced into
First complete and retire from office, and then just perform Article 2 instruction.In this step, can will be instructed by data fifo buffer with FIFO
Queue form caches.
S20, perform cached described instruction based on the second thread, and described instruction includes at least the first instruction, performs institute
The first instruction is stated to indicate to stop to play the first video, determines present frame picture.
Specifically, the instruction cached in step slo performed based on the second thread, wherein, in the form of fifo queue
In the instruction cached, including at least the first instruction, which refers to that the instruction browser pause of stop functions plays video
The instruction of content.The first instruction of institute is performed to stop playing current first video by the second thread, and determines performing first
During instruction, the first video for stopping playing works as former frame picture, i.e., the last frame picture shown by the first video.
Further, first thread is different threads from the second thread, wherein, first thread is for being received
Instruction is cached in the form of queue, and the second thread is for the instruction cached in the form of queue to be carried out execution processing.
It is multithreading working mechanism between first thread and the second thread, code and data can be shared between first thread and the second thread
Space, but first thread has mutually independent running stack and counter with the second thread, is achieved in the finger for video playing
Order is as performed by different order stream.
Further, provide first thread in embodiments of the present invention with the reason for the second thread to be, if first refers to
Order(Both, the pause of stop functions instruction browser played the instruction of video content)It is to be cached based on first thread in the form of queue,
Because JS functions are explanatory operations and are single thread, if browser is still based on the first cached instruction of first thread execution,
Subsequent instructions can not just be called so that subsequent instructions are jammed in the first process, and then can not determine have after the first instruction
No other instructions(Such as:Second instruction)In the presence of therefore, still inquire about after the instruction of processing first is performed and determining it
Subsequent instructions, set first thread and the second thread to realize multithreading working mechanism respectively, by first thread control queue
Fall in lines, both caching process, by falling out for the second thread control queue, both perform processing.Thus processing can be performed in the first instruction
Afterwards, it can continue to determine subsequent instructions, prevent subsequent instructions from forming blocking in same thread.
The second finger is whether there is in the described instruction cached in preset time after S30, definite execution first instruction
Order, second instruction are used to indicate to play the second video;If so, then show the present frame picture;If nothing, hide described
Present frame picture.
Specifically, after performing the first instruction based on the second thread, stop playing the first video, determine that stop playing works as
The present frame picture of preceding video, at this time, user are that the zapping carried out under same business operates and plays another video, or, switching
Different business simultaneously plays another video, for the first scene, please refer to Fig.2 shown in, user is changed under same business
Platform operates, and switches to another video(That is the second video)The interval time played out is shorter, during this period, identified will work as
Previous frame picture carries out reservation process, until after another video of user's switching selection plays out, retains the present frame of display
Just disappear, with play another video content after switching;For second of scene, please refer to Fig.3 shown in, user is switching
The video of different business plays out, and EPG homepages need to be back to from current page, type of service are made choice, such as:By live
Business video switches to demand (telecommunication) service video, and after the type of service for determining to want to play, select corresponding to it another regards
Frequency plays out, and therefore, for its interval time is compared to second of scene, interval time is longer, during this period, hides institute really
Fixed present frame picture is to do blank screen processing, until after another video of user's switching selection plays out, current picture is presented
Play another video content after switching.
To determine above two scene, by take it is corresponding in a manner of identified present frame picture is handled, this
Inventive embodiments are come by determining the second instruction is whether there is in the instruction cached in the preset time after performing the first instruction
The operation for determining active user is which kind of above-mentioned scene belonged to.Specifically, the second instruction refers to that play functions instruction browser is broadcast
The instruction of video content is put, in the preset time after the first instruction is performed based on the second thread, determines the institute in the form of queue
Whether second instruction is had in the instruction of caching.If there is the second instruction, it may be determined that active user is grasped in the first scene
Make, then in step S20 identified present frame picture do reservation display, both frozen frame handle;If no second instruction, it may be determined that
Active user is operated in second of scene, then in step S20 identified present frame picture do hiding display,
Both blank screen was handled.
Specifically, based on the second thread after the first instruction is performed, inquiry is determined in the finger cached in the form of queue
Whether include the second instruction within preset time in order, if there is the second instruction, reservation is carried out to current frame picture and is shown, if
It is no second instruction, then display is hidden to present frame picture, wherein, inquired about in this step definite instruction refer to according to sequential with
Instruction in the instruction that queue form is cached after the first performed instruction, that is to say, that based on the second thread
Performed first instruction after, determine in queue positioned at first instruction after instruction whether interval preset time in have second
Instruction.
Specifically, being cached corresponding to instructing according to sequential in the form of fifo queue, the second thread is sequentially performed with team
The instruction that row form is cached, realizes and the instruction first cached is first carried out, the processing sequence performed after the instruction buffered afterwards.
It is exemplary, preset time 20ms.
It is exemplary, present frame picture can be carried out to realize respectively by calling the videoshow or videohide of chip
Retain show or hide(I.e. blank screen is handled).
Further, whether there is in the preset time after determining execution first instruction in the described instruction cached
Second instruction, and after carrying out respective handling to present frame picture, the second instruction is performed based on the second thread, the is played with instruction
Two video contents, and the present frame picture in show or hide state is switched to and is played out by identified second video
Display.
It should be noted that the first video and the second video can be demand (telecommunication) service video, or live broadcast service video,
That is the video that user switches broadcasting can be the different video under identical services, or the difference under different business regards
Frequently, the present embodiment is not specifically limited herein.
Embodiment two
With reference to above-mentioned video broadcasting method, the embodiment of the present invention additionally provides a kind of video play device, shown in Figure 4,
The video play device 200 includes:
Cache module 210:For will be cached based on the instruction received by first thread in the form of queue;
Execution module 220:For performing cached described instruction based on the second thread, described instruction includes at least first and refers to
Order, performs first instruction to indicate to stop to play the first video, determines present frame picture;
Processing module 230:Determine to perform in the preset time after first instruction and the is whether there is in the described instruction cached
Two instructions, second instruction are used to indicate to play the second video;If so, then show the present frame picture;If nothing, hides
The present frame picture.
Embodiment three
With reference to above-mentioned video broadcasting method and device, the embodiment of the present invention additionally provides a kind of set-top box, shown in Figure 5,
The set-top box 300 includes the video play device 200 that embodiment two is provided.
In several embodiments provided herein, each embodiment is described by the way of progressive, each implementation
Example between identical similar part mutually referring to, what each embodiment stressed be it is different from other embodiment it
Place, it should be understood that disclosed apparatus and method, can realize by another way.For example, device described above
Embodiment is only schematical, for example, the division of the unit, is only a kind of division of logic function, can when actually realizing
To there is other dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or some
Feature can be ignored, or not perform.Another, shown or discussed mutual coupling, direct-coupling or communication connection
It can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, can be electrical, machinery or other shapes
Formula.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)It is each to perform the application
The part steps of embodiment the method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(Read-
Only Memory, ROM), random access memory(Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice the invention invented here
Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or
Person's adaptive change follows the general principle of the present invention and the common knowledge in the art do not invented including the present invention
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.
Claims (11)
- A kind of 1. video broadcasting method, it is characterised in thatIt will be cached based on the instruction received by first thread in the form of queue;Cached described instruction is performed based on the second thread, described instruction includes at least the first instruction, performs described first and refers to Order determines present frame picture to indicate to stop to play the first video;Determine to perform in the preset time after first instruction and whether there is the second instruction in the described instruction cached, described the Two instructions are used to indicate to play the second video;If so, then show the present frame picture;If nothing, the present frame picture is hidden.
- 2. video broadcasting method according to claim 1, it is characterised in that described to be received based on the first thread To instruction be to be cached according to sequential in the form of fifo queue.
- 3. video broadcasting method according to claim 2, it is characterised in that based on second thread sequentially perform with The described instruction that fifo queue form is cached.
- 4. video broadcasting method according to claim 1, it is characterised in that after definite execution first instruction Whether there is second instruction in preset time in the described instruction cached includes afterwards:Institute is performed based on second thread The second instruction is stated, the present frame picture of the show or hide is switched to second video plays out.
- 5. video broadcasting method according to claim 1, it is characterised in that the present frame picture is execution described first When instruction is to indicate to stop playing first video, the currently playing picture of first video.
- A kind of 6. video play device, it is characterised in that including:Cache module:For will be cached based on the instruction received by first thread in the form of queue;Execution module:For performing cached described instruction based on the second thread, described instruction includes at least the first instruction, holds Row first instruction determines present frame picture to indicate to stop to play the first video;Processing module:Determine the second finger is whether there is in the described instruction cached in the preset time after execution first instruction Order, second instruction are used to indicate to play the second video;If so, then show the present frame picture;If nothing, hide described Present frame picture.
- 7. video play device according to claim 6, it is characterised in that the cache module specifically includes:It is described to incite somebody to action It is to be cached according to sequential in the form of fifo queue based on the instruction received by the first thread.
- 8. video play device according to claim 7, it is characterised in that the execution module specifically includes:Based on institute State the second thread and sequentially perform the described instruction cached in the form of fifo queue.
- 9. video play device according to claim 6, it is characterised in that playing module is further included, at the place After managing module execution, second instruction is performed based on second thread, by the present frame of the show or hide Picture is switched to second video and plays out.
- 10. video play device according to claim 6, it is characterised in that the present frame picture is performs described the When one instruction is to indicate to stop playing first video, the currently playing picture of first video.
- 11. a kind of set-top box, it is characterised in that including the video playing dress as described in claim 6-10 any claims Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711218033.3A CN107948716A (en) | 2017-11-28 | 2017-11-28 | A kind of video broadcasting method, device and set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711218033.3A CN107948716A (en) | 2017-11-28 | 2017-11-28 | A kind of video broadcasting method, device and set-top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107948716A true CN107948716A (en) | 2018-04-20 |
Family
ID=61950293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711218033.3A Pending CN107948716A (en) | 2017-11-28 | 2017-11-28 | A kind of video broadcasting method, device and set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107948716A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495699A (en) * | 2018-11-23 | 2019-03-19 | 青岛海信宽带多媒体技术有限公司 | A kind of video playing switching method and device |
CN110971960A (en) * | 2018-09-29 | 2020-04-07 | 北京字节跳动网络技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN112967598A (en) * | 2021-01-29 | 2021-06-15 | 京东方智慧物联科技有限公司 | Display system control method and device and display system |
CN113163255A (en) * | 2021-03-31 | 2021-07-23 | 成都欧珀通信科技有限公司 | Video playing method, device, terminal and storage medium |
CN113766345A (en) * | 2021-09-26 | 2021-12-07 | 青岛海信宽带多媒体技术有限公司 | Method for playing random push video and set top box |
WO2022033153A1 (en) * | 2020-08-13 | 2022-02-17 | 海信视像科技股份有限公司 | Display method and display device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1617374A1 (en) * | 2003-04-11 | 2006-01-18 | National Institute of Information and Communications Technology Incorporated Administrative Agency | Image recognizing device and image recognizing program |
CN101163212A (en) * | 2007-11-15 | 2008-04-16 | 北京宽视软件技术有限公司 | Standby picture display process and digital television receiving apparatus |
CN101616314A (en) * | 2008-06-25 | 2009-12-30 | 深圳市国基电子有限公司 | A kind of image information display packing, device and display device |
CN104461269A (en) * | 2013-09-16 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105847958A (en) * | 2016-05-19 | 2016-08-10 | 青岛海信宽带多媒体技术有限公司 | Program switching playing method and device |
CN105847981A (en) * | 2016-05-25 | 2016-08-10 | 青岛海信电器股份有限公司 | Smart television and screen protection method |
CN105872759A (en) * | 2015-11-25 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and system for automatically closing video playing |
CN107223335A (en) * | 2017-04-01 | 2017-09-29 | 深圳市智晟达科技有限公司 | Stop playing the method and DTV of advertisement according to time threshold |
-
2017
- 2017-11-28 CN CN201711218033.3A patent/CN107948716A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1617374A1 (en) * | 2003-04-11 | 2006-01-18 | National Institute of Information and Communications Technology Incorporated Administrative Agency | Image recognizing device and image recognizing program |
CN101163212A (en) * | 2007-11-15 | 2008-04-16 | 北京宽视软件技术有限公司 | Standby picture display process and digital television receiving apparatus |
CN101616314A (en) * | 2008-06-25 | 2009-12-30 | 深圳市国基电子有限公司 | A kind of image information display packing, device and display device |
CN104461269A (en) * | 2013-09-16 | 2015-03-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105872759A (en) * | 2015-11-25 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Method and system for automatically closing video playing |
CN105847958A (en) * | 2016-05-19 | 2016-08-10 | 青岛海信宽带多媒体技术有限公司 | Program switching playing method and device |
CN105847981A (en) * | 2016-05-25 | 2016-08-10 | 青岛海信电器股份有限公司 | Smart television and screen protection method |
CN107223335A (en) * | 2017-04-01 | 2017-09-29 | 深圳市智晟达科技有限公司 | Stop playing the method and DTV of advertisement according to time threshold |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971960A (en) * | 2018-09-29 | 2020-04-07 | 北京字节跳动网络技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN110971960B (en) * | 2018-09-29 | 2021-08-27 | 北京字节跳动网络技术有限公司 | Video processing method and device, electronic equipment and storage medium |
CN109495699A (en) * | 2018-11-23 | 2019-03-19 | 青岛海信宽带多媒体技术有限公司 | A kind of video playing switching method and device |
CN109495699B (en) * | 2018-11-23 | 2021-07-16 | 青岛海信宽带多媒体技术有限公司 | Video playing switching method and device |
WO2022033153A1 (en) * | 2020-08-13 | 2022-02-17 | 海信视像科技股份有限公司 | Display method and display device |
CN112967598A (en) * | 2021-01-29 | 2021-06-15 | 京东方智慧物联科技有限公司 | Display system control method and device and display system |
CN112967598B (en) * | 2021-01-29 | 2024-05-17 | 京东方智慧物联科技有限公司 | Control method and device of display system and display system |
CN113163255A (en) * | 2021-03-31 | 2021-07-23 | 成都欧珀通信科技有限公司 | Video playing method, device, terminal and storage medium |
CN113163255B (en) * | 2021-03-31 | 2022-07-15 | 成都欧珀通信科技有限公司 | Video playing method, device, terminal and storage medium |
CN113766345A (en) * | 2021-09-26 | 2021-12-07 | 青岛海信宽带多媒体技术有限公司 | Method for playing random push video and set top box |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107948716A (en) | A kind of video broadcasting method, device and set-top box | |
US8281337B2 (en) | System and method to display media content and an interactive display | |
US8819035B2 (en) | Providing search results based on keyword detection in media content | |
US9597600B2 (en) | Systems and methods for generating video hints for segments within an interactive video gaming environment | |
JP5537694B2 (en) | Delayed ad insertion in video | |
JP6122998B2 (en) | Method for in-video bookmarking and non-transitory computer readable recording medium | |
US20120210349A1 (en) | Multiple-screen interactive screen architecture | |
JP5027380B2 (en) | Optimized electronic program guide display with visual cues | |
US20100162164A1 (en) | Method and apparatus for providing search service during program broadcasting | |
US20120060094A1 (en) | System and method for displaying information related to video programs in a graphical user interface | |
US20100251295A1 (en) | System and Method to Create a Media Content Summary Based on Viewer Annotations | |
US9118956B2 (en) | System and method of displaying content | |
CN111614988B (en) | System and method for presenting home screen shortcuts | |
CN103648048B (en) | Intelligent television video resource searching method and system | |
US8578430B2 (en) | Throttling video on demand (VOD) based on usage | |
CN108966016B (en) | Video clip rebroadcasting method and device and terminal equipment | |
US20210136454A1 (en) | Systems and methods for reducing download requirements | |
CN109766457A (en) | A kind of media content search method, apparatus and storage medium | |
CN106131697A (en) | Interactive information display packing and device | |
CN107920281A (en) | A kind of network direct broadcasting video loading method and terminal | |
CN110113625A (en) | Video broadcasting method, equipment and computer readable storage medium | |
CN102132266A (en) | Digital living network alliance (DLNA) client device with thumbnail creation | |
CN104902288A (en) | Method, server, terminal and system for switching program | |
CN111866550A (en) | Method and device for shielding video clip | |
CN108337553A (en) | A kind of multi-medium data pre-download method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180420 |
|
RJ01 | Rejection of invention patent application after publication |