CN110856011B - Method for grouping live broadcast interaction, electronic equipment and storage medium - Google Patents

Method for grouping live broadcast interaction, electronic equipment and storage medium Download PDF

Info

Publication number
CN110856011B
CN110856011B CN201911233944.2A CN201911233944A CN110856011B CN 110856011 B CN110856011 B CN 110856011B CN 201911233944 A CN201911233944 A CN 201911233944A CN 110856011 B CN110856011 B CN 110856011B
Authority
CN
China
Prior art keywords
grouping
group
discussion
live
request
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.)
Active
Application number
CN201911233944.2A
Other languages
Chinese (zh)
Other versions
CN110856011A (en
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.)
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Video Technology Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Video Technology Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911233944.2A priority Critical patent/CN110856011B/en
Publication of CN110856011A publication Critical patent/CN110856011A/en
Application granted granted Critical
Publication of CN110856011B publication Critical patent/CN110856011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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

Abstract

The embodiment of the invention provides a method for carrying out live broadcast interaction in a grouping mode, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request; the streaming media server is controlled to send the live stream corresponding to each group to the viewer user terminals of the corresponding group. The electronic device and the storage medium perform the above method. The method, the electronic equipment and the storage medium provided by the embodiment of the invention realize the live broadcast interaction of the group discussion members.

Description

Method for grouping live broadcast interaction, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of live video, in particular to a method for carrying out live broadcast interaction in a grouping mode, electronic equipment and a storage medium.
Background
With the development of the video live broadcast technology, the anchor can play the contents of games, video lectures and the like through the live broadcast platform, so that audiences are attracted to participate, and the interaction between the anchor and the audiences is realized.
However, in the current mainstream live broadcast platform, the anchor broadcasts to audiences through videos and voices, and the audiences realize interaction with the anchor or other audiences through a text message mode. On the one hand, the interactive mode is limited to text messages, the expression efficiency is low, and the expression is insufficient, namely, the emotional factors of users such as expressions and sounds cannot be shown, on the other hand, the anchor is in the live broadcast process, and sometimes audiences are required to perform grouping interaction, for example, under an education live broadcast scene, teachers need students to perform grouping discussion in the course of lessons, the existing live broadcast process cannot realize grouping of audiences, and the grouping live broadcast interaction between the audiences is performed.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method, an electronic device, and a storage medium for performing live broadcast interaction in a packet.
The embodiment of the invention provides a method for carrying out live broadcast interaction in a grouping way, which comprises the following steps:
receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
the streaming media server is controlled to send the live stream corresponding to each group to the viewer user terminals of the corresponding group.
Wherein the packet discussion request carries packet information determined by an anchor user; correspondingly, the grouping the audience user terminals according to the grouping discussion request comprises:
and grouping the audience user terminals according to the grouping information and the state information of the streaming media server.
Wherein, said grouping the audience user terminals according to the grouping information and the state information of the streaming media server comprises:
arranging the streaming media servers in a descending order according to the residual load capacity in the state information, and equally dividing the packet quantity of each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information;
Determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information;
arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all audience user terminals in the sequence in sequence, and distributing all audience user terminals to the groups of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number.
The method for performing live broadcast interaction by grouping also comprises the following steps:
if the group discussion members in the group corresponding to the target streaming media server reach the preset accommodating number of the group, re-determining a new target streaming media server; and the new target streaming media server is only larger than the RTT minimum value, and the number of the group discussion members in the corresponding group does not reach the preset accommodating people of the group.
The method comprises the steps of obtaining the number of audience users watching a main broadcasting user; correspondingly, the determination of the preset accommodating number comprises the following steps:
determining the preset accommodating number according to the group number and the audience user number; wherein the preset number of persons for accommodation reserves the anchor user.
The embodiment of the invention provides a method for carrying out live broadcast interaction in a grouping mode, which comprises the following steps:
receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
and if the live stream returned by the stream media server controlled by the live broadcast platform aiming at the live stream request is detected, playing the live stream to realize the live interaction with the group discussion member.
The method for performing live broadcast interaction by grouping also comprises the following steps:
and in the process of playing the live stream, the original live stream of the anchor user terminal is not played any more.
The embodiment of the invention provides a method for carrying out live broadcast interaction in a grouping mode, which comprises the following steps:
if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
Wherein the grouping operation is used for dragging the audience user display marks to other audience user display marks, and correspondingly, the sending of the grouping discussion request to the responder corresponding to the grouping operation action type comprises the following steps:
sending a grouping discussion request to the audience user terminal corresponding to the audience user display mark and other audience user terminals corresponding to the other audience user display marks; the packet discussion request carries a main broadcasting user identifier and a spectator user identifier except the spectator user identifier of a packet discussion request receiver; wherein the viewer user identifier corresponds to a viewer user terminal.
Wherein the grouping operation action is used as input grouping information, and correspondingly, the sending of the grouping discussion request to the responder corresponding to the grouping operation action type comprises the following steps:
sending a packet discussion request to a live platform; the packet discussion request carries the packet information.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the computer program, implements the method steps of:
Receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
controlling a streaming media server to send the live stream corresponding to each group to the audience user terminals corresponding to the group;
or receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
if detecting the live stream returned by the streaming media server controlled by the live platform aiming at the live stream request, playing the live stream to realize the live interaction with the group discussion member;
or if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
An embodiment of the invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method steps of:
receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
controlling a streaming media server to send the live stream corresponding to each group to the audience user terminals corresponding to the group;
or receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
if detecting the live stream returned by the streaming media server controlled by the live platform aiming at the live stream request, playing the live stream to realize the live interaction with the group discussion member;
or if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
The embodiment of the invention provides a system for carrying out live broadcast interaction in a grouping mode, which comprises the electronic equipment.
The method for grouping live broadcast interaction, the electronic equipment and the storage medium provided by the embodiment of the invention not only group the audience user terminals, but also control the streaming media server to send the live broadcast stream corresponding to each group to the audience user terminals corresponding to the group, thereby realizing the live broadcast interaction of the group discussion members;
the method also realizes that a confirmation action is triggered aiming at the grouping discussion request, a live stream request for acquiring the grouping discussion members is sent to the live platform, and the live stream returned by the streaming media server aiming at the live stream request is played, so that the live interaction of the grouping discussion members is realized;
and the packet live broadcast interaction between the anchor user and the audience user is realized by sending the packet discussion request to the responder corresponding to the packet operation action type, triggering the triggering action of adding the packet and then sending the packet discussion request to the live broadcast platform.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of an embodiment of a method for performing live interaction in groups according to the present invention;
FIG. 2 is a flowchart of an embodiment of a method for performing live interaction in groups;
FIG. 3 is a flowchart of an embodiment of a method for performing live interaction in groups;
FIG. 4 is a schematic structural diagram of a live broadcast platform according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an embodiment of a viewer user terminal;
fig. 6 is a schematic structural diagram of an embodiment of an anchor user terminal of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an embodiment of a method for performing live broadcast interaction in a group, where as shown in fig. 1, the method for performing live broadcast interaction in a group provided in the embodiment of the present invention includes the following steps:
S101: receiving a grouping discussion request sent by a main user terminal, and grouping audience user terminals according to the grouping discussion request.
Specifically, a group discussion request sent by the anchor user terminal is received, and the audience user terminals are grouped according to the group discussion request. It may be a live platform that performs the method steps. The packet discussion request may carry packet information determined by the anchor user, and further, the audience user terminals may be grouped according to the packet information and the state information of the streaming server. The live broadcast platform can acquire the state information of the streaming media server by monitoring the streaming media server in real time, the anchor user can input grouping information in an input box of a display interface of an anchor user terminal, the grouping information can comprise the number of groups, and the method can also acquire the number of audience users watching the anchor user; accordingly, the grouping information may include the number of group discussion members of each group, and further, the ratio of the number of audience users to the number of group discussion members of each group may be rounded up to obtain the number of groups, for example, the number of audience users is 100, the number of group discussion members of each group is 5, the number of groups is 20, if the number of audience users is 100, the number of group discussion members of each group is 6, the ratio is 16.66, and the number of rounded up groups is 17, thereby ensuring that each user can be grouped into a group. That is, the anchor user may group audience users by entering the number of groups or the number of group discussion members per group.
The streaming media server may be understood as a server that sends a live streaming, and the state information of the streaming media server may include a residual load capacity, that is, a residual load capacity related to hardware parameters such as a CPU and a memory of the streaming media server, and it may be understood that the more the residual load capacity is, the better the device performance of the streaming media server is; the less the remaining load capacity, the worse the device performance of the streaming server. The state information of the streaming server may include network state parameters such as RTT (Round-Trip Time), i.e., Round-Trip delay, which refers to the Time required for data to be transmitted from one end of the network to the other end. Generally, the delay is composed of four parts, namely transmission delay, propagation delay, queuing delay and processing delay. The larger the RTT value is, the worse the network state is; the smaller the RTT value, the better the network status.
The grouping the audience user terminals according to the grouping information and the state information of the streaming media server may specifically include:
arranging the streaming media servers in a descending order according to the residual load capacity in the state information, and equally dividing the packet quantity of each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information. For example, 15 streaming media servers are shared, which are respectively denoted as s1 to s15, the number of packets is 20, which are respectively denoted as m1 to m20, if the residual load capacity of s3 is the largest and the residual load capacity of s2 is the next in s1 to s15, the streaming media servers are arranged in descending order as s3, s2 … and so on, m1 is divided into s3, m2 is divided into s2, and so on, it can be understood that if the number of packets is less than the number of streaming media servers, the next streaming media server is arranged without corresponding packets; if the number of packets is greater than the number of streaming media servers, there are at least two packets for the streaming media server arranged in the front, and referring to the above example, after m15 is allocated, each streaming media server is divided into one packet, then m16 is divided into s3, m17 is divided into s2, and so on, that the front 5 streaming media servers are arranged to serve two packets.
Determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information. Referring to the above example, for the 1 st audience user terminal, there are 15 RTTs corresponding to 15 streaming media servers, for example, the maximum value of the 15 RTTs is RTTmax2 corresponding to the streaming media server s2, the minimum value is RTTmin1 corresponding to the streaming media server s1, and for the 2 nd audience user terminal, there are 15 RTTs corresponding to the 15 streaming media servers, if the maximum value of the 15 RTTs is RTTmax3 corresponding to the streaming media server s3, the minimum value is RTTmin4 corresponding to the streaming media server s4, each audience user terminal has a corresponding maximum RTT value and a minimum RTT value.
Arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all the audience user terminals in the sequence in order, and distributing all the audience user terminals to the packets of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number of people. Referring to the above example, if RTTmax3 is greater than RTTmax2, the 2 nd audience user terminal is arranged before the 1 st audience user terminal, and so on, all audience user terminals in the sequence are traversed sequentially, because the minimum value of the audience user terminals arranged at the 1 st position (i.e. the 2 nd audience user terminal) is RTTmin4 corresponding to the streaming server s4, and therefore, the group discussion members in the group served by the streaming server s4 do not reach the preset population of the group (the first distribution does not reach the preset population), the streaming server s4 is determined as the target streaming server corresponding to the audience user terminal, the audience user terminal is firstly distributed to the streaming server s4, at this time, the number of the group discussion members in the streaming server s4 is added by 1, referring to the above example, for the user terminal arranged at the 2 nd position (i.e. the 1 st audience user terminal), the target streaming media server is the streaming media server s1, the audience user terminals are distributed to the streaming media server s1, and so on, the number of the group discussion members in each target streaming media server is sequentially added by 1 until the preset number of the accommodated persons is reached, and the preset number of the accommodated persons can be set independently according to actual conditions.
It should be noted that, if the group discussion member in the group corresponding to the target streaming media server has reached the preset number of people in the group, a new target streaming media server is determined again, that is, the original target streaming media server is no longer distributed to audience user terminals by the live broadcast platform; the new target streaming media server is only larger than the RTT minimum value, and the number of the group discussion members in the corresponding group does not reach the preset accommodating people of the group. For example, for the audience user terminals ranked at the 80 th position, the original target streaming media server is streaming media server s4, but the streaming media server s4 contains the preset accommodating number of persons whose packet discussion members have reached the packet, and only the number of persons whose number is larger than the minimum value of RTT of streaming media server s4 (i.e. smaller than the minimum values of RTT of other streaming media servers) is streaming media server s7, and if the number of persons whose number is not reached by the packet discussion member in the packet served by streaming media server s7 is the preset accommodating number of the packet, streaming media server s7 is the new target streaming media server; if the group discussion member in the group served by the streaming server s7 also reaches the preset population of the group, only the group discussion member larger than the RTT minimum value of the streaming server s7 (i.e. smaller than the RTT minimum values of the other streaming servers) is the streaming server s9, and if the group discussion member in the group served by the streaming server s9 does not reach the preset population of the group, the streaming server s9 is the new target streaming server.
The principle followed by the grouping mode is to balance the load to all streaming media servers as much as possible and to avoid the packet video experience (namely, the data transmission delay is large) which is particularly poor in experience as much as possible. Assuming that there are N viewers in total, the live platform has S streaming servers in total to be divided into M groups. Arranging S servers according to the current residual load capacity in a descending order, and distributing a group to each server according to the order; if M is>And S, continuously increasing and distributing one group to each server according to the sequence until the M groups are distributed completely. After the server is allocated to each group, the number of people in each group is temporarily 0, and the maximum number of people in each group is set as follows: and C is rounded up (N/M). Let RTT be the value of RTT from the terminal device of the viewer i (i is 1,2,3, …, N) to the streaming server k (k is 1,2, …, S)ikMaximum value of RTT value from viewer i to all servers
Figure GDA0003527685780000101
Minimum value of
Figure GDA0003527685780000102
All audiences are according to
Figure GDA0003527685780000103
Descending order, sequentially traversing all viewers in the queue, for viewer i,
Figure GDA0003527685780000104
joining viewer i to a server
Figure GDA0003527685780000105
The number of people who have not reached the maximum capacity; if all groups on the server have reached maximum capacity, then order
Figure GDA0003527685780000106
This is repeated until viewer i is assigned to a certain group.
S102: and controlling the streaming media server to send the live stream corresponding to each group to the audience user terminals of the corresponding group.
Specifically, the streaming media server sends the live stream corresponding to each group to the viewer user terminals corresponding to the group. Namely, the control streaming media server sends the live stream corresponding to each group to a target audience user terminal so that the target audience user terminal plays the live stream to realize the live interaction with the group discussion members; wherein the target audience user terminals are audience user terminals of intra-group discussion members corresponding to each group. For example, the streaming media server s4 corresponds to 5 groups, which are respectively marked as c 1-c 5, and takes c1 as an example, and includes that the audience user terminals are audience user terminals No. 2, audience user terminals No. 4, audience user terminals No. 6, audience user terminals No. 14, audience user terminals No. 15, and for the target audience user terminal is audience user terminal No. 2, the live streams corresponding to c1 are live streams corresponding to audience user terminals No. 4, audience user terminals No. 6, audience user terminals No. 14, audience user terminals No. 15, so that the live streams of audience user terminals No. 4, audience user terminals No. 6, audience user terminals No. 14, and audience user terminals No. 15 are respectively played in audience user terminal No. 2, thereby realizing the live interaction between audience user terminals No. 2 and audience user terminals No. 4, audience user terminals No. 6, audience user terminals No. 14, audience user terminals No. 15, further description of the other audience user terminals in c1 and groups other than c1 will not be repeated.
The grouping live broadcast interaction method provided by the embodiment of the invention groups the audience user terminals, and controls the streaming media server to send the live broadcast stream corresponding to each group to the audience user terminals corresponding to the group, thereby realizing the live broadcast interaction of the group discussion members.
On the basis of the above embodiment, the packet discussion request carries packet information determined by the anchor user; correspondingly, the grouping the audience user terminals according to the grouping discussion request comprises:
specifically, the audience user terminals are grouped according to the grouping information and the state information of the streaming media server. Reference is made to the above description and no further description is made.
The method for grouping live broadcast interaction provided by the embodiment of the invention groups the audience user terminals according to the grouping information and the state information of the streaming media server, controls the streaming media server to send the live broadcast stream corresponding to each group to the target audience user terminal, and further reasonably realizes the live broadcast interaction of the group discussion members.
On the basis of the above embodiment, the grouping the audience user terminals according to the grouping information and the state information of the streaming media server includes:
Specifically, according to the remaining load capacity in the state information, arranging the streaming media servers in a descending order, and equally dividing the number of packets served by each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information. Reference is made to the above description and no further description is given.
Specifically, the maximum RTT and the minimum RTT of the streaming media server corresponding to each viewer user terminal are determined; wherein RTT is included in the state information. Reference is made to the above description and no further description is given.
Specifically, all audience user terminals are arranged in a descending order according to the maximum RTT value, all audience user terminals in the sequence are traversed sequentially, and all audience user terminals are distributed to the groups of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number. Reference is made to the above description and no further description is made.
The method for grouping to carry out live broadcast interaction realizes reasonable grouping of audience users through a specific grouping method, and ensures that the method has a better playing effect.
On the basis of the above embodiment, the method for performing live broadcast interaction by grouping further includes:
specifically, if the number of the group discussion members in the group corresponding to the target streaming media server reaches the preset number of the group accommodation members, a new target streaming media server is determined again; and the new target streaming media server is only larger than the RTT minimum value, and the number of the group discussion members in the corresponding group does not reach the preset accommodating people of the group. Reference is made to the above description and no further description is given.
The method for grouping to carry out live broadcast interaction further optimizes the grouping process, realizes reasonable grouping of audience users and ensures better playing effect.
On the basis of the embodiment, the number of audience users watching the anchor user is also obtained; correspondingly, the determination of the preset accommodating number comprises the following steps:
determining the preset accommodating number according to the group number and the audience user number; wherein the preset number of persons for accommodation reserves the anchor user.
Specifically, the preset accommodating number is determined according to the group number and the audience user number; wherein the preset number of persons for accommodation reserves the anchor user. If the number of the audience users is 100 and the number of the groups is 20, the ratio of the number of the audience users to the number of the groups is 5, and then one anchor user is reserved, namely the preset number of the accommodated people is 4.
The method for grouping to carry out live broadcast interaction ensures that the anchor user has better play effect after joining any group by reasonably determining the preset number of accommodated people.
Fig. 2 is a flowchart of an embodiment of a method for performing live broadcast interaction in a group, where as shown in fig. 2, the method for performing live broadcast interaction in a group provided in the embodiment of the present invention includes the following steps:
s201: receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected.
Specifically, a group discussion request sent by a main broadcasting user terminal is received, and if a confirmation action triggered by the group discussion request is detected, a live streaming request for acquiring group discussion members is sent to a live broadcasting platform. So that the live broadcast platform forwards the live broadcast stream request to a streaming media server; the group discussion member identifier may be sequentially and respectively carried in the group discussion request and the live streaming request. It may be the viewer user terminal, e.g. viewer user terminal B, that performs the method steps. The anchor user terminal a sends a packet discussion request (for example, "the anchor user a recommends the viewer user terminal C to you to participate in the discussion with you"), the packet discussion request may be displayed on an interface of the viewer user terminal B in the form of a bullet box, the viewer user B may click a button for accepting the approval to confirm that the packet discussion is grouped with the viewer user terminal C, and the discussion is performed, and the viewer user terminal B sends a live stream request (for example, a request for a live stream of the viewer user terminal C) to the live platform. Referring to the above example, the group discussion member identifier may be an audience user terminal C, or may also be a user nickname or the like corresponding to the audience user terminal C in the live broadcast platform, which is not specifically limited.
S202: and if the live stream returned by the stream media server controlled by the live broadcast platform aiming at the live stream request is detected, playing the live stream to realize the live interaction with the group discussion member.
Specifically, if a live stream returned by a streaming media server controlled by the live platform for the live stream request is detected, the live stream is played, and live interaction with group discussion members is realized. Referring to the above example, if the returned live stream is the live stream of the audience user terminal C, the live stream of the audience user terminal C is played in the audience user terminal B, so as to realize the live interaction with the group discussion member.
The method for grouping to carry out live broadcast interaction provided by the embodiment of the invention triggers a confirmation action aiming at the grouping discussion request, sends the live broadcast stream request for acquiring the grouping discussion members to the live broadcast platform, and plays the live broadcast stream returned by the streaming media server aiming at the live broadcast stream request, thereby realizing the live broadcast interaction of the grouping discussion members.
On the basis of the above embodiment, the method for performing live broadcast interaction by grouping further includes:
and in the process of playing the live stream, the original live stream of the anchor user terminal is not played any more.
Specifically, in the process of playing the live stream, the original live stream of the anchor user terminal is not played any more. The original live stream of the anchor may continue to be sent to all the audience user terminals, for example, the audience user terminal B may have a fixed image (i.e., a certain frame of image of the original live stream) or may play a fixed video according to a predetermined rule (i.e., not playing the current live video of the anchor user). The predetermined rule may be polling the anchor user video recordings within one week of play, or the like.
The method for grouping to carry out live broadcast interaction saves network resources and further ensures that the live broadcast interaction has better playing effect.
Fig. 3 is a flowchart of an embodiment of a method for performing live broadcast interaction in a group, where as shown in fig. 3, the method for performing live broadcast interaction in a group provided in the embodiment of the present invention includes the following steps:
s301: and if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type.
Specifically, if a grouping operation action is detected, a grouping discussion request is sent to a responder corresponding to the grouping operation action type. It may be the anchor user terminal that performs the method steps. The grouping action may be a grouping action triggered by the anchor user for the audience user. The grouping action may be dragging the viewer user display marker to another viewer user display marker. When the anchor user is in live broadcast, the anchor user terminal interface displays information such as a real-time live broadcast picture, a message left by audiences and the like; when the anchor user slides the screen upwards, the display marks of all the audience users, such as the head portraits and the like, can be seen on the negative screen, the head portraits of all the audience users can be seen on the negative screen by the anchor user, when the anchor user drags the head portraits C of the audience user terminals C on the screen to be positioned at the head portraits B of another audience user terminal B, the response direction corresponding to the grouping operation action type is the audience user terminals, and a grouping discussion request is sent to the audience user terminals.
Further, a group discussion request may be sent to the viewer user terminal corresponding to the viewer user display tag and the other viewer user terminals corresponding to the other viewer user display tags; the group discussion request carries a main broadcasting user identification and an audience user identification except the audience user identification of a group discussion request receiver; the group discussion request, for example, "anchor nickname X" requests you and "nickname XC of viewer user C" to be grouped into the same group.
The anchor user identifier carried in the packet discussion request sent to the audience user terminal C may be an anchor nickname, the audience user identifiers other than the audience user terminal of the packet discussion request receiver (audience user terminal C) may be the avatar B or the nickname of the audience user terminal B, and the packet discussion request may be, for example, "anchor nickname X" requesting you and "nickname XB of the audience user B" to be grouped into the same group. At this time, after the audience user terminal B and the audience user terminal C are divided into a group, the head portraits of the two audience users in the anchor user terminal can be combined into one head portraits, the closing symbol is displayed at the upper right corner, after the anchor user clicks the closing symbol, the group is dispersed, and further, the live broadcast interaction of the two audience users is terminated. When the anchor user drags the avatar of the third viewer user to the merged avatar, the third viewer user may join the group, which is not described in detail.
The grouping action may be input grouping information, such as the number of input groupings, and the sending of the grouping discussion request to the responder corresponding to the grouping action type may specifically include:
sending a grouping discussion request to a live broadcast platform; the packet discussion request carries the packet information. The live broadcast platform performs grouping description according to the grouping number, and reference may be made to the above description, which is not described again.
S302: and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
Specifically, if a trigger action of joining a group, which is triggered after the responder completes grouping according to the group discussion request, is detected, a group discussion joining request is sent to a live broadcast platform, and if a live broadcast stream of an audience user, which is returned by the live broadcast platform for the group discussion joining request and the streaming media server, is received, the live broadcast stream of the audience user is played, so that live broadcast interaction of group discussion members is realized. And sending a group discussion joining request to the live broadcast platform when the group discussion joining request can be triggered by the anchor user, wherein the group discussion joining request can carry an anchor user identifier and a group identifier, so that the live broadcast platform controls a streaming media server corresponding to the group identifier to be joined into the group to send the live broadcast stream of the anchor user to the audience user terminals of the group discussion members after confirming the anchor user identifier, and sends the live broadcast stream of the audience user terminals of the group discussion members to the local of the anchor user.
The anchor user terminal may then play the live stream of the audience user terminals of the discussion members in the anchor user local play group. The trigger action may be dragging the anchor user display mark to the group to be joined, for example, the anchor user wants to join the group c1, the join group discussion request may carry the anchor user nickname and c1, the anchor user may join any group at any time, and since there is redundancy in the preset number of persons accommodated in the group, the live broadcast effect may be ensured after joining the anchor user, and the anchor user may join a group at the same time.
When the anchor joins a group, the anchor user terminal can receive the live stream of all audience users in the group, and the anchor user also newly initiates a live stream and multicasts the live stream to all audience user terminals in the group. All user terminals (including the anchor user terminal and/or the audience user terminal) in the group can start a camera and a microphone, capture the picture and audio information of discussion members in the group, initiate a live stream, and stream the live stream to a streaming media server to realize multicast in the group. The new joining member can receive the live broadcast streams of all other discussion members in the group, establish the own live broadcast stream and multicast the live broadcast stream to all other discussion members in the group.
The anchor user can independently end the live broadcast interaction of a certain packet, and can also return to normal live broadcast by one key to bundle the live broadcast interaction of all packets. During the grouping live broadcast interaction, the discussion members in the group can also choose to quit the current live broadcast interaction and return to the original live broadcast stream interface.
The method for grouping to carry out live broadcast interaction provided by the embodiment of the invention sends the grouping discussion request to the responder corresponding to the grouping operation action type, triggers the triggering action of grouping addition, and sends the grouping addition discussion request to the live broadcast platform, thereby realizing the grouping live broadcast interaction between the anchor user and the audience user.
On the basis of the above embodiment, the grouping operation action is to drag the viewer user display mark to another viewer user display mark, and accordingly, the sending of the grouping discussion request to the responder corresponding to the type of the grouping operation action includes:
specifically, a grouping discussion request is sent to the audience user terminal corresponding to the audience user display mark and the other audience user terminals corresponding to the other audience user display marks; the group discussion request carries a main broadcasting user identification and an audience user identification except the audience user identification of a group discussion request receiver; wherein the viewer user identification corresponds to a viewer user terminal. Reference is made to the above description and no further description is made.
The method for carrying out live broadcast interaction by grouping provided by the embodiment of the invention is convenient for quickly realizing live broadcast interaction with less groups.
On the basis of the above embodiment, the grouping operation action is to input grouping information, and accordingly, the sending a grouping discussion request to a responder corresponding to the type of the grouping operation action includes:
specifically, a packet discussion request is sent to a live broadcast platform; the packet discussion request carries the packet information. Reference is made to the above description and no further description is given.
The method for grouping live broadcast interaction provided by the embodiment of the invention is convenient for quickly realizing live broadcast interaction with more groups by sending the grouping discussion request to the live broadcast platform.
Fig. 4 is a schematic structural diagram of a live broadcast platform according to an embodiment of the present invention, and as shown in fig. 4, an embodiment of the present invention provides a live broadcast platform, which includes a grouping module 401 and a control module 402, where:
a grouping module 401, configured to receive a grouping discussion request sent by a main user terminal, and group viewer user terminals according to the grouping discussion request; a control module 402, configured to control the streaming media server to send the live stream corresponding to each group to the audience user terminals corresponding to the group.
Specifically, the grouping module 401 is configured to receive a grouping discussion request sent by a host user terminal, and group viewer user terminals according to the grouping discussion request; a control module 402 configured to control the streaming media server to send the live stream corresponding to each group to the audience user terminals corresponding to the group.
The live broadcast platform provided by the embodiment of the invention groups the audience user terminals, and controls the streaming media server to send the live broadcast stream corresponding to each group to the audience user terminals corresponding to the group, thereby realizing the live broadcast interaction of the group discussion members.
The live broadcast platform provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the live broadcast platform are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 5 is a schematic structural diagram of an embodiment of a viewer user terminal of the present invention, and as shown in fig. 5, an embodiment of the present invention provides a viewer user terminal, which includes a sending unit 501 and a playing unit 502, where:
a sending unit 501, configured to receive a group discussion request sent by a main broadcasting user terminal, and send a request for acquiring a live streaming of a group discussion member to a live platform if a confirmation action triggered by the group discussion request is detected; a playing unit 502, configured to play the live stream if a live stream returned by the streaming media server controlled by the live platform in response to the live stream request is detected, so as to implement live interaction with the group discussion member.
Specifically, the sending unit 501 is configured to receive a group discussion request sent by a host user terminal, and send a request for acquiring a live stream of a group discussion member to a live platform if a confirmation action triggered by the group discussion request is detected; a playing unit 502, configured to play the live stream if a live stream returned by the streaming media server controlled by the live platform in response to the live stream request is detected, so as to implement live interaction with the group discussion member.
The audience user terminal provided by the embodiment of the invention triggers the confirmation action aiming at the group discussion request, sends the live stream request for acquiring the group discussion members to the live platform, and plays the live stream returned by the stream media server aiming at the live stream request, thereby realizing the live interaction of the group discussion members.
The viewer user terminal provided in the embodiment of the present invention may be specifically configured to execute the processing flow of each of the method embodiments, and the functions thereof are not described herein again, and refer to the detailed description of the method embodiments.
Fig. 6 is a schematic structural diagram of an embodiment of an anchor user terminal of the present invention, and as shown in fig. 6, an embodiment of the present invention provides an anchor user terminal, which includes a request sending unit 601 and a joining unit 602, where:
The sending unit 601 is configured to send a packet discussion request to a responder corresponding to the packet operation action type if the packet operation action is detected; the joining unit 602 is configured to send a join group discussion request to the live broadcast platform if a triggering action of joining a group is detected, which is triggered after the responder completes grouping according to the group discussion request, and share a live broadcast stream of a main broadcast user and a live broadcast stream of an audience user in a group if a live broadcast stream of an audience user, which is returned by the live broadcast platform for joining a group discussion request and controlling a streaming media server, is received, so as to implement live broadcast interaction of group discussion members.
Specifically, the sending unit 601 is configured to send a group join discussion request to a live broadcast platform if a trigger action of joining a group, which is triggered after the responder completes grouping according to the group discussion request, is detected, and play a live broadcast stream of an audience user, which is returned by the live broadcast platform for the group join discussion request and the streaming media server, if the live broadcast stream is received, so as to implement live broadcast interaction of group discussion members.
The anchor user terminal provided by the embodiment of the invention sends the grouping discussion request to the responder corresponding to the grouping operation action type, triggers the triggering action of grouping, and then sends the grouping discussion request to the live broadcast platform, thereby realizing the grouping live broadcast interaction between the anchor user and the audience user.
The anchor user terminal provided in the embodiments of the present invention may be specifically configured to execute the processing flows of the foregoing method embodiments, and its functions are not described herein again, and refer to the detailed description of the foregoing method embodiments.
The embodiment of the invention provides a system for carrying out live broadcast interaction in a grouping mode.
An embodiment of a system for grouping live interactions may include:
specifically, a live broadcast platform receives a packet discussion request sent by a main broadcast user terminal, and groups audience user terminals according to the packet discussion request;
and controlling the streaming media server to send the live stream corresponding to each group to the audience user terminals of the corresponding group.
Specifically, the live broadcast platform groups audience user terminals according to the grouping information and the state information of the streaming media server.
Specifically, the live broadcast platform arranges the streaming media servers in a descending order according to the residual load capacity in the state information, and equally divides the number of packets served by each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information;
determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information;
Arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all the audience user terminals in the sequence in order, and distributing all the audience user terminals to the packets of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number of people.
Specifically, if the live broadcast platform judges and obtains that the number of preset accommodating persons of the group discussion members in the group corresponding to the target streaming media server reaches the group, the live broadcast platform re-determines a new target streaming media server; and the new target streaming media server is only larger than the RTT minimum value, and the number of the group discussion members in the corresponding group does not reach the preset accommodating people of the group.
Specifically, the live broadcast platform determines the preset accommodating number according to the grouping number and the audience user number; wherein the preset number of persons for accommodation reserves the anchor user.
The method steps of the live broadcast platform as the execution subject can refer to the above description, and are not described again.
Specifically, an audience user terminal receives a group discussion request sent by a main broadcasting user terminal, and if a confirmation action triggered by the group discussion request is detected, a live streaming request for acquiring group discussion members is sent to a live broadcasting platform;
And if the live stream returned by the streaming media server controlled by the live platform aiming at the live stream request is detected, playing the live stream to realize the live interaction with the group discussion member.
Specifically, the audience user terminal does not play the original live stream of the anchor user terminal any more in the process of playing the live stream.
The steps of the method performed by the viewer ue may refer to the above description, and are not repeated.
Specifically, if the anchor user terminal detects a grouping operation action, a grouping discussion request is sent to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
Specifically, the anchor user terminal sends a packet discussion request to the audience user terminal corresponding to the audience user display mark and the other audience user terminals corresponding to the other audience user display marks; the group discussion request carries a main broadcasting user identification and an audience user identification except the audience user identification of a group discussion request receiver; wherein the viewer user identification corresponds to a viewer user terminal.
Specifically, the anchor user terminal sends a packet discussion request to a live broadcast platform corresponding to the input packet information; the packet discussion request carries the packet information.
The method steps of the anchor user terminal as the execution subject can refer to the above description, and are not described again.
The grouping live broadcast interaction system provided by the embodiment of the invention not only groups audience user terminals, but also controls the streaming media server to send the live broadcast stream corresponding to each group to the audience user terminals corresponding to the group, thereby realizing the live broadcast interaction of group discussion members;
the method also realizes that a confirmation action is triggered aiming at the group discussion request, a live stream request for acquiring the group discussion members is sent to the live platform, and the live stream returned by the streaming media server aiming at the live stream request is played, so that the live interaction of the group discussion members is realized;
and the packet live broadcast interaction between the anchor user and the audience user is realized by sending the packet discussion request to the responder corresponding to the packet operation action type, triggering the trigger action of adding the packet, and then sending the packet discussion request to the live broadcast platform.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device includes: a processor (processor)701, a memory (memory)702, and a bus 703;
The processor 701 and the memory 702 complete mutual communication through a bus 703;
the processor 701 is configured to call the program instructions in the memory 702 to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
controlling a streaming media server to send the live stream corresponding to each group to the audience user terminals corresponding to the group;
or receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
if the live stream returned by the stream media server controlled by the live platform aiming at the live stream request is detected, the live stream is played, and the live interaction with the group discussion member is realized;
or if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
the control stream media server sends the live stream corresponding to each group to the audience user terminals corresponding to the group;
or receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
if detecting the live stream returned by the streaming media server controlled by the live platform aiming at the live stream request, playing the live stream to realize the live interaction with the group discussion member;
or if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
And if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
the control stream media server sends the live stream corresponding to each group to the audience user terminals corresponding to the group;
or receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
If detecting the live stream returned by the streaming media server controlled by the live platform aiming at the live stream request, playing the live stream to realize the live interaction with the group discussion member;
or if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
and if a triggering action of adding the group, which is triggered after the responder completes the group according to the group discussion request, is detected, sending a group discussion adding request to a live broadcast platform, and if receiving a live broadcast stream of an audience user, which is returned by the live broadcast platform aiming at the group discussion adding request and the streaming media server, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the group discussion members.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for performing live broadcast interaction in a group mode is characterized by comprising the following steps:
receiving a grouping discussion request sent by a main broadcasting user terminal, and grouping audience user terminals according to the grouping discussion request;
the control stream media server sends the live stream corresponding to each group to the audience user terminals corresponding to the group;
wherein, the packet discussion request carries packet information determined by the anchor user; correspondingly, the grouping the audience user terminals according to the grouping discussion request comprises:
grouping the audience user terminals according to the grouping information and the state information of the streaming media server, comprising:
Arranging the streaming media servers in a descending order according to the residual load capacity in the state information, and equally dividing the packet quantity of each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information;
determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information;
arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all audience user terminals in the sequence in sequence, and distributing all audience user terminals to the groups of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number.
2. The method for grouping live broadcast interaction according to claim 1, further comprising:
if the group discussion members in the group corresponding to the target streaming media server reach the preset accommodating number of the group, re-determining a new target streaming media server; and the new target streaming media server is only larger than the RTT minimum value, and the number of the group discussion members in the corresponding group does not reach the preset accommodating people of the group.
3. The method of claim 1, further comprising obtaining a number of audience users watching a anchor user; correspondingly, the determination of the preset accommodating number comprises the following steps:
determining the preset accommodating number according to the group number and the audience user number; wherein the preset number of persons for accommodation reserves the anchor user.
4. A method for performing live broadcast interaction in a group mode is characterized by comprising the following steps:
receiving a group discussion request sent by a main broadcasting user terminal, and sending a live streaming request for acquiring group discussion members to a live broadcasting platform if a confirmation action triggered by the group discussion request is detected;
if the live stream returned by the stream media server controlled by the live platform aiming at the live stream request is detected, the live stream is played, and the live interaction with the group discussion member is realized;
wherein the grouping discussion request is used for enabling a live broadcast platform to group audience user terminals according to the grouping discussion request;
the packet discussion request carries packet information determined by a main broadcasting user; correspondingly, the grouping the audience user terminals according to the grouping discussion request comprises:
Grouping the audience user terminals according to the grouping information and the state information of the streaming media server, comprising:
arranging the streaming media servers in a descending order according to the residual load capacity in the state information, and equally dividing the packet quantity of each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information;
determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information;
arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all audience user terminals in the sequence in sequence, and distributing all audience user terminals to the groups of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number.
5. The method for grouping live broadcast interaction according to claim 4, wherein the method for grouping live broadcast interaction further comprises:
and in the process of playing the live stream, the original live stream of the anchor user terminal is not played any more.
6. A method for performing live interaction in a grouping manner is characterized by comprising the following steps:
if the grouping operation action is detected, sending a grouping discussion request to a responder corresponding to the grouping operation action type;
if a trigger action which is triggered after the responder completes grouping according to the grouping discussion request and joins the grouping is detected, sending a grouping discussion joining request to a live broadcast platform, and if a live broadcast stream of the audience user returned by the live broadcast platform aiming at the grouping discussion joining request and a control stream media server is received, playing the live broadcast stream of the audience user to realize the live broadcast interaction of the grouping discussion members;
wherein the grouping discussion request is used for enabling the live broadcast platform to group audience user terminals according to the grouping discussion request;
the packet discussion request carries packet information determined by the anchor user; correspondingly, the grouping the audience user terminals according to the grouping discussion request comprises:
grouping the audience user terminals according to the grouping information and the state information of the streaming media server, comprising:
arranging the streaming media servers in a descending order according to the residual load capacity in the state information, and equally dividing the packet quantity of each streaming media server according to the arrangement order; wherein the number of packets is contained in the packet information;
Determining the maximum RTT value and the minimum RTT value of the streaming media server corresponding to each audience user terminal; wherein RTT is included in the state information;
arranging all audience user terminals in a descending order according to the maximum RTT value, traversing all the audience user terminals in the sequence in order, and distributing all the audience user terminals to the packets of the service of the corresponding target streaming media servers; the target streaming media server corresponds to the RTT minimum value, and the group discussion members in the corresponding groups do not reach the preset accommodating number of people.
7. The method of claim 6, wherein the grouping operation action is dragging the audience user display mark to another audience user display mark, and accordingly, the sending of the grouping discussion request to the responder corresponding to the type of the grouping operation action comprises:
sending a grouping discussion request to the audience user terminal corresponding to the audience user display mark and other audience user terminals corresponding to the other audience user display marks; the group discussion request carries a main broadcasting user identification and an audience user identification except the audience user identification of a group discussion request receiver; wherein the viewer user identification corresponds to a viewer user terminal.
8. The method of claim 6, wherein the grouping action is inputting grouping information, and accordingly, the sending a grouping discussion request to a responder corresponding to the grouping action type comprises:
sending a packet discussion request to a live platform; the packet discussion request carries the packet information.
9. A system for performing live interaction in a group, comprising an electronic device for performing the method for performing live interaction in the group of any one of claims 1 to 3, an electronic device for performing the method for performing live interaction in the group of claim 4 or 5, and an electronic device for performing the method for performing live interaction in the group of any one of claims 6 to 8.
10. An electronic device, comprising: memory, processor and computer program running on the memory and on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program, or implements the steps of the method according to claim 4 or 5 when executing the computer program, or implements the steps of the method according to any of claims 6 to 8 when executing the computer program.
11. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program is adapted to perform the steps of the method according to any one of claims 1 to 3 when executed, or wherein the computer program is adapted to perform the steps of the method according to claim 4 or 5 when executed, or wherein the computer program is adapted to perform the steps of the method according to any one of claims 6 to 8 when executed.
CN201911233944.2A 2019-12-05 2019-12-05 Method for grouping live broadcast interaction, electronic equipment and storage medium Active CN110856011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911233944.2A CN110856011B (en) 2019-12-05 2019-12-05 Method for grouping live broadcast interaction, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911233944.2A CN110856011B (en) 2019-12-05 2019-12-05 Method for grouping live broadcast interaction, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110856011A CN110856011A (en) 2020-02-28
CN110856011B true CN110856011B (en) 2022-06-10

Family

ID=69607971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911233944.2A Active CN110856011B (en) 2019-12-05 2019-12-05 Method for grouping live broadcast interaction, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110856011B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355973B (en) * 2020-03-09 2021-10-15 北京达佳互联信息技术有限公司 Data playing method and device, electronic equipment and storage medium
CN111479141B (en) * 2020-04-02 2022-02-11 广州虎牙科技有限公司 Live broadcast control method and device, electronic equipment, live broadcast system and storage medium
CN111614971B (en) * 2020-05-22 2022-05-06 讯飞幻境(北京)科技有限公司 Interaction method, device, equipment and medium for teaching live broadcast
CN112423001A (en) * 2020-10-28 2021-02-26 视联动力信息技术股份有限公司 Live broadcast processing method and device, terminal equipment and storage medium
CN115086689B (en) * 2021-03-15 2024-04-05 阿里巴巴创新公司 Virtual live broadcast management method, electronic equipment and computer storage medium
CN113163267B (en) * 2021-03-23 2022-07-22 五八有限公司 Live broadcast interaction method and device, electronic equipment and storage medium
CN113366856B (en) * 2021-04-06 2023-11-07 百果园技术(新加坡)有限公司 Live interaction method and device, live server, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2647212A1 (en) * 2010-12-03 2013-10-09 General instrument Corporation Method and apparatus for receiving multicast video using a playlist
CN104363476A (en) * 2014-11-17 2015-02-18 广州华多网络科技有限公司 Online-live-broadcast-based team-forming activity method, device and system
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN107222760A (en) * 2017-06-01 2017-09-29 武汉斗鱼网络科技有限公司 A kind of method and device to watching user grouping
CN108449623A (en) * 2018-03-27 2018-08-24 乐蜜有限公司 Capture control method, server and the destination client of object
CN110069342A (en) * 2019-04-11 2019-07-30 西安交通大学 Net cast channel dispositions method is merged under a kind of mobile cloud computing environment
CN110401840A (en) * 2018-07-26 2019-11-01 腾讯科技(深圳)有限公司 Information push method, device, system, electronic equipment and computer-readable medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103354545B (en) * 2013-06-24 2015-04-15 西安交通大学 Cloud computing based P2P streaming media server cluster deploying method
CN104363475B (en) * 2014-11-14 2018-11-23 广州华多网络科技有限公司 A kind of methods, devices and systems of spectators' packet associated
CN105721434B (en) * 2016-01-18 2018-09-21 浙江工商大学 Learning data exchange method and its system based on panel discussion in a kind of SPOC platforms
CN107241418A (en) * 2017-06-13 2017-10-10 腾讯科技(深圳)有限公司 A kind of load-balancing method, device, equipment and computer-readable recording medium
CN107566910B (en) * 2017-08-29 2019-11-15 武汉斗鱼网络科技有限公司 The customized distribution monitoring method of resource, storage medium, electronic equipment and system is broadcast live
CN109451328B (en) * 2018-12-10 2021-09-24 网易(杭州)网络有限公司 Information processing method and device for live game

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2647212A1 (en) * 2010-12-03 2013-10-09 General instrument Corporation Method and apparatus for receiving multicast video using a playlist
CN104363476A (en) * 2014-11-17 2015-02-18 广州华多网络科技有限公司 Online-live-broadcast-based team-forming activity method, device and system
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN107222760A (en) * 2017-06-01 2017-09-29 武汉斗鱼网络科技有限公司 A kind of method and device to watching user grouping
CN108449623A (en) * 2018-03-27 2018-08-24 乐蜜有限公司 Capture control method, server and the destination client of object
CN110401840A (en) * 2018-07-26 2019-11-01 腾讯科技(深圳)有限公司 Information push method, device, system, electronic equipment and computer-readable medium
CN110069342A (en) * 2019-04-11 2019-07-30 西安交通大学 Net cast channel dispositions method is merged under a kind of mobile cloud computing environment

Also Published As

Publication number Publication date
CN110856011A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN110856011B (en) Method for grouping live broadcast interaction, electronic equipment and storage medium
US11457283B2 (en) System and method for multi-user digital interactive experience
WO2022143182A1 (en) Video signal playing method, apparatus, and device for multi-user interaction
CN106385603B (en) The method for message transmission and device of media file
CN104363476A (en) Online-live-broadcast-based team-forming activity method, device and system
US10924774B2 (en) Live interactive system, method, device and computer readable storage medium
CN106954100A (en) Live broadcasting method and system, company's wheat management server
CN103634681A (en) Method, device, client end, server and system for live broadcasting interaction
US11889159B2 (en) System and method for multi-user digital interactive experience
WO2016074325A1 (en) Audience grouping association method, apparatus and system
JP2007534076A (en) System and method for chat load management in a network chat environment
US20170171509A1 (en) Method and electronic apparatus for realizing two-person simultaneous live video
CN113905265B (en) Video data processing method and device and storage medium
CN105991963B (en) More people's audio/video communication method and apparatus based on group
CN110012362A (en) A kind of live streaming method of speech processing, device, equipment and storage medium
CN109005422A (en) Video comments processing method and processing device
CN111198667A (en) Classroom management method and device, electronic equipment and classroom management system
CN113542895B (en) Live broadcast method and device, computer equipment and storage medium
US20220021715A1 (en) Live streaming method and apparatus, device and computer readable storage medium
CN106792237B (en) Message display method and system
CN114339280B (en) Multimedia information transmission method and device applied to network teaching
CN108668140B (en) Audio and video interaction state synchronization method and device
CN105007534A (en) Method and system for interaction implementation based on TV program video
CN105120361A (en) Television interactive system interactive information pushing method
EP3934257A1 (en) Livestreaming method, apparatus and device, and computer-readable storage medium

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
GR01 Patent grant
GR01 Patent grant