CN109688419A - Company's wheat method, apparatus and server in a kind of live streaming - Google Patents

Company's wheat method, apparatus and server in a kind of live streaming Download PDF

Info

Publication number
CN109688419A
CN109688419A CN201811613011.1A CN201811613011A CN109688419A CN 109688419 A CN109688419 A CN 109688419A CN 201811613011 A CN201811613011 A CN 201811613011A CN 109688419 A CN109688419 A CN 109688419A
Authority
CN
China
Prior art keywords
video flowing
interflow
main broadcaster
broadcaster end
video
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
CN201811613011.1A
Other languages
Chinese (zh)
Inventor
张吉豪
吴晓峰
郭宏亮
张菊元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Panda Mutual Entertainment Technology Co Ltd
Original Assignee
Beijing Panda Mutual Entertainment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Panda Mutual Entertainment Technology Co Ltd filed Critical Beijing Panda Mutual Entertainment Technology Co Ltd
Priority to CN201811613011.1A priority Critical patent/CN109688419A/en
Publication of CN109688419A publication Critical patent/CN109688419A/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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23614Multiplexing of additional data and video streams
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

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

Abstract

The embodiment of the invention provides the company's wheat method, apparatus and server in a kind of live streaming, the method is applied to server, comprising: persistently receives the first video flowing of the first main broadcaster end transmission, and by the first pushing video streaming to viewer end;When receiving the second video flowing of the second main broadcaster end transmission, continue the first pushing video streaming to viewer end, and the first video flowing and the second video flowing are collaborated, obtains interflow video flowing, wherein, the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end;The first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video flowing, so that viewer end receives and shows interflow video flowing.Since server is after being collaborated the first video flowing and the second video flowing, it is to push interflow video flowing to viewer end by way of switching, so in the whole process, video flowing is continuous, the phenomenon that live streaming interface that viewer end is shown is not in blank screen, user experience is good.

Description

Company's wheat method, apparatus and server in a kind of live streaming
Technical field
The present invention relates to net cast technical fields, more particularly to the company's wheat method, apparatus and service in a kind of live streaming Device.
Background technique
In recent years, net cast is rapidly developed, and is liked by people.Main broadcaster can carry out directly in several ways It broadcasts, can be interacted with spectators or other main broadcasters.Even wheat is the interaction mode between a kind of main broadcaster and main broadcaster, and spectators can be with Watch the live streaming of company's wheat form between main broadcaster.
During even wheat, the user terminal for live streaming is properly termed as main broadcaster end, the user of wheat live streaming being connected between viewing main broadcaster End is then viewer end.For example, main broadcaster end A is being broadcast live, main broadcaster end B and main broadcaster end A carry out even wheat, and even wheat mode is general Are as follows: main broadcaster end A will receive the video stream of acquisition to server after server receives the video flowing that main broadcaster end is sent Pushing video streaming to each viewer end, when receiving the video flowing of main broadcaster end B transmission, cut off the main broadcaster end pushed to viewer end The video flowing of A, after collaborating to main broadcaster end A and main broadcaster end the B video flowing sent, then by the pushing video streaming behind interflow to seeing Many ends, the company wheat live streaming between live streaming interface viewing main broadcaster end A and main broadcaster end B that spectators can be shown by viewer end.
In above-mentioned even wheat mode, since server is when the video flowing to two main broadcaster ends collaborates, cutting is The video flowing of the main broadcaster end A of push, since video flowing is discontinuous, the live streaming interface for causing viewer end to show will appear showing for blank screen As user experience is bad.
Summary of the invention
The company's wheat method, apparatus being designed to provide in a kind of live streaming and server of the embodiment of the present invention, in even wheat Guarantee that video flowing is continuous in the process, the phenomenon that blank screen occurs in the live streaming interface for avoiding viewer end from showing, promotes user experience.Specifically Technical solution is as follows:
In a first aspect, being applied to server, the method the embodiment of the invention provides the company Mai Fangfa in a kind of live streaming Include:
The first video flowing of the first main broadcaster end transmission is persistently received, and by first pushing video streaming to viewer end;
When receiving the second video flowing of the second main broadcaster end transmission, continue first pushing video streaming to the sight Many ends, and first video flowing and second video flowing are collaborated, obtain interflow video flowing, wherein described second Main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end;
First video flowing currently pushed in the channel for pushing first video flowing is switched to the interflow view Frequency flows, so that the viewer end receives and shows the interflow video flowing.
Optionally, described the step of being collaborated first video flowing and second video flowing, comprising:
Using default interflow mode, interflow processing is carried out to first video flowing and second video flowing.
Optionally, second video flowing carries main broadcaster end mark;
It is described to use default interflow mode, the step of interflow processing is carried out to first video flowing and second video flowing Suddenly, comprising:
Judging the mark for the main broadcaster end mark and pre-recorded second main broadcaster end that second video flowing carries is It is no identical;
If so, carrying out interflow processing to first video flowing and second video flowing.
Optionally, the method also includes:
When receiving the third video flowing of third main broadcaster end transmission, continue the interflow pushing video streaming to the sight Many ends, and the third video flowing and the interflow video flowing are collaborated, obtain current interflow video flowing, wherein institute Stating third main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end and second main broadcaster end;
The interflow video flowing that currently pushes in the channel for pushing the interflow video flowing is switched to described current Collaborate video flowing, so that the viewer end receives and shows the current interflow video flowing.
Second aspect, the embodiment of the invention provides company's wheat devices in a kind of live streaming, are applied to server, described device Include:
First pushing module, for persistently receiving the first video flowing of the first main broadcaster end transmission, and by first video Stream pushes to viewer end;
First interflow module, for continuing described first when receiving the second video flowing of the second main broadcaster end transmission Pushing video streaming collaborates first video flowing and second video flowing to the viewer end, obtains interflow view Frequency flows, wherein second main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end;
Second pushing module, first video flowing for will currently be pushed in the channel for pushing first video flowing It is switched to the interflow video flowing, so that the viewer end receives and shows the interflow video flowing.
Optionally, first interflow module includes:
Video flowing collaborates unit, for using default interflow mode, to first video flowing and second video flowing Carry out interflow processing.
Optionally, second video flowing carries main broadcaster end mark;
The video flowing collaborates unit
Judgment sub-unit, the main broadcaster end mark and pre-recorded described second carried for judging second video flowing Identifying whether for main broadcaster end is identical;
Video flowing collaborate subelement, for the main broadcaster end that second video flowing carries mark and it is pre-recorded described in When the mark at the second main broadcaster end is identical, interflow processing is carried out to first video flowing and second video flowing.
Optionally, described device further include:
Second interflow module, for continuing the interflow when receiving the third video flowing of third main broadcaster end transmission Pushing video streaming collaborates the third video flowing and the interflow video flowing to the viewer end, obtains current Collaborate video flowing, wherein third main broadcaster end is the master that even wheat is carried out with first main broadcaster end and second main broadcaster end Broadcast end;
Third pushing module, the interflow video flowing for will currently be pushed in the channel for pushing the interflow video flowing It is switched to the current interflow video flowing, so that the viewer end receives and shows the current interflow video flowing.
The third aspect, the embodiment of the invention provides a kind of server, including processor, communication interface, memory and logical Believe bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes the company wheat in any of the above-described live streaming Method and step.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program is realized when being executed by processor in any of the above-described live streaming Even wheat method and step.
In scheme provided by the embodiment of the present invention, server persistently receives the first video flowing of the first main broadcaster end transmission, And by the first pushing video streaming to viewer end, when receiving the second video flowing of the second main broadcaster end transmission, continue the first view Frequency stream pushes to viewer end, and the first video flowing and the second video flowing are collaborated, and obtaining interflow video flowing will push away in turn The first video flowing currently pushed in the channel of the first video flowing is sent to be switched to interflow video flowing, so that viewer end is received and shown Collaborate video flowing.Wherein, the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end.Since server is regarded by first It is to push interflow video flowing to viewer end by way of switching, without being turned off after frequency stream is collaborated with the second video flowing First video flowing at the first main broadcaster end, so in the whole process, video flowing is continuously that the live streaming interface that viewer end is shown is not The phenomenon that will appear blank screen, user experience are good.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of company's wheat method in a kind of live streaming provided by the embodiment of the present invention;
Fig. 2 is a kind of specific flow chart for collaborating mode in embodiment illustrated in fig. 1 in step S102;
Fig. 3 is the flow chart of the corresponding even wheat mode in third main broadcaster end provided by the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of company's wheat device in a kind of live streaming provided by the embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of server provided by the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to guarantee that video flowing is continuous during even wheat, there is showing for blank screen in the live streaming interface for avoiding viewer end from showing As promoting user experience, the embodiment of the invention provides company's wheat method, apparatus, server and the computers in a kind of live streaming can Read storage medium.
A kind of company's wheat method being provided for the embodiments of the invention in live streaming first below is introduced.
Company's wheat method in a kind of live streaming provided by the embodiment of the present invention can be applied to the service of live streaming application program Device.It is communicated to connect with each main broadcaster end and each viewer end, with transmitting video-frequency flow and relevant information.
As shown in Figure 1, the company Mai Fangfa in a kind of live streaming, is applied to server, which comprises
S101 persistently receives the first video flowing of the first main broadcaster end transmission, and by first pushing video streaming to spectators End;
S102 continues first pushing video streaming extremely when receiving the second video flowing of the second main broadcaster end transmission The viewer end, and first video flowing and second video flowing are collaborated, obtain interflow video flowing;
Wherein, second main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end.
First video flowing currently pushed in the channel for pushing first video flowing is switched to the conjunction by S103 Stream video stream, so that the viewer end receives and shows the interflow video flowing.
As it can be seen that server persistently receives the first view of the first main broadcaster end transmission in scheme provided by the embodiment of the present invention Frequency flows, and by the first pushing video streaming to viewer end, when receiving the second video flowing of the second main broadcaster end transmission, continues the One pushing video streaming collaborates the first video flowing and the second video flowing to viewer end, obtains interflow video flowing, in turn, The first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video flowing, so that viewer end receives simultaneously Display interflow video flowing.Wherein, the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end.Since server is by After one video flowing and the second video flowing are collaborated, be by way of switching to viewer end push interflow video flowing, rather than First video flowing at the first main broadcaster end is cut off, so in the whole process, video flowing is continuous, live streaming circle that viewer end is shown The phenomenon that face is not in blank screen, user experience are good.
In above-mentioned steps S101, the first main broadcaster end is the main broadcaster end being currently broadcast live, can be by the first of acquisition The video flowing of main broadcaster is persistently sent to server, in this way, server can be by the first of the first main broadcaster end received transmission Pushing video streaming is to viewer end, and in turn, viewer end can persistently receive the first video flowing of server transmission, and then straight It broadcasts and plays first video flowing in interface.
When existing, when needing to carry out even the second main broadcaster end of wheat with the first main broadcaster end, server will receive the second main broadcaster Hold the second video flowing sent, wherein the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end.
At this point, in order to guarantee the video flowing for pushing to viewer end be it is continuous continual, server can continue first First pushing video streaming at main broadcaster end collaborates the first video flowing and the second video flowing, in turn at the same time to viewer end Obtain interflow video flowing.
It should be noted that server when being collaborated the first video flowing and the second video flowing, is regarded first always Frequency stream continues to push to viewer end.Viewer end still can continue to watch the live streaming picture at the first main broadcaster end, and at this point, server The first video flowing and the second video flowing are collaborated.
First video flowing and the second video flowing are collaborated after obtaining interflow video flowing, and server can execute above-mentioned step The first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video flowing by rapid S103, in this way, seeing Many ends can receive and show interflow video flowing, and video flowing is not in interrupt, and the live streaming picture that viewer end is shown is also The phenomenon that being not in blank screen, user experience are greatly improved.
Wherein, the first video flowing currently pushed in the channel for pushing the first video flowing is switched to the tool of interflow video flowing Body mode, can use field of video processing any relevant way, as long as can by push the first video flowing channel in when First video flowing of preceding push is switched to interflow video flowing, is not specifically limited and illustrates herein.
It is above-mentioned to flow into first video flowing and second video as a kind of embodiment of the embodiment of the present invention The step of row interflow, may include:
Using default interflow mode, interflow processing is carried out to first video flowing and second video flowing.
For the concrete mode for collaborating above-mentioned first video flowing and the second video flowing, server can be using default Interflow mode carries out interflow processing to the first video flowing and the second video flowing, and then obtains above-mentioned interflow video flowing.
Wherein, presetting interflow mode can be that multi-path video stream can arbitrarily be synthesized to the mode of video flowing all the way, herein It is not specifically limited and illustrates.
For the case where above-mentioned second video flowing carries main broadcaster end mark, as shown in Fig. 2, above-mentioned using default interflow Mode carries out the step of interflow is handled to first video flowing and second video flowing, may include:
S201 judges the mark for main broadcaster the end mark and pre-recorded second main broadcaster end that second video flowing carries Whether knowledge is identical, if so, thening follow the steps S202;If it is not, then being handled without interflow.
S202 carries out interflow processing to first video flowing and second video flowing.
The video flowing that each main broadcaster end is sent is recorded for convenience, and the video flowing that each main broadcaster end is sent can carry the main broadcaster end Mark, in this case, the second main broadcaster end send the second video flowing can also be identified with main broadcaster end.
Wherein, main broadcaster end mark can be using number, text, letter, various characters or in which any a variety of combination etc. Form, as long as can be not specifically limited herein with unique identification main broadcaster end, for example, can be Z1, a, 7* etc..
Before at the second main broadcaster end, the second video of transmission flow to server, often the company of transmission wheat is requested to server, with Application carries out even wheat with the first main broadcaster end, at this point, server can record the mark at the second main broadcaster end.
In this way, when server receives the second video flowing of the second main broadcaster end transmission, can judge to receive the The mark of main broadcaster end entrained by the second video flowing that two main broadcaster ends are sent and pre-recorded main broadcaster end identify whether identical.
If identical, illustrate that the second video flowing received at this time is pre-recorded transmission the second master that even wheat is requested It broadcasts what end was sent, then step S202 can be executed, i.e., interflow processing is carried out to the first video flowing and the second video flowing, with To interflow video flowing.
If it is different, the second video flowing that explanation receives at this time is not pre-recorded transmission the second master that even wheat is requested Broadcast what end was sent, then just not carrying out interflow processing to the first video flowing and the second video flowing.
For example, pre-recorded the second main broadcaster end of server is identified as H#, at this time if the master that the second video flowing carries It broadcasts end and is identified as H#, then illustrating that the second video flowing received is pre-recorded transmission the second main broadcaster end that even wheat is requested It sends, then interflow processing can be carried out to the first video flowing and the second video flowing, to obtain interflow video flowing.At this time such as The main broadcaster end that the second video flowing of fruit carries is identified as I#, then illustrating that the second video flowing received at this time is not pre-recorded What the second main broadcaster end of the company's of transmission wheat request was sent, just interflow processing is not carried out to the first video flowing and the second video flowing.
As it can be seen that in the present embodiment, server may determine that main broadcaster end mark that the second video flowing carries with it is pre-recorded The second main broadcaster end identify whether it is identical, if it is, carrying out interflow processing to the first video flowing and the second video flowing.In this way Interflow processing can be accurately carried out, the problem for avoiding that mistake occurs.
Due in net cast field, often occurring more than the case where two main broadcaster ends carry out even wheat live streaming, then, it is It can be in the case where having more than two main broadcaster ends and carry out even wheat live streaming, the live streaming picture for still guaranteeing that viewer end is shown will not There is the problem of blank screen, as shown in figure 3, a kind of embodiment as the embodiment of the present invention, the above method can also include:
S301 continues the interflow pushing video streaming extremely when receiving the third video flowing of third main broadcaster end transmission The viewer end, and the third video flowing and the interflow video flowing are collaborated, obtain current interflow video flowing;
When existing, when needing to carry out the even third main broadcaster end of wheat with the first main broadcaster end and the second main broadcaster end, server will be connect Receive the third video flowing of third main broadcaster end transmission, wherein third main broadcaster end is and the first main broadcaster end and the second main broadcaster Hold the main broadcaster end of the company of progress wheat.
At this point, in order to guarantee the video flowing for pushing to viewer end be it is continuous continual, server can continue will be above-mentioned Collaborate pushing video streaming to continue to push to sight to viewer end, that is, by the interflow video flowing of the first video flowing and the second video flowing Many ends.At the same time, third video flowing and interflow video flowing are collaborated, and then obtains current interflow video flowing.
It should be noted that server always regards interflow when being collaborated third video flowing and interflow video flowing Frequency stream continues to push to viewer end.Viewer end still can continue the first main broadcaster end of viewing and connect the straight of wheat live streaming with the second main broadcaster end Picture is broadcast, and at this point, server collaborates third video flowing and interflow video flowing.
The interflow video flowing currently pushed in the channel for pushing the interflow video flowing is switched to described work as by S302 Preceding interflow video flowing, so that the viewer end receives and shows the current interflow video flowing.
Third video flowing and interflow video flowing are collaborated after obtaining current interflow video flowing, and server can will push away The interflow video flowing currently pushed in the channel of current interflow video flowing is sent to be switched to current interflow video flowing, in this way, seeing Many ends can receive and show that current interflow video flowing, video flowing are not in interrupt, the live streaming picture that viewer end is shown The phenomenon that blank screen would not also occur in face, and user experience is greatly improved.
Wherein, the interflow video flowing currently pushed in the channel of push interflow video flowing is switched to current interflow video flowing Concrete mode, can use field of video processing any relevant way, as long as can will push interflow video flowing channel In the interflow video flowing that currently pushes be switched to current interflow video flowing, be not specifically limited and illustrate herein.
As it can be seen that in the present embodiment, when occurring more than the case where two main broadcaster ends carry out even wheat live streaming, server, which is worked as, to be connect When receiving the third video flowing of third main broadcaster end transmission, it can continue will to collaborate pushing video streaming to viewer end, and third is regarded Frequency stream with interflow video flowing is collaborated, obtain current interflow video flowing, in turn, will push collaborate video flowing channel in when The interflow video flowing of preceding push is switched to current interflow video flowing, so that viewer end receives and shows current interflow video Stream.Since in the whole process, video flowing is continuously the phenomenon that live streaming interface that viewer end is shown is not in blank screen, use It experiences at family.
It should be noted that when needing to carry out Lian Maishi, example with the main broadcaster end for currently having connected wheat there are more main broadcaster ends When such as there is the 4th main broadcaster end, the 5th main broadcaster end, the 6th main broadcaster end main broadcaster end, connect with the main broadcaster end for currently having connected wheat The mode of wheat has connected the first main broadcaster end of wheat with above-mentioned third main broadcaster end and currently and the second main broadcaster end carries out the mode phase for connecting wheat Together, server can carry out the interflow processing of video flowing using identical processing mode, and details are not described herein.It can achieve Viewer end is not in the effect of blank screen, and user experience is good.
Corresponding to the company Mai Fangfa in above-mentioned live streaming, the embodiment of the invention also provides company's wheat devices in a kind of live streaming.
The company's wheat device being provided for the embodiments of the invention in a kind of live streaming below is introduced.
As shown in figure 4, company's wheat device in a kind of live streaming, is applied to server, described device includes:
First pushing module 410 for persistently receiving the first video flowing of the first main broadcaster end transmission, and described first is regarded Frequency stream pushes to viewer end;
First interflow module 420, for continuing described the when receiving the second video flowing of the second main broadcaster end transmission One pushing video streaming collaborates first video flowing and second video flowing to the viewer end, is collaborated Video flowing;
Wherein, second main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end.
Second pushing module 430, first view for will currently be pushed in the channel for pushing first video flowing Frequency stream is switched to the interflow video flowing, so that the viewer end receives and shows the interflow video flowing.
As it can be seen that server persistently receives the first view of the first main broadcaster end transmission in scheme provided by the embodiment of the present invention Frequency flows, and by the first pushing video streaming to viewer end, when receiving the second video flowing of the second main broadcaster end transmission, continues the One pushing video streaming collaborates the first video flowing and the second video flowing to viewer end, obtains interflow video flowing, in turn, The first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video flowing, so that viewer end receives simultaneously Display interflow video flowing.Wherein, the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end.Since server is by After one video flowing and the second video flowing are collaborated, be by way of switching to viewer end push interflow video flowing, rather than First video flowing at the first main broadcaster end is cut off, so in the whole process, video flowing is continuous, live streaming circle that viewer end is shown The phenomenon that face is not in blank screen, user experience are good.
As a kind of embodiment of the embodiment of the present invention, above-mentioned first interflow module 420 may include:
Video flowing collaborates unit (being not shown in Fig. 4), for using default interflow mode, to first video flowing and institute It states the second video flowing and carries out interflow processing.
As a kind of embodiment of the embodiment of the present invention, above-mentioned second video flowing can carry main broadcaster end mark;
Above-mentioned video flowing collaborates unit
Judgment sub-unit (is not shown) in Fig. 4, for judge main broadcaster end mark that second video flowing carries in advance Identifying whether for second main broadcaster end of record is identical;
Video flowing collaborate subelement (being not shown in Fig. 4), for the main broadcaster end that second video flowing carries mark and When the mark at pre-recorded second main broadcaster end is identical, first video flowing and second video flowing are collaborated Processing.
As a kind of embodiment of the embodiment of the present invention, above-mentioned apparatus can also include:
Second interflow module (being not shown in Fig. 4), for when receive third main broadcaster end transmission third video flowing when, after It is continuous to be closed by the interflow pushing video streaming to the viewer end, and by the third video flowing and the interflow video flowing Stream, obtains current interflow video flowing, wherein third main broadcaster end is and first main broadcaster end and second main broadcaster end The main broadcaster end of the company of progress wheat;
Third pushing module (is not shown) in Fig. 4, for will currently push in the channel for pushing the interflow video flowing The interflow video flowing is switched to the current interflow video flowing, so that the viewer end receives and shows the current conjunction Stream video stream.
The embodiment of the invention also provides a kind of servers, as shown in figure 5, controller may include processor 501, communication Interface 502, memory 503 and communication bus 804, wherein processor 501, communication interface 502, memory 503 are total by communication Line 504 completes mutual communication,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
The first video flowing of the first main broadcaster end transmission is persistently received, and by first pushing video streaming to viewer end;
When receiving the second video flowing of the second main broadcaster end transmission, continue first pushing video streaming to the sight Many ends, and first video flowing and second video flowing are collaborated, obtain interflow video flowing, wherein described second Main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end;
First video flowing currently pushed in the channel for pushing first video flowing is switched to the interflow view Frequency flows, so that the viewer end receives and shows the interflow video flowing.
As it can be seen that server persistently receives the first view of the first main broadcaster end transmission in scheme provided by the embodiment of the present invention Frequency flows, and by the first pushing video streaming to viewer end, when receiving the second video flowing of the second main broadcaster end transmission, continues the One pushing video streaming collaborates the first video flowing and the second video flowing to viewer end, obtains interflow video flowing, in turn, The first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video flowing, so that viewer end receives simultaneously Display interflow video flowing.Wherein, the second main broadcaster end is the main broadcaster end that even wheat is carried out with the first main broadcaster end.Since server is by After one video flowing and the second video flowing are collaborated, be by way of switching to viewer end push interflow video flowing, rather than First video flowing at the first main broadcaster end is cut off, so in the whole process, video flowing is continuous, live streaming circle that viewer end is shown The phenomenon that face is not in blank screen, user experience are good.
The communication bus that above-mentioned server is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned server and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
It is above-mentioned to flow into first video flowing and second video as a kind of embodiment of the embodiment of the present invention The step of row interflow, may include:
Using default interflow mode, interflow processing is carried out to first video flowing and second video flowing.
As a kind of embodiment of the embodiment of the present invention, above-mentioned second video flowing can carry main broadcaster end mark;
It is above-mentioned to use default interflow mode, the step of interflow processing is carried out to first video flowing and second video flowing Suddenly, may include:
Judging the mark for the main broadcaster end mark and pre-recorded second main broadcaster end that second video flowing carries is It is no identical;
If so, carrying out interflow processing to first video flowing and second video flowing.
As a kind of embodiment of the embodiment of the present invention, the above method can also include:
When receiving the third video flowing of third main broadcaster end transmission, continue the interflow pushing video streaming to the sight Many ends, and the third video flowing and the interflow video flowing are collaborated, obtain current interflow video flowing, wherein institute Stating third main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end and second main broadcaster end;
The interflow video flowing that currently pushes in the channel for pushing the interflow video flowing is switched to described current Collaborate video flowing, so that the viewer end receives and shows the current interflow video flowing.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium memory Computer program is contained, the computer program performs the steps of when being executed by processor
The first video flowing of the first main broadcaster end transmission is persistently received, and by first pushing video streaming to viewer end;
When receiving the second video flowing of the second main broadcaster end transmission, continue first pushing video streaming to the sight Many ends, and first video flowing and second video flowing are collaborated, obtain interflow video flowing, wherein described second Main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end;
First video flowing currently pushed in the channel for pushing first video flowing is switched to the interflow view Frequency flows, so that the viewer end receives and shows the interflow video flowing.
As it can be seen that when computer program is executed by processor, persistently receiving first in scheme provided by the embodiment of the present invention The first video flowing that main broadcaster end is sent, and by the first pushing video streaming to viewer end, when receiving the of the transmission of the second main broadcaster end When two video flowings, continue the first pushing video streaming to viewer end, and the first video flowing and the second video flowing are collaborated, obtains To interflow video flowing, in turn, the first video flowing currently pushed in the channel for pushing the first video flowing is switched to interflow video Stream, so that viewer end receives and shows interflow video flowing.Wherein, the second main broadcaster end is the main broadcaster that even wheat is carried out with the first main broadcaster end End.It is to be pushed away by way of switching to viewer end since server is after being collaborated the first video flowing and the second video flowing Interflow video flowing is sent, the first video flowing without being turned off the first main broadcaster end, so in the whole process, video flowing is continuous , the phenomenon that live streaming interface that viewer end is shown is not in blank screen, user experience is good.
It is above-mentioned to flow into first video flowing and second video as a kind of embodiment of the embodiment of the present invention The step of row interflow, may include:
Using default interflow mode, interflow processing is carried out to first video flowing and second video flowing.
As a kind of embodiment of the embodiment of the present invention, above-mentioned second video flowing can carry main broadcaster end mark;
It is above-mentioned to use default interflow mode, the step of interflow processing is carried out to first video flowing and second video flowing Suddenly, may include:
Judging the mark for the main broadcaster end mark and pre-recorded second main broadcaster end that second video flowing carries is It is no identical;
If so, carrying out interflow processing to first video flowing and second video flowing.
As a kind of embodiment of the embodiment of the present invention, the above method can also include:
When receiving the third video flowing of third main broadcaster end transmission, continue the interflow pushing video streaming to the sight Many ends, and the third video flowing and the interflow video flowing are collaborated, obtain current interflow video flowing, wherein institute Stating third main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end and second main broadcaster end;
The interflow video flowing that currently pushes in the channel for pushing the interflow video flowing is switched to described current Collaborate video flowing, so that the viewer end receives and shows the current interflow video flowing.
It should be noted that for above-mentioned apparatus, server and computer readable storage medium embodiment, due to it It is substantially similar to embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Need further exist for explanation, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. the company Mai Fangfa in a kind of live streaming, which is characterized in that be applied to server, which comprises
The first video flowing of the first main broadcaster end transmission is persistently received, and by first pushing video streaming to viewer end;
When receiving the second video flowing of the second main broadcaster end transmission, continue first pushing video streaming to the spectators End, and first video flowing and second video flowing are collaborated, obtain interflow video flowing, wherein described second is main End is broadcast to carry out the main broadcaster end for connecting wheat with first main broadcaster end;
First video flowing currently pushed in the channel for pushing first video flowing is switched to the interflow video flowing, So that the viewer end receives and shows the interflow video flowing.
2. the method as described in claim 1, which is characterized in that described to flow into first video flowing and second video The step of row interflow, comprising:
Using default interflow mode, interflow processing is carried out to first video flowing and second video flowing.
3. method according to claim 2, which is characterized in that second video flowing carries main broadcaster end mark;
It is described that the step of interflow is handled is carried out to first video flowing and second video flowing using default interflow mode, Include:
Judge main broadcaster end mark that second video flowing carries and pre-recorded second main broadcaster end identifies whether phase Together;
If so, carrying out interflow processing to first video flowing and second video flowing.
4. the method according to claim 1, which is characterized in that the method also includes:
When receiving the third video flowing of third main broadcaster end transmission, continue the interflow pushing video streaming to the spectators End, and the third video flowing and the interflow video flowing are collaborated, obtain current interflow video flowing, wherein described Third main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end and second main broadcaster end;
The interflow video flowing currently pushed in the channel for pushing the interflow video flowing is switched to the current interflow Video flowing, so that the viewer end receives and shows the current interflow video flowing.
5. company's wheat device in a kind of live streaming, which is characterized in that be applied to server, described device includes:
First pushing module for persistently receiving the first video flowing of the first main broadcaster end transmission, and first video flowing is pushed away It send to viewer end;
First interflow module, for continuing first video when receiving the second video flowing of the second main broadcaster end transmission Stream pushes to the viewer end, and first video flowing and second video flowing are collaborated, and obtains interflow video flowing, Wherein, second main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end;
Second pushing module, first video flowing switching for will currently be pushed in the channel for pushing first video flowing For the interflow video flowing, so that the viewer end receives and shows the interflow video flowing.
6. device as claimed in claim 5, which is characterized in that described first, which collaborates module, includes:
Video flowing collaborates unit, for being carried out to first video flowing and second video flowing using default interflow mode Interflow processing.
7. device as claimed in claim 6, which is characterized in that second video flowing carries main broadcaster end mark;
The video flowing collaborates unit
Judgment sub-unit, for judging that the main broadcaster end that second video flowing carries identifies and pre-recorded second main broadcaster Identifying whether for end is identical;
Video flowing collaborates subelement, in the main broadcaster end that second video flowing carries mark and pre-recorded described second When the mark at main broadcaster end is identical, interflow processing is carried out to first video flowing and second video flowing.
8. such as the described in any item devices of claim 5-7, which is characterized in that described device further include:
Second interflow module, for continuing the interflow video when receiving the third video flowing of third main broadcaster end transmission Stream pushes to the viewer end, and the third video flowing and the interflow video flowing are collaborated, and obtains current interflow Video flowing, wherein third main broadcaster end is the main broadcaster end that even wheat is carried out with first main broadcaster end and second main broadcaster end;
Third pushing module, for switching the interflow video flowing currently pushed in the channel for pushing the interflow video flowing For the current interflow video flowing, so that the viewer end receives and shows the current interflow video flowing.
9. a kind of server, which is characterized in that including processor, communication interface, memory and communication bus, wherein processor, Communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any method and step of claim 1-4.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes claim 1-4 any method and step when the computer program is executed by processor.
CN201811613011.1A 2018-12-27 2018-12-27 Company's wheat method, apparatus and server in a kind of live streaming Pending CN109688419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811613011.1A CN109688419A (en) 2018-12-27 2018-12-27 Company's wheat method, apparatus and server in a kind of live streaming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811613011.1A CN109688419A (en) 2018-12-27 2018-12-27 Company's wheat method, apparatus and server in a kind of live streaming

Publications (1)

Publication Number Publication Date
CN109688419A true CN109688419A (en) 2019-04-26

Family

ID=66190537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811613011.1A Pending CN109688419A (en) 2018-12-27 2018-12-27 Company's wheat method, apparatus and server in a kind of live streaming

Country Status (1)

Country Link
CN (1) CN109688419A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287399A (en) * 2019-06-20 2019-09-27 广州虎牙科技有限公司 Live information processing method, device, electronic equipment and storage medium
CN112738638A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Live wheat-connecting method, device, equipment, storage medium and product
CN113840170A (en) * 2020-06-23 2021-12-24 武汉斗鱼网络科技有限公司 Live wheat-connecting method and device
CN114928749A (en) * 2022-04-14 2022-08-19 上海哔哩哔哩科技有限公司 Live stream switching method, system and device
WO2022206185A1 (en) * 2021-04-02 2022-10-06 北京达佳互联信息技术有限公司 Video stream processing method and apparatus
CN115997384A (en) * 2022-10-28 2023-04-21 广州酷狗计算机科技有限公司 Live stream switching method, device, server, terminal and program product
WO2023197897A1 (en) * 2022-04-14 2023-10-19 北京字跳网络技术有限公司 Method and apparatus for processing live-streaming audio and video stream, and device and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954100A (en) * 2017-03-13 2017-07-14 网宿科技股份有限公司 Live broadcasting method and system, company's wheat management server
CN108055577A (en) * 2017-12-18 2018-05-18 北京奇艺世纪科技有限公司 A kind of live streaming exchange method, system, device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954100A (en) * 2017-03-13 2017-07-14 网宿科技股份有限公司 Live broadcasting method and system, company's wheat management server
CN108055577A (en) * 2017-12-18 2018-05-18 北京奇艺世纪科技有限公司 A kind of live streaming exchange method, system, device and electronic equipment

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287399A (en) * 2019-06-20 2019-09-27 广州虎牙科技有限公司 Live information processing method, device, electronic equipment and storage medium
CN110287399B (en) * 2019-06-20 2022-09-09 广州虎牙科技有限公司 Live broadcast information processing method and device, electronic equipment and storage medium
CN113840170A (en) * 2020-06-23 2021-12-24 武汉斗鱼网络科技有限公司 Live wheat-connecting method and device
CN113840170B (en) * 2020-06-23 2023-06-16 武汉斗鱼网络科技有限公司 Method and device for live broadcast of wheat
CN112738638A (en) * 2020-12-25 2021-04-30 北京百度网讯科技有限公司 Live wheat-connecting method, device, equipment, storage medium and product
WO2022206185A1 (en) * 2021-04-02 2022-10-06 北京达佳互联信息技术有限公司 Video stream processing method and apparatus
CN114928749A (en) * 2022-04-14 2022-08-19 上海哔哩哔哩科技有限公司 Live stream switching method, system and device
WO2023197897A1 (en) * 2022-04-14 2023-10-19 北京字跳网络技术有限公司 Method and apparatus for processing live-streaming audio and video stream, and device and medium
CN114928749B (en) * 2022-04-14 2024-05-28 上海哔哩哔哩科技有限公司 Live stream switching method, system and device
CN115997384A (en) * 2022-10-28 2023-04-21 广州酷狗计算机科技有限公司 Live stream switching method, device, server, terminal and program product
WO2024087197A1 (en) * 2022-10-28 2024-05-02 广州酷狗计算机科技有限公司 Live stream switching method and apparatus, server, terminal, and program product

Similar Documents

Publication Publication Date Title
CN109688419A (en) Company's wheat method, apparatus and server in a kind of live streaming
CN109257618A (en) Company wheat interflow method, apparatus and server in a kind of live streaming
CN109168018A (en) Company's wheat converging system, method, apparatus and own server in a kind of live streaming
CN103517143A (en) Method, device and terminal device for playing network video
CN110087141A (en) Method of transmitting video data, device, client and server
CN102802138A (en) Video file processing method and system, and video proxy system
CN108900919A (en) Company's wheat method, apparatus, server and terminal in a kind of live streaming
CN103313129A (en) Method and device for video playing
CN110247986A (en) A kind of document transmission method, device and electronic equipment
CN106488270A (en) A kind of method and apparatus of direct broadcasting room switching
CN109068157A (en) Method of adjustment, device and the server of plug-flow parameter in a kind of live streaming
CN110691331B (en) Conference demonstration method and device based on Bluetooth mesh technology and terminal equipment
US10021433B1 (en) Video-production system with social-media features
CN104077296A (en) Information processing method and server
CN103813215A (en) Information collection method and electronic device
CN105916030A (en) Method, device and system for recording breakpoint information of video on demand
CN104038785A (en) Recommending system and method of live-program-related content of smart television
CN109714622A (en) A kind of video data handling procedure, device and electronic equipment
CN104394475A (en) Streaming media file playing method and media player
CN103763587A (en) Method and device for playing multimedia data
CN104301755A (en) Television information obtaining method, television set, background server and system
CN105915938A (en) Method, device and system for downloading video
CN103763303A (en) Method and device for drama series playing
CN103546666B (en) The method and device that a kind of programme with time attribute generates in real time
CN106385627B (en) video encoding method and apparatus

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190426

WD01 Invention patent application deemed withdrawn after publication