Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it shows the structural representation of the related team's voice tool of the embodiment of the present invention.Team's voice tool generally includes at least one client 110 and server 120.
Client 110 can be for such as computer, the electronic equipment of smart mobile phone, panel computer and E-book reader and so on.This electronic equipment can be provided with the application client of team's voice tool, or browser is installed, then by the webpage client of browser access team voice tool.Client 110 can be divided into according to user's difference: the Administrator Client that the subscription client that main broadcaster's client that main broadcaster uses, spectators use and keeper use.Wherein, main broadcaster is the user who has live content upload permissions, can by local camera collection to video be uploaded to server 120, then by server 120, this live video is transmitted to subscription client 110; Spectators are the users that have the authority of watching the live content that main broadcaster uploads, and subscription client 110 can receive the live content that server 120 sends, and then shows.Subscription client in the present embodiment can belong to the first channel with main broadcaster's client, also can belong to second channel different from the first channel.In addition, the client that the client that main broadcaster uses and spectators use is basic identical.Administrator Client is the user with the authority of managing channel, is divided into main broadcaster's client affiliated Administrator Client of the first channel and the Administrator Client of the second channel that main broadcaster's client does not belong to.Administrator Client can be main broadcaster's client or the subscription client that participates in channel activity, can be also that not participate in channel movable and be provided for specially the client of managing channel.In Yi Ge team voice tool, there is one to a plurality of clients, such as 1,000,000 clients or ten million client.
Server 120 can be connected with client 110 by wireless or cable network.Server 120 can be one or multiple servers, can also be a cloud computing center.In other words, server 120 can be realized by a station server; Also can be realized by multiple servers combination, every station server is born identical or different functions, such as being useful on the server of registration and login, for preserving the server of user's head portrait, for preserving the server of channel information and configuration information, for preserving server of picture or video etc.; Server 120 also can adopt cloud computing center to realize, and cloud computing center is the formed virtual computing platforms of whole piece service cluster.
Please refer to Fig. 2, it shows the method flow diagram of the network direct broadcasting method that one embodiment of the invention provides, and this network direct broadcasting method can be applied in server.This network direct broadcasting method, comprising:
Step 201, receives the live content that main broadcaster's client sends;
Step 202, the direct broadcast band list of obtaining the first affiliated channel of main broadcaster's client, this direct broadcast band list is used to indicate at least one second channel of the authority with live this live content;
Server can be the first channel fix direct broadcast band list, and this direct broadcast band list is used to indicate at least one second channel of the authority of the live content with live main broadcaster's client transmission.Wherein, direct broadcast band list can comprise the channel identication of each the second channel.
Step 203, is transmitted to by live content each subscription client that each subscription client that the first channel comprises and the second channel comprise, so that each subscription client is play this live content.
Server is after receiving live content, except live content being transmitted to each subscription client that the first channel comprises, each the included subscription client of each second channel that also needs live content to be transmitted to direct broadcast band list indication, makes each subscription client that receives live content play live content.
In sum, the network direct broadcasting method that the embodiment of the present invention provides, by obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content; Live content is transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise, make each subscription client that the second channel comprises also can watch the live content of the first channel, having solved main broadcaster's client can not show live content when belonging to the subscription client of other channels and subscription client that same channel can hold and having restricted number, limit the problem of the spread scope of live content, reached the effect that expands the spread scope of live content.
Please refer to Fig. 3, it shows the method flow diagram of the network direct broadcasting method that another embodiment of the present invention provides, and this network direct broadcasting method can be applied in server.This network direct broadcasting method, comprising:
Step 301, receives the live content that main broadcaster's client sends;
Live content can be the contents such as video that main broadcaster arrives by local camera collection, and main broadcaster's client sends to live content the server being connected with main broadcaster's client, and server receives the live content that main broadcaster's client sends.
Step 302, obtains the channel identication that at least one meets the second channel of predetermined condition, and channel identication is added into direct broadcast band list; The second channel that meets predetermined condition comprises: the channel of being invited by the Administrator Client of the first channel, to the Administrator Client of the first channel, send channel that live request and live request allowed by the Administrator Client of the first channel and send at least one in the channel that authorization information and authorization information mate with the authorization information prestoring in server to server;
Limited amount due to the subscription client that can hold in a channel, therefore, in order to expand the spread scope of live content, the live content of a channel can be shared to other channels, make the subscription client in other channels can watch this live content.In the present embodiment, the channel under main broadcaster's client is called to the first channel, other channels of live this live content are called to the second channel.
In the present embodiment, server can determine that all channels are all the second channels, and the channel identication of the second channel is added into direct broadcast band list, or, server can filter out the second channel that meets predetermined condition, and the channel identication of the second channel being added into the direct broadcast band list of foundation, this channel live list is used to indicate at least one second channel of the authority with live this live content.Wherein, the second channel that meets predetermined condition comprises: the channel of 1) being invited by the Administrator Client of the first channel; 2) to the Administrator Client of the first channel, send the channel that live request and live request are allowed by the Administrator Client of the first channel; 3) to server, send at least one in the channel that authorization information and authorization information mate with the authorization information prestoring in server.
1) channel of being invited by the Administrator Client of the first channel;
Wherein, server can receive the invitation request of Administrator Client's transmission of the first channel, carries the channel identication of each channel in this invitation request, and server is added into direct broadcast band list by each channel identication; Or, for fear of the first channel, force the second channel to play the problem of the normal use that affects the second channel that live content causes, server can also receive and invites request and confirm that the channel of live this live content is defined as the second channel.Particularly, server can also receive the invitation request of Administrator Client's transmission of the first channel, in this invitation request, carry the channel identication of each channel, whether server sends the inquiry message of the live content of live the first channel to the Administrator Client of the indicated channel of each channel identication, if receive the confirmation of live content of live the first channel of the Administrator Client feedback of channel, server determines that this channel is the second channel, adds the channel identication of the second channel in direct broadcast band list.
2) to the Administrator Client of the first channel, send the channel that live request and live request are allowed by the Administrator Client of the first channel;
The live request that the Administrator Client of server receiving channels sends, in this live request, carry the channel identication of the first affiliated channel of the live live content of channel request, server sends to the Administrator Client of the first indicated channel of channel identication the inquiry message that whether allows this this live content of channel live, if server receives the confirmation of this live content of permission channel live of the Administrator Client feedback of the first channel, determine that this channel is the second channel, adds the channel identication of the second channel in direct broadcast band list.
3) to server, send the channel that authorization information and authorization information are mated with the authorization information prestoring in server;
The first channel can arrange authorization information in advance in server, the authorization information that server can receiving channels sends, and whether the authorization information that detection receives mates with the authorization information prestoring, if the authorization information receiving is mated with the authorization information prestoring, what server was determined this authorization information of transmission is the second channel, and the channel identication of the second channel is added in direct broadcast band list; If the authorization information receiving is not mated with the authorization information prestoring, what server was determined this authorization information of transmission is not the second channel, and refusal adds the channel identication of the second channel in direct broadcast band list.Wherein, authorization information can be the information such as password.
It should be added that, the present embodiment does not limit the execution sequence of step 301 and step 302, and server can first receive live content and set up direct broadcast band list again; Also can first set up direct broadcast band list and receive again live content; Can also receive live content simultaneously and set up direct broadcast band list.
Step 303, the direct broadcast band list of obtaining the first affiliated channel of main broadcaster's client, this direct broadcast band list is used to indicate at least one second channel of the authority with live this live content;
Server, after receiving live content, is determined the first affiliated channel of main broadcaster's client that sends this live content, thus the direct broadcast band list of obtaining the first channel, so that at least one second channel is determined in list according to direct broadcast band.
Step 304, is transmitted to by live content each subscription client that each subscription client that the first channel comprises and the second channel comprise, so that each subscription client is play this live content.
Server is after receiving live content, except live content being transmitted to each subscription client that the first channel comprises, each the included subscription client of each second channel that also needs live content to be transmitted to direct broadcast band list indication, makes each subscription client that receives live content play live content.
Because the disposal ability of a server is limited, therefore, the number of the subscription client being connected with a server is limited, in order to increase the quantity of the subscription client that team's voice tool can hold, a plurality of servers can be set, each server connects the subscription client of predetermined quantity, and visible, the included subscription client of the second channel may connect other servers.Because server can only be transmitted to live content each the included subscription client of the second channel being connected with server, therefore, before live content is transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise, also comprise:
Detect and in the second channel, whether have the second channel that has connected other servers;
If testing result for there is the second channel connected other servers, is transmitted to live content each subscription client that each subscription client that the first channel comprises and the second channel comprise, comprising:
Live content is transmitted to each subscription client that the first channel comprises, and live content is transmitted to other servers, so that other servers are transmitted to by live content each subscription client that the second channel comprises.
Wherein, server can be transmitted to live content other servers that connected the second channel, by other servers, live content is transmitted to each subscription client that the second channel comprises.
It should be added that, after the second channel adds direct broadcast band list, can also exit this direct broadcast band list, after channel identication being added into direct broadcast band list, also comprise:
A) receive the live request of the first termination of Administrator Client's transmission of the first channel, first stops carrying in live request the channel identication of the second channel that stops live this live content; Delete the channel identication in direct broadcast band list and stop forwarding live content to the second channel;
Or,
B) receive the live request of the second termination of Administrator Client's transmission of the second channel, according to the live request of the second termination, delete the channel identication of the second channel in direct broadcast band list and stop forwarding live content to the second channel.
The Administrator Client of the first, the first channel has the authority of the live process that stops the second channel;
The Administrator Client of the first channel can monitor each the second channel, and stops the live process of the second channel do not satisfy condition.Wherein, the Administrator Client of the first channel the second channel is monitored can be to obtain the report information of the second channel and obtain at least one in the channel parameter of the second channel.
Particularly, receipt source, before first of the first channel stops live request, also comprises:
A) receipt source is in the report information of the second channel, and report information is for describing the unlawful practice of the second channel; Report information is sent to the Administrator Client of the first channel, so that the Administrator Client of the first channel sends the live request of the first termination of the channel identication that carries the second channel according to report information;
Or,
B) every the scheduled time, obtain the channel parameter of the second channel, the direct broadcast band list of having added channel parameter is sent to the Administrator Client of the first channel, so that the Administrator Client of the first channel determines when the second channel of channel parameter indication does not meet live condition, send the live request of the first termination of the channel identication that carries the second channel.
1, report information is in the unlawful practice of describing the second channel, such as, subscription client publicizes religion and act of violence etc. in the second channel.Report information can be the Administrator Client that the subscription client in the second channel sends to the first channel, also can be the Administrator Client of the first channel add in the second channel, get after the second channel etc., the present embodiment does not limit the source of report information.
After the Administrator Client of the first channel receives report information, determine the second channel that this report information derives from, and the channel identication of this second channel is added in the live request of the first termination and sends to server, server is deleted this channel identication in direct broadcast band list, and stops forwarding live content to this second client while once receiving live content upper.
2, channel parameter can be the parameter that server gathered the second channel every the scheduled time, such as, quantity of subscription client etc. in the second channel.Collection of server, after channel parameter, sends to channel parameter the Administrator Client of the first channel; Or server can add channel parameter correspondence in each second channel in direct broadcast band list, and the direct broadcast band list after adding is sent to the Administrator Client of the first channel.
After the Administrator Client of the first channel receives channel parameter, detect channel parameter and whether meet live condition, such as, whether the subscription client quantity detecting in the second channel is greater than predetermined threshold.If testing result is channel parameter, meet live condition, continue to detect next channel parameter; If being channel parameter, testing result do not meet live condition, the channel identication of this second channel is added in the live request of the first termination and sends to server, server is deleted this channel identication in direct broadcast band list, and stops forwarding live content to this second client while once receiving live content upper.
The Administrator Client of the second, the second channel has the authority of the live process that stops the second channel;
If the Administrator Client of the second channel does not think live this live content, can also send the live request of the second termination to server, server is deleted this channel identication in direct broadcast band list, and stops forwarding live content to this second client while once receiving live content upper.
In sum, the network direct broadcasting method that the embodiment of the present invention provides, by obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content; Live content is transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise, make each subscription client that the second channel comprises also can watch the live content of the first channel, having solved main broadcaster's client can not show live content when belonging to the subscription client of other channels and subscription client that same channel can hold and having restricted number, limit the problem of the spread scope of live content, reached the effect that expands the spread scope of live content.In addition, by live content being transmitted to other servers, so that other servers are transmitted to by live content each subscription client that the second channel comprises, can guarantee that the second channel can receive live content, reached the effect that expands the spread scope of live content.
Please refer to Fig. 4, it shows the structural framing figure of the network direct broadcasting device that one embodiment of the invention provides, and this network direct broadcasting device can be applied in server.This network direct broadcasting device, comprising:
Content reception module 401, the live content sending for receiving main broadcaster's client;
Channel acquisition module 402, for obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content;
Content forwarding module 403, for live content that content reception module 401 is received, be transmitted to each subscription client that the second channel that each subscription client that the first channel comprises and channel acquisition module 402 get comprises, so that each subscription client is play live content.
In sum, the network direct broadcasting device that the embodiment of the present invention provides, by obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content; Live content is transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise, make each subscription client that the second channel comprises also can watch the live content of the first channel, having solved main broadcaster's client can not show live content when belonging to the subscription client of other channels and subscription client that same channel can hold and having restricted number, limit the problem of the spread scope of live content, reached the effect that expands the spread scope of live content.
Please refer to Fig. 5, it shows the structural framing figure of the network direct broadcasting device that yet another embodiment of the invention provides, and this network direct broadcasting device can be applied in server.This network direct broadcasting device, comprising: content reception module 401, channel acquisition module 402 and content forwarding module 403.
Content reception module 401, the live content sending for receiving main broadcaster's client;
Channel acquisition module 402, for obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content;
Content forwarding module 403, for live content that content reception module 401 is received, be transmitted to each subscription client that the second channel that each subscription client that the first channel comprises and channel acquisition module 402 get comprises, so that each subscription client is play live content.
Optionally, device also comprises:
Channel adds module 404, before obtaining the direct broadcast band list of the first channel under main broadcaster's client, obtains the channel identication that at least one meets the second channel of predetermined condition for channel acquisition module 402, and channel identication is added into direct broadcast band list;
The second channel that meets predetermined condition comprises: the channel of being invited by the Administrator Client of the first channel, to the Administrator Client of the first channel, send channel that live request and live request allowed by the Administrator Client of the first channel and send at least one in the channel that authorization information and authorization information mate with the authorization information prestoring in server to server.
Optionally, device also comprises:
The first removing module 405, after channel identication being added into direct broadcast band list for channel interpolation module 404, receive the live request of the first termination of Administrator Client's transmission of the first channel, first stops carrying in live request the channel identication of the second channel that stops live this live content; Delete the channel identication in direct broadcast band list and stop forwarding live content to the second channel;
Or,
The second removing module 406, after channel identication being added into direct broadcast band list for channel interpolation module 404, receive the live request of the second termination of Administrator Client's transmission of the second channel, according to the live request of the second termination, delete the channel identication of the second channel in direct broadcast band list and stop forwarding live content to the second channel.
Optionally, device also comprises:
The first sending module 407, for the first removing module 405 receipt sources, before first of the first channel stops live request, receipt source is in the report information of the second channel, and report information is for describing the unlawful practice of the second channel; Report information is sent to the Administrator Client of the first channel, so that the Administrator Client of the first channel sends the live request of the first termination of the channel identication that carries the second channel according to report information;
Or,
The second sending module 408, be used for the first removing module 405 receipt sources before first of the first channel stops live request, every the scheduled time, obtain the channel parameter of the second channel, the direct broadcast band list of having added channel parameter is sent to the Administrator Client of the first channel, so that the Administrator Client of the first channel determines when the second channel of channel parameter indication does not meet live condition, send the live request of the first termination of the channel identication that carries the second channel.
Optionally, device also comprises:
Channel detection module 409, before live content being transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise for content forwarding module 403, detect in the second channel whether have the second channel that has connected other servers;
If for there is the second channel that has connected other servers in testing result, content forwarding module 403, each subscription client comprising specifically for live content being transmitted to the first channel, and live content is transmitted to other servers, so that other servers are transmitted to by live content each subscription client that the second channel comprises.
In sum, the network direct broadcasting device that the embodiment of the present invention provides, by obtaining the direct broadcast band list of the first channel under main broadcaster's client, direct broadcast band list is used to indicate at least one second channel of the authority with live this live content; Live content is transmitted to each subscription client that each subscription client that the first channel comprises and the second channel comprise, make each subscription client that the second channel comprises also can watch the live content of the first channel, having solved main broadcaster's client can not show live content when belonging to the subscription client of other channels and subscription client that same channel can hold and having restricted number, limit the problem of the spread scope of live content, reached the effect that expands the spread scope of live content.In addition, by live content being transmitted to other servers, so that other servers are transmitted to by live content each subscription client that the second channel comprises, can guarantee that the second channel can receive live content, reached the effect that expands the spread scope of live content.
It should be noted that: the network direct broadcasting device that above-described embodiment provides is when carrying out network direct broadcasting, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to network direct broadcasting device is divided into different functional modules, to complete all or part of function described above.In addition, network direct broadcasting device and network direct broadcasting embodiment of the method that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.