CN106713955A - Control method and device for live streaming playing - Google Patents
Control method and device for live streaming playing Download PDFInfo
- Publication number
- CN106713955A CN106713955A CN201611199818.6A CN201611199818A CN106713955A CN 106713955 A CN106713955 A CN 106713955A CN 201611199818 A CN201611199818 A CN 201611199818A CN 106713955 A CN106713955 A CN 106713955A
- Authority
- CN
- China
- Prior art keywords
- live
- stream
- time
- coding pass
- programme televised
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000007246 mechanism Effects 0.000 claims description 16
- 230000001960 triggered effect Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26208—Content 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/26241—Content 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26258—Content 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
Technical field
The present embodiments relate to video and audio live broadcast field, more particularly to a kind of live stream broadcasting control method and dress
Put.
Background technology
The multimedia live broadcasts such as video, audio, with very strong ageing, the information and event synchronization that can receive spectators,
Bring spectators strong presence, meet spectators rapidly the need for acquisition information, increasingly liked by public audience.
Generally, TV station or broadcasting station etc. when carrying out live, live content may be divided into multichannel live TV stream signal, and
Each live TV stream signal is not concurrent programme televised live, and for example front meeting-place may be live to 50 roads of TV station's transmission during the course of the Olympic Games
Stream signal, what the road live TV stream signals of Er Zhe 50 were played is not concurrent race content.Due to TV station or the volume in broadcasting station
The coding pass quantity that code device has the carrying upper limit, i.e. encoder is limited, therefore the live TV stream signal on each road cannot be entered
Row is live.The live content for generally requiring certain period that some road live TV stream signals are selected in these live TV stream signals is carried out
It is live.
Accordingly, it would be desirable to a kind of method, can effectively be accurately controlled to the broadcasting of live TV stream.
The content of the invention
The present invention provides a kind of control method and device of live stream broadcasting, to realize that the automatic of multichannel live TV stream signal is opened
Stop and control, improve the efficiency and accuracy of start and stop and control, reduce control cost.
It is an aspect of the invention to provide a kind of control method of live stream broadcasting, including:
The information of the first live TV stream is obtained, first live TV stream includes at least one programme televised live, in described information
At least include the live time started and live end time of the programme televised live;
According to the live time started of the programme televised live, the coding that the free time is searched from default multiple coding passes leads to
Road, the coding pass is used to obtaining live TV stream to play the programme televised live included by live TV stream on the playback terminal;
When reaching the live time started, the idle coding pass is controlled to obtain corresponding with the programme televised live
The first live TV stream, and when the time the live end time of the programme televised live is reached, stop obtaining and the programme televised live
The operation of corresponding first live TV stream.
Further, the live time started according to the programme televised live, looked into from default multiple coding passes
The coding pass of free time is looked for, including:
In preset time period before the time reaches live time started, performed from default many using polling mechanism
The operation of the coding pass of free time is searched in individual coding pass, until getting the coding pass of the free time.
Further, after the coding pass for getting the free time, and the idle coding pass is being controlled to obtain
Before taking live TV stream corresponding with the programme televised live, also include:
Judge within the time period of the live time started and the live end time, the idle coding pass
Whether taken be for obtain the second live TV stream coding pass;
If the determination result is YES, then the behaviour for performing and the coding pass for obtaining current idle being performed using polling mechanism is returned
Make, until getting the coding pass of unappropriated free time.
Further, the judgement is described within the time period of the live time started and the live end time
It is to include for obtaining the coding pass of the second live TV stream that whether idle coding pass has taken:
Whether the identifier of the coding pass for judging to have the free time in the memory, the memory is used to record to be compiled
Code passage obtains the time of live TV stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live TV stream of the identifier is when described
Between in section;
If it is determined that result is no, then obtaining for the identifier and corresponding first live TV stream is stored in the memory
Take the time;
If it is determined that result is yes, then the behaviour for performing and the coding pass for obtaining current idle being performed using polling mechanism is returned
Make.
Further, after the information for obtaining the first live TV stream, also include:
Information according to first live TV stream generates live list, and the live list includes that the program of the programme televised live is believed
Breath, the programme information at least includes:The title of the programme televised live, live time started, live end time;
The live list is sent to the playback terminal, to show the live list on the playback terminal.
Another aspect of the present invention is to provide a kind of control device of live stream broadcasting, including:
Acquisition module, the information for obtaining the first live TV stream, first live TV stream includes at least one live section
Mesh, at least includes the live time started and live end time of the programme televised live in described information;
Enquiry module, for the live time started according to the programme televised live, looks into from default multiple coding passes
The coding pass of free time, the coding pass is looked for play straight included by live TV stream with playback terminal for obtaining live TV stream
Broadcast program;
Processing module, for when reaching the live time started, controlling the idle coding pass to obtain and institute
Corresponding first live TV stream of programme televised live is stated, and when the time the live end time of the programme televised live is reached, stops obtaining
The operation of the first live TV stream corresponding with the programme televised live.
Further, the enquiry module specifically for:
In preset time period before the time reaches live time started, performed from default many using polling mechanism
The operation of the coding pass of free time is searched in individual coding pass, until getting the coding pass of the free time.
Further, the control device of the live stream broadcasting also includes judge module, and the judge module is used for:
Judge within the time period of the live time started and the live end time, the idle coding pass
Whether taken be for obtain the second live TV stream coding pass;
If the determination result is YES, then the enquiry module is triggered, until getting the coding pass of unappropriated free time.
Further, the judge module specifically for:
The identifier of the coding pass for judging whether to have the free time in the memory;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live TV stream of the identifier is when described
Between in section;
If it is determined that result is no, then obtaining for the identifier and corresponding first live TV stream is stored in the memory
Take the time;
If it is determined that result is yes, then the enquiry module is triggered.
Further, the control device of the live stream broadcasting also includes generation module, and the generation module is used for:
Information according to first live TV stream generates live list, and the live list includes that the program of the programme televised live is believed
Breath, the programme information at least includes:The title of the programme televised live, live time started, live end time;
The live list is sent to the playback terminal, to show the live list on the playback terminal.
The control method and device of the live stream broadcasting that the present invention is provided, according to the live time started of programme televised live, from
The coding pass of free time is searched in default multiple coding passes, when reaching the live time started, controls idle coding to lead to
Road obtains the first live TV stream corresponding with programme televised live, and when the time the live end time of programme televised live is reached, stops obtaining
The operation of the first live TV stream corresponding with programme televised live is taken, realizes automatically controlling the broadcasting of live TV stream, it is not necessary to artificial
Operation, it is to avoid the error that artificial control is produced, improves control precision, and can carry when controlling a plurality of coding pass
High efficiency, reduction personnel's input, reduce control cost.
Brief description of the drawings
Fig. 1 is the control method flow chart of the live stream broadcasting that the embodiment of the present invention one is provided;
Fig. 2 is the control method flow chart of the live stream broadcasting that the embodiment of the present invention two is provided;
Fig. 3 is the structure chart of the control device of the live stream broadcasting that the embodiment of the present invention three is provided;
Fig. 4 is the structure chart of the control device of the live stream broadcasting that the embodiment of the present invention four is provided.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is the control method flow chart of the live stream broadcasting that the embodiment of the present invention one is provided.As shown in figure 1, this implementation
Example provides a kind of control method of live stream broadcasting, and the method is comprised the following steps that:
S101, the information for obtaining the first live TV stream, the first live TV stream includes at least one programme televised live, in described information
At least include the live time started and live end time of the programme televised live.
In the present embodiment, live TV stream is a kind of Streaming Media, i.e., the multimedia text for being transmitted using stream (Streaming) mode
Part, can be including audio, video and animation etc..First live TV stream can be obtained by wire message way or wireless channel from live source,
Such as obtained from on-the-spot broadcasting or radio and television live source.Wherein the first live TV stream includes at least one programme televised live,
For example it is live for the Olympic Games, it is continuous on same competition field to arrange multiple matches, may be continuous to the competition field by same live TV stream
Race carry out it is live, it is also possible to the race by multiple live TV streams to the competition field carry out it is live, such as same competition field
Shot using the video camera of different angles, the plurality of live TV stream is integrated into first live TV stream by instructor in broadcasting.
At least include the live time started and live end time of the programme televised live, example in the information of the first live TV stream
As between 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
With including the title of programme televised live, information profile etc., with specific reference to being actually needed setting.
The information of first live TV stream is information set in advance.For example, race does not start currently, but it is already prepared to
The live race, corresponding first live TV stream of the race is currently not yet generated, but can in advance know first live TV stream
Information.
S102, the live time started according to programme televised live, the coding of free time is searched from default multiple coding passes
Passage, coding pass is used to obtaining live TV stream to play the programme televised live included by live TV stream on the playback terminal.
In the present embodiment, the programme televised live time started is known, such as live for the Olympic Games, schedules are to preset
And can know.Therefore the present embodiment is after the live time started for obtaining each programme televised live, according to the straight of programme televised live
The time started is broadcast, the coding pass of free time is searched from default multiple coding passes, that is, searched and reach certain live section in the time
Idle coding pass during purpose live time started, wherein coding pass refers to the coding pass of encoder, per encoding all the way
Passage can be captured, encoded and exported to live TV stream all the way, to play the live section included by live TV stream on the playback terminal
Mesh;And the coding pass of free time refers to not obtaining the coding pass of live TV stream, i.e., do not led to by the coding that live TV stream takes
Road.Playback terminal in the present embodiment can be television set, computer, intelligent mobile terminal etc..
S103, when reaching the live time started, control idle coding pass to obtain corresponding with programme televised live first
Live TV stream, and when the time the live end time of programme televised live is reached, it is live that stopping obtains corresponding with programme televised live first
The operation of stream.
In the present embodiment, according to the live time started and live end time of programme televised live, the volume of free time is automatically controlled
Code passage is obtained and the first live TV stream corresponding with acquisition programme televised live is stopped, so as to realize carrying out accurately the broadcasting of live TV stream
Ground control.Wherein, interface configuration codes passage is configured especially by encoder, and live TV stream is synchronized to corresponding coding pass
On.
The control method of the live stream broadcasting of the present embodiment, according to the live time started of programme televised live, from default many
The coding pass of free time is searched in individual coding pass, when reaching the live time started, control idle coding pass obtain and
Corresponding first live TV stream of programme televised live, and the time reach programme televised live the live end time when, stop obtain with it is live
The operation of corresponding first live TV stream of program, realizes automatically controlling the broadcasting of live TV stream, it is not necessary to artificial operation, it is to avoid
The error that artificial control is produced, improves control precision, and can improve when control a plurality of coding pass efficiency, drop
Low personnel's input, reduces control cost.
Embodiment two
Fig. 2 is the control method flow chart of the live stream broadcasting that the embodiment of the present invention two is provided.In above-described embodiment one
On the basis of, the present embodiment is described in detail to the method, as shown in Fig. 2 the method specifically includes following steps:
S201, the information for obtaining the first live TV stream, the first live TV stream includes at least one programme televised live, in described information
At least include the live time started and live end time of the programme televised live.
The step is consistent with S101, will not be repeated here.
In S202, the preset time period before the time reaches live time started, performed from default using polling mechanism
The operation of the coding pass of free time is searched in multiple coding passes, until getting the coding pass of free time.
In the present embodiment, idle coding pass refers to not obtaining the coding pass of live TV stream, i.e., not live
Flow the coding pass for taking.
Search the coding pass of free time in the present embodiment from default multiple coding passes using polling mechanism, specifically may be used
Think, inquiry is sent to encoder or encoder configuration interface timing in the preset time period before the live time started, and then
The response for receiving encoder or encoder configuration interface return sequentially judges whether each coding pass is idle coding pass,
Until the coding pass of free time is got, such that it is able to the idle condition of monitoring coding pass in real time, so as in live beginning
Time reaches preceding allocated code passage in time.Wherein Preset Time can be several seconds, or the longer time, naturally it is also possible to be
Zero, i.e., follow-up live TV stream corresponding with programme televised live acquisition operation is carried out immediately after obtaining idle coding pass in real time.This
Outward, when the Preset Time before reaching the live time started, notify that related operation maintenance personnel carries out early warning.
After the coding pass for getting the free time, it is possible to perform when reaching the live time started, control the sky
Not busy coding pass obtains the first live TV stream corresponding with the programme televised live, and reaches the live of the programme televised live in the time
During the end time, stop obtaining the operation of the first live TV stream corresponding with the programme televised live.
In practical operation, if the coding pass of free time was determined before the live time started of programme televised live,
It is many it is possible that for two different live TV streams, getting identical empty in the case where the live time started is close
The situation of not busy coding pass, so, further, can create coding pass and matches somebody with somebody after the coding pass for getting the free time
List is put, that is, the corresponding relation set up between idle coding pass live TV stream corresponding with programme televised live can so be known
The idle coding pass will be taken in the time period of live time started and live end time by live TV stream.The coding pass
Configuration is single can be stored in memory, such as the memory of the control device of live stream broadcasting, or in peripheral memory.
Additionally, after the single foundation of coding pass configuration, the control device of live stream broadcasting can also be logical from the coding
The coding pass of free time is obtained in road configuration list.
After the single foundation of coding pass configuration, after S202, following operation can also be included:
S203, judge within the time period of live time started and live end time, whether idle coding pass
It is the coding pass for obtaining the second live TV stream through occupancy, if the determination result is YES, then returns and perform S202, until getting
Unappropriated idle coding pass.
In the present embodiment, due to there may be first on the second programme televised live and the first live TV stream on the second live TV stream
The live time started of programme televised live approaches or same case, it is contemplated that idle coding pass is live in time arrival first
Obtained in preset time period before the live time started of program, may now given the idle coding pass layout
Second programme televised live, i.e., when reaching the live time started of the first programme televised live, the idle coding pass will be straight by second
Broadcast shared by program, it is therefore desirable to judge within the time period of live time started and live end time, idle coding leads to
Road whether taken be for obtain the second live TV stream coding pass, if the determination result is YES, then return perform using wheel
Inquiry mechanism performs the operation of the coding pass for obtaining current idle, until the coding pass of unappropriated free time is got, from
And ensure reasonable distribution coding pass, and realize that each programme televised live can be normally live, the coding of each live TV stream is not rushed
It is prominent.
Specifically, judging within the time period of live time started and live end time, whether idle coding pass
Taken is that can include for obtaining the coding pass of the second live TV stream:
Judge in memory whether the identifier of available free coding pass, the memory is used to recording coding pass and obtains
Take the time of live TV stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live TV stream of identifier is within the time period;
If it is determined that result is no, then the acquisition time of identifier and corresponding first live TV stream is stored in memory;
If it is determined that result is yes, then the behaviour for performing and the coding pass for obtaining current idle being performed using polling mechanism is returned
Make.
In the present embodiment, the acquisition time is the time period that coding pass obtains live TV stream, i.e., coding pass is by a certain live
Flow the time period for taking.
In the present embodiment, after the coding pass for getting the free time, create coding pass configuration it is single when, if by the free time
Coding pass distribute to a certain live TV stream, then the idle coding pass is marked with predetermined identifier, and store
In memory, in order to when follow-up programme televised live carries out layout it is quick search idle coding pass when judge whether incited somebody to action
The idle coding pass distributes to other live TV streams.In the present embodiment by judge in memory whether available free coding
The identifier of passage, if the determination result is YES, then illustrates that the idle coding pass is already allocated to the second live TV stream, then check
The acquisition time of second live TV stream, if the acquisition time live time corresponding with the programme televised live of the first live TV stream mutually conflict,
That is there is the time of overlap the acquisition time live time period corresponding with the first live TV stream of the second live TV stream, then redefine sky
Not busy coding pass.
Specifically, there may be situations below, i.e. the live time of the first programme televised live on the first live TV stream is shorter, can
To intercut before the second live TV stream starts, thus now can by the acquisition for determining corresponding second live TV stream of identifier when
Between whether within the time period, namely by judging in the second live TV stream at the beginning of corresponding second programme televised live between whether be in
Determine in the live time started of the first programme televised live and the time period of live end time.If it is determined that result is no, then say
The live time started of bright second programme televised live after the first programme televised live starts, illustrates that the first programme televised live can be intercutted,
The acquisition time of identifier and corresponding first live TV stream is then stored in memory;If it is determined that result is yes, then is illustrated
The live time of one programme televised live conflicts with the presence of live time of the second programme televised live, illustrates that the first programme televised live cannot be inserted
Broadcast, then return to the operation for performing and the coding pass for obtaining current idle being performed using polling mechanism.By above-mentioned steps, can make
The layout of programme televised live is more compact so that coding pass is reasonably distributed, and improves the utilization rate of resource.
S204, when reaching the live time started, control idle coding pass to obtain corresponding with programme televised live first
Live TV stream, and when the time the live end time of programme televised live is reached, it is live that stopping obtains corresponding with programme televised live first
The operation of stream.
Step S204 is consistent with step S103, and the present embodiment will not be repeated here.
In the present embodiment, obtain the first live TV stream and concretely comprise the following steps:
In preset time period before the live time started live TV stream transmission line, turn-key system point are asked to turn-key system
With a circuit as live TV stream transmission line, and circuit list is generated, at the end of the circuit list includes circuit time started, circuit
Between, the information such as line identification, live TV stream title, wherein line identification is used to recognize whether created circuit is live streaming
Circuit;
The live TV stream transmission line is set up with information source when the time circuit time started is reached, by the live TV stream transmission line
Road obtains live TV stream signal, wherein, acquired live TV stream signal may be multicast signal, including some live TV streams, it is necessary to from
The first live TV stream is obtained in live TV stream signal, can be identified according to the mark corresponding to the first live TV stream, specifically, by being somebody's turn to do
The corresponding PID Packet Identifier (Packet Identifier, PID) of each live TV stream in the mark of multicast signal and the multicast signal
Combination the first live TV stream of identification.First live TV stream is stored in database, live behaviour is carried out when reaching the live time started
Make.
As the further improvement of above-described embodiment, after the first live TV stream is obtained, also include:
Information according to the first live TV stream generates live list, and live list includes the programme information of programme televised live, programme information
At least include:The title of programme televised live, live time started, live end time;
Live list is sent to playback terminal, to show live list on playback terminal.
The present embodiment delivers to playback terminal by by live single-shot, in order to playback terminal by the information pushing of programme televised live
To user, the programme televised live liked is understood and watched for user.For example, the basis after the information for getting the first live TV stream
Information generates live list, and is sent to playback terminal, user is understood the title of programme televised live, the live time started, straight in advance
The end time is broadcast, but does not reach the live time started now, therefore do not push corresponding first live TV stream of programme televised live
Address;When reaching the live time started, coding pass obtains the first live TV stream corresponding with programme televised live, and is compiled
Code, output, now send the address of the first live TV stream to playback terminal, so that user watches live section by the address
Mesh.
Further, when reaching the live time started, idle coding pass is controlled to obtain corresponding with programme televised live
While first live TV stream, by the title of the first live TV stream and the corresponding programme televised live of programme televised live, live time started and straight
Broadcasting the end time is sent to and includes server, generates the program request file for playing back, and in order to user's program request, is played back.
Additionally, the live time started and live end time of programme televised live may change, such as Olympic contest
The reasons such as time delay cause the live end time to be delayed, and now then need changing the live end time accordingly, according to reality
Live end time stops obtaining the operation of the first live TV stream corresponding with programme televised live, now accordingly the need for coding pass
Configuration is singly rearranged.
In addition, live TV stream output is arrived content distributing network (Content by least one coding pass of encoder
Delivery Network, CDN), with connection in real time according to channel flow and each service node, load state and to use
Be re-directed on the service node nearest from user for the request of user by the integrated information such as the distance at family and response time, makes user
Required content can be nearby obtained, the crowded situation of channel is solved, the response speed that user accesses is improved.
The control method of the live stream broadcasting of the present embodiment, according to the live time started of programme televised live, from default many
Searched in individual coding pass free time coding pass, specifically can use training in rotation mechanism, the state of monitor in real time coding pass, and
Encoding channel idle in the live time of programme televised live is accurately judged to, so as to the distribution in time before the live time started reaches
Coding pass, and when reaching the live time started, control idle coding pass to obtain corresponding with programme televised live first straight
Stream is broadcast, and when the time the live end time of programme televised live is reached, stops obtaining the first live TV stream corresponding with programme televised live
Operation, realize automatically controlling the broadcasting of live TV stream, it is not necessary to artificial operation, it is to avoid the mistake that artificial control is produced
Difference, improves control precision, and efficiency, reduction personnel input can be improved when controlling a plurality of coding pass, reduces control
It is made this.By judging that can programme televised live intercut the layout of programme televised live can also be made more compact so that coding pass is closed
The distribution of reason, improves the utilization rate of resource.
Embodiment three
Fig. 3 is the structure chart of the control device of the live stream broadcasting that the embodiment of the present invention three is provided.What the present embodiment was provided
Device specifically can be used for performing the handling process that above method embodiment one is provided.
As shown in figure 3, the control device of the live stream broadcasting of the offer of the present embodiment three, including:Acquisition module 301, look into
Ask module 302 and processing module 303.
Wherein, acquisition module 301 is used to obtain the information of the first live TV stream, and first live TV stream includes at least one
Individual programme televised live, at least includes the live time started and live end time of the programme televised live in described information;Inquiry mould
Block 302 is used for the live time started according to the programme televised live, and the coding of free time is searched from default multiple coding passes
Passage, the coding pass is used to obtaining live TV stream to play the programme televised live included by live TV stream on the playback terminal;Treatment
Module 303 is used to, when reaching the live time started, control the idle coding pass to obtain and the programme televised live
Corresponding first live TV stream, and when the time the live end time of the programme televised live is reached, stop obtaining live with described
The operation of corresponding first live TV stream of program.
The device that the present embodiment is provided specifically can be used for performing the treatment that above-described embodiment one provides embodiment of the method
Flow, here is omitted for concrete function.
The control device of the live stream broadcasting of the present embodiment, according to the live time started of programme televised live, from default many
The coding pass of free time is searched in individual coding pass, when reaching the live time started, control idle coding pass obtain and
Corresponding first live TV stream of programme televised live, and the time reach programme televised live the live end time when, stop obtain with it is live
The operation of corresponding first live TV stream of program, realizes automatically controlling the broadcasting of live TV stream, it is not necessary to artificial operation, it is to avoid
The error that artificial control is produced, improves control precision, and can improve when control a plurality of coding pass efficiency, drop
Low personnel's input, reduces control cost.
Example IV
Fig. 4 is the structure chart of the control device of the live stream broadcasting that the embodiment of the present invention four is provided.
On the basis of above-described embodiment three, enquiry module 302 specifically for:Before the time reaches the live time started
In preset time period, the operation of the coding pass that the free time is searched from default multiple coding passes is performed using polling mechanism,
Until getting the coding pass of free time.
Optionally, the control device of live stream broadcasting can also include judge module 304, and judge module 304 is used for:Judge
Within the time period of live time started and live end time, it is for obtaining that whether idle coding pass has taken
The coding pass of two live TV streams;If the determination result is YES, then enquiry module 302 is triggered, until getting the unappropriated free time
Coding pass.
Wherein, judge module 304 specifically for:Judge in memory whether the identifier of available free coding pass;If
Judged result is yes, it is determined that whether the acquisition time of corresponding second live TV stream of identifier is within the time period;If it is determined that result
It is no, then stores the acquisition time of identifier and corresponding first live TV stream in memory;If it is determined that result is yes, then touch
Hair enquiry module 302.
Further, the control device of live stream broadcasting can also include generation module 305, and generation module 305 is used for:Root
Live list is generated according to the information of the first live TV stream, live list includes the programme information of programme televised live, and programme information at least includes:Directly
Broadcast title, live time started, the live end time of program;Live list is sent to playback terminal, is shown with playback terminal
Show live list.
Device provided in an embodiment of the present invention specifically can be used for execution above-described embodiment two and provide embodiment of the method
Handling process, here is omitted for concrete function.
The control device of the live stream broadcasting of the present embodiment, according to the live time started of programme televised live, from default many
Searched in individual coding pass free time coding pass, specifically can use training in rotation mechanism, the state of monitor in real time coding pass, and
Encoding channel idle in the live time of programme televised live is accurately judged to, so as to the distribution in time before the live time started reaches
Coding pass, and when reaching the live time started, control idle coding pass to obtain corresponding with programme televised live first straight
Stream is broadcast, and when the time the live end time of programme televised live is reached, stops obtaining the first live TV stream corresponding with programme televised live
Operation, realize automatically controlling the broadcasting of live TV stream, it is not necessary to artificial operation, it is to avoid the mistake that artificial control is produced
Difference, improves control precision, and efficiency, reduction personnel input can be improved when controlling a plurality of coding pass, reduces control
It is made this.By judging that can programme televised live intercut the layout of programme televised live can also be made more compact so that coding pass is closed
The distribution of reason, improves the utilization rate of resource.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be by it
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical of device or unit by some interfaces
Letter connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable
In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention each
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division carry out for example, in practical application, can distribute complete by different functional modules by above-mentioned functions as needed
Into, will the internal structure of device be divided into different functional modules, to complete all or part of function described above.On
The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of control method of live stream broadcasting, it is characterised in that including:
The information of the first live TV stream is obtained, first live TV stream includes at least one programme televised live, in described information at least
Live time started and live end time including the programme televised live;
According to the live time started of the programme televised live, the coding pass of free time is searched from default multiple coding passes,
The coding pass is used to obtaining live TV stream to play the programme televised live included by live TV stream on the playback terminal;
When reaching live time started, the idle coding pass is controlled to obtain corresponding with the programme televised live the
One live TV stream, and when the time the live end time of the programme televised live is reached, stop obtaining corresponding with the programme televised live
The first live TV stream operation.
2. method according to claim 1, it is characterised in that the live time started according to the programme televised live,
The coding pass of free time is searched from default multiple coding passes, including:
In preset time period before the time reaches the live time started, performed from default multiple volumes using polling mechanism
The operation of the coding pass of free time is searched in code passage, until getting the coding pass of the free time.
3. method according to claim 2, it is characterised in that after the coding pass for getting the free time, and
Before the control idle coding pass obtains live TV stream corresponding with the programme televised live, also include:
Judge within the time period of the live time started and the live end time, whether the idle coding pass
Taken be for obtain the second live TV stream coding pass;
If the determination result is YES, then the operation for performing and the coding pass for obtaining current idle being performed using polling mechanism is returned to, directly
To the coding pass for getting the unappropriated free time.
4. method according to claim 3, it is characterised in that the judgement is in live time started and described live
In the time period of end time, it is to lead to for obtaining the coding of the second live TV stream that whether the idle coding pass has taken
Road includes:
Whether the identifier of the coding pass for judging to have the free time in the memory, the memory is used to recording coding logical
Road obtains the time of live TV stream;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live TV stream of the identifier is in the time period
It is interior;
If it is determined that result is no, then when the acquisition of the identifier and corresponding first live TV stream is stored in the memory
Between;
If it is determined that result is yes, then the operation for performing and the coding pass for obtaining current idle being performed using polling mechanism is returned.
5. the method according to any one of claim 1-4, it is characterised in that obtain the first live TV stream information it
Afterwards, also include:
Information according to first live TV stream generates live list, and the live list includes the programme information of the programme televised live,
The programme information at least includes:The title of the programme televised live, live time started, live end time;
The live list is sent to the playback terminal, to show the live list on the playback terminal.
6. a kind of control device of live stream broadcasting, it is characterised in that including:
Acquisition module, the information for obtaining the first live TV stream, first live TV stream includes at least one programme televised live, institute
State in information at least live time started and live end time including the programme televised live;
Enquiry module, for the live time started according to the programme televised live, searches empty from default multiple coding passes
Not busy coding pass, the coding pass is used to obtaining live TV stream to play on playback terminal the live section included by live TV stream
Mesh;
Processing module is straight with described for when reaching the live time started, controlling the idle coding pass to obtain
Corresponding first live TV stream of program is broadcast, and when the time the live end time of the programme televised live is reached, stops obtaining and institute
State the operation of corresponding first live TV stream of programme televised live.
7. device according to claim 6, it is characterised in that the enquiry module specifically for:
In preset time period before the time reaches the live time started, performed from default multiple volumes using polling mechanism
The operation of the coding pass of free time is searched in code passage, until getting the coding pass of the free time.
8. device according to claim 7, it is characterised in that also including judge module, the judge module is used for:
Judge within the time period of the live time started and the live end time, whether the idle coding pass
Taken be for obtain the second live TV stream coding pass;
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, it is characterised in that the judge module specifically for:
The identifier of the coding pass for judging whether to have the free time in the memory;
If the determination result is YES, it is determined that whether the acquisition time of corresponding second live TV stream of the identifier is in the time period
It is interior;
If it is determined that result is no, then when the acquisition of the identifier and corresponding first live TV stream is stored in the memory
Between;
If it is determined that result is yes, then the enquiry module is triggered.
10. the device according to any one of claim 6-9, it is characterised in that also including generation module, the generation mould
Block is used for:
Information according to first live TV stream generates live list, and the live list includes the programme information of the programme televised live,
The programme information at least includes:The title of the programme televised live, live time started, live end time;
The live list is sent to the playback terminal, to show the live list on the playback terminal.
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 true CN106713955A (en) | 2017-05-24 |
CN106713955B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108600774A (en) * | 2018-04-26 | 2018-09-28 | 北京金和网络股份有限公司 | Living broadcast channel distribution method based on secondary distribution and broadcast stream method |
CN108965900A (en) * | 2018-06-22 | 2018-12-07 | 中央电视台 | new media live broadcast method and device and storage medium |
CN109948082A (en) * | 2019-03-22 | 2019-06-28 | 泰康保险集团股份有限公司 | Live information processing method and processing device, electronic equipment, storage medium |
CN116567164A (en) * | 2023-07-12 | 2023-08-08 | 北京森泰英睿传媒科技有限公司 | Centralized management system and method for multimedia equipment |
Citations (5)
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 |
-
2016
- 2016-12-22 CN CN201611199818.6A patent/CN106713955B/en active Active
Patent Citations (5)
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 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108600774A (en) * | 2018-04-26 | 2018-09-28 | 北京金和网络股份有限公司 | Living broadcast channel distribution method based on secondary distribution and broadcast stream method |
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 |
CN109948082A (en) * | 2019-03-22 | 2019-06-28 | 泰康保险集团股份有限公司 | Live information processing method and processing device, electronic equipment, storage medium |
CN116567164A (en) * | 2023-07-12 | 2023-08-08 | 北京森泰英睿传媒科技有限公司 | Centralized management system and method for multimedia equipment |
CN116567164B (en) * | 2023-07-12 | 2023-09-19 | 北京森泰英睿传媒科技有限公司 | Centralized management system and method for multimedia equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106713955B (en) | 2019-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110012300B (en) | Video live broadcasting method and device | |
CN106713955B (en) | Control method and device for live streaming playing | |
CN101895562B (en) | Mobile multimedia broadcast (CMMB) channel-based data and audio/video pushing system | |
CA2878735C (en) | Playback device, playback method, distribution device, distribution method, distribution program, playback program, recording medium, and metadata | |
CN102487458A (en) | Method for broadcasting and processing TS (Transport Stream) document and device thereof | |
CN114024941B (en) | WebRTC-based multi-terminal multi-channel real-time video monitoring method | |
CN110198494B (en) | Video playing method, device, equipment and storage medium | |
CN104333799A (en) | Channel switching method, device and system | |
CN105592318A (en) | System, device and method for realizing HLS channel replaying service | |
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 | |
CN101635827B (en) | Method for realizing carousel channels, media control server and carousel channel system | |
CN107426582A (en) | A kind of RTMP live TV streams seamless switch-over system and method | |
CN103648032B (en) | By the method and system for realizing broadcasted content control for set-top box configuration information | |
CN103024600B (en) | A kind of method, Apparatus and system of automatic generating video demand (telecommunication) service column | |
CN101707694B (en) | Method and device for realizing data-on-demand of cable television | |
CN103313106A (en) | Cross-terminal and cross-platform information intercut control method and system | |
CN106412640B (en) | Information management method, server, terminal equipment and system | |
US20190364307A1 (en) | Recall and Triggering System for Control of On-Air Content at Remote Locations | |
CN106604054A (en) | Program live broadcast method, device and server | |
CN106851331A (en) | Easily broadcast processing method and system | |
CN111343470A (en) | Live playback scheduling method and device and storage medium | |
CN108600774B (en) | Live broadcast channel distribution method based on two-stage distribution and stream broadcasting method | |
CN106454547B (en) | real-time caption broadcasting method 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 |