CN106792244A - Net cast method and device - Google Patents

Net cast method and device Download PDF

Info

Publication number
CN106792244A
CN106792244A CN201611262942.2A CN201611262942A CN106792244A CN 106792244 A CN106792244 A CN 106792244A CN 201611262942 A CN201611262942 A CN 201611262942A CN 106792244 A CN106792244 A CN 106792244A
Authority
CN
China
Prior art keywords
direct broadcast
broadcast band
video data
association
client
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
CN201611262942.2A
Other languages
Chinese (zh)
Inventor
陈孟琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201611262942.2A priority Critical patent/CN106792244A/en
Publication of CN106792244A publication Critical patent/CN106792244A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • 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/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application provides net cast method and device, methods described includes:Receive the video data of live client transmission in target direct broadcast band;It is determined that the association direct broadcast band associated with the target direct broadcast band;The video data is played in the target direct broadcast band and the association direct broadcast band.Using application scheme, can realize in identical platform across the same video data of channel live, it is to avoid the corresponding live client of each main broadcaster gathers video data, so as to save resource, and can realize that different channel synchronously plays same video.

Description

Net cast method and device
Technical field
The application is related to network direct broadcasting field, more particularly to net cast method and device.
Background technology
Network direct broadcasting technology is that the live video data of main broadcaster user is broadcasted to multiple spectators users by a kind of service end The Internet technology of row viewing.After spectators user enters the direct broadcast band that main broadcaster user creates, main broadcaster user's upload can be watched Video.At present, the data that main broadcaster user uploads in the direct broadcast band can be played in each direct broadcast band, it is impossible to play other The data that main broadcaster user uploads in direct broadcast band.Under some application scenarios, different main broadcaster users can live identical or portion Divide identical live content.For example, when multiple main broadcaster users play in platform, the corresponding live visitor of each main broadcaster user Family end can gather video data, and video data transmitting is delivered into service end, and spectators user, spectators user are forwarded to by service end It is the user for entering the direct broadcast band that the main broadcaster user creates.It can be seen that, different main broadcasters it is live be same bout, and each lead Broadcast and be both needed to collection match related data, cause the wasting of resources.Meanwhile, when different main broadcasters play live data, may be due to main broadcaster The time delay of setting is inconsistent, causes different main broadcasters synchronously to play same video.
The content of the invention
The application provides net cast method and device, to solve the prior art wasting of resources, the nonsynchronous problem of video.
According to the first aspect of the embodiment of the present application, there is provided a kind of net cast method, methods described includes:
Receive the video data of live client transmission in target direct broadcast band;
It is determined that the association direct broadcast band associated with the target direct broadcast band;
The video data is played in the target direct broadcast band and the association direct broadcast band.
Optionally, the video data carries shared status indicator, and the determination is associated with the target direct broadcast band Association direct broadcast band before, also include:
When receiving the video data, judge that the video data is shared to allow according to the shared status indicator Data;
The association direct broadcast band for determining to be associated with the target direct broadcast band, including:
Association direct broadcast band mark corresponding with target direct broadcast band mark is inquired about from the corresponding relation that prestores;
Wherein, the corresponding relation that prestores is based on the live frequency of target of main broadcaster's client transmission in the target direct broadcast band Road is identified and associates direct broadcast band mark acquisition, or the corresponding relation that prestores is based on main broadcaster client in the association direct broadcast band The relay request for sending is held to obtain, the relay request is the request for relaying video data in the target direct broadcast band.
Optionally, the video data is played in the association direct broadcast band, including:
The all live client that the video data is sent directly in the association direct broadcast band is played out.
Optionally, carry former video parameter in the video data, it is described association direct broadcast band in play described in regard Frequency evidence, including:
Obtain the transcoded video parameter of main broadcaster's client setting in association direct broadcast band;
Transcoding treatment is carried out to the video data according to the transcoded video parameter and the former video parameter;
By the video data after treatment, the main broadcaster's client to the association direct broadcast band is sent, and by the pass Main broadcaster's client in connection direct broadcast band is relayed.
Optionally, the main broadcaster's client by the association direct broadcast band is relayed, including:
Receive the renewal video data that the main broadcaster's client in the association direct broadcast band sends, the renewal video data It is sound that the main broadcaster's client in the association direct broadcast band gathers the view data in the video data and microphone Data after sound data encoding;
The renewal video data transmitting is delivered into the spectator client in the association direct broadcast band to play out.
Optionally, the former video parameter includes one or more in resolution ratio, code check, the frame per second of video data.
Optionally, methods described also includes:
The main broadcaster's client for notifying to send into association direct broadcast band will be relayed;
The response message that main broadcaster's client in the association direct broadcast band is returned, judges that the establishment association is live The main broadcaster of channel agrees to relay.
According to the second aspect of the embodiment of the present application, there is provided a kind of net cast device, described device includes:
Data reception module, the video data for receiving live client transmission in target direct broadcast band;
Channel determining module, for the association direct broadcast band for determining to be associated with the target direct broadcast band;
Video playback module, for playing the video counts in the target direct broadcast band and the association direct broadcast band According to.
Optionally, the video data carries shared status indicator, and described device also includes condition judgment module, is used for When the video data is received, the video data is judged as shared data are allowed according to the shared status indicator;
The channel determining module, specifically for:Inquired about from the corresponding relation that prestores corresponding with target direct broadcast band mark Association direct broadcast band mark;
Wherein, the corresponding relation that prestores is based on the live frequency of target of main broadcaster's client transmission in the target direct broadcast band Road is identified and associates direct broadcast band mark acquisition, or the corresponding relation that prestores is based on main broadcaster client in the association direct broadcast band The relay request for sending is held to obtain, the relay request is the request for relaying video data in the target direct broadcast band.
Optionally, the video playback module, specifically for:The video data is sent directly to the association live All live client in channel is played out.
Optionally, former video parameter is carried in the video data, the video playback module, including:
Parameter acquiring submodule, the transcoded video parameter for obtaining main broadcaster's client setting in association direct broadcast band;
Data processing submodule, for according to the transcoded video parameter and the former video parameter to the video counts According to carrying out transcoding treatment;
Video transmission submodule, for by the video data after treatment, sending the main broadcaster to the association direct broadcast band Client, and relayed by the main broadcaster's client in the association direct broadcast band.
Optionally, the video transmission submodule, specifically for:
Receive the renewal video data that the main broadcaster's client in the association direct broadcast band sends, the renewal video data It is:Main broadcaster's client in the association direct broadcast band, the view data in the video data and microphone are gathered Data after voice data coding;
The renewal video data transmitting is delivered into the spectator client in the association direct broadcast band to play out.
Using application scheme, the video data of live client transmission in target direct broadcast band is received, and it is straight in target Broadcast channel and play in direct broadcast band the described video data with associating, so as to realize in identical platform across the same video of channel live Data, it is to avoid the corresponding live client of each main broadcaster gathers video data, so as to save resource, and can realize difference Channel synchronization plays video.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The application can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the application Example, and it is used to explain the principle of the application together with specification.
Fig. 1 is a kind of Living Network configuration diagram of the application according to an exemplary embodiment.
Fig. 2A is a kind of flow chart of net cast method of the application according to an exemplary embodiment.
Fig. 2 B are a kind of application scenario diagram of the application according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of net cast device of the application according to an exemplary embodiment.
Fig. 4 is that an a kind of structure for net cast device 400 of the application according to an exemplary embodiment is shown It is intended to.
Specific 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 implementation method do not represent all implementation methods consistent with the application.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and is not intended to be limiting the application. " one kind ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps May be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
In order to be best understood from net cast method and device disclosed in this invention, first Living Network framework is said It is bright.As shown in figure 1, Fig. 1 is a kind of Living Network configuration diagram of the application according to an exemplary embodiment.This is live The network architecture can include service end and multiple terminals.Wherein, service end is used to provide the background service of network direct broadcasting.Service end Can be including server, server cluster or cloud platform etc..Terminal can be the intelligent terminal with network direct broadcasting function, example Such as, intelligent terminal can be computer, smart mobile phone, panel computer, PDA (Personal Digital Assistant, individual Digital assistants), multimedia player, wearable device etc..
In Fig. 1, live client can be in the terminal installed, service end provides direct broadcast service to each live client.Example Such as, user can install live client application with using terminal, obtain what service end was provided by the live client application Direct broadcast service, it is also possible to which using terminal installs browser client application, by browser client application login service device institute The live page of offer, obtains direct broadcast service.This application is interpreted as the webpage live client of version.Generally, during live It is related to two class users, a class user is main broadcasting user, and another kind of user is spectators user, based on this, terminal can be divided into master Broadcast end and viewer end.Live client can be provided with main broadcaster's direct broadcast function and it is live watch function, main broadcaster user can use Main broadcaster's direct broadcast function that live client is provided carries out net cast, and it is live that spectators user can be provided using live client Watch function watching video content.It is different based on user role during live, main broadcaster's client and spectators client can be divided into End.Main broadcaster's client is the live client that main broadcaster user is used, and spectator client is the live visitor that spectators user is used Family end.For example, the main broadcaster end for being provided with main broadcaster's client can open the video capture module at main broadcaster end, by video capture mould Block Real-time Collection video data, and service end is sent to, the video data broadcast that service end will be received is objective to spectators are provided with The viewer end at family end, and spectators user can watch that function watches the live interior of main broadcaster user using spectator client offer Hold.
The data that main broadcaster user uploads in the direct broadcast band can be played in correlation technique, in each direct broadcast band, it is impossible to The data that main broadcaster user uploads in other direct broadcast bands are played, the spectators into direct broadcast band could watch direct broadcast band broadcasting Video.Under some application scenarios, different main broadcaster users can live identical or part identical live content.It can be seen that, Different channel it is live be identical live content, and the corresponding live client of each main broadcaster be both needed to gather video data, cause The wasting of resources.
In order to avoid the defect of the wasting of resources in correlation technique, the application provides a kind of net cast method, by flat The live same video data of multiple direct broadcast bands in platform, it is to avoid the corresponding live client of each main broadcaster gathers video counts According to so as to save resource.Scheme provided herein is described in detail below.
As shown in Figure 2 A, Fig. 2A is a kind of flow of net cast method of the application according to an exemplary embodiment Figure, methods described can be applied in service end, and methods described includes step 201 to step 203:
In step 201, the video data of live client transmission in target direct broadcast band is received.
In step 202., it is determined that the association direct broadcast band associated with the target direct broadcast band.
In step 203, the video data is played in the target direct broadcast band and the association direct broadcast band.
In the embodiment of the present application, in order to describe the live same video data of different direct broadcast bands in identical platform, by difference Direct broadcast band is divided into target direct broadcast band and the association direct broadcast band associated with target direct broadcast band, target direct broadcast band and Association direct broadcast band is the direct broadcast band in identical platform.Target direct broadcast band is to provide the channel of live data, and target is live Channel can be official's direct broadcast band that operator provides, such as sports channel, entertainment channel during YY is live, channel for finance and economics Deng, or the direct broadcast band that is created by main broadcaster user.Association direct broadcast band can be the video of shared target direct broadcast band The channel of data, association direct broadcast band can be the official's direct broadcast band, or created by main broadcaster user that operator provides Direct broadcast band.
Live client is the live client for entering direct broadcast band in direct broadcast band.
When target direct broadcast band is official's direct broadcast band that operator provides, live client can in target direct broadcast band Being the client of operator's uploaded videos data.When target direct broadcast band is the direct broadcast band created by main broadcaster user, mesh Live client can be main broadcaster's client, or spectator client in mark direct broadcast band.Live data is generally Uploaded by main broadcaster, as main broadcaster and audience interaction, spectators can also upload data.
Wherein, video data can include view data and/or voice data.
When video data is received, in one example, the association associated with target direct broadcast band can be directly determined Direct broadcast band.In another example, because not all video data is required for being shared, therefore, it can in video counts Shared status indicator is carried according to middle, when receiving video data, judges that the video data is according to the shared status indicator It is no to allow shared data, if it is decided that the video data is to allow shared data, it is determined that live with the target The association direct broadcast band of channel association.If it is determined that the video data is not allow shared data, then directly by video counts Played out according in target direct broadcast band.
It can be seen that, can decide whether to allow shared video data by shared status indicator, so as to avoid forwarding from not allowing Shared video data, it is to avoid caused damage to the user for providing shared video.
It is determined that associated with the target direct broadcast band association direct broadcast band when, can be inquired about from the corresponding relation that prestores Association direct broadcast band mark corresponding with target direct broadcast band mark, so that it is determined that association direct broadcast band.Target direct broadcast band mark Knowledge is the mark for identifying target direct broadcast band, for example, it may be direct broadcast band number, or numeral, character string, symbol Deng any combination, as long as can unique mark target direct broadcast band.Association direct broadcast band mark is straight for identifying association The mark of channel is broadcast, for example, it may be any combination of direct broadcast band number, or numeral, character string, symbol etc., as long as Can unique mark association direct broadcast band.
In one example, the corresponding relation that prestores can be sent based on main broadcaster's client in the target direct broadcast band Target direct broadcast band mark and associate direct broadcast band mark acquisition.
In this embodiment, the main broadcaster user in target direct broadcast band can set the live frequency of association by main broadcaster's client Road is identified, and target direct broadcast band mark is sent to service end with direct broadcast band mark is associated, and service end storage target is live Channel identication and the corresponding relation for associating direct broadcast band mark, so as to generate the corresponding relation that prestores.For example, in file Being set in ETSetForwardCopyStreamCfg needs the channel number of forwarding.Based on this, can be looked into from the corresponding relation that prestores Association direct broadcast band mark corresponding with target direct broadcast band mark is ask, so that it is determined that target direct broadcast band.
It can be seen that, the present embodiment sets association direct broadcast band and identifies by the main broadcaster user in target direct broadcast band, Ke Yiti Controllability of the main broadcaster user high to association direct broadcast band.
Further, the main broadcaster user in target direct broadcast band can also delete the association for having set by main broadcaster's client Direct broadcast band is identified, and association direct broadcast band forwarding video data is directly terminated after deletion, further improves association direct broadcast band Controllability.
Further, because association direct broadcast band mark is set by the main broadcaster user in target direct broadcast band, at some In scene, for example, when target direct broadcast band is for official's direct broadcast band and association direct broadcast band is other officials in identical platform During direct broadcast band, due to being in identical platform, therefore other official's direct broadcast bands can give tacit consent to agreement and relay.
In another scene, if target direct broadcast band is official's direct broadcast band and association direct broadcast band is main broadcaster's wound The direct broadcast band built, or target direct broadcast band be main broadcaster create direct broadcast band and association direct broadcast band be other main broadcasters wound In the scenes such as the direct broadcast band built, the main broadcaster in association direct broadcast band not necessarily agrees to relay, then service end needs to notify association Main broadcaster in direct broadcast band.
Specifically, the main broadcaster's client for notifying to send into association direct broadcast band will be relayed, according to the live frequency of association The response message that main broadcaster's client in road is returned, judges whether the main broadcaster for creating association direct broadcast band agrees to relay, if it is determined that The main broadcaster for creating association direct broadcast band agrees to relay, then the playing video data in direct broadcast band is associated, if it is determined that creating association The main broadcaster of direct broadcast band disagrees relay, then not associate direct broadcast band in playing video data.
It is understood that in order to realize live broadcasting as far as possible, judging whether the main broadcaster for creating association direct broadcast band agrees to The process of relay can be first carried out in advance, and will determine that result record in service end, so as to direct after subsequently received video data Processed accordingly according to judged result.
In another example, the corresponding relation that prestores can be based on main broadcaster's client hair in the association direct broadcast band The relay request sent is obtained, described to relay the request that request is video data in the relay target direct broadcast band.
In this embodiment, main broadcaster user is not aware that in target direct broadcast band, or not fully knows video data Share to which direct broadcast band suitable, therefore, it can determine to associate direct broadcast band by way of other direct broadcast bands are asked.Example Such as, in certain class target direct broadcast band play the complete external disclosure of video data, then in other direct broadcast bands main broadcaster's client to Service end sends relays request, as long as carrying the identification code of target direct broadcast band in relaying request, you can by other live frequencies Road is defined as the association direct broadcast band associated with target direct broadcast band, stores corresponding relation.
And for example, the video data played in certain class target direct broadcast band has forwarding authority, then main in target direct broadcast band Broadcasting client can will allow the direct broadcast band mark of forwarding to be uploaded to service end, in service end receives other direct broadcast bands When the relay that main broadcaster's client sends is asked, due to carrying the live mark of other direct broadcast bands in relay request, then service Hold according to the live mark for allowing the direct broadcast band mark of forwarding and relay in request judge the direct broadcast band whether be and mesh The association direct broadcast band of mark direct broadcast band association, and corresponding relation is stored according to judged result.
And for example, the video data played in certain class target direct broadcast band has forwarding authority, when service end receives other When the relay that main broadcaster's client sends in direct broadcast band is asked, due to carrying the live mark of other direct broadcast bands in relay request Know, then service end sends into main broadcaster's client of target direct broadcast band the live mark relayed in request, and service end passes through The response message that main broadcaster's client is returned judges whether the direct broadcast band is the association direct broadcast band associated with target direct broadcast band, And corresponding relation is stored according to judged result.
It can be seen that, the embodiment determines correspondence pass by way of main broadcaster's client in associating direct broadcast band sends and relays request System, can increase the flexibility of corresponding relation generating mode, the property of participation of other channels main broadcaster in enhancing platform.
On step 203, the video data is played in the target direct broadcast band, with the hand in correlation technique Duan Xiangtong, does not limit herein.
The video data is played in the association direct broadcast band, in an optional implementation, can be with The all live client that the video data is sent directly in the association direct broadcast band is played out.The live visitor Family end is the client for live video data.All live client in association direct broadcast band is to enter the live frequency of association The all live client in road (direct broadcasting room).
The embodiment is the situation that video flowing is directly forwarded, and it is live that the main broadcaster user in target direct broadcast band clicks on beginning Afterwards, the video data that service end will directly can be received is forwarded to all live client in association direct broadcast band, realizes The video data is played in direct broadcast band is associated.
For example, target direct broadcast band is official's direct broadcast band and associates direct broadcast band for interior other officials of identical platform are straight Channel is broadcast, then the video data that service end will directly can be received is forwarded to all live client in association direct broadcast band End.
And for example, it is the direct broadcast band that official's direct broadcast band and association direct broadcast band are created for main broadcaster in target direct broadcast band, Or target direct broadcast band is the direct broadcast band that the direct broadcast band and association direct broadcast band of main broadcaster's establishment are that other main broadcasters create, Or during the direct broadcast band and association direct broadcast band that target direct broadcast band is main broadcaster's establishment are for scenes such as official's direct broadcast bands, such as Fruit association direct broadcast band is agreed to relay, then the video data that service end will directly can be received is forwarded in association direct broadcast band All live client.
As seen from the above-described embodiment, the main broadcaster user in association direct broadcast band is encoded without using main broadcaster's terminal, is taken Business end directly forwards the video data in target direct broadcast band, it is to avoid main broadcaster's terminal collection video data, treatment video data, volume The wasting of resources that code video data, uploaded videos data etc. are caused.Also, user is without crowded (straight to same direct broadcast band Between broadcasting) the same live content of viewing, greatly reduce the pressure of server.Simultaneously as shared is same portion video data, And directly forwarded by service end, therefore can realize that different channel synchronously plays video.
In order to mitigate server stress, it is possible to use video dubbing server video data is carried out 100% it is completely multiple Make, and the data distributing that will be replicated is issued in association direct broadcast band to channel management server by channel management server All live client carry out video playback.It can be seen that, substep is carried out by video dubbing server and channel management server Perform, server stress can be mitigated.
In one example, when video data is forwarded, the relevant information in the association direct broadcast band can also be sent To live client, for example, barrage information, public screen chat message etc..
In one example, the various different agreements of each terminal are adapted in order to allow main broadcaster to push to the video stream data for coming, are needed The work of some stream process is done in service end, such as be transcoded into different-format and support different agreement, such as RTMP (Real Time Messaging Protocol real-time messages host-host protocol), HLS (HTTP Live Streaming) and FLV (FLASH VIDEO) etc., multi-way stream is turned all the way to be adapted to the terminal device of a variety of network conditions and different resolution.Based on this, take Business end can also set the transcoded video parameter of video data.Transcoded video parameter can be regarded including resolution ratio, code check, frame per second etc. Frequency parameter.When receiving video data, video data is carried out according to the former video parameter of transcoded video parameter and video data Transcoding, all live client in the data is activation after transcoding to the association direct broadcast band is played out, and send All live client in target direct broadcast band is played out.
A concrete application example is exemplified below to illustrate.As shown in Figure 2 B, Fig. 2 B are the application exemplary according to A kind of application scenario diagram that implementation is exemplified.In the schematic diagram, terminal A is the terminal used when main broadcaster user A starts broadcasting, terminal C be user C viewings direct broadcast band b it is live when the terminal that is used, terminal D is the live when institute that user D watches entertainment channel The terminal for using, terminal E be user E viewing GameChannels it is live when the terminal that is used.
Assuming that main broadcaster user A and main broadcaster user B is carrying out chess tournament.Main broadcaster user A is created direct broadcast band a, main broadcaster User B is created has direct broadcast band b, main broadcaster user A and main broadcaster user B without while starting broadcasting, one of main broadcaster starts broadcasting.Example Such as, main broadcaster user A is started broadcasting by terminal A, and the video data of collection is uploaded to service end by terminal A.Service end determine with The direct broadcast band of direct broadcast band a associations has entertainment channel and GameChannel in direct broadcast band b, official's direct broadcast band, then service Video data is sent directly to the terminal B under direct broadcast band b, the end under terminal D and GameChannel under entertainment channel at end End E.
It can be seen that, shared to direct broadcast band b, entertainment channel and GameChannel by by the video data in direct broadcast band a, it is real Across the same video flowing of channel live in existing identical platform, for the direct broadcast band b that main broadcaster B is created, main broadcaster B without oneself Machine code is to be capable of achieving net cast, it is to avoid the money that collection video data, coding video frequency data, uploaded videos data etc. are caused Source wastes.Also, when seeing same bout, user is watched without crowded to same direct broadcast band (direct broadcasting room), to use Family brings facility, while greatly reducing the pressure of server.Meanwhile, when can avoid competition game, each direct broadcast band Main broadcaster plays nonsynchronous defect.
The main broadcaster user associated in another optional implementation, under some scenes in direct broadcast band wants mutual with spectators Dynamic, then associating the main broadcaster user in direct broadcast band needs to start broadcasting, and is relayed using the video data that service end is shared.
Terminal device, network environment difference due to different main broadcaster users, cause to video quality demands difference, i.e., to regarding Frequency parameter request is different, it is therefore desirable to carry out transcoding treatment to video data.Specifically, carry original in the video data regarding Frequency parameter, the video data is played in the association direct broadcast band, including:
Obtain the transcoded video parameter of main broadcaster's client setting in association direct broadcast band;
Transcoding treatment is carried out to the video data according to the transcoded video parameter and the former video parameter;
By the video data after treatment, the main broadcaster's client to the association direct broadcast band is sent, and by the pass Main broadcaster's client in connection direct broadcast band is relayed.
In the present embodiment, it is to adapt to associate the end of main broadcaster user in direct broadcast band that video data is carried out into transcoding treatment The demand of end equipment and network environment.Former video parameter and transcoded video parameter are video parameters.Former video parameter is video The video parameter of data, transcoded video parameter is the video parameter of pre- transcoding.Video parameter can include resolution ratio, code check, frame The parameters such as rate.
For example, the video parameter of video data is stored in file ETSetCustomForwardCfg, such as resolution ratio, Code check, frame per second etc..The video data of live client upload is properly termed as original painting again in target direct broadcast band, live when associating When main broadcaster client does not need original painting in channel, parameter m_targetChannelId can fill out -1, for identifying association direct broadcast band Middle main broadcaster client does not need original painting.Turning for association direct broadcast band can be set in file ETSetForwardTranscodeCfg Code video parameter, for example, need to turn the code check of high definition, super clear, SD and respective notch, resolution ratio etc..
The copy of forwarding channel is set using file ETSetForwardCopyStreamCfg, that is, setting needs forwarding Channel number.File ETDeleteForwardConfig is also supported to delete customized channel assignment, i.e. channel number is deleted in configuration.
In service end, in order to share server stress, it is possible to use video dubbing server is carried out to video data 100% duplication completely, and the multiple video stream datas for replicating are issued to transcoding server, it is straight that transcoding server obtains association Broadcast the transcoded video parameter of main broadcaster's client setting in channel;According to transcoded video parameter and former video parameter to video data Transcoding treatment is carried out, for example, is transcoded into HD video data, super clear video data, SD video data etc..After transcoding success Video collection enters channel management server, and the main broadcaster client in association direct broadcast band is issued to by channel management server End, is relayed video by main broadcaster's client.It can be seen that, managed by video dubbing server, transcoding server and channel Server carries out substep execution, can mitigate server stress.
When the main broadcaster's client by associating in direct broadcast band is relayed, main broadcaster's client is needed to video data weight Newly carry out the treatment such as encoding.
In one example, the main broadcaster's client in the association direct broadcast band is by the view data in the video data And the voice data of microphone collection carries out recompiling acquisition renewal video data.The microphone refers to main broadcaster's client Gather the microphone of voice data.
For example, after the main broadcaster's client in association direct broadcast band receives video data, can be by the sound in video data Frequency gathers main broadcaster user's explanation according to closing by microphone, by view data and microphone in the video data The voice data of collection is carried out recompiling acquisition renewal video data, and the renewal video data transmitting is delivered into service end.
In service end, the renewal video data that the main broadcaster's client in the association direct broadcast band sends is received, it is described It is main broadcaster's client in the association direct broadcast band by the view data in the video data and wheat to update video data Data after the voice data coding of gram elegance collection;The renewal video data transmitting is delivered into the sight in the association direct broadcast band Many clients are played out.
It can be seen that, the main broadcaster in association direct broadcast band can utilize the view data in shared video data to combine oneself Mike The voice data of elegance collection recompiles generation and updates video data, and view data is gathered without main broadcaster end, has saved resource, and The voice data of oneself microphone collection can be combined, the intelligent level of equipment is improve, facility is brought to user.Also, User watches same live content without crowded to same direct broadcast band (direct broadcasting room), greatly reduces the pressure of server. It is that the main broadcaster that direct broadcast band is associated with portion video data cannot set time delay to shared video data due to what is shared, because This can realize that different channel synchronously plays video.
Various technical characteristics in embodiment of above can arbitrarily be combined, as long as the combination between feature does not exist Conflict or contradiction, but as space is limited, described one by one, therefore various technical characteristics in above-mentioned implementation method is any It is combined the scope for falling within this disclosure.
Embodiment with aforementioned video live broadcasting method is corresponding, present invention also provides net cast device and its is applied Service end embodiment.
As shown in figure 3, Fig. 3 is a kind of block diagram of net cast device of the application according to an exemplary embodiment, Described device includes:
Data reception module 310, the video data for receiving live client transmission in target direct broadcast band.
Channel determining module 320, for the association direct broadcast band for determining to be associated with the target direct broadcast band.
Video playback module 330, for regarding described in playing in the target direct broadcast band and the association direct broadcast band Frequency evidence.
In an optional implementation, the video data carries shared status indicator, and described device also includes Condition judgment module (Fig. 3 is not shown), is used for:When the video data is received, judged according to the shared status indicator The video data is to allow shared data.
The channel determining module 320, specifically for:According to the judged result of condition judgment module, from prestoring, correspondence is closed Association direct broadcast band mark corresponding with target direct broadcast band mark is inquired about in system.
Wherein, the corresponding relation that prestores is based on the live frequency of target of main broadcaster's client transmission in the target direct broadcast band Road is identified and associates direct broadcast band mark acquisition, or the corresponding relation that prestores is based on main broadcaster client in the association direct broadcast band The relay request for sending is held to obtain, the relay request is the request for relaying video data in the target direct broadcast band.
In an optional implementation, the video playback module 330, specifically for:The video data is straight The all live client that sending and receiving are delivered in the association direct broadcast band is played out.
In an optional implementation, former video parameter, the video playback mould are carried in the video data Block 330 (Fig. 3 is not shown), including:
Parameter acquiring submodule, the transcoded video parameter for obtaining main broadcaster's client setting in association direct broadcast band.
Data processing submodule, for according to the transcoded video parameter and the former video parameter to the video counts According to carrying out transcoding treatment.
Video transmission submodule, for by the video data after treatment, sending the main broadcaster to the association direct broadcast band Client, and relayed by the main broadcaster's client in the association direct broadcast band.
In an optional implementation, the video transmission submodule, specifically for:
Receive the renewal video data that the main broadcaster's client in the association direct broadcast band sends, the renewal video data It is:Main broadcaster's client in the association direct broadcast band, the view data in the video data and microphone are gathered Data after voice data coding.
The renewal video data transmitting is delivered into the spectator client in the association direct broadcast band to play out.
In an optional implementation, the former video parameter is included in resolution ratio, code check, the frame per second of video data One or more.
In an optional implementation, described device also includes:
Notification module, for the main broadcaster's client for notifying to send into association direct broadcast band will to be relayed.
Judge module is relayed, for the response message that the main broadcaster's client in the association direct broadcast band is returned, is sentenced Surely the main broadcaster for creating the association direct broadcast band agrees to relay.
The function of modules and the specific details of implementation process of effect are shown in correspondence step in the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component The module of explanation can be or may not be physically separate, and the part shown as module can be or can also It is not physical module, you can with positioned at a place, or can also be distributed on multiple mixed-media network modules mixed-medias.Can be according to reality Selection some or all of module therein is needed to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
As shown in figure 4, Fig. 4 is the one kind of the application according to an exemplary embodiment is used for net cast device 400 A structural representation.For example, device 400 may be provided in server apparatus.Reference picture 4, device 400 includes processing assembly 422, it further includes one or more processors, and the memory resource as representated by memory 432, can for storing By the instruction of the execution of processing component 422, such as application program.The application program stored in memory 432 can include one Or it is more than one each correspond to the module of one group of instruction.Additionally, processing assembly 422 is configured as execute instruction, to hold The above-mentioned net cast method of row.
Device 400 can also include that a power supply module 426 is configured as the power management of performs device 400, and one has Line or radio network interface 450 are configured as device 400 being connected to network, and input and output (I/O) interface 458.Dress Put 400 can operate based on storage memory 432 operating system, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or Person's adaptations follow the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the application and spirit are by following Claim is pointed out.
It should be appreciated that the application is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.Scope of the present application is only limited by appended claim.
The preferred embodiment of the application is the foregoing is only, is not used to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of the application protection.

Claims (12)

1. a kind of net cast method, it is characterised in that methods described includes:
Receive the video data of live client transmission in target direct broadcast band;
It is determined that the association direct broadcast band associated with the target direct broadcast band;
The video data is played in the target direct broadcast band and the association direct broadcast band.
2. method according to claim 1, it is characterised in that the video data carries shared status indicator, described It is determined that before the association direct broadcast band associated with the target direct broadcast band, methods described also includes:
When receiving the video data, the video data is judged as shared number is allowed according to the shared status indicator According to;
The association direct broadcast band for determining to be associated with the target direct broadcast band, including:
Association direct broadcast band mark corresponding with target direct broadcast band mark is inquired about from the corresponding relation that prestores;
Wherein, the corresponding relation that prestores is based on the target direct broadcast band mark of main broadcaster's client transmission in the target direct broadcast band Know and associate direct broadcast band mark acquisition, or the corresponding relation that prestores is based on main broadcaster's client hair in the association direct broadcast band The relay request sent is obtained, described to relay the request that request is video data in the relay target direct broadcast band.
3. method according to claim 1, it is characterised in that play the video counts in the association direct broadcast band According to, including:
The all live client that the video data is sent directly in the association direct broadcast band is played out.
4. method according to claim 1, it is characterised in that former video parameter is carried in the video data, in institute State association direct broadcast band in play the video data, including:
Obtain the transcoded video parameter of main broadcaster's client setting in association direct broadcast band;
Transcoding treatment is carried out to the video data according to the transcoded video parameter and the former video parameter;
By the video data after treatment, the main broadcaster's client to the association direct broadcast band is sent, and it is straight by the association The main broadcaster's client broadcast in channel is relayed.
5. method according to claim 4, it is characterised in that the main broadcaster client by the association direct broadcast band End is relayed, including:
The renewal video data that the main broadcaster's client in the association direct broadcast band sends is received, the renewal video data is institute State the sound number that the main broadcaster's client in association direct broadcast band gathers the view data in the video data and microphone According to the data after coding;
The renewal video data transmitting is delivered into the spectator client in the association direct broadcast band to play out.
6. method according to claim 4, it is characterised in that the former video parameter include video data resolution ratio, One or more in code check, frame per second.
7. method according to claim 1, it is characterised in that methods described also includes:
The main broadcaster's client for notifying to send into association direct broadcast band will be relayed;
The response message that main broadcaster's client in the association direct broadcast band is returned, judges to create the association direct broadcast band Main broadcaster agree to relay.
8. a kind of net cast device, it is characterised in that described device includes:
Data reception module, the video data for receiving live client transmission in target direct broadcast band;
Channel determining module, for the association direct broadcast band for determining to be associated with the target direct broadcast band;
Video playback module, for playing the video data in the target direct broadcast band and the association direct broadcast band.
9. device according to claim 8, it is characterised in that the video data carries shared status indicator, described Device also includes condition judgment module, for when the video data is received, institute being judged according to the shared status indicator It is to allow shared data to state video data;
The channel determining module, specifically for:Inquiry and the corresponding pass of target direct broadcast band mark from the corresponding relation that prestores Connection direct broadcast band mark;
Wherein, the corresponding relation that prestores is based on the target direct broadcast band mark of main broadcaster's client transmission in the target direct broadcast band Know and associate direct broadcast band mark acquisition, or the corresponding relation that prestores is based on main broadcaster's client hair in the association direct broadcast band The relay request sent is obtained, described to relay the request that request is video data in the relay target direct broadcast band.
10. device according to claim 8, it is characterised in that the video playback module, specifically for:Regarded described Frequency is played out according to all live client being sent directly in the association direct broadcast band.
11. devices according to claim 8, it is characterised in that former video parameter is carried in the video data, it is described Video playback module, including:
Parameter acquiring submodule, the transcoded video parameter for obtaining main broadcaster's client setting in association direct broadcast band;
Data processing submodule, for being entered to the video data according to the transcoded video parameter and the former video parameter The treatment of row transcoding;
Video transmission submodule, for by the video data after treatment, sending the main broadcaster client to the association direct broadcast band End, and relayed by the main broadcaster's client in the association direct broadcast band.
12. devices according to claim 11, it is characterised in that the video transmission submodule, specifically for:
The renewal video data that the main broadcaster's client in the association direct broadcast band sends is received, the renewal video data is: Main broadcaster's client in the association direct broadcast band, the sound that the view data in the video data and microphone are gathered Data after data encoding;
The renewal video data transmitting is delivered into the spectator client in the association direct broadcast band to play out.
CN201611262942.2A 2016-12-30 2016-12-30 Net cast method and device Pending CN106792244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611262942.2A CN106792244A (en) 2016-12-30 2016-12-30 Net cast method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611262942.2A CN106792244A (en) 2016-12-30 2016-12-30 Net cast method and device

Publications (1)

Publication Number Publication Date
CN106792244A true CN106792244A (en) 2017-05-31

Family

ID=58954007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611262942.2A Pending CN106792244A (en) 2016-12-30 2016-12-30 Net cast method and device

Country Status (1)

Country Link
CN (1) CN106792244A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172443A (en) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 Net cast methods, devices and systems
CN107483876A (en) * 2017-07-21 2017-12-15 阔地教育科技有限公司 Video data handling procedure, storage device, straight recorded broadcast interactive terminal
CN109618178A (en) * 2019-01-21 2019-04-12 北京奇艺世纪科技有限公司 A kind of live broadcasting method, apparatus and system
CN111901614A (en) * 2020-06-22 2020-11-06 深圳市沃特沃德股份有限公司 Multi-platform synchronous live broadcast method and device, computer equipment and readable storage medium
CN113179416A (en) * 2021-04-26 2021-07-27 腾讯科技(深圳)有限公司 Live content rebroadcasting method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141472A (en) * 2006-09-08 2008-03-12 腾讯科技(深圳)有限公司 Method and system for implementing broadcast state synchronization between chatting room members
CN103763113A (en) * 2013-12-31 2014-04-30 广州华多网络科技有限公司 Live network broadcast method and device and server
CN105306468A (en) * 2015-10-30 2016-02-03 广州华多网络科技有限公司 Method for real-time sharing of synthetic video data and anchor client side
CN106210757A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 Live broadcasting method, live broadcast device and live broadcast system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141472A (en) * 2006-09-08 2008-03-12 腾讯科技(深圳)有限公司 Method and system for implementing broadcast state synchronization between chatting room members
CN103763113A (en) * 2013-12-31 2014-04-30 广州华多网络科技有限公司 Live network broadcast method and device and server
CN105306468A (en) * 2015-10-30 2016-02-03 广州华多网络科技有限公司 Method for real-time sharing of synthetic video data and anchor client side
CN106210757A (en) * 2016-07-28 2016-12-07 北京小米移动软件有限公司 Live broadcasting method, live broadcast device and live broadcast system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172443A (en) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 Net cast methods, devices and systems
CN107483876A (en) * 2017-07-21 2017-12-15 阔地教育科技有限公司 Video data handling procedure, storage device, straight recorded broadcast interactive terminal
CN109618178A (en) * 2019-01-21 2019-04-12 北京奇艺世纪科技有限公司 A kind of live broadcasting method, apparatus and system
CN111901614A (en) * 2020-06-22 2020-11-06 深圳市沃特沃德股份有限公司 Multi-platform synchronous live broadcast method and device, computer equipment and readable storage medium
CN113179416A (en) * 2021-04-26 2021-07-27 腾讯科技(深圳)有限公司 Live content rebroadcasting method and related equipment

Similar Documents

Publication Publication Date Title
CN108737845B (en) Processing method, device, equipment and storage medium is broadcast live
CN106792244A (en) Net cast method and device
CN110798698B (en) Multi-server stream pushing method, equipment and storage medium for live broadcast application program
WO2016150317A1 (en) Method, apparatus and system for synthesizing live video
WO2017088621A1 (en) Method for realizing network broadcast and server
CN106131700B (en) A kind of sharing files method and device when net cast
CN106231367B (en) Beautifying processing method and device
CN111182321B (en) Method, device and system for processing information
CN109561351A (en) Network direct broadcasting back method, device and storage medium
CN111147362B (en) Multi-user instant messaging method, system, device and electronic equipment
CN104363475A (en) Audience grouping association method, device and system
CN106060526A (en) Live broadcast method and device based on two cameras
CN106488254A (en) A kind of method and system of live picture switching
CN105516741A (en) Method and apparatus for inserting game in live broadcast interface
CN105704399A (en) Playing method and system for multi-picture television program
US20150084977A1 (en) Image display system and method
CN111432284A (en) Bullet screen interaction method of multimedia terminal and multimedia terminal
CN108449620A (en) Realize that more people synchronize control method for playing back, device and the terminal device of viewing video
CN106209824A (en) The cloud edit methods of data, system and the client of cloud editor
EP3316546B1 (en) Multimedia information live method and system, collecting device and standardization server
US11431770B2 (en) Method, system, apparatus, and electronic device for managing data streams in a multi-user instant messaging system
KR101957807B1 (en) Method and system of audio retransmition for social network service live broadcasting of multi-people points
CN112383794A (en) Live broadcast method, live broadcast system, server and computer storage medium
CN111901537A (en) Broadcast television program production system based on cloud platform
KR20210034858A (en) Personalized live broadcasting system

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170531

Assignee: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

Contract record no.: X2021440000030

Denomination of invention: Video live broadcast method and device

License type: Common License

Record date: 20210125

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531