CN107770609A - A kind of video broadcasting method and device - Google Patents

A kind of video broadcasting method and device Download PDF

Info

Publication number
CN107770609A
CN107770609A CN201711096008.2A CN201711096008A CN107770609A CN 107770609 A CN107770609 A CN 107770609A CN 201711096008 A CN201711096008 A CN 201711096008A CN 107770609 A CN107770609 A CN 107770609A
Authority
CN
China
Prior art keywords
data
buffer module
module
buffering
buffer
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
Application number
CN201711096008.2A
Other languages
Chinese (zh)
Inventor
杨志鹏
江春华
陈晓龙
孙敏杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN201711096008.2A priority Critical patent/CN107770609A/en
Publication of CN107770609A publication Critical patent/CN107770609A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing 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/44004Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring 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/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application provides a kind of video broadcasting method and device, method includes:Media player module is controlled to read data and the broadcasting of the first buffer module buffering;When receiving F.F. instruction, control media player module continues to read data and the broadcasting of the first buffer module buffering, and control the second buffer module buffering specifies the data at F.F. time point;When the data at the specified F.F. time point of the second buffer module buffering reach broadcast request, control media player module reads buffered data and played from the second buffer module.In this application, by that with upper type whole playing process can be made more smooth, viewing experience is lifted.

Description

A kind of video broadcasting method and device
Technical field
The application is related to video display arts field, more particularly to a kind of video broadcasting method and device.
Background technology
The either online broadcasting of online education or movie and television contents, now by client by the way of Streaming Media (browser, player or TV box etc.) obtains the media data of service end offer by way of information flow, in client End carries out decoding broadcasting.Wherein, client (first obtains during video is played, it is necessary to carry out data buffering from service end Take a part of data), then carry out decoding broadcasting again, and the time buffered depends on the big of network environment and video file code check It is small.
User using client terminal playing online Media when, often carry out forwarding operation (i.e. fast hop to it is specified when Between point play out).But due to being influenceed by network environment and video code rate, it is difficult to accomplish Real time buffer, therefore in user When carrying out forwarding operation, client generally requires to buffer new data and cause playback terminal, or even the temporary transient blank screen of video pictures, Viewing experience is poor.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of video broadcasting method and device, avoided with reaching The temporary transient blank screen of interruption and video pictures is played during F.F. caused by buffering new data, whole playing process is more flowed Freely, the purpose of viewing experience is lifted, technical scheme is as follows:
A kind of video broadcasting method, including:
Media player module is controlled to read data and the broadcasting of the first buffer module buffering;
When receiving F.F. instruction, the media player module is controlled to continue to read the first buffer module buffering Data simultaneously play, and control the data at the second buffer module buffering specified F.F. time point;
When the data at the specified F.F. time point of second buffer module buffering reach broadcast request, institute is controlled Media player module is stated to read buffered data from second buffer module and play.
Preferably, methods described also includes:
Second buffer module is controlled to buffer the data after the specified F.F. time point.
Preferably, methods described also includes:
First buffer module is controlled to stop buffered data;
Remove the data that first buffer module has buffered.
A kind of video play device, including:
First control unit, for controlling media player module to read data and the broadcasting of the first buffer module buffering;
Second control unit, for when receiving F.F. instruction, controlling the media player module to continue described in reading The data of first buffer module buffering and broadcasting, and control the data at the second buffer module buffering specified F.F. time point;
3rd control unit, the data at the specified F.F. time point for being buffered in second buffer module reach During broadcast request, control the media player module to read buffered data from second buffer module and play.
Preferably, described device also includes:
4th control unit, for the number after controlling second buffer module to buffer the specified F.F. time point According to.
Preferably, described device also includes:
5th control unit, for controlling first buffer module to stop buffered data;
Clearing cell, the data buffered for removing first buffer module.
Compared with prior art, the application has the beneficial effect that:
In this application, when receiving F.F. instruction, the media player module is controlled to continue from the described first buffering Buffered data is read in module and is played, and controls the data at the second buffer module buffering specified F.F. time point, in institute When stating the data at the specified F.F. time point of the second buffer module buffering and reaching broadcast request, the media play mould is controlled Block reads buffered data and played from second buffer module, can avoid broadcasting caused by buffering new data during F.F. The temporary transient blank screen of interruption and video pictures is put, makes whole playing process more smooth, lifts viewing experience.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of flow chart for the video broadcasting method that the application provides;
Fig. 2 is another flow chart for the video broadcasting method that the application provides;
Fig. 3 is another flow chart for the video broadcasting method that the application provides;
Fig. 4 is a kind of logical construction schematic diagram for the video play device that the application provides;
Fig. 5 is another logical construction schematic diagram for the video play device that the application provides;
Fig. 6 is another logical construction schematic diagram for the video play device that the application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of the application protection.
The embodiment of the present application discloses a kind of video broadcasting method, by controlling media player module from the first buffer module Middle reading buffered data simultaneously plays, and when receiving F.F. instruction, controls the media player module to continue from described first Buffered data is read in buffer module and is played, and controls the data at the second buffer module buffering specified F.F. time point, And when the data at the specified F.F. time point of second buffer module buffering reach broadcast request, control the media Playing module reads buffered data and played from second buffer module, can avoid leading because buffering new data during F.F. The broadcasting of cause is interrupted and the temporary transient blank screen of video pictures, makes whole playing process more smooth, lifts viewing experience.
Next video broadcasting method disclosed in the present application is introduced, refers to Fig. 1, can included:
Step S11, media player module is controlled to read data and the broadcasting of the first buffer module buffering.
In the present embodiment, media player module can be controlled to read the number of the first buffer module buffering by play control module According to and play.
It should be noted that play control module, when the media content program request for receiving user instructs, control first is slow Die block is started working, and the first buffer module specifically obtains media data from service end, and media data is buffered into internal memory.Phase Answer, the data that media player module reads the first buffer module buffering can be understood as:Media player module is out of accordingly Deposit the data of middle reading the first buffer module buffering.
After media player module reads the data of the first buffer module buffering, the data of reading are played out.
Step S12, when receiving F.F. instruction, the media player module is controlled to continue to read the first buffering mould The data of block buffering and broadcasting, and control the data at the second buffer module buffering specified F.F. time point.
In the present embodiment, equally the media play can be controlled by play control module when receiving F.F. instruction Module continues to read data and the broadcasting of the first buffer module buffering, and controls the second buffer module buffering is described to specify soon Enter the data at time point.
It is understood that when receiving F.F. instruction, control the media player module continue to read described in can be with The data of buffer module buffering and broadcasting, and control the second buffer module to buffer the data at specified F.F. time point, can be with Ensure that media player module is played and will not interrupted, but is enabled in addition to the first buffer module when receiving F.F. instruction Another buffer module (i.e. the second buffer module) buffers the data at the specified F.F. time point.
The specified F.F. time point can be understood as:Video needs the time point jumped to.
Step S13, the data at the specified F.F. time point of second buffer module buffering reach broadcast request When, control the media player module to read buffered data from second buffer module and play.
Likewise, the specified F.F. time point that can be buffered by play control module in second buffer module When data reach broadcast request, control the media player module to read buffered data from second buffer module and broadcast Put.
Due to the data of the first buffer module buffering are being played before media player module always, thus it is slow described second When the data at the specified F.F. time point of punch die block buffering reach broadcast request, the media player module is controlled from described Buffered data is read in second buffer module and is played, realizes being switched fast for video, and avoid the interruption of video pictures.
In this application, when receiving F.F. instruction, the media player module is controlled to continue from the described first buffering Buffered data is read in module and is played, and controls the data at the second buffer module buffering specified F.F. time point, in institute When stating the data at the specified F.F. time point of the second buffer module buffering and reaching broadcast request, the media play mould is controlled Block reads buffered data and played from second buffer module, can avoid broadcasting caused by buffering new data during F.F. The temporary transient blank screen of interruption and video pictures is put, makes whole playing process more smooth, lifts viewing experience.
In another embodiment of the application, there is provided another video broadcasting method, refer to Fig. 2, can wrap Include following steps:
Step S21, media player module is controlled to read data and the broadcasting of the first buffer module buffering.
Step S22, when receiving F.F. instruction, the media player module is controlled to continue to read the first buffering mould The data of block buffering and broadcasting, and control the data at the second buffer module buffering specified F.F. time point.
Step S23, the data at the specified F.F. time point of second buffer module buffering reach broadcast request When, control the media player module to read buffered data from second buffer module and play.
Step S21-S23 is identical with the step S11-S13 in previous embodiment, and step S21-S23 detailed process can be with Referring to step S11-S13 detailed process, will not be repeated here.
Step S24, second buffer module is controlled to buffer the data after the specified F.F. time point.
After F.F. is completed, because play control module can control media player module to directly read second afterwards slow The data of punch die block buffering and broadcasting, therefore the second buffer module needs to buffer the data after the specified F.F. time point, The data after the second buffer module buffering specified F.F. time point are specifically controlled by play control module.
In another embodiment of the application, another video broadcasting method is described, refers to Fig. 3, can wrapped Include following steps:
Step S31, media player module is controlled to read data and the broadcasting of the first buffer module buffering.
Step S32, when receiving F.F. instruction, the media player module is controlled to continue to read the first buffering mould The data of block buffering and broadcasting, and control the data at the second buffer module buffering specified F.F. time point.
Step S33, the data at the specified F.F. time point of second buffer module buffering reach broadcast request When, control the media player module to read buffered data from second buffer module and play.
Step S34, second buffer module is controlled to buffer the data after the specified F.F. time point.
Step S31-S34 is identical with the step S21-S24 in previous embodiment, and step S31-S34 detailed process can be with Referring to step S21-S24 detailed process, will not be repeated here.
Step S35, first buffer module is controlled to stop buffered data.
In order to save memory headroom, play control module can control first buffer module to stop buffered data.
Step S36, the data that first buffer module has buffered are removed.
Certainly, in order to further save memory headroom, play control module can remove first buffer module and delay The data of punching, specifically, play control module remove the data that the first buffer module has buffered described in correspondence memory.
It should be noted that in next F.F., the data for specifying F.F. time point can be buffered by the first buffer module, Play control module controls the first buffer module, the second buffer module, media player module to perform corresponding operation, ensures to play Picture is more smooth.
It is understood that above-mentioned video broadcasting method, during continuous perform, the first buffer module and second is delayed Die block buffer in turn the data at specified F.F. time point i.e. the data at the first buffer module buffering order time point when, second is slow Die block can buffer the data at specified F.F. time point, or, during the data at the second buffer module buffering order time point, first Buffer module can buffer the data at specified F.F. time point.
The data of sequential time stream can be understood as:Non- F.F. or the non-data for retreating specified time point, such as current time The data of point.
Below to the embodiment of the present application provide video play device be described, video play device described below with Above-described video broadcasting method can be mutually to should refer to.
Fig. 4 is referred to, a kind of logical construction schematic diagram of the video play device provided it illustrates the application, video is broadcast Putting device includes:First control unit 11, the second control unit 12 and the 3rd control unit 13.
First control unit 11, for controlling media player module to read data and the broadcasting of the first buffer module buffering.
Second control unit 12, for when receiving F.F. instruction, controlling the media player module to continue to read institute The data of the first buffer module buffering and broadcasting are stated, and controls the number at the second buffer module buffering specified F.F. time point According to.
3rd control unit 13, the data at the specified F.F. time point for being buffered in second buffer module reach During to broadcast request, control the media player module to read buffered data from second buffer module and play.
It should be noted that video play device is desirably integrated into play control module.
In another embodiment of the application, there is provided another video play device, refer to Fig. 5, show in Fig. 4 It can also include on the basis of the video play device gone out:4th control unit 14.
4th control unit 14, for the number after controlling second buffer module to buffer the specified F.F. time point According to.
In another embodiment of the application, there is provided another video play device, refer to Fig. 6, show in Fig. 5 It can also include on the basis of the video play device gone out:5th control unit 15 and clearing cell 16.
5th control unit 15, for controlling first buffer module to stop buffered data.
Clearing cell 16, the data buffered for removing first buffer module.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is joined See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
A kind of video broadcasting method and device provided herein are described in detail above, it is used herein Specific case is set forth to the principle and embodiment of the application, and the explanation of above example is only intended to help and understands this The method and its core concept of application;Meanwhile for those of ordinary skill in the art, according to the thought of the application, specific There will be changes in embodiment and application, in summary, this specification content should not be construed as to the application's Limitation.

Claims (6)

  1. A kind of 1. video broadcasting method, it is characterised in that including:
    Media player module is controlled to read data and the broadcasting of the first buffer module buffering;
    When receiving F.F. instruction, the media player module is controlled to continue to read the data of the first buffer module buffering And play, and control the data at the second buffer module buffering specified F.F. time point;
    When the data at the specified F.F. time point of second buffer module buffering reach broadcast request, the matchmaker is controlled Body playing module reads buffered data and played from second buffer module.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    Second buffer module is controlled to buffer the data after the specified F.F. time point.
  3. 3. according to the method for claim 2, it is characterised in that methods described also includes:
    First buffer module is controlled to stop buffered data;
    Remove the data that first buffer module has buffered.
  4. A kind of 4. video play device, it is characterised in that including:
    First control unit, for controlling media player module to read data and the broadcasting of the first buffer module buffering;
    Second control unit, for when receiving F.F. instruction, controlling the media player module to continue to read described first The data of buffer module buffering and broadcasting, and control the data at the second buffer module buffering specified F.F. time point;
    3rd control unit, the data at the specified F.F. time point for being buffered in second buffer module reach broadcasting It is required that when, control the media player module to read buffered data from second buffer module and play.
  5. 5. device according to claim 4, it is characterised in that described device also includes:
    4th control unit, for the data after controlling second buffer module to buffer the specified F.F. time point.
  6. 6. device according to claim 5, it is characterised in that described device also includes:
    5th control unit, for controlling first buffer module to stop buffered data;
    Clearing cell, the data buffered for removing first buffer module.
CN201711096008.2A 2017-11-09 2017-11-09 A kind of video broadcasting method and device Pending CN107770609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711096008.2A CN107770609A (en) 2017-11-09 2017-11-09 A kind of video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711096008.2A CN107770609A (en) 2017-11-09 2017-11-09 A kind of video broadcasting method and device

Publications (1)

Publication Number Publication Date
CN107770609A true CN107770609A (en) 2018-03-06

Family

ID=61272218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711096008.2A Pending CN107770609A (en) 2017-11-09 2017-11-09 A kind of video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN107770609A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348280A (en) * 2018-10-23 2019-02-15 深圳Tcl新技术有限公司 Network TV program switching method, smart television and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN106231414A (en) * 2016-08-16 2016-12-14 青岛海信宽带多媒体技术有限公司 The control method of play mode based on IPTV switching and device
CN106454447A (en) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 Video playing and processing method and device, and television
US20170127138A1 (en) * 1998-05-06 2017-05-04 Tivo Inc. Playback of audio/video content with control codes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170127138A1 (en) * 1998-05-06 2017-05-04 Tivo Inc. Playback of audio/video content with control codes
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN106231414A (en) * 2016-08-16 2016-12-14 青岛海信宽带多媒体技术有限公司 The control method of play mode based on IPTV switching and device
CN106454447A (en) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 Video playing and processing method and device, and television

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348280A (en) * 2018-10-23 2019-02-15 深圳Tcl新技术有限公司 Network TV program switching method, smart television and computer readable storage medium
CN109348280B (en) * 2018-10-23 2021-11-09 深圳Tcl新技术有限公司 Network television program switching method, intelligent television and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN101447994B (en) Method for downloading and playing multimedia file and equipment thereof
CN101977218B (en) Internet playing file transcoding method and system
CN104602098A (en) Video barrage display method and equipment thereof
US20080005353A1 (en) Enabling a plurality of devices to control each other
CN112839238B (en) Screen projection playing method and device and storage medium
CN103634616B (en) A kind of stream media ordering method and device based on cloud storage
CN104361085A (en) Information recommendation method, device, browser, server and system
US20090164601A1 (en) System and method for providing a primary video stream with a secondary video stream for display on an electronic device
CN108566561A (en) Video broadcasting method, device and storage medium
CN103957471A (en) Network video playing method and device
CN105744299A (en) Dynamic code rate switching method, server and system
CN104869440A (en) Method and system for real-time video viewing data statistics of online video cloud platform
US20090172752A1 (en) Streaming multiple videos in a playlist
CN107613340A (en) A kind of virtual reality device method and system for playing video synchronous with intelligent television
CN110062274A (en) A kind of video file caching method, device, equipment and readable storage medium storing program for executing
CN107318052A (en) Player method, television set and the storage medium of television video
CN102752538B (en) A kind of method of the generation of agent code stream material
CN103856800B (en) The method and apparatus that Set Top Box reads external storage equipment
CN104093084A (en) Method and apparatus for playing video
CN107770609A (en) A kind of video broadcasting method and device
CN102340488A (en) Game map downloading method, system and mobile terminal
JP2002354447A (en) Method for distributing video
CN105679213A (en) Split-screen displaying and playing method of display screen and player
CN103702219A (en) Video playing control method and equipment
WO2022033129A1 (en) Interactive hand-drawn video production 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: 20180306

RJ01 Rejection of invention patent application after publication