CN107690075A - live stream switching method - Google Patents

live stream switching method Download PDF

Info

Publication number
CN107690075A
CN107690075A CN201610632858.9A CN201610632858A CN107690075A CN 107690075 A CN107690075 A CN 107690075A CN 201610632858 A CN201610632858 A CN 201610632858A CN 107690075 A CN107690075 A CN 107690075A
Authority
CN
China
Prior art keywords
live
stream
sent
interface
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610632858.9A
Other languages
Chinese (zh)
Inventor
李观培
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Johnsen Shilian Digital Technology (beijing) Co Ltd
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Johnsen Shilian Digital Technology (beijing) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Johnsen Shilian Digital Technology (beijing) Co Ltd filed Critical Johnsen Shilian Digital Technology (beijing) Co Ltd
Priority to CN201610632858.9A priority Critical patent/CN107690075A/en
Publication of CN107690075A publication Critical patent/CN107690075A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • 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

Landscapes

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

Abstract

The present invention is on a kind of live stream switching method, for realizing that seamless switching direct current broadcasts stream, improves the play quality of live TV stream, and provide various direct-seeding.Methods described includes:Receive the first live TV stream that main broadcaster end is sent;The switching command that reception control terminal is sent, the switching command, including:Point to the instruction of the first live TV stream of change interface;According to the switching command, it is determined that pointing to the first live TV stream of change interface;Send first live TV stream.

Description

Live stream switching method
Technical field
The present invention relates to communication and computer disposal field, more particularly to live stream switching method.
Background technology
With the development of Internet technology, user can carry out many recreations, such as network direct broadcasting by internet, User can watch that the skill of main broadcaster is shown in real time in direct broadcasting room, and traditional internet direct seeding technique, typically a main broadcaster His live TV stream is published on server, the content is forwarded to portion throughout the country of content distributing network manufacturer by server again The server of administration, the live content that spectators watch main broadcaster to issue by accessing content delivery network service device.
Had the disadvantage that in existing technology:For one main broadcaster in one live, Living Network may be at any time in the presence of trembling Dynamic or abnormal conditions, when running into such case, play end and the situation that plays interim card or even can not play just occurs.And this Kind direct-seeding is also relatively simple, and the live of current anchor can only be played by playing end, and can not play the live of other main broadcasters.
The content of the invention
To overcome problem present in correlation technique, the present invention provides a kind of live stream switching method, and server is by cutting Change the live TV stream of submitting, control plays end and plays the live TV stream after switching, can be with Living Network shake or abnormal conditions Continue to play normal live TV stream, and provide various direct-seeding, facilitate user live in the viewing of broadcasting end.
The present invention provides a kind of live stream switching method, for server, including:
Receive the first live TV stream that main broadcaster end is sent;
The switching command that reception control terminal is sent, the switching command, including:Point to the first live TV stream of change interface Instruction;
According to the switching command, it is determined that pointing to the first live TV stream of change interface;
Send first live TV stream.
First live TV stream is pointed to change interface by server according to the switching command that control terminal is sent, and it is live to send first Stream.By changing the sensing interface of live TV stream, change the live TV stream that server is sent, realize switch during live it is live The purpose of stream, realizes seamless switching, there is provided and various direct-seeding, facilitate user's viewing live, and if live net When network occurs abnormal, can in real time be switched to and play normal live TV stream, reduce the live interim card as caused by Network Abnormal or Terminate the probability played.
Preferably, the switching command, in addition to:Point to the instruction for the second live TV stream for stopping interface;
Methods described, in addition to:
Receive the second live TV stream that main broadcaster end is sent;
Send second live TV stream;
According to the switching command, stop sending second live TV stream.
Also include pointing to the live TV stream being currently transmitted into the instruction for stopping interface in switching command, realize and stop sending The live TV stream being currently transmitted, so as to avoid previous live TV stream to current live stream during switching live TV stream is realized Influence, preferably realize seamless switching.
Preferably, methods described also includes the method for establishing interface:
Receive the live TV stream that main broadcaster end is sent;
The quantity N, the N for identifying the live TV stream are the integer more than or equal to 2;
A change interface is established, the change interface is the interface for sending live TV stream;
N-1 stopping interface being established, the stopping interface not sending live TV stream.
One change interface and multiple stopping interfaces being provided, switching live TV stream is cut between multiple live TV streams Change, and the same time can only be sent out a live TV stream, it is further provided a kind of various direct-seeding, facilitate user to see See.
Preferably, the first live TV stream of the transmission, including:
First live TV stream is sent to the control terminal;
First live TV stream is sent to end is played.
To control terminal and the first live TV stream of end transmission is played, control terminal can be made to play the same of end broadcasting live TV stream When the first live TV stream of monitoring in real time transmission situation, it is convenient to be switched over when the first live streaming occurs abnormal.
The invention provides live stream switching method at one, for controlling terminal, including:
Obtain control information;
According to the control information, switching command is generated;
The switching command is sent to server.
According to control information, switching command is generated, controls server to switch live TV stream by switching command.Realize control Server seamless switching live TV stream, there is provided various direct-seeding, facilitate user's viewing live.
Preferably, the acquisition control information, including:
Receive the control information of input;Or
The first live TV stream that the reception server is sent;
Judge whether the message transmission rate of first live TV stream is less than preset data transmission rate;
When the message transmission rate of first live TV stream is less than the preset data transmission rate, the control is generated Information.
By receiving the control information of input or the message transmission rate according to the first live TV stream, control information is generated, Realize and obtain control information, you can with manual switching live TV stream as needed, can also be switched according to the actual conditions of live TV stream Live TV stream, facilitate user to receive and watch live TV stream, also reduce the live interim card as caused by Network Abnormal or terminate what is played Probability.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not Can the limitation present invention.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of live stream switching method provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of live stream switching method provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart of live stream switching method provided in an embodiment of the present invention.
Fig. 4 is a kind of flow chart of live stream switching method provided in an embodiment of the present invention.
Fig. 5 is a kind of flow chart of live stream switching method provided in an embodiment of the present invention.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of live stream switching method, for server, specific implementation step It is rapid as follows:
In step S101, the first live TV stream that main broadcaster end is sent is received.
In step s 102, the switching command that reception control terminal is sent, switching command, including:Point to change interface The instruction of first live TV stream.
In step s 103, according to switching command, it is determined that pointing to the first live TV stream of change interface.
In step S104, the first live TV stream is sent.
The embodiment of the present disclosure provides a kind of live stream switching method, the switching command that server is sent according to control terminal First live TV stream is pointed into change interface, sends the first live TV stream.By changing the sensing interface of live TV stream, change server hair The live TV stream sent, the purpose for switching live TV stream during live is realized, realizes seamless switching, there is provided various is live Mode, facilitate user's viewing live, and if when Living Network occurs abnormal, it is normal live that broadcasting can be switched in real time Stream, reduce the live interim card as caused by Network Abnormal or terminate the probability played.
Preferably, switching command, in addition to:Point to the instruction for the second live TV stream for stopping interface;
This method also includes:Step A1 to step A3.
In step A1, the second live TV stream that main broadcaster end is sent is received.
In step A2, the second live TV stream is sent.
In step A3, according to switching command, stop sending the second live TV stream.
Also include pointing to the live TV stream being currently transmitted into the finger for stopping interface in the embodiment of the present invention, in switching command Order, realization stop sending the live TV stream being currently transmitted, previous live so as to be avoided during switching live TV stream is realized The influence to current live stream is flowed, preferably realizes seamless switching.
Preferentially, this method also includes the method for establishing interface, including:Step B1 to step B4.
In step bl is determined, the live TV stream that main broadcaster end is sent is received.
In step B2, the quantity N, N that identify live TV stream are the integer more than or equal to 2.
In step B3, a change interface is established, change interface is the interface for sending live TV stream.
In step B4, N-1 stopping interface being established, stops interface and does not send live TV stream.
In the embodiment of the present invention, there is provided a change interface and multiple stopping interfaces, allow switching live TV stream multiple Switched between live TV stream, and the same time can only be sent out a live TV stream, it is further provided a kind of various straight Broadcast mode, user is facilitated to watch.
Preferably, step S104 includes:Step C1 to step C2.
In step C1, the first live TV stream is sent to control terminal.
In step C2, the first live TV stream is sent to end is played.
In this bright embodiment, to control terminal and the first live TV stream of end transmission is played, control terminal can be made to play end The transmission situation of the first live TV stream is monitored while playing live TV stream in real time, it is convenient to enter when the first live streaming occurs abnormal Row switching.
Explained in detail below by specific embodiment and how to realize live stream switching method.
As shown in Fig. 2 the embodiments of the invention provide a kind of live stream switching method, for server, specific implementation step It is rapid as follows:
In step s 201, the first live TV stream and the second live TV stream that main broadcaster end is sent are received.
For example, the second live TV stream S2 that server receives the first live TV stream S1 of the transmission of main broadcaster end 1 and main broadcaster end 2 is sent
In step S202, the second live TV stream is sent.
For example, using the second live TV stream S2 as currently transmitted live TV stream S, the second live TV stream S2 is sent out.
In step S203, the switching command of reception control terminal transmission, switching command, including:Point to change interface The instruction of first live TV stream and the instruction for pointing to the second live TV stream for stopping interface.
In step S204, according to switching command, it is determined that pointing to the first live TV stream of change interface.
For example, according to switching command, determine that the first live TV stream S1 points to change interface, and determine that the second live TV stream S2 refers to To stopping interface.
In step S205, according to switching command, stop sending the second live TV stream.
For example, stop interface according to determining to point to the second live TV stream S2 in step S204.
In step S206, the first live TV stream is sent to control terminal.
For example, the first live TV stream S1 as current live stream S is sent to control terminal.
In step S207, the first live TV stream is sent to end is played.
For example, the first live TV stream S1 as current live stream S is sent to broadcasting end.
The embodiments of the invention provide a kind of live stream switching method, by by different live TV streams point to change interface or Stop interface, it is determined that to playing which live TV stream end sends, realize and carry out seamless switching between different live TV streams, there is provided be more The direct-seeding of sample.
In the above-described embodiments, describe change interface and stop interface, how to be established more below by embodiment description It must connect and stop interface.
As shown in figure 3, a kind of live stream switching method of the embodiment of the present invention, as follows for server, specific implementation step:
In step S301, the live TV stream that main broadcaster end is sent is received.
For example, the live TV stream that multiple main broadcaster ends are sent is received, including live TV stream S1, live TV stream S2 and live TV stream S3.
In step s 302, the quantity N, N for identifying live TV stream are the integer more than or equal to 2.
For example, the quantity for the live TV stream that identification receives is 3.
In step S303, a change interface is established, change interface is the interface for sending live TV stream.
In step s 304, N-1 stopping interface being established, stops interface and does not send live TV stream.
For example, 2 stopping interfaces being established, so that server uses two live TV streams that need not be sent.
The embodiments of the invention provide a kind of live stream switching method.One change interface and multiple stopping interfaces being provided, Switching live TV stream is set to be switched between multiple live TV streams, and the same time can only be sent out a live TV stream, A kind of various direct-seeding is further provided for, facilitates user to watch.
Above embodiment described server to realize a kind of live stream switching method, continues with and describes to control by embodiment Terminal processed realizes a kind of live stream switching method.
As shown in figure 4, the embodiments of the invention provide a kind of live stream switching method, for controlling terminal, specific implementation Step is as follows:
In step S401, control information is obtained.
In step S402, according to control information, switching command is generated.
In step S403, switching command is sent to server.
The embodiments of the invention provide a kind of live stream switching method.According to control information, switching command is generated, by cutting Change instruction control server switching live TV stream.Realize control server seamless switching live TV stream, there is provided various live side Formula, facilitate user's viewing live.
Preferably, control information is obtained, including:Step D1 or step D2 to D4.
In step D1, the control information of input is received.Or
In step d 2, the first live TV stream that the reception server is sent.
In step D3, judge whether the message transmission rate of the first live TV stream is less than preset data transmission rate.
In step D4, when the message transmission rate of the first live TV stream is less than preset data transmission rate, generation control Information.
By receiving the control information of input or the message transmission rate according to the first live TV stream, control information is generated, Realize and obtain control information, you can with manual switching live TV stream as needed, can also be switched according to the actual conditions of live TV stream Live TV stream, facilitate user to receive and watch live TV stream, also reduce the live interim card as caused by Network Abnormal or terminate what is played Probability.
How terminal is being controlled to realize a kind of live stream switching method below by specific embodiment description.
As shown in figure 5, the embodiments of the invention provide a kind of live stream switching method, for controlling terminal, specific implementation Step is as follows:
In step S501, the first live TV stream of the reception server transmission.
For example, the first live TV stream S1 as current live stream S that the reception server is sent.
In step S502, judge whether the message transmission rate of the first live TV stream is less than preset data transmission rate.
For example, preset data transmission rate is 20Kb/S, when the message transmission rate of live TV stream is more than or equal to 20Kb/S When, play end can the normal not broadcasting live TV stream of interim card, then can not smooth playing at broadcasting end if be less than 20Kb/S Live TV stream.The first live TV stream S1 according to receiving determines that the first live TV stream S1 message transmission rate is 19Kb/S.Thus may be used To find out that the first live TV stream S1 message transmission rate is less than preset data transmission data.
In step S503, when the message transmission rate of the first live TV stream is less than preset data transmission rate, generation control Information processed.
For example, control information is generated according to step S502 judged result.
In step S501 into step S503, control information can also be obtained by another way:Receive the control of input Information processed.
In step S504, according to control information, switching command is generated.
In step S505, switching command is sent to server.
The embodiments of the invention provide a kind of live stream switching method.According to control information, switching command is generated, by cutting Change instruction control server switching live TV stream.Realize control server seamless switching live TV stream, there is provided various live side Formula, facilitate user's viewing live.And by receiving the control information of input or the data transfer speed according to the first live TV stream Rate, control information is generated, realize and obtain control information, you can, can also be according to live with manual switching live TV stream as needed The actual conditions switching live TV stream of stream, facilitates user to receive and watches live TV stream, also reduce live as caused by Network Abnormal Interim card terminates the probability played.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including undocumented common knowledges in the art of the invention Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (6)

  1. A kind of 1. live stream switching method, it is characterised in that for server, including:
    Receive the first live TV stream that main broadcaster end is sent;
    The switching command that reception control terminal is sent, the switching command, including:Point to the finger of the first live TV stream of change interface Order;
    According to the switching command, it is determined that pointing to the first live TV stream of change interface;
    Send first live TV stream.
  2. 2. method as claimed in claim 1, it is characterised in that the switching command, in addition to:Point to stopping interface second is straight Broadcast the instruction of stream;
    Methods described, in addition to:
    Receive the second live TV stream that main broadcaster end is sent;
    Send second live TV stream;
    According to the switching command, stop sending second live TV stream.
  3. 3. the method as described in claim 1, it is characterised in that methods described also includes the method for establishing interface:
    Receive the live TV stream that main broadcaster end is sent;
    The quantity N, the N for identifying the live TV stream are the integer more than or equal to 2;
    A change interface is established, the change interface is the interface for sending live TV stream;
    N-1 stopping interface being established, the stopping interface not sending live TV stream.
  4. 4. the method as described in claim 1, it is characterised in that the first live TV stream of the transmission, including:
    First live TV stream is sent to the control terminal;
    First live TV stream is sent to end is played.
  5. A kind of 5. live stream switching method, it is characterised in that for controlling terminal, including:
    Obtain control information;
    According to the control information, switching command is generated;
    The switching command is sent to server.
  6. 6. method as claimed in claim 5, it is characterised in that the acquisition control information, including:
    Receive the control information of input;Or
    The first live TV stream that the reception server is sent;
    Judge whether the message transmission rate of first live TV stream is less than preset data transmission rate;
    When the message transmission rate of first live TV stream is less than the preset data transmission rate, the control letter is generated Breath.
CN201610632858.9A 2016-08-04 2016-08-04 live stream switching method Pending CN107690075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610632858.9A CN107690075A (en) 2016-08-04 2016-08-04 live stream switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610632858.9A CN107690075A (en) 2016-08-04 2016-08-04 live stream switching method

Publications (1)

Publication Number Publication Date
CN107690075A true CN107690075A (en) 2018-02-13

Family

ID=61151429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610632858.9A Pending CN107690075A (en) 2016-08-04 2016-08-04 live stream switching method

Country Status (1)

Country Link
CN (1) CN107690075A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938628A (en) * 2009-06-29 2011-01-05 未序网络科技(上海)有限公司 Internet live broadcast signal dynamic switching method
CN102131109A (en) * 2010-10-14 2011-07-20 华为技术有限公司 Method, system and device for monitoring stream media broadcast
JP5214814B1 (en) * 2012-03-05 2013-06-19 株式会社東芝 Electronic device and reception control method
CN103500081A (en) * 2013-09-26 2014-01-08 乐视致新电子科技(天津)有限公司 Display method and display device
CN103533443A (en) * 2013-10-21 2014-01-22 深圳致安视科技有限公司 Method for online live telecast of surveillance videos
CN105430490A (en) * 2015-11-30 2016-03-23 北京华夏电通科技有限公司 Flexible control and switching method for live channels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938628A (en) * 2009-06-29 2011-01-05 未序网络科技(上海)有限公司 Internet live broadcast signal dynamic switching method
CN102131109A (en) * 2010-10-14 2011-07-20 华为技术有限公司 Method, system and device for monitoring stream media broadcast
JP5214814B1 (en) * 2012-03-05 2013-06-19 株式会社東芝 Electronic device and reception control method
CN103500081A (en) * 2013-09-26 2014-01-08 乐视致新电子科技(天津)有限公司 Display method and display device
CN103533443A (en) * 2013-10-21 2014-01-22 深圳致安视科技有限公司 Method for online live telecast of surveillance videos
CN105430490A (en) * 2015-11-30 2016-03-23 北京华夏电通科技有限公司 Flexible control and switching method for live channels

Similar Documents

Publication Publication Date Title
US10112109B2 (en) Shared multimedia experience including user input
EP2779667B1 (en) Selective interactivity
US20100083305A1 (en) Interface Device Having Multiple Software Clients to Facilitate Display of Targeted Information
US8683535B2 (en) Fast channel change
CN107566918B (en) A kind of low delay under video distribution scene takes the neutrel extraction of root
US20050265374A1 (en) Broadband telecommunication system and method used therein to reduce the latency of channel switching by a multimedia receiver
US8473999B2 (en) Method and apparatus for providing a picture in picture service
CN101848365B (en) Methods for delivering and receiving interactive multimedia data attached to an audio video content
EP2515536A1 (en) Content distribution system, content distribution device, content playback terminal, and content distribution method
CN104471953B (en) The offer of personalized digital media content
CN109803169B (en) Method and system for realizing multi-path multicast based on network bandwidth
US7043747B1 (en) Methods and apparatus for information broadcasting and reception
CN105791987B (en) The method and terminal that media data plays
CN111432223A (en) Method, terminal and system for realizing multi-view video transmission and playing
US10477256B2 (en) Method for providing interactive services
KR100693061B1 (en) Method and apparatus for providing ip tv service
CN108322787A (en) Video stream distributing method, device and electronic equipment
WO2015109852A1 (en) Method and device for sending media data and set-top box
CN108574883A (en) The method for realizing multiple CDN Parallel downloads video segments
CN107690075A (en) live stream switching method
CN109218772A (en) Smart television information-pushing method and device
CN108134947A (en) A kind of video intercepting method and device
CN108632681A (en) Play method, server and the terminal of Media Stream
EP3089459A1 (en) Apparatus and method for implementing video-on-demand quick switching among multiple screens
KR101310952B1 (en) Method and system for providing iptv channel chatting service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180213

RJ01 Rejection of invention patent application after publication