CN106713955B - Control method and device for live streaming playing - Google Patents

Control method and device for live streaming playing Download PDF

Info

Publication number
CN106713955B
CN106713955B CN201611199818.6A CN201611199818A CN106713955B CN 106713955 B CN106713955 B CN 106713955B CN 201611199818 A CN201611199818 A CN 201611199818A CN 106713955 B CN106713955 B CN 106713955B
Authority
CN
China
Prior art keywords
live
time
stream
coding pass
live streaming
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
Application number
CN201611199818.6A
Other languages
Chinese (zh)
Other versions
CN106713955A (en
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.)
CENTRAL TELEVISION STATION
Original Assignee
CENTRAL TELEVISION STATION
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 CENTRAL TELEVISION STATION filed Critical CENTRAL TELEVISION STATION
Priority to CN201611199818.6A priority Critical patent/CN106713955B/en
Publication of CN106713955A publication Critical patent/CN106713955A/en
Application granted granted Critical
Publication of CN106713955B publication Critical patent/CN106713955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26241Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a method and a device for controlling live stream playing. According to the method for controlling the playing of the live broadcast stream, the idle coding channels are searched from the preset multiple coding channels according to the live broadcast starting time of the live broadcast program, when the live broadcast starting time is up, the idle coding channels are controlled to obtain the first live broadcast stream corresponding to the live broadcast program, when the time reaches the live broadcast ending time of the live broadcast program, the operation of obtaining the first live broadcast stream corresponding to the live broadcast program is stopped, the playing of the live broadcast stream is automatically controlled, manual operation is not needed, errors caused by manual control are avoided, the control accuracy is improved, the efficiency can be improved, the personnel investment is reduced, and the control cost is reduced when the multiple coding channels are controlled.

Description

The control method and device of stream broadcasting are broadcast live
Technical field
The present embodiments relate to video and audio live broadcast field more particularly to a kind of control methods and dress that stream broadcasting is broadcast live It sets.
Background technique
The multimedia live broadcasts such as video, audio have very strong timeliness, can make the received information of spectators and event synchronization, The strong presence of spectators is brought, meets the needs that spectators obtain rapidly information, is increasingly liked by public audience.
In general, TV station or broadcasting station etc., when being broadcast live, live content may be divided into multichannel live stream signal, and Each live stream signal is not concurrent programme televised live, such as front meeting-place may send the live streaming of 50 tunnels to TV station during the course of the Olympic Games Signal is flowed, what 50 road live stream signal of Er Zhe was played is not concurrent race content.Due to TV station or the volume in broadcasting station There is the carrying upper limit in code device, i.e. the coding pass quantity of encoder is limited, thus can not live stream signal to each road into Row live streaming.Generally require the live content progress that some period of certain road live stream signals is selected in these live stream signals Live streaming.
Therefore, it is necessary to a kind of method, can the broadcasting to live stream effectively accurately controlled.
Summary of the invention
The present invention provides a kind of control method and device that stream broadcasting is broadcast live, to realize opening automatically for multichannel live stream signal Stop and control, improve the efficiency and accuracy of start and stop and control, reduces control cost.
It is an aspect of the invention to provide a kind of control methods that stream broadcasting is broadcast live, comprising:
It obtains the information of the first live stream, includes at least one programme televised live in first live stream, in the information Live streaming time started and live streaming end time including at least the programme televised live;
According to the live streaming time started of the programme televised live, it is logical that idle coding is searched from preset multiple coding passes Road, the coding pass is for obtaining live stream to play programme televised live included by live stream on playback terminal;
When reaching the live streaming time started, the coding pass acquisition for controlling the free time is corresponding with the programme televised live The first live stream stop obtaining and the programme televised live and when the time reaching the live streaming end time of the programme televised live The operation of corresponding first live stream.
Further, it the live streaming time started according to the programme televised live, is looked into from preset multiple coding passes Look for idle coding pass, comprising:
In the preset time period before the time reaches the live streaming time started, executed using polling mechanism from preset more The operation of idle coding pass is searched in a coding pass, until getting the coding pass of the free time.
Further, it after the coding pass for getting the free time, and is obtained in the coding pass for controlling the free time Before taking live stream corresponding with the programme televised live, further includes:
Judge within the period of the live streaming time started and the live streaming end time, the coding pass of the free time Whether occupy as the coding pass for obtaining the second live stream;
If the determination result is YES, then the behaviour for executing and executing using polling mechanism and obtaining the coding pass of current idle is returned Make, until getting the coding pass of unappropriated free time.
Further, the judgement is described within the period of the live streaming time started and the live streaming end time Whether idle coding pass has occupied includes: for the coding pass for obtaining the second live stream
Judge that the identifier for whether having the coding pass of the free time in the memory, the memory are compiled for recording Code channel obtains the time of live stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live stream of the identifier is when described Between in section;
If it is determined that result be it is no, then store obtaining for the identifier and corresponding first live stream in the memory Take the time;
If it is determined that result be it is yes, then return execute using polling mechanism execute obtain current idle coding pass behaviour Make.
Further, after the information for obtaining the first live stream, further includes:
Live streaming list is generated according to the information of first live stream, the live streaming list includes that the program of the programme televised live is believed Breath, the programme information include at least: the title of the programme televised live, live streaming time started, live streaming end time;
The live streaming list is sent to the playback terminal, to show that the live streaming is single on the playback terminal.
Another aspect of the present invention is to provide a kind of control device that stream broadcasting is broadcast live, comprising:
Module is obtained, includes at least one live streaming section for obtaining the information of the first live stream, in first live stream Mesh includes at least the live streaming time started and live streaming end time of the programme televised live in the information;
Enquiry module is looked into from preset multiple coding passes for the live streaming time started according to the programme televised live Idle coding pass is looked for, the coding pass is straight included by live stream to play on playback terminal for obtaining live stream Broadcast program;
Processing module, the coding pass for when reaching the live streaming time started, controlling the free time obtains and institute Corresponding first live stream of programme televised live is stated, and when the time reaching the live streaming end time of the programme televised live, stops obtaining The operation of the first live stream corresponding with the programme televised live.
Further, the enquiry module is specifically used for:
In the preset time period before the time reaches the live streaming time started, executed using polling mechanism from preset more The operation of idle coding pass is searched in a coding pass, until getting the coding pass of the free time.
Further, the control device of the live streaming stream broadcasting further includes judgment module, and the judgment module is used for:
Judge within the period of the live streaming time started and the live streaming end time, the coding pass of the free time Whether occupy as the coding pass for obtaining the second live stream;
If the determination result is YES, then the enquiry module is triggered, until getting the coding pass of unappropriated free time.
Further, the judgment module is specifically used for:
Judge the identifier for whether having the coding pass of the free time in the memory;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live stream of the identifier is when described Between in section;
If it is determined that result be it is no, then store obtaining for the identifier and corresponding first live stream in the memory Take the time;
If it is determined that result be it is yes, then trigger the enquiry module.
Further, the control device of the live streaming stream broadcasting further includes generation module, and the generation module is used for:
Live streaming list is generated according to the information of first live stream, the live streaming list includes that the program of the programme televised live is believed Breath, the programme information include at least: the title of the programme televised live, live streaming time started, live streaming end time;
The live streaming list is sent to the playback terminal, to show that the live streaming is single on the playback terminal.
The control method and device of live streaming stream broadcasting provided by the invention, according to the live streaming time started of programme televised live, from Idle coding pass is searched in preset multiple coding passes, and when time started arrival is broadcast live, it is logical to control idle coding Road obtains the first live stream corresponding with programme televised live, and when the time reaching the live streaming end time of programme televised live, stops obtaining The operation of the first live stream corresponding with programme televised live is taken, realization carries out automatically controlling the broadcasting of live stream, does not need artificial Operation avoids the error of manual control generation, improves control precision, and controlling Shi Keti to a plurality of coding pass High efficiency reduces personnel's investment, reduces control cost.
Detailed description of the invention
Fig. 1 is the control method flow chart for the live streaming stream broadcasting that the embodiment of the present invention one provides;
Fig. 2 is the control method flow chart of live streaming stream broadcasting provided by Embodiment 2 of the present invention;
Fig. 3 is the structure chart of the control device for the live streaming stream broadcasting that the embodiment of the present invention three provides;
Fig. 4 is the structure chart of the control device for the live streaming stream broadcasting that the embodiment of the present invention four provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is the control method flow chart for the live streaming stream broadcasting that the embodiment of the present invention one provides.As shown in Figure 1, this implementation Example provides a kind of control method that stream broadcasting is broadcast live, and specific step is as follows for this method:
S101, the information for obtaining the first live stream, include at least one programme televised live in the first live stream, in the information Live streaming time started and live streaming end time including at least the programme televised live.
In the present embodiment, live stream is a kind of Streaming Media, i.e., the multimedia text transmitted using stream (Streaming) mode Part may include audio, video and animation etc..First live stream can be obtained by wire channel or wireless channel from live source, Such as obtained from live broadcast or radio and television live source.It wherein include at least one programme televised live in the first live stream, Such as the Olympic Games is broadcast live, multiple matches are continuously arranged on the same competition field, it may be by same live stream continuously to the competition field Race be broadcast live, it is also possible to the race in the competition field is broadcast live by multiple live streams, such as the same competition field It is shot using the video camera of different angle, multiple live stream is integrated into first live stream by instructor in broadcasting.
Including at least the live streaming time started of the programme televised live and live streaming end time, example in the information of first live stream As at the beginning of each programme televised live and at the beginning of end time or each programme televised live and the end time, may be used also To include title, the information profile etc. of programme televised live, set with specific reference to actual needs.
The information of first live stream is preset information.For example, race does not start currently, but have been prepared for The race is broadcast live, corresponding first live stream of the race currently not yet generates, but can know first live stream in advance Information.
S102, the live streaming time started according to programme televised live search idle coding from preset multiple coding passes Channel, coding pass is for obtaining live stream to play programme televised live included by live stream on playback terminal.
In the present embodiment, the programme televised live time started is known, such as the Olympic Games is broadcast live, and schedules are to preset And can know.Therefore the present embodiment is after the live streaming time started for obtaining each programme televised live, according to the straight of programme televised live The time started is broadcast, idle coding pass is searched from preset multiple coding passes, that is, searches and reaches certain live streaming section in the time The idle coding pass when time started is broadcast live in purpose, and wherein coding pass refers to the coding pass of encoder, every to encode all the way Channel can be grabbed, encoded and be exported to live stream all the way, to play live streaming section included by live stream on playback terminal Mesh;And idle coding pass refers to the coding pass for not obtaining live stream, i.e., is not led to by the coding that live stream occupies Road.Playback terminal in the present embodiment can be television set, computer, intelligent mobile terminal etc..
S103, when the time started being broadcast live reaching, control idle coding pass and obtain corresponding with programme televised live first Live stream, and when the time reaching the live streaming end time of programme televised live, stop obtaining the first live streaming corresponding with programme televised live The operation of stream.
In the present embodiment, according to the live streaming time started of programme televised live and live streaming end time, idle volume is automatically controlled The acquisition of code channel and the first live stream corresponding with acquisition programme televised live is stopped, to realize that the broadcasting to live stream carries out accurately Ground control.Wherein, interface configuration codes channel is configured especially by encoder, and live stream is synchronized to corresponding coding pass On.
The control method of the live streaming stream broadcasting of the present embodiment, according to the live streaming time started of programme televised live, from preset more Idle coding pass is searched in a coding pass, when the time started being broadcast live reaching, control idle coding pass obtain with Corresponding first live stream of programme televised live, and when the time reaching the live streaming end time of programme televised live, stop obtaining and be broadcast live The operation of corresponding first live stream of program, realization carry out automatically controlling the broadcasting of live stream, do not need manual operation, avoid The error that manual control generates improves control precision, and efficiency, drop can be improved when controlling a plurality of coding pass Low personnel's investment, reduces control cost.
Embodiment two
Fig. 2 is the control method flow chart of live streaming stream broadcasting provided by Embodiment 2 of the present invention.In above-described embodiment one On the basis of, this method is described in detail in the present embodiment, as shown in Fig. 2, this method specifically includes the following steps:
S201, the information for obtaining the first live stream, include at least one programme televised live in the first live stream, in the information Live streaming time started and live streaming end time including at least the programme televised live.
The step is consistent with S101, and details are not described herein.
S202, in the preset time period before the time reaches the live streaming time started, executed using polling mechanism from preset The operation of idle coding pass is searched in multiple coding passes, until getting idle coding pass.
In the present embodiment, idle coding pass refers to the coding pass for not obtaining live stream, i.e., is not broadcast live Flow the coding pass occupied.
It searches idle coding pass in the present embodiment from preset multiple coding passes using polling mechanism, specifically may be used Think, issues inquiry to encoder or encoder configuration interface timing in the preset time period being broadcast live before the time started, in turn It receives the response that encoder or encoder configuration interface return and sequentially judges whether each coding pass is idle coding pass, Until idle coding pass is got, so as to monitor the idle state of coding pass in real time, to start in live streaming Timely allocated code channel before time reaches.Wherein preset time can be several seconds or longer time, naturally it is also possible to be Zero, i.e., subsequent live stream acquisition operation corresponding with programme televised live is carried out immediately after obtaining idle coding pass in real time.This Outside, when reaching the preset time before the time started is broadcast live, related operation maintenance personnel is notified to carry out early warning.
After getting idle coding pass, so that it may execute when time started arrival is broadcast live, control the sky Not busy coding pass obtains the first live stream corresponding with the programme televised live, and the live streaming of the programme televised live is reached in the time When the end time, stop the operation for obtaining the first live stream corresponding with the programme televised live.
In actual operation, if idle coding pass be programme televised live the live streaming time started it is predetermined, It is many it is possible that getting identical sky for two different live streams in the situation similar in the live streaming time started The case where coding pass in spare time, in this way, further, it can be after getting idle coding pass, creation coding pass is matched List is set, that is, establishes the corresponding relationship between the coding pass live stream corresponding with programme televised live of the free time, can know in this way The coding pass of the free time will be occupied in the period of live streaming time started and live streaming end time by live stream.The coding pass Configuration singly can store in memory, such as be broadcast live in the memory or peripheral memory of control device of stream broadcasting.
In addition, the control device that stream broadcasting is broadcast live can also be logical from the coding after the coding pass configures single establish Idle coding pass is obtained in road configuration list.
Can also include following operation after S202 after the single foundation of coding pass configuration:
S203, judge in the live streaming time started and be broadcast live in the period of end time, whether idle coding pass It is occupied and if the determination result is YES then returns for the coding pass for obtaining the second live stream and execute S202, until getting The coding pass of unappropriated free time.
In the present embodiment, since there may be first on the second programme televised live and the first live stream on the second live stream The live streaming time started of programme televised live approaches or same case, it is contemplated that idle coding pass is to reach the first live streaming in the time It obtains in preset time period before the live streaming time started of program, may give the coding pass layout of the free time at this time Second programme televised live, i.e., when reaching the live streaming time started of the first programme televised live, the coding pass of the free time will be straight by second It broadcasts occupied by program, it is therefore desirable to judge in the live streaming time started and be broadcast live in the period of end time, idle coding is logical Whether road, which has occupied, if the determination result is YES then returns to execution using wheel for the coding pass for obtaining the second live stream Inquiry mechanism executes the operation for obtaining the coding pass of current idle, until the coding pass of unappropriated free time is got, from And ensure reasonable distribution coding pass, realize that each programme televised live can normally be broadcast live, the coding of each live stream does not rush It is prominent.
Specifically, judging in the live streaming time started and being broadcast live in the period of end time, whether idle coding pass It has occupied and may include: for the coding pass for obtaining the second live stream
Judge in memory whether the identifier of available free coding pass, the memory obtains for recording coding pass Take the time of live stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live stream of identifier is within the period;
If it is determined that result be it is no, then store the acquisition time of identifier and corresponding first live stream in memory;
If it is determined that result be it is yes, then return execute using polling mechanism execute obtain current idle coding pass behaviour Make.
In the present embodiment, acquisition time is the period that coding pass obtains live stream, i.e., coding pass is by a certain live streaming Flow the period occupied.
In the present embodiment, after getting idle coding pass, when creation coding pass configuration is single, if by the free time Coding pass distribute to a certain live stream, then the coding pass of the free time is marked with scheduled identifier, and store In memory, in order to judge whether when subsequent programme televised live carries out and quickly searches idle coding pass when layout incited somebody to action The coding pass of the free time distributes to other live streams.In the present embodiment by judge in memory whether available free coding The identifier in channel if the determination result is YES then illustrates that the coding pass of the free time is already allocated to the second live stream, then checks The acquisition time of second live stream, if the acquisition time live streaming time corresponding with the programme televised live of the first live stream mutually conflicts, That is there is the time of overlapping in the period of the acquisition time of the second live stream live streaming corresponding with the first live stream, then redefines sky Not busy coding pass.
Specifically, the live streaming time of the first programme televised live on i.e. the first live stream is shorter there may be following situations, it can To intercut before the second live stream starts, thus at this time can acquisition by determining corresponding second live stream of identifier when Between whether within the period, namely by judging whether be at the beginning of corresponding second programme televised live in the second live stream It is determined in the live streaming time started of first programme televised live and the period of live streaming end time.If it is determined that result be it is no, then say The live streaming time started of bright second programme televised live after the first programme televised live starts, illustrates that the first programme televised live can intercut, The acquisition time of identifier and corresponding first live stream is then stored in memory;If it is determined that result be it is yes, then illustrate The live streaming time of one programme televised live exists with the live streaming time of the second programme televised live to conflict, and illustrates that the first programme televised live cannot be inserted It broadcasts, then returns to the operation for executing and executing using polling mechanism and obtaining the coding pass of current idle.Through the above steps, can make The layout of programme televised live is more compact, so that coding pass reasonably distributes, improves the utilization rate of resource.
S204, when the time started being broadcast live reaching, control idle coding pass and obtain corresponding with programme televised live first Live stream, and when the time reaching the live streaming end time of programme televised live, stop obtaining the first live streaming corresponding with programme televised live The operation of stream.
Step S204 is consistent with step S103, and details are not described herein for the present embodiment.
In the present embodiment, the first live stream specific steps are obtained are as follows:
Live stream transmission line, turn-key system point are requested to turn-key system in the preset time period being broadcast live before the time started With a route as live stream transmission line, and route list is generated, at the end of which includes route time started, route Between, the information such as line identification, live stream title, whether the route that wherein line identification is created for identification is live stream transmission Route;
The live stream transmission line is established with information source when the time reaching the route time started, passes through the live stream transmission line Road obtains live stream signal, wherein acquired live stream signal may be multicast signal, including several live streams, need from The first live stream is obtained in live stream signal, can the mark according to corresponding to the first live stream identified, specifically, by should The corresponding PID Packet Identifier (Packet Identifier, PID) of each live stream in the mark of multicast signal and the multicast signal Combination the first live stream of identification.First live stream is stored in database profession, is broadcast live behaviour when time started arrival is broadcast live Make.
As the further improvement of above-described embodiment, after obtaining the first live stream, further includes:
Live streaming list is generated according to the information of the first live stream, live streaming list includes the programme information of programme televised live, programme information It includes at least: the title of programme televised live, live streaming time started, live streaming end time;
Live streaming list is sent to playback terminal, to show that live streaming is single on playback terminal.
The present embodiment is singly sent to playback terminal by that will be broadcast live, in order to which playback terminal pushes the information of programme televised live To user, understands for user and watch favorite programme televised live.For example, the basis after the information for getting the first live stream It is single that information generates live streaming, and is sent to playback terminal, and user is made to understand the title of programme televised live in advance, the time started is broadcast live, is straight The end time is broadcast, but there is no the arrival live streaming time starteds at this time, therefore corresponding first live stream of push programme televised live Address;When time started arrival is broadcast live, coding pass obtains the first live stream corresponding with programme televised live, and is compiled Code, output, send the address of the first live stream to playback terminal at this time, so that user passes through address viewing live streaming section Mesh.
Further, when time started arrival is broadcast live, it is corresponding with programme televised live to control idle coding pass acquisition While first live stream, by the title of the first live stream and the corresponding programme televised live of programme televised live, live streaming time started and straight Broadcasting the end time is sent to and includes server, generates and is played back for the program request file of playback in order to user's program request.
In addition, the live streaming time started and live streaming end time of programme televised live may change, such as Olympic contest The reasons such as delay lead to that end time delay is broadcast live, and are then needed at this time in the corresponding change live streaming end time, according to actual The operation that end time stopping obtains the first live stream corresponding with programme televised live is broadcast live, is needed accordingly to coding pass at this time Configuration is singly rearranged.
In addition, live stream is output to content distributing network (Content by least one coding pass of encoder Delivery Network, CDN), in real time according to the connection of channel flow and each service node, load state and to use The integrated informations such as the distance at family and response time re-direct the request of user on the service node nearest from user, make user Required content can be obtained nearby, solved the crowded situation of channel, improved the response speed of user's access.
The control method of the live streaming stream broadcasting of the present embodiment, according to the live streaming time started of programme televised live, from preset more Idle coding pass is searched in a coding pass, can specifically be used training in rotation mechanism, be monitored the state of coding pass in real time, and It is accurately judged to encoding channel idle in the live streaming time of programme televised live, so as to the distribution in time before the live streaming time started reaches Coding pass, and when time started arrival is broadcast live, it controls idle coding pass and obtains corresponding with programme televised live first directly Stream is broadcast, and when the time reaching the live streaming end time of programme televised live, stops obtaining the first live stream corresponding with programme televised live Operation, realization the broadcasting of live stream is carried out automatically controlling, do not need manual operation, avoid manual control generation mistake Difference improves control precision, and efficiency, reduction personnel investment can be improved when controlling a plurality of coding pass, reduces control This is made.The layout of programme televised live can also be kept more compact, so that coding pass closes by judging that can programme televised live intercut The distribution of reason improves the utilization rate of resource.
Embodiment three
Fig. 3 is the structure chart of the control device for the live streaming stream broadcasting that the embodiment of the present invention three provides.It is provided in this embodiment Device specifically can be used for executing the process flow of the offer of above method embodiment one.
As shown in figure 3, the control device of the live streaming stream broadcasting of the offer of the present embodiment three, comprising: obtain module 301, look into Ask module 302 and processing module 303.
Wherein, the information that module 301 is used to obtain the first live stream is obtained, includes at least one in first live stream A programme televised live includes at least the live streaming time started and live streaming end time of the programme televised live in the information;Inquire mould Block 302 is used for the live streaming time started according to the programme televised live, and idle coding is searched from preset multiple coding passes Channel, the coding pass is for obtaining live stream to play programme televised live included by live stream on playback terminal;Processing The coding pass that module 303 is used to control the free time when reaching the live streaming time started obtains and the programme televised live Corresponding first live stream, and when the time reaching the live streaming end time of the programme televised live, stop obtaining and the live streaming The operation of corresponding first live stream of program.
Device provided in this embodiment specifically can be used for executing the processing of one providing method embodiment of above-described embodiment Process, details are not described herein again for concrete function.
The control device of the live streaming stream broadcasting of the present embodiment, according to the live streaming time started of programme televised live, from preset more Idle coding pass is searched in a coding pass, when the time started being broadcast live reaching, control idle coding pass obtain with Corresponding first live stream of programme televised live, and when the time reaching the live streaming end time of programme televised live, stop obtaining and be broadcast live The operation of corresponding first live stream of program, realization carry out automatically controlling the broadcasting of live stream, do not need manual operation, avoid The error that manual control generates improves control precision, and efficiency, drop can be improved when controlling a plurality of coding pass Low personnel's investment, reduces control cost.
Example IV
Fig. 4 is the structure chart of the control device for the live streaming stream broadcasting that the embodiment of the present invention four provides.
On the basis of above-described embodiment three, enquiry module 302 is specifically used for: before the time reaches the live streaming time started In preset time period, the operation that idle coding pass is searched from preset multiple coding passes is executed using polling mechanism, Until getting idle coding pass.
Optionally, the control device that stream broadcasting is broadcast live can also include judgment module 304, and judgment module 304 is used for: judgement It in the live streaming time started and is broadcast live in the period of end time, whether idle coding pass has occupied as obtaining the The coding pass of two live streams;If the determination result is YES, then enquiry module 302 is triggered, until getting the unappropriated free time Coding pass.
Wherein, judgment module 304 is specifically used for: judge in memory whether the identifier of available free coding pass;If Judging result is yes, it is determined that whether the acquisition time of corresponding second live stream of identifier is within the period;If it is determined that result Be it is no, then store the acquisition time of identifier and corresponding first live stream in memory;If it is determined that result be it is yes, then touch Send out enquiry module 302.
Further, the control device that stream broadcasting is broadcast live can also include generation module 305, and generation module 305 is used for: root Live streaming list is generated according to the information of the first live stream, live streaming list includes the programme information of programme televised live, and programme information includes at least: straight Broadcast title, the live streaming time started, live streaming end time of program;Live streaming list is sent to playback terminal, to show on playback terminal Show that live streaming is single.
Device provided in an embodiment of the present invention specifically can be used for executing two providing method embodiments of above-described embodiment Process flow, details are not described herein again for concrete function.
The control device of the live streaming stream broadcasting of the present embodiment, according to the live streaming time started of programme televised live, from preset more Idle coding pass is searched in a coding pass, can specifically be used training in rotation mechanism, be monitored the state of coding pass in real time, and It is accurately judged to encoding channel idle in the live streaming time of programme televised live, so as to the distribution in time before the live streaming time started reaches Coding pass, and when time started arrival is broadcast live, it controls idle coding pass and obtains corresponding with programme televised live first directly Stream is broadcast, and when the time reaching the live streaming end time of programme televised live, stops obtaining the first live stream corresponding with programme televised live Operation, realization the broadcasting of live stream is carried out automatically controlling, do not need manual operation, avoid manual control generation mistake Difference improves control precision, and efficiency, reduction personnel investment can be improved when controlling a plurality of coding pass, reduces control This is made.The layout of programme televised live can also be kept more compact, so that coding pass closes by judging that can programme televised live intercut The distribution of reason improves the utilization rate of resource.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of control method that stream broadcasting is broadcast live characterized by comprising
It obtains the information of the first live stream, includes at least one programme televised live in first live stream, in the information at least Live streaming time started and live streaming end time including the programme televised live;
According to the live streaming time started of the programme televised live, idle coding pass is searched from preset multiple coding passes, The coding pass is for obtaining live stream to play programme televised live included by live stream on playback terminal;
When reaching the live streaming time started, the coding pass acquisition corresponding with the programme televised live the of free time is controlled One live stream, and when the time reaching the live streaming end time of the programme televised live, stop obtaining corresponding with the programme televised live The first live stream operation.
2. the method according to claim 1, wherein the live streaming time started according to the programme televised live, Idle coding pass is searched from preset multiple coding passes, comprising:
In the preset time period before the time reaches the live streaming time started, executed using polling mechanism from preset multiple volumes Code searches the operation of idle coding pass in channel, until getting the coding pass of the free time.
3. according to the method described in claim 2, it is characterized in that, after the coding pass for getting the free time, and Before the coding pass acquisition live stream corresponding with the programme televised live for controlling the free time, further includes:
Judge within the period of the live streaming time started and the live streaming end time, whether the coding pass of the free time It has occupied as the coding pass for obtaining the second live stream;
If the determination result is YES, then the operation for executing and executing using polling mechanism and obtaining the coding pass of current idle is returned to, directly To the coding pass for getting the unappropriated free time.
4. according to the method described in claim 3, it is characterized in that, the judgement is in the live streaming time started and the live streaming In the period of end time, whether the coding pass of the free time has occupied leads to for the coding for obtaining the second live stream Road includes:
Judge that the identifier for whether having the coding pass of the free time in memory, the memory are obtained for recording coding pass Take the time of live stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live stream of the identifier is in the period It is interior;
If it is determined that result be it is no, then when storing the acquisition of the identifier and corresponding first live stream in the memory Between;
If it is determined that result be it is yes, then return execute using polling mechanism execute obtain current idle coding pass operation.
5. method according to any of claims 1-4, which is characterized in that obtain the first live stream information it Afterwards, further includes:
Live streaming list is generated according to the information of first live stream, the live streaming list includes the programme information of the programme televised live, The programme information includes at least: the title of the programme televised live, live streaming time started, live streaming end time;
The live streaming list is sent to the playback terminal, to show that the live streaming is single on the playback terminal.
6. a kind of control device that stream broadcasting is broadcast live characterized by comprising
Module is obtained, includes at least one programme televised live, institute in first live stream for obtaining the information of the first live stream It states in information including at least the live streaming time started of the programme televised live and live streaming end time;
Enquiry module is searched empty for the live streaming time started according to the programme televised live from preset multiple coding passes Not busy coding pass, the coding pass is for obtaining live stream to play live streaming section included by live stream on playback terminal Mesh;
Processing module, the coding pass for when reaching the live streaming time started, controlling free time obtain and it is described directly Corresponding first live stream of program is broadcast, and when the time reaching the live streaming end time of the programme televised live, stops acquisition and institute State the operation of corresponding first live stream of programme televised live.
7. device according to claim 6, which is characterized in that the enquiry module is specifically used for:
In the preset time period before the time reaches the live streaming time started, executed using polling mechanism from preset multiple volumes Code searches the operation of idle coding pass in channel, until getting the coding pass of the free time.
8. device according to claim 7, which is characterized in that further include judgment module, the judgment module is used for:
Judge within the period of the live streaming time started and the live streaming end time, whether the coding pass of the free time It has occupied as the coding pass for obtaining the second live stream;
If the determination result is YES, then the enquiry module is triggered, until getting the coding pass of unappropriated free time.
9. device according to claim 8, which is characterized in that the judgment module is specifically used for:
Judge the identifier for whether having the coding pass of the free time in memory;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live stream of the identifier is in the period It is interior;
If it is determined that result be it is no, then when storing the acquisition of the identifier and corresponding first live stream in the memory Between;
If it is determined that result be it is yes, then trigger the enquiry module.
10. the device according to any one of claim 6-9, which is characterized in that it further include generation module, the generation mould Block is used for:
Live streaming list is generated according to the information of first live stream, the live streaming list includes the programme information of the programme televised live, The programme information includes at least: the title of the programme televised live, live streaming time started, live streaming end time;
The live streaming list is sent to the playback terminal, to show that the live streaming is single on the playback terminal.
CN201611199818.6A 2016-12-22 2016-12-22 Control method and device for live streaming playing Active CN106713955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611199818.6A CN106713955B (en) 2016-12-22 2016-12-22 Control method and device for live streaming playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611199818.6A CN106713955B (en) 2016-12-22 2016-12-22 Control method and device for live streaming playing

Publications (2)

Publication Number Publication Date
CN106713955A CN106713955A (en) 2017-05-24
CN106713955B true CN106713955B (en) 2019-10-08

Family

ID=58901943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611199818.6A Active CN106713955B (en) 2016-12-22 2016-12-22 Control method and device for live streaming playing

Country Status (1)

Country Link
CN (1) CN106713955B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600774B (en) * 2018-04-26 2021-01-05 北京金和网络股份有限公司 Live broadcast channel distribution method based on two-stage distribution and stream broadcasting method
CN108965900A (en) * 2018-06-22 2018-12-07 中央电视台 new media live broadcast method and device and storage medium
CN109948082B (en) * 2019-03-22 2022-03-08 泰康保险集团股份有限公司 Live broadcast information processing method and device, electronic equipment and storage medium
CN116567164B (en) * 2023-07-12 2023-09-19 北京森泰英睿传媒科技有限公司 Centralized management system and method for multimedia equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035998A (en) * 2009-09-25 2011-04-27 北大方正集团有限公司 Method, device and system for controlling video and audio signal uploading
CN102917248A (en) * 2012-10-23 2013-02-06 深圳市融创天下科技股份有限公司 On-demand encoding system and method of analogue video signal
CN103957435A (en) * 2014-05-05 2014-07-30 中国科学院声学研究所 Method, device and system for processing media resource information
US9413489B2 (en) * 2007-04-27 2016-08-09 Blackberry Limited Method and system for data-driven, variable-rate, channel quality indicator for LTE non-real-time bursty traffic
KR101654898B1 (en) * 2015-04-15 2016-09-07 고려대학교 산학협력단 Method for receiving adaptive streaming service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413489B2 (en) * 2007-04-27 2016-08-09 Blackberry Limited Method and system for data-driven, variable-rate, channel quality indicator for LTE non-real-time bursty traffic
CN102035998A (en) * 2009-09-25 2011-04-27 北大方正集团有限公司 Method, device and system for controlling video and audio signal uploading
CN102917248A (en) * 2012-10-23 2013-02-06 深圳市融创天下科技股份有限公司 On-demand encoding system and method of analogue video signal
CN103957435A (en) * 2014-05-05 2014-07-30 中国科学院声学研究所 Method, device and system for processing media resource information
KR101654898B1 (en) * 2015-04-15 2016-09-07 고려대학교 산학협력단 Method for receiving adaptive streaming service

Also Published As

Publication number Publication date
CN106713955A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106713955B (en) Control method and device for live streaming playing
KR102305064B1 (en) Video live broadcasting method and device
KR101914405B1 (en) Delivery of targeted media content
US9596497B2 (en) Recipient specific lists for distribution of media content
CN105376613B (en) A kind of fast channel switching method, server and IPTV system
CN102487458A (en) Method for broadcasting and processing TS (Transport Stream) document and device thereof
WO2013044705A1 (en) Online video playing method and video playing server
US8087056B2 (en) Operating method of contents on demand system
CN102710966A (en) Video live broadcast method and system based on HTTP (Hyper Text Transport Protocol)
WO2009070936A1 (en) Content publishing and storing method for interactive personal television media delivery system
JP6329900B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, DISTRIBUTION DEVICE, AND DISTRIBUTION METHOD
CN110198494B (en) Video playing method, device, equipment and storage medium
US8675631B2 (en) Method and system for achieving faster device operation by logical separation of control information
US20230388568A1 (en) Dynamic production of linear media channels for mobile transport craft
CN104580834A (en) Cloud broadcast system, blending broadcast system and cloud broadcast method
CN101710966B (en) Multipicture comprehensive video navigation system
CN106982376B (en) A kind of time line control method that multimedia content personalization is presented
EP2750395A1 (en) Intelligent generation and distribution of an encoded content transport stream according to metadata
KR20050085362A (en) Channel tapping in a near- video-on-demand system
CN101707694B (en) Method and device for realizing data-on-demand of cable television
CN202206510U (en) Embedded set top box with built-in P2P management system
US20190364307A1 (en) Recall and Triggering System for Control of On-Air Content at Remote Locations
CN102917253A (en) TSTV (time shift television) play control method and TSTV system
CN108600774B (en) Live broadcast channel distribution method based on two-stage distribution and stream broadcasting method
CN106572362B (en) A kind of output method of video flowing, apparatus and system

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