CN109889861B - Theme live broadcasting method, device, system, equipment and storage medium - Google Patents

Theme live broadcasting method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN109889861B
CN109889861B CN201910189414.6A CN201910189414A CN109889861B CN 109889861 B CN109889861 B CN 109889861B CN 201910189414 A CN201910189414 A CN 201910189414A CN 109889861 B CN109889861 B CN 109889861B
Authority
CN
China
Prior art keywords
theme
live broadcast
microphone
notification
live
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
CN201910189414.6A
Other languages
Chinese (zh)
Other versions
CN109889861A (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.)
Guangzhou Wangxing Information Technology Co Ltd
Original Assignee
Guangzhou Wangxing Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Wangxing Information Technology Co Ltd filed Critical Guangzhou Wangxing Information Technology Co Ltd
Priority to CN201910189414.6A priority Critical patent/CN109889861B/en
Publication of CN109889861A publication Critical patent/CN109889861A/en
Application granted granted Critical
Publication of CN109889861B publication Critical patent/CN109889861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a system, equipment and a storage medium for theme live broadcasting. The method comprises the following steps: sending a going-to-mark notification, wherein the going-to-mark notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a going-to-mark identifier; receiving the boarding response information, wherein the boarding response information comprises a media stream; and pushing the media stream to the corresponding theme live broadcast room. According to the embodiment of the invention, the server actively initiates the theme live broadcast, and the server informs the anchor client to log on, so that the theme live broadcast is carried out in the theme live broadcast room, and the themes of different theme live broadcast rooms are different, thereby enriching the content of the live broadcast room, avoiding the problem that the live broadcast contents of the live broadcast rooms set by different anchor broadcasts are the same or similar, standardizing the live broadcast and improving the user experience.

Description

Theme live broadcasting method, device, system, equipment and storage medium
Technical Field
The embodiment of the invention relates to a network live broadcast technology, in particular to a theme live broadcast method, a device, a system, equipment and a storage medium.
Background
With the continuous development of internet technology, the daily entertainment activity of users is more and more abundant, for example, users can use a live broadcast application program to watch live broadcasts of other users as a main broadcast in a live broadcast room or users themselves as a main broadcast in a live broadcast room.
In the prior art, a live broadcast room is usually opened by a user as a main broadcast, and the content pushed by the live broadcast room is controlled by the main broadcast.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: because the content pushed by the live broadcast room is controlled by the anchor, the same or similar live broadcast room content can be pushed by the live broadcast rooms set by different anchors, so that the content of the live broadcast room is not rich enough, the increasing requirements of users cannot be met, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a theme live broadcast method, device, system, equipment and storage medium, so as to enrich the content of a live broadcast room and improve the user experience.
In a first aspect, an embodiment of the present invention provides a theme live broadcasting method, where the method includes:
sending a going-to-mark notification, wherein the going-to-mark notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a going-to-mark identifier;
receiving a microphone response message, wherein the microphone response message comprises a media stream;
and pushing the media stream to a corresponding theme live broadcast room.
In a second aspect, an embodiment of the present invention further provides a theme live broadcasting method, where the method includes:
receiving a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier;
sending a microphone response message, wherein the microphone response message comprises a media stream;
and displaying the pushed media stream in the corresponding theme live broadcast room.
In a third aspect, an embodiment of the present invention further provides a theme live broadcasting apparatus, where the apparatus includes:
the system comprises a boarding notification sending module, a main broadcasting client side identification and a boarding notification sending module, wherein the boarding notification sending module is used for sending a boarding notification which comprises a theme live broadcasting room identification, a main broadcasting client side identification and a boarding identification;
the system comprises a microphone response information receiving module, a microphone response information receiving module and a microphone sending module, wherein the microphone response information receiving module is used for receiving microphone response information which comprises a media stream;
and the media stream pushing module is used for pushing the media stream to the corresponding theme live broadcast room.
In a fourth aspect, an embodiment of the present invention further provides a theme live broadcasting apparatus, where the apparatus includes:
the system comprises a boarding notification receiving module, a searching module and a searching module, wherein the boarding notification receiving module is used for receiving a boarding notification, and the boarding notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a boarding identifier;
the system comprises a microphone response information sending module, a microphone response information sending module and a microphone sending module, wherein the microphone response information sending module is used for sending microphone response information which comprises a media stream;
and the media stream display module is used for displaying the pushed media stream in the corresponding theme live broadcast room.
In a fifth aspect, an embodiment of the present invention further provides a theme live broadcasting system, where the system includes: the server is provided with the theme live broadcasting device according to the third aspect of the embodiment of the invention, and the anchor client is provided with the theme live broadcasting device according to the fourth aspect of the embodiment of the invention.
In a sixth aspect, an embodiment of the present invention further provides a server, where the server includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as described in the first aspect of embodiments of the invention.
In a seventh aspect, an embodiment of the present invention further provides an anchor client, where the anchor client includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method as described in the second aspect of embodiments of the invention.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to the first aspect of the embodiment of the present invention.
In a ninth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method according to the second aspect of the embodiment of the present invention.
The embodiment of the invention receives the uploading response information which comprises the media stream and pushes the media stream to the corresponding theme live broadcast room by sending the uploading notification which comprises the theme live broadcast room identifier, the anchor client identifier and the uploading identifier, and the server notifies the anchor client to upload so as to carry out theme live broadcast in the theme live broadcast room.
Drawings
FIG. 1 is a flow chart of a method for topic live broadcasting in an embodiment of the present invention;
FIG. 2 is a flow chart of another theme live method in an embodiment of the present invention;
FIG. 3 is a flow chart of yet another method for topic direct broadcasting in an embodiment of the present invention;
fig. 4 is a signaling diagram of a theme live broadcasting method in an embodiment of the present invention;
fig. 5 is a schematic application diagram of a theme live broadcasting method in the embodiment of the present invention;
fig. 6 is a schematic diagram illustrating that a anchor client receives a microphone notification sent by a server in an information popup manner according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating that a anchor client receives a get-on notification sent by a server through a notification bar in an embodiment of the present invention;
fig. 8 is a schematic diagram of a boarding response identifier generation in an embodiment of the present invention;
FIG. 9 is a diagram of a theme live interface in an embodiment of the invention;
FIG. 10 is a schematic diagram of a microphone drop notification in an embodiment of the invention;
FIG. 11 is a schematic illustration of another notification of a microphone pull in an embodiment of the invention;
fig. 12 is a schematic structural diagram of a theme live device in an embodiment of the present invention;
FIG. 13 is a schematic structural diagram of another theme live device in an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a theme live system in an embodiment of the present invention;
FIG. 15 is a block diagram of a server in an embodiment of the invention;
fig. 16 is a schematic structural diagram of an anchor client in the embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention, and that the embodiments and features of the embodiments may be combined with each other without conflict. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Examples
In order to enrich the content of the live broadcast room, a theme live broadcast room (or called theme house) is introduced, wherein the theme live broadcast room is set and managed by an official, and guides a main broadcast client to carry out live broadcast under a set theme, the official refers to an operation background of a developer of a live broadcast application program, the operation background of the developer of the live broadcast application program can be understood as a background server, and the embodiment of the invention is called as a server. The anchor client refers to a client for performing the theme live broadcast in the theme live broadcast room. Each theme live broadcast room has a corresponding theme, and the theme can comprise singing, dancing, talk show and the like. In addition, for different countries, a theme adapted to the actual situation of the country can be set, that is, a theme live broadcast room adapted to the actual situation of the country is set.
Through the mode of setting up the theme live broadcast room, can enrich live broadcast room content, in addition, also can enrich live broadcast form, and then promote user experience. The foregoing will be further described with reference to specific embodiments.
Fig. 1 is a flowchart of a theme live broadcasting method according to an embodiment of the present invention, where the embodiment is applicable to a situation of enriching content of a live broadcasting room, and the method may be executed by a theme live broadcasting apparatus, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a server. As shown in fig. 1, the method specifically includes the following steps:
and step 110, sending a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier.
In the embodiment of the present invention, the theme live room identifier may be used to distinguish different theme live rooms, that is, each theme live room has a corresponding theme live room identifier. The anchor client identifier may be used to distinguish different anchor clients, that is, each anchor client has a corresponding anchor client identifier, and the anchor client identifier may refer to an anchor identity identifier. The going-to-home identification may include an agreement identification and an ignore identification.
The server may send a microphone notification to the anchor client that includes the subject live room identification, the anchor client identification, and the microphone identification. The windsurfing notification can be used for prompting that the anchor client corresponding to the anchor client identification needs to perform the theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identification, and the windsurfing identification is provided so that the anchor client can determine whether to perform the theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identification according to actual conditions. The specific sending mode of the microphone notification can be determined according to the communication connection state of the current server and the anchor client and the running state of the live broadcast application program in the anchor client. Illustratively, an online microphone notification may be sent if in a communicative connection with the anchor client; an offline on-microphone notification may be sent if in a non-communicative connected state with the anchor client. Furthermore, under the condition that the live broadcast application program is in communication connection with the anchor client, if the live broadcast application program in the anchor client is in a foreground running state, the windup notification can be sent in an information popup mode; if the live application program in the live broadcast of the anchor client is in a non-foreground running state, the windup notification can be sent in a notification bar mode.
Optionally, on the basis of the above technical solution, sending the going-to-microphone notification specifically may include: and if the server and the anchor client are in a communication connection state, sending an online microphone notification. And if the server and the anchor client are in a non-communication connection state, sending an offline microphone-on notification.
In the embodiment of the invention, the specific sending mode of the going-to-microphone notification can be determined according to the communication connection state between the server and the anchor client. The communication connection state between the server and the anchor client can be determined through the communication state identification, the communication state identification can comprise a communication connection state identification and a non-communication connection state identification, and if the communication state identification is detected to be the communication connection state identification, the server and the anchor client can be determined to be in the communication connection state, and an online microphone-up notification can be sent; if the communication state identifier is detected to be a non-communication connection state identifier, the server and the anchor client can be determined to be in a non-communication connection state, and an offline microphone-on notification can be sent. The offline online notification may be a Firebase cloud messaging (i.e., FCM) offline online notification.
Optionally, on the basis of the above technical solution, sending an online microphone notification specifically may include: and if the live broadcast application program in the anchor client is in a foreground running state, sending a microphone-up notification in an information popup mode. And if the live broadcast application program in the anchor client is in a non-foreground running state, sending a microphone-up notification in a notification bar mode.
In the embodiment of the present invention, if it is determined that the server and the anchor client are in a communication connection state, a specific sending method of the going-to-the-wheat notification may be determined according to an operation state of a live application program in the anchor client. The method comprises the steps that a host client side can comprise two running states of a screen locking state and a screen unlocking state in a starting state, and a server and the host client side are determined to be in a communication connection state, so that the host client side can be determined to be in the starting state, a live application program in the host client side can comprise three running states of a foreground running state, a background running state and a closing state, the foreground running state of the live application program in the host client side needs to be kept in the screen unlocking running state, the background running state and the closing state of the live application program in the host client side can be achieved when the host client side is in the starting state, and the live application program in the host client side can be in the running state or the closing state no matter the host client side is in the screen locking or screen unlocking running state; the anchor client needs to be in an operating state without locking the screen, and the live application program in the anchor client can be in a foreground to operate. Based on the difference between the running state of the anchor client in the boot state and the running state of the live application program in the anchor client, the following situations may occur: in the first situation, the anchor client is in a screen locking state; the anchor client is in an unlocked state, and a live application program in the anchor client is in a background running state; the anchor client is in an unlocked state, and a live application program in the anchor client is in a closed state; and in the fourth situation, the anchor client is in the unlocked state, and the live application program in the anchor client is in the foreground running state. It can be understood that, for the case one, the case two, and the case three, since the anchor client is not currently used (that is, the anchor client is in the screen lock state) or the anchor client does not currently use the live application program in the anchor client in the foreground (that is, the live application program in the anchor client is in the background running state or the closed state), both of the above may indicate that the anchor corresponding to the anchor client cannot reply to the sent push notification, and therefore, the above three cases may be summarized as the live application program in the anchor client being in the non-foreground running state. Meanwhile, the fourth situation is summarized as that the live application program in the anchor client is in a foreground running state.
If the anchor client is determined to be in the foreground running state, the microphone-up notification can be sent in an information popup mode, namely the information popup includes the content specifically included by the microphone-up notification; if the anchor client is determined to be in a non-foreground operation state, the windup notification can be sent in a notification bar mode, wherein the windup notification can enable the anchor client to know in a mode of showing in the notification bar, and specific showing forms of the windup notification include the following conditions: the notification bar displays only the reminder of the microphone notification and the notification bar displays the reminder and the content of the microphone notification. The notification bar only displays the prompt of the microphone getting notification, so that the anchor client can know that the microphone getting notification is received, but the anchor client cannot know the content of the microphone getting notification because the content of the microphone getting notification is not displayed; the notification bar displays the prompts and content of the microphone notification so that the anchor client is informed of the receipt of the microphone notification and can be informed of some or all of the content of the microphone notification.
In addition, if it is determined that the anchor client is in a non-foreground operating state, in order to enable the anchor client to know the microphone-up notification in time, the microphone-up notification can be sent in a notification bar mode, and meanwhile, a vibration and/or voice mode is adopted to enhance reminding. It can be understood that, if it is determined that the anchor client is in the foreground operating state, the going-to-microphone notification may be sent in a voice manner in addition to the information pop-up window manner, and the reminding may be enhanced in a vibration and/or voice manner while the going-to-microphone notification is sent in the information pop-up window manner, and the reminding may be enhanced in a vibration manner while the going-to-microphone notification is sent in the voice manner. The specific transmission method of the online microphone notification may be set according to actual conditions, and is not particularly limited herein.
It should be further noted that the running state of the live application program in the anchor client may be determined by a running state identifier, where the running state identifier may include a foreground running state identifier and a background running state identifier, and if it is detected that the running state identifier is the foreground running state identifier, it may be determined that the live application program in the anchor client is in the foreground running state; if the running state identifier is detected to be a non-foreground running state identifier, the live broadcast application program in the anchor client side can be determined to be in a non-foreground running state.
Optionally, on the basis of the above technical solution, before sending the going-to-microphone notification, the method may further include: and receiving the boarding reservation information, wherein the boarding reservation information comprises a theme live broadcast room identifier, a main broadcast client identifier and boarding time.
In the embodiment of the invention, as for the live broadcasting room form of the theme live broadcasting room, the management is set up and managed by a developer of the live broadcasting application program, wherein the management comprises a main broadcasting client side capable of performing the theme live broadcasting in the theme live broadcasting room and the main broadcasting client side reserved by the theme live broadcasting room, so that if a certain main broadcasting client side wants to perform the theme live broadcasting in a certain theme live broadcasting room, reservation is required, and only the main broadcasting client side with successful reservation can perform the theme live broadcasting in the corresponding theme live broadcasting room.
Based on the above, before sending the windsurfing notification to the anchor client, windsurfing reservation information sent by the anchor client is received, the windsurfing reservation information may include a theme live broadcast room identifier, an anchor client identifier and windsurfing time, and it can be known which anchor client needs to go to which theme live broadcast room at which time for theme live broadcast according to the windsurfing reservation information, wherein the anchor client can be determined according to the anchor client identifier, and the theme live broadcast room can be determined according to the theme live broadcast room identifier. Illustratively, the shopping reservation information includes a theme live broadcast room identifier a, an anchor client identifier B, and a shopping time C, which indicates that when the anchor client corresponding to the anchor client identifier B needs to visit the shopping time C, the theme live broadcast room corresponding to the theme live broadcast room identifier a is subjected to theme live broadcast.
After receiving the boarding reservation information sent by the main broadcasting client, the time for sending the boarding notification to the main broadcasting client can be determined according to the boarding time.
Optionally, on the basis of the above technical solution, before sending the going-to-microphone notification, the method may further include: and acquiring the current time. And if the difference value between the current time and the boarding time is less than or equal to the boarding duration threshold, sending a boarding notification.
In the embodiment of the present invention, since the boarding time can be known according to the boarding reservation information sent by the anchor client, the current time can be obtained, and it is detected whether the difference between the current time and the boarding time is less than or equal to the boarding duration threshold, if it is detected that the difference between the current time and the boarding time is less than or equal to the boarding duration threshold, a boarding notification is sent, the boarding duration threshold can be used as a basis for determining whether to send the boarding notification to the anchor client, and a specific value of the boarding duration threshold can be set according to an actual situation, which is not specifically limited herein. In addition, the going-to-home notification may also include a difference between the current time and the going-to-home time.
And step 120, receiving the uploading response information, wherein the uploading response information comprises the media stream.
In an embodiment of the present invention, the going-to-mark response information is response information generated by the anchor client according to the received going-to-mark notification, and the going-to-mark response information may include a media stream, where the media stream is a media stream generated by the anchor client, and the media stream may include an audio stream, a video stream, and the like.
Receiving the boarding response information sent by the anchor client can be understood as follows: receiving first uploading response information sent by the anchor client, wherein the first uploading response information comprises a response theme live broadcast room identifier, a response anchor client identifier and an uploading response identifier, and determining that the response theme live broadcast room identifier is consistent with the theme live broadcast room identifier and the response anchor client identifier is consistent with the anchor client identifier, so that the anchor client corresponding to the anchor client identifier can be shown as the anchor client which carries out theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identifier. The second uploading response information comprising the media stream is received only when the response theme live broadcast room identification is determined to be consistent with the theme live broadcast room identification and the response anchor client identification is determined to be consistent with the anchor client identification, so that the security of the theme live broadcast is ensured.
And step 130, pushing the media stream to a corresponding theme live broadcast room.
In the embodiment of the present invention, after receiving a media stream sent by a main broadcast client, the media stream may be pushed to a corresponding theme live broadcast room, that is, to each client that watches the theme live broadcast in the theme live broadcast room, so that each client that watches the theme live broadcast in the theme live broadcast room may obtain the media stream, and each client that watches the theme live broadcast may be referred to as an audience client.
Compared with the prior art, the theme live broadcast rooms are opened and managed by the server, and the themes of different theme live broadcast rooms are different, so that the media stream content sent by the anchor client side of the different theme live broadcast rooms needs to be consistent with the theme of the theme live broadcast room, and the content of the live broadcast room is enriched. In addition, the method for setting and managing the theme live broadcast room is different from the method for setting and managing the live broadcast room by the anchor client in the traditional technology, and the management of the anchor client by the anchor client means that the live broadcast content is controlled by the anchor client, when the live broadcast room is set for live broadcast, when the live broadcast room is closed and the like are also controlled by the anchor client. The management mode of the theme live broadcast room enables the server to participate in the whole theme live broadcast process, namely, the live broadcast state of the main broadcast client is controlled by sending the microphone-up notification and the microphone-down notification to the main broadcast client, meanwhile, the main broadcast client carries out theme live broadcast, namely, the live broadcast content needs to be consistent with the theme set in the theme live broadcast room, in other words, the live broadcast content is not controlled by the main broadcast client.
According to the technical scheme, the boarding notification is sent, the boarding notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a boarding identifier, the boarding response information is received, the boarding response information comprises a media stream, the media stream is pushed to a corresponding theme live broadcast room, the theme live broadcast initiated actively through the server is notified to the main broadcast client to be boarded through the server, so that the theme live broadcast is carried out in the theme live broadcast room, the themes of different theme live broadcast rooms are different, the content of the live broadcast room is enriched, the problem that the live broadcast contents of the live broadcast rooms of different main broadcasts are the same or similar is avoided, the live broadcast is standardized, and the user experience is improved.
Optionally, on the basis of the above technical solution, after the media stream is pushed to the corresponding theme live broadcast room, the method may further include: and sending a wheat off notification when detecting that a preset wheat off condition is met.
In embodiments of the present invention, the push notification may be used to prompt the anchor client that a push is required. The preset wheat leaving condition can be that the residual time of the theme live broadcast is less than or equal to a wheat leaving time threshold value, and the preset wheat leaving condition can also be that an emergency situation occurs. The preset wheat leaving condition that the remaining duration of the theme live broadcast is less than or equal to the wheat leaving duration threshold can be understood as follows: generally, each topic live broadcast has a fixed topic live broadcast time length, when the topic live broadcast time length is reached, a microphone drop operation needs to be executed, before the topic live broadcast time length is reached, a microphone drop notification can be sent, and the method specifically includes: and if the difference value between the current time and the theme live broadcast ending time is less than or equal to the time threshold of the microphone falling time, namely the remaining time of the theme live broadcast is less than or equal to the time threshold of the microphone falling time, sending a microphone falling notification to the main broadcast client. The wheat leaving time length threshold may be set according to actual conditions, and is not specifically limited herein.
It should be noted that, if the preset condition is that the theme live broadcast remaining time is less than or equal to the leaving time threshold, the leaving notification may include the theme live broadcast remaining time. The going-to-home notification may include emergency information if the preset condition is that an emergency occurs. It is understood that the specific content included in the going-to-microphone notification may be set according to actual situations, and is not limited specifically herein.
It should be further noted that, after sending the pull-down notification to the anchor client, the anchor client may automatically execute a pull-down operation by the anchor client before the theme live broadcast room is not automatically closed, so as to exit the theme live broadcast room. In addition, before the anchor client is automatically closed in the theme live broadcasting room, the anchor client automatically executes the wheat off operation to quit the theme live broadcasting room, and then the server closes the theme live broadcasting room, so that the anchor client quits the theme live broadcasting room.
It should be noted that the going-to-microphone notification may also include a theme live time.
Optionally, on the basis of the technical scheme, the leaving time condition is preset to be that the remaining time of the theme live broadcast is less than or equal to the leaving time threshold.
In the embodiment of the present invention, the preset unmarking condition may be that the theme live broadcast remaining time length is less than or equal to the unmarking time length threshold, that is, if it is detected that the theme live broadcast remaining time length is less than or equal to the unmarking time length threshold, the unmarked notification is sent to the anchor client, the unmarked time length threshold may be used as a basis for determining whether to send the unmarked notification to the anchor client, and a specific value of the unmarked time length threshold may be set according to an actual situation, which is not specifically limited herein.
Fig. 2 is a flowchart of another theme live broadcasting method according to an embodiment of the present invention, where the embodiment is applicable to a situation of enriching content of a live broadcasting room, and the method may be executed by a theme live broadcasting apparatus, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a server. As shown in fig. 2, the method specifically includes the following steps:
step 201, receiving the booking information of going to the home, wherein the booking information of going to the home comprises a theme live broadcast room identifier, a main broadcast client identifier and going to the home.
Step 202, obtaining the current time.
Step 203, determining whether the difference between the current time and the boarding time is less than or equal to a boarding duration threshold; if yes, go to step 204; if not, the process returns to step 203.
Step 204, determining whether the communication connection state between the anchor client and the anchor client is in a communication connection state; if yes, go to step 205; if not, go to step 206.
Step 205, determining whether a live application program in the anchor client is in a foreground running state; if yes, go to step 207; if not, go to step 208.
Step 206, send an offline microphone notification, and proceed to step 209.
Step 207, sending a microphone notification in a mode of information popup, and proceeding to step 209.
Step 208, sending a microphone notification in the form of a notification bar, and proceeding to step 209.
Step 209, receiving a microphone response message, where the microphone response message includes the media stream.
Step 210, pushing the media stream to the corresponding theme live broadcast room.
Step 211, detecting whether a preset wheat-off condition is met; if yes, go to step 212; if not, the process returns to step 211.
Step 212, send a get down notification.
The technical solution of this embodiment is to obtain the current time by receiving the going-to-talk reservation information, where the going-to-talk reservation information includes a theme live broadcast room identifier, a main broadcast client identifier, and a going-to-talk time, if a difference between the current time and the going-to-talk time is not greater than a going-to-talk time threshold, then if the current time and the going-to-talk time are in a communication connection state, then send an online going-to-talk notification, if the current time and the going-to-talk time are in a non-communication connection state, then send an offline notification, if a live broadcast application program in the main broadcast client is in a foreground operation state, then send the going-to-talk notification in a popup window manner, if the live broadcast application program in the main broadcast client is in a non-foreground operation state, then send the going-talk notification in a notification bar manner, receive going-to-talk response information, where the going-talk response information includes a media stream, and push the media stream to a corresponding theme live broadcast room, the method determines the corresponding sending mode of the windsurfing notification according to the communication connection state with the main broadcasting client and the running state of the live broadcasting application program in the main broadcasting client, enriches the sending mode of the windsurfing notification, sends the windsurfing notification according to windsurfing reservation information, sends the windsurfing notification when detecting that the preset windsurfing condition is met, actively initiates the theme live broadcasting through the server, and informs the main broadcasting client of windsurfing through the server, so that the theme live broadcasting is carried out in the theme live broadcasting room, the themes of different theme live broadcasting rooms are different, the content of the live broadcasting room is enriched, the problem that the live broadcasting contents of the live broadcasting rooms set by different main broadcasting rooms are the same or similar is avoided, the live broadcasting is standardized, and the user experience is improved.
Fig. 3 is a flowchart of another theme live broadcasting method according to an embodiment of the present invention, where the embodiment is applicable to a situation of enriching content of a live broadcasting room, the method may be executed by a theme live broadcasting device, the device may be implemented in a software and/or hardware manner, and the device may be configured in an anchor client, such as a mobile phone and a tablet computer. As shown in fig. 3, the method specifically includes the following steps:
step 310, receiving a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier.
In the embodiment of the present invention, the theme live room identifier may be used to distinguish different theme live rooms, that is, each theme live room has a corresponding theme live room identifier. The anchor client identifier may be used to distinguish different anchor clients, that is, each anchor client has a corresponding anchor client identifier, and the anchor client identifier may refer to an anchor identity identifier. The going-to-go identification may include an agreeing going-to-go identification and an ignoring going-to-go identification.
And the anchor client receives a microphone-on notification which is sent by the server and comprises a theme live broadcast room identifier, an anchor client identifier and a microphone-on identifier. And the anchor client corresponding to the anchor client identification can perform the theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identification according to the microphone-loading notification. It can be understood that the specific sending manner of the server sending the microphone notification can be determined according to the current communication connection state between the server and the anchor client and the running state of the live application program in the anchor client. Specifically, the method comprises the following steps: if the client is in communication connection with the anchor client, an online microphone notification can be sent; an offline on-microphone notification may be sent if in a non-communicative connected state with the anchor client. Furthermore, under the condition that the live broadcast application program is in communication connection with the anchor client, if the live broadcast application program in the anchor client is in a foreground running state, the windup notification can be sent in an information popup mode; if the live application program in the live broadcast of the anchor client is in a non-foreground running state, the windup notification can be sent in a notification bar mode. That is, the specific sending manner of the server sending the going to the microphone can comprise an off-line going to the microphone, sending the going to the microphone by means of an information popup window and sending the going to the microphone by means of a notification bar. It will be appreciated that in which manner the server sends the windup notification, the anchor client will receive the windup notification in the same manner. Based on the above, the specific receiving manner of the anchor client receiving the going-to-talk notification may include an off-line going-to-talk notification, receiving the going-to-talk notification sent by means of an information popup, and receiving the going-to-talk notification sent by means of a notification bar.
And step 320, sending the uploading response information, wherein the uploading response information comprises the media stream.
In the embodiment of the present invention, after receiving a push instruction sent by a server, a main broadcast client generates push response information according to the push instruction, and sends the push response information to the server, where the push response information may include a media stream, where the media stream is a media stream generated at the main broadcast client, and the media stream may include an audio stream, a video stream, and the like.
Sending the microphone response information to the server can be understood as follows: and sending first uploading response information to the server, wherein the first uploading response information comprises a response theme live room identifier, a response anchor client identifier and an uploading response identifier, so that the server determines whether the response theme live room identifier is consistent with the theme live room identifier and whether the response anchor client identifier is consistent with the anchor client identifier. And acquiring a theme live broadcast notification, wherein the theme live broadcast notification comprises a main broadcast client identification, and if the main broadcast client identification is consistent with the response main broadcast client identification, sending second uploading response information, wherein the second uploading response information comprises a media stream. It should be noted that the theme live broadcast notification is actively acquired from the server by the anchor client, and the theme live broadcast notification can be used for the anchor client to determine whether the response anchor client identifier is consistent with the anchor client identifier, where the response anchor client identifier is a self identifier, the anchor client identifier is an anchor client identifier that needs to perform theme live broadcast in a theme live broadcast room corresponding to the theme live broadcast room identifier, and the anchor client determines whether the response anchor client identifier is consistent with the anchor client identifier to determine whether the anchor client is an anchor client that will perform theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identifier.
It should be further noted that, if it is determined that the identity of the anchor client is inconsistent with the identity of the response anchor client, it may be stated that the anchor client does not perform the operation of generating and sending the second uploading response information for the anchor client that is not to perform the theme live broadcast in the theme live broadcast room corresponding to the identity of the theme live broadcast room.
Optionally, on the basis of the technical scheme, sending the boarding response information may specifically include: and if the current browsing interface is not the theme live broadcast interface and a page jump instruction input by the user is detected, jumping to the theme live broadcast interface according to the page jump instruction. And sending the getting-on response information on the theme live interface.
In the embodiment of the invention, the anchor client side needs to send the microphone response information on the theme live interface, and if the current browsing interface is not the theme live interface and detects the page jump instruction input by the user, the client side jumps to the theme live interface according to the page jump instruction. According to the difference of the current browsing interface, the corresponding concrete operation of jumping to the theme live interface according to the page jump instruction is different, specifically:
and if the current browsing interface is the other theme live broadcast interface, detecting a closing instruction of the current browsing interface input by the user, closing the current browsing interface according to the closing instruction of the current browsing interface, and detecting a skipping instruction of the theme live broadcast interface input by the user, skipping to the theme live broadcast interface according to the skipping instruction of the theme live broadcast interface.
And if the current browsing interface is the common main broadcast live interface, detecting a closing instruction of the current browsing interface input by a user, closing the current browsing interface according to the closing instruction of the current browsing interface, detecting a skipping instruction of the theme live interface input by the user, and skipping to the theme live interface according to the skipping instruction of the theme live interface.
And if the current browsing interface is the live broadcast watching interface, detecting a closing instruction of the current browsing interface input by a user, closing the current browsing interface according to the closing instruction of the current browsing interface, detecting a skipping instruction of the theme live broadcast interface input by the user, and skipping to the theme live broadcast interface according to the skipping instruction of the theme live broadcast interface. The live broadcast watching interface described herein means an interface for a anchor client to watch live broadcasts of other anchor clients.
And if the current browsing interface is a small-window live broadcasting watching interface, detecting a closing instruction of the current browsing interface input by a user, closing the current browsing interface according to the closing instruction of the current browsing interface, detecting a skipping instruction of the theme live broadcasting interface input by the user, and skipping to the theme live broadcasting interface according to the skipping instruction of the theme live broadcasting interface. The small window live broadcast watching interface described herein refers to an interface for a anchor client to watch live broadcast of other anchor clients, and is in a small window watching mode.
It should be noted that, according to the difference of the current browsing interface, the specific operation of correspondingly jumping to the theme live interface according to the page jump instruction will also be different, and the specific operation is directed to the case that the live application program in the anchor client is in the foreground running state. If the live broadcast application program in the anchor client is in a non-foreground running state, the anchor client receives the microphone-on notification sent by the notification bar, and at the moment, the anchor client receives a notification bar triggering instruction input by a user, and can directly jump to a theme live broadcast interface according to the notification bar triggering instruction.
Optionally, on the basis of the technical scheme, sending the getting-on response information on the theme live interface may specifically include: and acquiring the boarding response information of the user on the theme live broadcast interface, and sending the boarding response information.
In the embodiment of the present invention, it should be noted that the anchor client acquires the microphone response information of the user in the theme live interface and sends the microphone response information, and specifically, the microphone response information of the user may be acquired by an acquisition device in the anchor client, where the acquisition device includes a camera, a microphone, a speaker, and the like.
And step 330, displaying the pushed media stream in a corresponding theme live broadcast room.
In the embodiment of the invention, the anchor client displays the pushed media stream in the corresponding theme live broadcasting room, so that the anchor client can watch the pushed media stream in the interface of the theme live broadcasting room.
It should be noted that, usually, the anchor client sends the pickup response information to the server, where the pickup response information includes a time interval between the media stream and the presentation of the media stream pushed by the anchor client in the corresponding theme live broadcast room, and the time interval may be set according to an actual situation, and is not specifically limited herein.
It should be further noted that, during the time when the anchor client performs the theme live broadcast in the theme live broadcast room and does not reach the theme live broadcast time length, the anchor client may interrupt the currently performed theme live broadcast due to an emergency, such as a sudden interruption of communication connection, a sudden shutdown of the anchor client, or a sudden restart of the anchor client, and after the emergency is solved, if the time length of the theme live broadcast is not reached yet, the anchor client may re-enter the theme live broadcast room to perform the theme live broadcast.
It should be noted that, when the anchor client performs the theme live broadcast in the theme live broadcast room, the theme live broadcast interface may display the remaining duration of the theme live broadcast, and the remaining duration of the theme live broadcast is not interrupted and recalculated due to an emergency occurring at the anchor client, that is, when the anchor client has solved the emergency and re-enters the theme live broadcast room to perform the theme live broadcast, the remaining duration of the theme live broadcast is a duration obtained by subtracting the duration consumed by the theme client when the emergency is solved. Illustratively, if the anchor client causes the remaining duration of the live theme broadcast corresponding to the interruption of the live theme broadcast to be E due to an emergency, when the anchor client has solved the emergency and re-enters the live theme broadcast room for live theme broadcast, the remaining duration of the live theme broadcast is F, and the duration consumed by the anchor client in solving the emergency is G, which is equal to E-G.
In addition, when the anchor client receives the microphone drop notification sent by the server, the remaining duration of the live theme broadcast on the live theme broadcast interface of the anchor client can be highlighted, and the highlighting manner can include font enlargement and/or font thickening, so as to draw the attention of the anchor client.
According to the technical scheme, the boarding notification is received, the boarding notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a boarding identifier, the boarding response information comprises media streams, the pushed media streams are displayed in the corresponding theme live broadcast room, the theme live broadcast initiated actively through the server is notified by the server, the theme live broadcast is carried out in the theme live broadcast room, the themes of different theme live broadcast rooms are different, the contents of the live broadcast room are enriched, the problem that the live broadcast contents of the live broadcast rooms set by different main broadcasts are the same or similar is avoided, the live broadcast is standardized, and the user experience is improved.
Fig. 4 is a signaling diagram of a theme live broadcasting method according to an embodiment of the present invention, where the embodiment is applicable to a situation of enriching content of a live broadcasting room, the method may be executed by a theme live broadcasting apparatus, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a device, such as a server and a mobile terminal. As shown in fig. 4, the method specifically includes the following steps:
and step 410, the anchor client sends the boarding reservation information to the server, wherein the boarding reservation information comprises a theme live broadcast room identifier, an anchor client identifier and boarding time.
Step 420, the server obtains the current time.
Step 430, the server determines that the difference between the current time and the boarding time is less than or equal to the boarding duration threshold, and then sends a boarding notification to the anchor client, wherein the boarding notification comprises a theme live broadcast room identifier, an anchor client identifier and a boarding identifier.
Step 440, the anchor client generates and sends a loading response message to the server, wherein the loading response message includes the media stream.
And step 450, the server pushes the media stream to the corresponding theme live broadcast room.
Step 460, the anchor client displays the pushed media stream in the corresponding theme live broadcast room.
Step 470, the server sends a wheat-off notification to the anchor client when detecting that the preset wheat-off condition is met.
In the embodiment of the present invention, it should be noted that, when the server determines that the difference between the current time and the boarding time is less than or equal to the boarding duration threshold, the server sends a boarding notification to the anchor client, which may specifically include: the server determines whether the difference value between the current time and the boarding time is smaller than or equal to a boarding duration threshold value, determines whether the server and the anchor client are in a communication connection state, and sends an online boarding notification to the anchor client if the server and the anchor client are in the communication connection state; and if the server and the anchor client are not in a communication connection state, sending an offline microphone-on notification to the anchor client. The server sends the online microphone-playing notification to the anchor client, which may specifically include: if the anchor client is in a foreground running state, the server sends a microphone-on notification to the anchor client in an information popup mode; and if the anchor client is in a non-foreground running state, the server sends a microphone-up notification to the anchor client in a notification bar mode.
And if the current browsing interface of the anchor client is not the theme live broadcast interface and a page jump instruction input by a user is detected, jumping to the theme live broadcast interface according to the page jump instruction, and sending the loading response information on the theme live broadcast interface.
In order to better understand the technical solutions provided by the embodiments of the present invention, the following description is made with specific examples, specifically: as shown in fig. 5, an application diagram of the theme live broadcasting method is provided. In fig. 5, a main broadcast client 1102 sends a boarding reservation information to a server 1101, the boarding reservation information includes a main broadcast live room identifier, a main broadcast client identifier and a boarding time, the server 1101 determines that a difference value between a current time and the boarding time is less than or equal to a boarding duration threshold, then sends a boarding notification to the main broadcast client 1102, the main broadcast client 1102 sends a boarding feedback information to the server 1101, the boarding feedback information includes a media stream, the server 1101 pushes the media stream to a corresponding main broadcast live room, so that a viewer client 1103 can watch a theme live broadcast performed by the main broadcast client 1102 in the theme live room, the main broadcast client 1102 shows the pushed media stream in the corresponding theme live room, and the main broadcast client 1102 can watch the theme live broadcast. Among them, the viewer client 1103 refers to a client that is watching a live theme broadcast in a live theme broadcast room by the anchor client 1102 as an anchor. Specifically, fig. 6 to fig. 11 are schematic application diagrams of the anchor client 1102, and more specifically:
the server 1101 sends an online microphone application notification to the anchor client 1102, and if the live application program in the anchor client 1102 is in a foreground running state, the server 1101 sends the microphone application notification to the anchor client 1102 in an information popup manner, and correspondingly, the anchor client 1102 receives the microphone application notification sent by the server 1101 in the information popup manner, as shown in fig. 6, a schematic diagram is given in which the anchor client receives the microphone application notification sent by the server in the information popup manner. If the live application in the anchor client 1102 is in a non-foreground operating state, the server 1101 sends a going-to-talk notification in the form of a notification bar, and correspondingly, the anchor client 1102 receives the going-to-talk notification sent by the server 1101 in the form of the notification bar, as shown in fig. 7, a schematic diagram is given in which the anchor client receives the going-to-talk notification sent by the server in the form of the notification bar. Now, assuming that the live application in the anchor client 1102 is in a foreground operating state, the anchor client 1102 will receive a microphone-up notification sent by the server 1101 in an information popup mode, i.e., the mode shown in fig. 7. The boarding notification comprises a boarding identification, the boarding identification comprises an acceptance identification and an ignore identification, the anchor client 1102 receives an identification click receiving instruction input by a user to generate a boarding response identification, and when the anchor client 1102 reaches the boarding time, the anchor client enters an anchor live broadcast interface to conduct theme live broadcast, generates a media stream, and sends the media stream to the server 1101. As shown in fig. 8, a schematic diagram of the generation of the boarding response identifier is shown. As shown in fig. 9, a schematic diagram of a theme live interface is provided. The anchor client 1102 performs the theme live broadcast on the theme live broadcast interface shown in fig. 9, and the remaining duration of the theme live broadcast is displayed on the theme live broadcast interface. When detecting that the remaining duration of the theme live broadcast meets the preset leaving condition, the server 1101 sends a leaving notification to the anchor client 1102, where the preset leaving condition may be that the remaining duration of the theme live broadcast is less than or equal to a leaving duration threshold, or that an emergency occurs, the leaving duration threshold may be set to 30s, as shown in fig. 10, a schematic diagram of a leaving notification is given, specifically, when detecting that the remaining duration of the theme live broadcast is 30s, since it is equal to the leaving duration threshold, the server 1101 sends the leaving notification to the anchor client 1102, and fig. 10 is a schematic diagram of a leaving notification received by the anchor client 1102. As shown in fig. 11, another schematic diagram of a wheat going-off notification is given, specifically, the server 1101 detects that an emergency situation occurs, specifically, detects that the live content does not meet the requirement, at this time, the wheat going-off notification is sent to the anchor client 1102, and fig. 11 is a schematic diagram of another wheat going-off notification received by the anchor client 1102.
The technical scheme of this embodiment includes that a main broadcasting client sends a loading reservation message to a server, the loading reservation message includes a theme live broadcasting room identifier, a main broadcasting client identifier and a loading time, the server acquires a current time, the server determines that a difference value between the current time and the loading time is less than or equal to a loading time threshold value, and then sends a loading notification to the main broadcasting client, the loading notification includes the theme live broadcasting room identifier, the main broadcasting client identifier and the loading identifier, the main broadcasting client generates and sends a loading response message to the server, the loading response message includes a media stream, the server pushes the media stream to a corresponding theme live broadcasting room, the main broadcasting client displays the pushed media stream in the corresponding theme live broadcasting room, the theme live broadcasting initiated actively by the server is notified to the main broadcasting client to load by the server, so as to perform the theme live broadcasting in the theme live broadcasting room, and the topics of the live broadcasting rooms with different topics are different, so that the content of the live broadcasting rooms is enriched, the problem that the live broadcasting contents of the live broadcasting rooms which are set up by different anchor broadcasters are the same or similar is solved, the live broadcasting is standardized, and the user experience is improved.
Fig. 12 is a schematic structural diagram of a theme live broadcasting apparatus according to an embodiment of the present invention, where the embodiment is applicable to a situation of enriching content of a live broadcasting room, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be configured in a server. As shown in fig. 12, the apparatus specifically includes:
a going-to-home notification sending module 510, configured to send a going-to-home notification, where the going-to-home notification includes a theme live broadcast room identifier, a main broadcast client identifier, and a going-to-home identifier.
A going-to-home response information receiving module 520, configured to receive a going-to-home response information, where the going-to-home response information includes a media stream.
And a media stream pushing module 530, configured to push the media stream to the corresponding theme live room.
According to the technical scheme, the boarding notification is sent, the boarding notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a boarding identifier, the boarding response information is received, the boarding response information comprises a media stream, the media stream is pushed to a corresponding theme live broadcast room, the theme live broadcast initiated actively through the server is notified to the main broadcast client to be boarded through the server, so that the theme live broadcast is carried out in the theme live broadcast room, the themes of different theme live broadcast rooms are different, the content of the live broadcast room is enriched, the problem that the live broadcast contents of the live broadcast rooms of different main broadcasts are the same or similar is avoided, the live broadcast is standardized, and the user experience is improved.
Optionally, on the basis of the above technical solution, the apparatus may further include:
and the microphone getting reservation information receiving module is used for receiving microphone getting reservation information, and the microphone getting reservation information comprises a theme live broadcast room identifier, a main broadcast client identifier and microphone getting time.
Optionally, on the basis of the foregoing technical solution, the getting-on-microphone notification sending module 510 may specifically include:
and the current time acquisition unit is used for acquiring the current time.
And the microphone sending unit is used for sending a microphone sending notification if the difference value between the current time and the microphone sending time is less than or equal to the microphone sending time threshold.
Optionally, on the basis of the foregoing technical solution, the getting-on-microphone notification sending module 510 may specifically include:
and the online microphone notification sending unit is used for sending the online microphone notification if the online microphone notification sending unit is in a communication connection state with the anchor client.
And the offline online microphone notification sending unit is used for sending the offline microphone notification if the offline microphone notification sending unit is in a non-communication connection state with the main broadcast client.
Optionally, on the basis of the above technical solution, the online microphone notification sending unit may be specifically configured to:
and if the live broadcast application program in the anchor client is in a foreground running state, sending a microphone-up notification in an information popup mode.
And if the live broadcast application program in the anchor client is in a non-foreground running state, sending a microphone-up notification in a notification bar mode.
Optionally, on the basis of the above technical solution, the apparatus may further include:
and the microphone drop notification sending module is used for sending a microphone drop notification when detecting that a preset microphone drop condition is met.
Optionally, on the basis of the technical scheme, the leaving time condition is preset to be that the remaining time of the theme live broadcast is less than or equal to the leaving time threshold.
The theme live broadcasting device configured on the equipment provided by the embodiment of the invention can execute the theme live broadcasting method applied to the equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 13 is a schematic structural diagram of another theme live broadcasting device according to an embodiment of the present invention, where this embodiment is applicable to a situation of enriching content of a live broadcast room, the device may be implemented in a software and/or hardware manner, and the device may be configured in an anchor client. As shown in fig. 13, the apparatus specifically includes:
a going-to-home notification receiving module 610, configured to receive a going-to-home notification, where the going-to-home notification includes a theme live broadcast room identifier, a main broadcast client identifier, and a going-to-home identifier.
And a going-to-home response information sending module 620, configured to send a going-to-home response information, where the going-to-home response information includes a media stream.
And a media stream display module 630, configured to display the pushed media stream in the corresponding theme live room.
According to the technical scheme, the boarding notification is received, the boarding notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a boarding identifier, the boarding response information comprises media streams, the pushed media streams are displayed in the corresponding theme live broadcast room, the theme live broadcast initiated actively through the server is notified by the server, the theme live broadcast is carried out in the theme live broadcast room, the themes of different theme live broadcast rooms are different, the contents of the live broadcast room are enriched, the problem that the live broadcast contents of the live broadcast rooms set by different main broadcasts are the same or similar is avoided, the live broadcast is standardized, and the user experience is improved.
Optionally, on the basis of the above technical solution, the getting response information sending module 620 may specifically include:
the page jump instruction acquisition unit is used for jumping to the theme live broadcast interface according to the page jump instruction if the current browsing interface is not the theme live broadcast interface and the page jump instruction input by a user is detected;
and the microphone response information sending unit is used for sending the microphone response information to the theme live broadcast interface and sending the microphone response information.
The theme live broadcasting device configured on the equipment provided by the embodiment of the invention can execute the theme live broadcasting method applied to the equipment provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 14 is a schematic structural diagram of a theme live broadcast system provided in an embodiment of the present invention, where this embodiment is applicable to a situation of enriching content of a live broadcast room, and the system may be implemented in a software and/or hardware manner, as shown in fig. 14, the system specifically includes: the server 1101 and the anchor client 1102, which are communicatively connected, will be described in detail below with respect to their structures and functions.
The server 1101 may specifically include:
and the microphone loading notification sending module is used for sending a microphone loading notification, and the microphone loading notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone loading identifier.
And the microphone response information receiving module is used for receiving microphone response information, and the microphone response information comprises a media stream.
And the media stream pushing module is used for pushing the media stream to the corresponding theme live broadcast room.
The anchor client 1102 may specifically include:
and the microphone loading notification receiving module is used for receiving a microphone loading notification, and the microphone loading notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone loading identifier.
And the microphone response information sending module is used for sending microphone response information, and the microphone response information comprises a media stream.
And the media stream display module is used for displaying the pushed media stream in the corresponding theme live broadcast room.
According to the technical scheme, the server sends the microphone loading notification to the anchor client, the microphone loading notification comprises a theme live broadcast room identifier, an anchor client identifier and a microphone loading identifier, the anchor client generates microphone loading response information according to the microphone loading notification and sends the microphone loading response information to the server, the microphone loading response information comprises a media stream, the server pushes the media stream to a corresponding theme live broadcast room, the anchor client displays the pushed media stream in the corresponding theme live broadcast room, the server actively initiates the theme live broadcast, the server informs the anchor client to microphone, so that the theme live broadcast is conducted in the theme live broadcast room, the themes of different theme live broadcast rooms are different, the content of the live broadcast room is enriched, the problem that the live broadcast contents of the live broadcast rooms arranged in different anchor broadcasts are the same or similar is solved, the live broadcast is standardized, and the user experience is improved.
Optionally, on the basis of the above technical solution, the live device provided in the server may further include:
and the microphone getting reservation information receiving module is used for receiving microphone getting reservation information, and the microphone getting reservation information comprises a theme live broadcast room identifier, a main broadcast client identifier and microphone getting time.
Optionally, on the basis of the foregoing technical solution, the getting-on-microphone notification sending module 510 may specifically include:
and the current time acquisition unit is used for acquiring the current time.
And the microphone sending unit is used for sending a microphone sending notification if the difference value between the current time and the microphone sending time is less than or equal to the microphone sending time threshold.
Optionally, on the basis of the foregoing technical solution, the getting-on-microphone notification sending module 510 may specifically include:
and the online microphone notification sending unit is used for sending the online microphone notification if the online microphone notification sending unit is in a communication connection state with the anchor client.
And the offline online microphone notification sending unit is used for sending the offline microphone notification if the offline microphone notification sending unit is in a non-communication connection state with the main broadcast client.
Optionally, on the basis of the above technical solution, the online microphone notification sending unit may be specifically configured to:
and if the live broadcast application program in the anchor client is in a foreground running state, sending a microphone-up notification in an information popup mode.
And if the live broadcast application program in the anchor client is in a non-foreground running state, sending a microphone-up notification in a notification bar mode.
Optionally, on the basis of the above technical solution, the live device provided in the server may further include:
and the microphone drop notification sending module is used for sending a microphone drop notification when detecting that a preset microphone drop condition is met.
Optionally, on the basis of the technical scheme, the leaving time condition is preset to be that the remaining time of the theme live broadcast is less than or equal to the leaving time threshold.
Optionally, on the basis of the above technical solution, the getting response information sending module 620 may specifically include:
the page jump instruction acquisition unit is used for jumping to the theme live broadcast interface according to the page jump instruction if the current browsing interface is not the theme live broadcast interface and the page jump instruction input by a user is detected;
and the microphone response information sending unit is used for sending the microphone response information to the theme live broadcast interface and sending the microphone response information.
Fig. 15 is a schematic structural diagram of a server according to an embodiment of the present invention. The server shown in fig. 15 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention. As shown in fig. 15, the server provided by the embodiment of the present invention includes a processor 71, a memory 72, an input device 73, and an output device 74; the number of the processors 71 in the server may be one or more, and one processor 71 is taken as an example in fig. 15; the processor 71, the memory 72, the input device 73 and the output device 74 in the server may be connected by a bus or other means, and the bus connection is exemplified in fig. 15.
The memory 72 is a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the server theme live method in the embodiment of the present invention (for example, the going-to-talk notification sending module 510, the going-to-talk response information receiving module 520, and the media stream pushing module 530 in the theme live device are used). The processor 71 executes various functional applications and data processing by executing software programs, instructions and modules stored in the memory 72, for example, to implement the theme live method applied to the server provided by the embodiment of the present invention.
The memory 72 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the server, and the like. Further, the memory 72 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 72 may further include memory located remotely from the processor 71, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 73 may be used to receive numeric or character information input by a user to generate key signal inputs related to user settings and function control of the server. The output device 74 may include a display screen or the like.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the theme live broadcast method applied to the server provided by any embodiment of the present invention. The hardware structure and function of the server can be explained with reference to the contents of the embodiment.
Fig. 16 is a schematic structural diagram of an anchor client according to an embodiment of the present invention. The anchor client shown in fig. 16 is only an example and should not bring any limitations to the functionality and scope of use of embodiments of the present invention. As shown in fig. 16, the anchor client provided in the embodiment of the present invention includes a processor 81, a memory 82, an input device 83, an output device 84, a camera 85, and a microphone 86; the number of processors 81 in the anchor client may be one or more, and one processor 81 is taken as an example in fig. 16; the processor 81, memory 82, input device 83, output device 84, camera 85 and microphone 86 in the anchor client may be connected by a bus or other means, as exemplified by the bus connection in fig. 16.
The memory 82, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the anchor client theme live method in the embodiments of the present invention (for example, using the push notification sending module 510, the push response information receiving module 520, and the media stream pushing module 530 in the theme live device). The processor 81 executes various functional applications and data processing by executing software programs, instructions and modules stored in the memory 82, for example, to implement the theme live method applied to the anchor client provided by the embodiment of the present invention.
The memory 82 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the anchor client, and the like. Further, the memory 82 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 82 may further include memory located remotely from processor 81, which may be connected to the anchor client over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 83 may be used to receive numeric or character information input by a user to generate key signal inputs relating to user settings and function controls of the anchor client. The output device 84 may include a display screen or the like. And a camera 85 for recording video signals. A microphone 86 for picking up audio signals.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the theme live broadcast method applied to the anchor client provided by any embodiment of the present invention. The hardware structure and function of the anchor client can be seen in the content explanation of the embodiment.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a theme live broadcasting method applied to a server, where the method includes:
and sending a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier.
And receiving the microphone response information, wherein the microphone response information comprises the media stream.
And pushing the media stream to the corresponding theme live broadcast room.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. Specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable Computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may be executed on a server.
An embodiment of the present invention further provides another computer-readable storage medium, where the computer-executable instructions, when executed by a computer processor, implement a theme live broadcast method applied to a anchor client, where the method includes:
and receiving a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier.
And sending the uploading response information, wherein the uploading response information comprises the media stream.
And displaying the pushed media stream in the corresponding theme live broadcast room.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the anchor client.
Of course, the computer-readable storage medium provided in the embodiments of the present invention has computer-executable instructions that are not limited to the method operations described above, and may also perform related operations in the theme live method applied to the server and the theme live method applied to the anchor client provided in any embodiments of the present invention. The description of the storage medium is explained with reference to the embodiments.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (16)

1. A method for theme live broadcasting, comprising:
sending a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier, and the microphone-up notification is used for prompting a main broadcast client corresponding to the main broadcast client identifier to carry out theme live broadcast in a theme live broadcast room corresponding to the theme live broadcast room identifier;
receiving a microphone response message, wherein the microphone response message comprises a media stream;
pushing the media stream to a corresponding theme live broadcast room;
and the media stream content conforms to the theme of the theme live broadcast room.
2. The method of claim 1, wherein prior to sending the microphone notification, further comprising:
and receiving the boarding reservation information, wherein the boarding reservation information comprises a theme live broadcast room identifier, a main broadcast client identifier and boarding time.
3. The method of claim 2, wherein sending the going to the microphone notification comprises:
acquiring current time;
and if the difference value between the current time and the boarding time is less than or equal to a boarding duration threshold, sending a boarding notification.
4. The method of claim 1, wherein sending the going to the microphone notification comprises:
if the communication connection state is established between the client side and the anchor client side, an online microphone-on notification is sent;
and if the communication connection state between the client side and the main broadcasting client side is a non-communication connection state, sending an offline microphone-on notification.
5. The method of claim 4, wherein sending the online microphone notification comprises:
if the live broadcast application program in the anchor client is in a foreground running state, sending a microphone-up notification in an information popup mode;
and if the live application program in the anchor client is in a non-foreground running state, sending a microphone-up notification in a notification bar mode.
6. The method of claim 1, wherein after pushing the media stream to the corresponding theme live room, further comprising:
and sending a wheat off notification when detecting that a preset wheat off condition is met.
7. The method as claimed in claim 6, wherein the preset wheat leaving condition is that the theme live broadcast remaining time is less than or equal to a wheat leaving time threshold.
8. A method for theme live broadcasting, comprising:
receiving a microphone-up notification, wherein the microphone-up notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone-up identifier, and the microphone-up notification is used for prompting a main broadcast client corresponding to the main broadcast client identifier to carry out theme live broadcast in a theme live broadcast room corresponding to the theme live broadcast room identifier;
sending a microphone response message, wherein the microphone response message comprises a media stream;
displaying the pushed media stream in a corresponding theme live broadcast room;
and the media stream content conforms to the theme of the theme live broadcast room.
9. The method of claim 8, wherein the sending the get-on response message comprises:
if the current browsing interface is not the theme live broadcast interface and a page jump instruction input by a user is detected, jumping to the theme live broadcast interface according to the page jump instruction;
and sending the boarding response information on the theme live broadcast interface.
10. A theme live broadcast device, comprising:
the system comprises a boarding notification sending module, a topic live broadcasting room identification, a main broadcasting client identification and a boarding notification, wherein the boarding notification sending module is used for sending a boarding notification, the boarding notification comprises the topic live broadcasting room identification, the main broadcasting client identification and a boarding identification, and the boarding notification is used for prompting the main broadcasting client corresponding to the main broadcasting client identification to carry out topic live broadcasting in the topic live broadcasting room corresponding to the topic live broadcasting room identification;
the system comprises a microphone response information receiving module, a microphone response information receiving module and a microphone sending module, wherein the microphone response information receiving module is used for receiving microphone response information which comprises a media stream;
the media stream pushing module is used for pushing the media stream to a corresponding theme live broadcast room;
and the media stream content conforms to the theme of the theme live broadcast room.
11. A theme live broadcast device, comprising:
the system comprises a receiving module of a microphone notification, a receiving module of the microphone notification, a processing module of the microphone notification and a processing module of the microphone notification, wherein the microphone notification comprises a theme live broadcast room identifier, a main broadcast client identifier and a microphone identifier, and the microphone notification is used for prompting a main broadcast client corresponding to the main broadcast client identifier to carry out theme live broadcast in the theme live broadcast room corresponding to the theme live broadcast room identifier;
the system comprises a microphone response information sending module, a microphone response information sending module and a microphone sending module, wherein the microphone response information sending module is used for sending microphone response information which comprises a media stream;
the media stream display module is used for displaying the pushed media stream in the corresponding theme live broadcast room;
and the media stream content conforms to the theme of the theme live broadcast room.
12. A themed live broadcast system, comprising: a server and a anchor client communicatively connected, the server being provided with the theme live broadcast apparatus as claimed in claim 10, the anchor client being provided with the theme live broadcast apparatus as claimed in claim 11.
13. A server, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
14. An anchor client, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of claim 8 or 9.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of claim 8 or 9.
CN201910189414.6A 2019-03-13 2019-03-13 Theme live broadcasting method, device, system, equipment and storage medium Active CN109889861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910189414.6A CN109889861B (en) 2019-03-13 2019-03-13 Theme live broadcasting method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910189414.6A CN109889861B (en) 2019-03-13 2019-03-13 Theme live broadcasting method, device, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109889861A CN109889861A (en) 2019-06-14
CN109889861B true CN109889861B (en) 2021-11-19

Family

ID=66932141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910189414.6A Active CN109889861B (en) 2019-03-13 2019-03-13 Theme live broadcasting method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109889861B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545327B (en) * 2019-09-20 2022-04-29 北京达佳互联信息技术有限公司 Information pushing method and system
CN112511852A (en) * 2020-11-23 2021-03-16 北京城市网邻信息技术有限公司 Processing method and device for house source live broadcast
CN112887747B (en) * 2021-01-25 2023-09-12 百果园技术(新加坡)有限公司 Live broadcasting room control method and device and electronic equipment
CN115314746A (en) * 2021-05-08 2022-11-08 北京字节跳动网络技术有限公司 Method and device for realizing online room, electronic equipment and storage medium
CN113515336B (en) * 2021-05-24 2023-08-15 腾讯科技(深圳)有限公司 Live room joining method, creation method, device, equipment and storage medium
CN113794939B (en) * 2021-07-30 2023-06-20 北京达佳互联信息技术有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
CN106488254A (en) * 2016-11-16 2017-03-08 广州华多网络科技有限公司 A kind of method and system of live picture switching
CN107578234A (en) * 2017-09-01 2018-01-12 泰康保险集团股份有限公司 Method of payment, payment mechanism, medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008244565A (en) * 2007-03-26 2008-10-09 Victor Co Of Japan Ltd System of recording reservation of broadcast program
CN107278291A (en) * 2016-06-02 2017-10-20 达闼科技(北京)有限公司 A kind of notification message display methods, device, electronic equipment and computer program product
CN106713272A (en) * 2016-11-23 2017-05-24 广州华多网络科技有限公司 Live broadcast reminder method and device
CN107609065B (en) * 2017-08-30 2019-12-03 武汉斗鱼网络科技有限公司 A kind of game classification method, apparatus and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394432A (en) * 2014-11-26 2015-03-04 广州华多网络科技有限公司 Video studio creating method and service device
CN106488254A (en) * 2016-11-16 2017-03-08 广州华多网络科技有限公司 A kind of method and system of live picture switching
CN107578234A (en) * 2017-09-01 2018-01-12 泰康保险集团股份有限公司 Method of payment, payment mechanism, medium and electronic equipment

Also Published As

Publication number Publication date
CN109889861A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109889861B (en) Theme live broadcasting method, device, system, equipment and storage medium
US11462191B2 (en) Methods, systems, and media for managing output of an HDMI source
US11362984B2 (en) Matter message notification method, apparatus, and device
CN109413483B (en) Live content preview method, device, equipment and medium
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN112714330B (en) Gift presenting method and device based on live broadcast with wheat and electronic equipment
US8612534B1 (en) Pausing of content delivery in push notifications
CN106131706B (en) Message pushing method and device related to anchor dynamics in mobile client application program
CN110012362B (en) Live broadcast voice processing method, device, equipment and storage medium
CN106488270B (en) Live broadcast room switching method and device
CN112231021B (en) Method and device for guiding new functions of software
US11900006B2 (en) Synchronizing local room and remote sharing
WO2021190557A1 (en) Interaction method and apparatus, and electronic device
CN111277884A (en) Video playing method and device
CN112751971A (en) Voice playing method and device and electronic equipment
EP4123472A1 (en) Information sharing method, apparatus, electronic device, and storage medium
CN113467677B (en) Virtual space operation method and device, electronic equipment and storage medium
US11956531B2 (en) Video sharing method and apparatus, electronic device, and storage medium
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN112243157A (en) Live broadcast control method and device, electronic equipment and computer readable medium
CN110493021B (en) Communication method, device, equipment and storage medium based on smart watch
CN112511884B (en) Mixed flow control method, system and storage medium for audio and video flow
CN113595857B (en) Group operation method, device, equipment and storage medium
CN116389844A (en) Interaction method, interaction device, electronic equipment, storage medium and program product
CN114071056B (en) Video data display method and display device

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