CN112887747A - Live broadcast room control method and device and electronic equipment - Google Patents

Live broadcast room control method and device and electronic equipment Download PDF

Info

Publication number
CN112887747A
CN112887747A CN202110099382.8A CN202110099382A CN112887747A CN 112887747 A CN112887747 A CN 112887747A CN 202110099382 A CN202110099382 A CN 202110099382A CN 112887747 A CN112887747 A CN 112887747A
Authority
CN
China
Prior art keywords
live broadcast
target
broadcast room
anchor
state
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.)
Granted
Application number
CN202110099382.8A
Other languages
Chinese (zh)
Other versions
CN112887747B (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.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Bigo Technology Singapore Pte 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 Bigo Technology Singapore Pte Ltd filed Critical Bigo Technology Singapore Pte Ltd
Priority to CN202110099382.8A priority Critical patent/CN112887747B/en
Publication of CN112887747A publication Critical patent/CN112887747A/en
Application granted granted Critical
Publication of CN112887747B publication Critical patent/CN112887747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides a live broadcast room control method and device and electronic equipment, and relates to the technical field of network live broadcast. The method comprises the following steps: under the condition that a target live broadcast room is in an online state, detecting whether the anchor state of the target live broadcast room changes or not; if the change of the anchor state of the target live broadcast room is detected, the changed target anchor state of the target live broadcast room is obtained; and controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state. By the scheme, even if the anchor is in an off-line state, the live broadcast room can still be in an on-line state, so that the existence of the live broadcast room is not dependent on whether the anchor is on line or not, and the participation of audiences in the live broadcast room is improved.

Description

Live broadcast room control method and device and electronic equipment
Technical Field
The invention relates to the technical field of network live broadcast, in particular to a live broadcast room control method and device and electronic equipment.
Background
At present, in a live broadcast room implementation scheme in the prior art, a main broadcast is required to perform broadcasting operation or broadcasting closing operation, the live broadcast room is opened after the main broadcast is broadcasted, audiences can enter the live broadcast room, and the main broadcast needs to keep an online state at the moment, so that an interactive relationship is established between the main broadcast and the audiences. If the anchor leaves for a while during the live broadcast, the live room in which the anchor is live needs to be temporarily closed, at which point the attention is removed from the live room and the connection to the viewer is interrupted. Thus, in prior art live room implementations, the presence of the live room is strongly dependent on the online status of the anchor, resulting in a reduced audience engagement within the live room.
Disclosure of Invention
The invention provides a live broadcast room control method, a live broadcast room control device and electronic equipment, and aims to solve the problem that the participation of audiences in a live broadcast room is reduced due to the fact that the live broadcast room is strongly dependent on the online state of a main broadcast.
In a first aspect of the present invention, a live broadcast room control method is provided, where the method includes:
under the condition that a target live broadcast room is in an online state, detecting whether the anchor state of the target live broadcast room changes or not;
if the change of the anchor state of the target live broadcast room is detected, the changed target anchor state of the target live broadcast room is obtained;
and controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
In a second aspect of the present invention, there is provided a live room control apparatus, comprising:
the first detection module is used for detecting whether the anchor state of the target live broadcast room changes or not under the condition that the target live broadcast room is in an online state;
the first acquisition module is used for acquiring the target anchor state after the target live broadcast room is changed if the anchor state of the target live broadcast room is detected to be changed;
and the first control module is used for controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
In a third aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps in the live broadcast room control method when executing the program stored in the memory.
In a fourth aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a live-air control method as described above.
In a fifth aspect of embodiments of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform a live-air control method as described above.
Aiming at the prior art, the invention has the following advantages:
in the embodiment of the invention, whether the anchor state of the target live broadcast room is changed or not is detected under the condition that the target live broadcast room is in the online state, and when the anchor state of the target live broadcast room is detected to be changed, the target live broadcast room is controlled to enter the target live broadcast mode corresponding to the target anchor state through the target anchor state after the target live broadcast room is changed, so that the live broadcast room can be in the online state even if the anchor is in the offline state, the existence of the live broadcast room is not dependent on whether the anchor is online or not, and the participation degree of audiences in the live broadcast room is further improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly described below.
Fig. 1 is a flowchart of a live broadcast room control method according to an embodiment of the present invention;
fig. 2 is a schematic view of a collaboration flow at each end of a target live broadcast room according to an embodiment of the present invention;
fig. 3 is a block diagram of a control device in a live broadcast room according to an embodiment of the present invention;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
At present, in a room being played, if a main broadcast exits the room, a server moves an online audience out of the room, the room finishes live broadcast, and a watching client displays that the room finishes live broadcast, so that the existence of a live broadcast room strongly depends on whether the main broadcast is online or not, and the participation degree of the audience in the live broadcast room is reduced.
Therefore, the embodiment of the invention provides a live broadcast room control method, a live broadcast room control device and electronic equipment, even if a main broadcast is in an off-line state, the live broadcast room can still be in an on-line state, so that the existence of the live broadcast room is not dependent on whether the main broadcast is on-line or not, and the participation degree of audiences in the live broadcast room is further improved.
Specifically, as shown in fig. 1, an embodiment of the present invention provides a live broadcast room control method, where the method specifically includes:
step 101, detecting whether the anchor state of a target live broadcast room changes or not under the condition that the target live broadcast room is in an online state.
Specifically, the control method of the live broadcast room can be applied to a server. The target live broadcast room is started by the anchor broadcast firstly, the server receives the start broadcast request and then starts the start broadcast process to the target live broadcast room, at the moment, the target live broadcast room is in an online state, and the anchor broadcast is also in the target live broadcast room. On the premise that the target live broadcast room is in an online state, the server detects whether the anchor state of the target live broadcast room changes or not, and if the anchor state is switched from the online state to an offline state, the anchor state is changed; if the anchor state is switched from the offline state to the online state, the change of the anchor state is indicated.
And 102, if the anchor state of the target live broadcast room is detected to be changed, acquiring the changed target anchor state of the target live broadcast room.
Further, the target anchor state may include: and the anchor is in the off-line state of the target live broadcast room, or the anchor is in the on-line state of the target live broadcast room.
Specifically, if the server detects that the anchor state of the target live broadcast room changes, that is, the online state of the anchor in the target live broadcast room is switched to the offline state, or the offline state of the anchor in the target live broadcast room is switched to the online state, the server needs to acquire the anchor state after the change of the target live broadcast room, that is, the target anchor state.
And 103, controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
Specifically, the anchor state and the live broadcast mode have a preset corresponding relationship, the server can acquire the target live broadcast mode corresponding to the target anchor state according to the target anchor state and the preset corresponding relationship, and control the target live broadcast room to enter the target live broadcast mode, so that even if the anchor is in an off-line state, the live broadcast room can still be in an on-line state, namely the target live broadcast mode, and the participation degree of audiences in the target live broadcast room is improved.
Moreover, the server can send the target live broadcast mode to a watching client for watching the target live broadcast room, so that the watching client can know the target live broadcast mode of the target live broadcast room in time; and, the viewing client may be further caused to control the user display interface to display the anchor interface element after receiving the target live mode, for example: cover drawings, and the like.
In the embodiment of the invention, whether the anchor state of the target live broadcast room is changed or not is detected under the condition that the target live broadcast room is in the online state, and when the change of the anchor state of the target live broadcast room is detected, the target live broadcast room is controlled to enter the target live broadcast mode corresponding to the target anchor state through the changed target anchor state of the target live broadcast room, so that the live broadcast room can be in the online state even if the anchor is in the offline state, the existence of the live broadcast room is not dependent on whether the anchor is online or not, and the participation degree of audiences in the live broadcast room is further improved.
Optionally, the step 103, according to the target anchor state, controls the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state, and specifically may include:
acquiring configuration information whether the target live broadcast room supports a resident function;
and controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the configuration information and the target anchor state.
Specifically, the resident function is a function that the anchor offline live broadcast room can still be in an online state. Whether the target live broadcast room supports the resident function can be configured by the server, if the server configures configuration information of the target live broadcast room supporting the resident function, the server acquires a target live broadcast mode corresponding to the target anchor state according to the configuration information and the target anchor state; for example: if the target anchor state is the offline state of the anchor in the target live broadcast room, the anchor offline does not affect the online state of the target live broadcast room, the target live broadcast room can still be in the online state, the watching client does not need to be removed from the target live broadcast room, the live broadcast room is enabled to be independent of whether the anchor is online or not, and the participation degree of the watching client in the live broadcast room is further improved.
If the server configures configuration information that the target live broadcast room does not support the resident function, the server acquires a target live broadcast mode corresponding to the target anchor state according to the configuration information and the target anchor state, and at the moment, if the target anchor state is an offline state of the anchor in the target live broadcast room, the watching client needs to be moved out of the target live broadcast room, and the target live broadcast room is in a broadcasting-off state.
Optionally, after the step 102 acquires the target anchor state after the target live broadcast room is changed, the method may further include:
controlling the target interaction function of the target live broadcast room to be opened or closed according to the target anchor state;
the target interaction function is an interaction function between a watching client side of the target live broadcast room and a main broadcast in the target live broadcast room.
Specifically, the server controls the interaction function between the watching client and the main broadcast in the target live broadcast room to be turned on or turned off according to the target live broadcast state, and at the moment, in addition to the target interaction function, the functions of gift brushing (here, referring to the virtual gift of the live broadcast room, such as yacht and the like), barrage sending and the like of other live broadcast rooms can be used to ensure the participation degree of audiences in the target live broadcast room.
Optionally, the step of controlling, according to the target anchor state, the target interaction function of the target live broadcast room to be turned on or off may specifically include:
under the condition that the target anchor state is an offline state of an anchor in the target live broadcast room, controlling the target interaction function of the target live broadcast room to be closed according to the target anchor state;
and controlling the target interaction function of the target live broadcast room to be started according to the target anchor state under the condition that the anchor state is the online state of the anchor in the target live broadcast room.
Specifically, if the target anchor state is the offline state of the anchor in the target live broadcast room, the online state of the anchor in the target live broadcast room is switched to the offline state, and the server can control the interactive function between the watching client and the anchor in the target live broadcast room to be switched from on to off so as to save the flow. If the target anchor state is the online state of the anchor in the target live broadcast room, the offline state of the anchor in the target live broadcast room is switched to the online state, the server can control the interactive function between the watching client and the anchor in the target live broadcast room to be switched from off to on, so as to ensure that the target live broadcast room is in a normal broadcasting state, so that the watching client can establish the interaction with the anchor in the target live broadcast room, if: the viewing client may have a voice call or a video call with the anchor.
Optionally, when the target anchor state is an offline state of an anchor in the target live broadcast room, the target live broadcast mode is a live broadcast mode in which the target live broadcast room is online and the anchor is offline;
and under the condition that the anchor state is the online state of the anchor in the target live broadcast room, the target live broadcast mode is the live broadcast mode that the target live broadcast room is online and the anchor is online.
Specifically, if the anchor is in the target live broadcast room is in an off-line state, the target live broadcast room is in an on-line state at the moment, the anchor of the target live broadcast room exits the target live broadcast room, namely the anchor is off-line and the target live broadcast room is on-line, so that the existence of the target live broadcast room is independent of whether the anchor is on-line or not, and the participation degree of audiences in the live broadcast room is further improved. And if the anchor is in an online state in the target live broadcasting room, the target live broadcasting room is in a normal playing state at the moment, namely the anchor is live broadcasting in the target live broadcasting room.
Optionally, when the anchor state is an offline state of the anchor in the target live broadcast room, the method further includes:
acquiring request information of a target client for entering the target live broadcast room;
and controlling the target client to log in the target live broadcast room according to the request information, and sending response information containing the target live broadcast mode to the target client.
Specifically, if the anchor is in an offline state in the target live broadcast room, if the target client sends request information requesting to enter the target live broadcast room to the target live broadcast room, after the server receives the request information, the server can control the target client to log in the target live broadcast room according to the request information; at the moment, the anchor is in an off-line state in the target live broadcast room, the server can feed back a first identifier about whether the target live broadcast room is configured with a resident function and a second identifier about whether the anchor is on-line, and the server can obtain a target live broadcast mode according to the fed back content; moreover, the first identifier and the second identifier may be displayed on a User Interface (UI) of the viewing client, and the target live mode may also be displayed on the UI. The corresponding relationship between the first identifier and the second identifier is shown in the following table 1:
TABLE 1 table of correspondence between first and second identifiers
Configuring resident functions Not setting resident function
Anchor is not online Target live broadcast room online Off-line of target live broadcast room
Anchor online Target live broadcast room online Target live broadcast room online
And if the anchor is not online and the resident function is configured, the target live broadcast room is online and the anchor is not online, and the target live broadcast room is online but the target interaction function is closed. And if the anchor is not on-line and the resident function is not configured, removing the watching client from the target live broadcast room and quitting the live broadcast interface, and displaying a room end page by the watching client. If the anchor is online and the resident function is configured, the target live broadcast room is online and the anchor is online at the moment, and the anchor is in a normal broadcasting state in the target live broadcast room at the moment; if the anchor is online and the resident function is not configured, the target live broadcast room is online and the anchor is online at the moment, and the anchor is in a normal broadcasting state in the target live broadcast room at the moment.
Further, in order to realize the resident function of the target live broadcast room, a state is added on the original room architecture (namely, the anchor broadcasting audience client can enter the target live broadcast room, and the anchor broadcasting audience client exits the target live broadcast room), so that the state of the anchor broadcasting is separated from the target live broadcast room. For this reason, two attributes need to be added to the target live broadcast room: offline live offline, offline live and anchor online ownerOnline. The offshielive is configured by the server, the anchor is unaware, and the offshielive indicates whether a resident function is supported in a current target live broadcast room or not and corresponds to a first identifier; the ownerOnline indicates whether the anchor of the current target live broadcast room is online, where online refers to whether the anchor is started in the target live broadcast room, and corresponds to the second identifier.
After adding the two identifications offlineLive and oweneronline, the state of the target live broadcast room transitions as follows:
if the anchor starts live broadcasting, the anchor opens a target live broadcasting room, and then enters a broadcasting state, so that audiences can enter the target live broadcasting room and stay in the target live broadcasting room as watching clients; at this point, the watching client can interactively communicate with the anchor regardless of whether the resident mode is configured or not. The watching client enters a target live broadcast room, and the servers send two identifications of offlineLive and ownerOnline to the watching client.
If the anchor live broadcast is finished, the anchor quits the target live broadcast room, if the target live broadcast room is not configured with the resident function, the watching client is moved out of the target live broadcast room, the target live broadcast room is closed at the moment, the watching client is in a closed broadcast state, and a user interface of the watching client displays a cover page closed by the target live broadcast room and the like.
If the anchor quits the target live broadcast room in the starting process, at this time, if the resident function is configured, the watching client side cannot be moved out of the target live broadcast room, and at this time, the target interaction function between the watching client side and the anchor is closed, such as: the watching client needs to be disconnected from the audio and video server, other functions are kept normal, and relevant elements of the resident function mode are displayed on the UI, such as: cover drawings, and the like. If the anchor returns to the target live broadcast room again, the anchor is changed from the offline state to the online state, and at the moment, the server recovers the target interaction function between the watching client and the anchor, such as: the watching client needs to reestablish a connection relation with the audio and video server, the watching client and the anchor can normally communicate and interact, and related elements normally played are displayed on the UI.
If the target live broadcast room is in a closed state or an off-line state, the target live broadcast room is not accessed by the audience, or the target live broadcast room is closed.
It should be noted that, when the state of the target live broadcast room changes or the state of the anchor of the target live broadcast room changes, the server changes the two identifiers of offlineLive and ownerOnline, and the two identifiers can be displayed on the interface of the watching client, so as to notify the watching client of the current states of the target live broadcast room and the anchor.
And when the target live broadcast room is in the resident functional mode, the content displayed by the UI can be set as required, and no specific limitation is made herein.
As shown in fig. 2, the following describes the embodiment of the present invention in detail by configuring the collaboration flow of each end of the target live broadcast room with the resident function:
step a 1: the anchor terminal 21 sends a broadcast request to the server 22, and the server receives the broadcast request and then distributes a target live broadcast room for broadcast.
Step a 2: after the target live room is opened, the viewing client 23 may enter the target live room.
Step a 3: the anchor 21 sends the off-air information to the server 22, and since the server 22 configures the resident function for the target live broadcast, the anchor 21 can exit the target live broadcast, but the target live broadcast is not closed.
Step a 4: in the case where the server 22 is configured with the resident function, the server 22 controls the target live broadcast room to enter the resident function mode, that is, the anchor 21 exits the target live broadcast room in a mode where the target live broadcast room is not closed, and sends information that the target live broadcast room enters the resident function mode to the viewing client 23.
Step a 5: the anchor 21 sends the broadcast request to the server 22 again, and the server receives the broadcast request and then distributes the target live broadcast room, and the anchor broadcasts again.
Step a 6: after the anchor is restarted, the server 22 controls the target live broadcast room to exit the resident function mode, the anchor reenters the live broadcast room, the target live broadcast room is online at the moment, the anchor is online, and the server 22 sends information that the target live broadcast room exits the resident function mode to the watching client 23.
Step a 7: during the anchor live broadcast, the watching client 23 can quit the target live broadcast room at any time.
In summary, in the above embodiments of the present invention, it is detected whether the anchor state of the target live broadcast room changes when the target live broadcast room is in the online state, and when the anchor state of the target live broadcast room changes, the target live broadcast room is controlled to enter the target live broadcast mode corresponding to the target anchor state through the target anchor state after the target live broadcast room changes, so that even if the anchor is in the offline state, the live broadcast room can still be in the online state, so that the existence of the live broadcast room is not dependent on whether the anchor is online, and further, the participation of the audience in the live broadcast room is improved; and, after the target live broadcast room enters the resident function mode, the target interactive function is closed to save the flow.
As shown in fig. 3, an apparatus 300 for controlling a live broadcast room according to an embodiment of the present invention includes:
the first detection module 301 is configured to detect whether a anchor state of a target live broadcast room changes when the target live broadcast room is in an online state;
a first obtaining module 302, configured to obtain a target anchor state after the target live broadcast room changes if it is detected that the anchor state of the target live broadcast room changes;
a first control module 303, configured to control the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
In the embodiment of the invention, whether the anchor state of the target live broadcast room is changed or not is detected under the condition that the target live broadcast room is in the online state, and when the change of the anchor state of the target live broadcast room is detected, the target live broadcast room is controlled to enter the target live broadcast mode corresponding to the target anchor state through the changed target anchor state of the target live broadcast room, so that the live broadcast room can be in the online state even if the anchor is in the offline state, the existence of the live broadcast room is not dependent on whether the anchor is online or not, and the participation degree of audiences in the live broadcast room is further improved.
Optionally, the first control module 303 includes:
the first acquisition unit is used for acquiring configuration information of whether the target live broadcast room supports a resident function;
and the first control unit is used for controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the configuration information and the target anchor state.
Optionally, the target anchor state includes: and the anchor is in the off-line state of the target live broadcast room, or the anchor is in the on-line state of the target live broadcast room.
Optionally, the apparatus further comprises:
the second control module is used for controlling the target interaction function of the target live broadcast room to be opened or closed according to the target anchor state;
the target interaction function is an interaction function between a watching client side of the target live broadcast room and a main broadcast in the target live broadcast room.
Optionally, the second control module includes:
the second control unit is used for controlling the target interaction function of the target live broadcast room to be closed according to the target anchor state under the condition that the target anchor state is the offline state of the anchor in the target live broadcast room;
and the third control unit is used for controlling the target interaction function of the target live broadcast room to be started according to the target anchor state under the condition that the anchor state is the online state of the anchor in the target live broadcast room.
Optionally, when the target anchor state is an offline state of an anchor in the target live broadcast room, the target live broadcast mode is a live broadcast mode in which the target live broadcast room is online and the anchor is offline;
and under the condition that the anchor state is the online state of the anchor in the target live broadcast room, the target live broadcast mode is the live broadcast mode that the target live broadcast room is online and the anchor is online.
Optionally, in a case that the anchor state is an offline state of the anchor in the target live broadcast room, the apparatus further includes:
the second acquisition module is used for acquiring request information of a target client end for entering the target live broadcast room;
and the third control module is used for controlling the target client to log in the target live broadcast room according to the request information and sending response information containing the target live broadcast mode to the target client.
It should be noted that the embodiment of the live broadcast room control apparatus is an apparatus corresponding to the live broadcast room control method, and all implementation manners of the embodiment of the method are applicable to the embodiment of the apparatus, and can achieve the same technical effect as that of the embodiment of the apparatus, and are not described herein again.
In summary, in the above embodiments of the present invention, it is detected whether the anchor state of the target live broadcast room changes when the target live broadcast room is in the online state, and when the anchor state of the target live broadcast room changes, the target live broadcast room is controlled to enter the target live broadcast mode corresponding to the target anchor state through the target anchor state after the target live broadcast room changes, so that even if the anchor is in the offline state, the live broadcast room can still be in the online state, so that the existence of the live broadcast room is not dependent on whether the anchor is online, and further, the participation of the audience in the live broadcast room is improved; and, after the target live broadcast room enters the resident function mode, the target interactive function is closed to save the flow.
The embodiment of the invention also provides the electronic equipment. As shown in fig. 4, the system comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 are communicated with each other through the communication bus 404.
A memory 403 for storing a computer program.
The processor 401 is configured to implement part or all of the steps in a live broadcast room control method provided in the embodiment of the present invention when executing the program stored in the memory 403.
The communication bus 404 of the electronic device is shown with a single thick line for ease of illustration, but is not intended to represent only a single bus or type of bus.
In another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which instructions are stored, and when the computer-readable storage medium runs on a computer, the computer is caused to execute the live broadcast room control method described in the above embodiment.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the live-air control method described in the above embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. A live broadcast room control method, characterized in that the method comprises:
under the condition that a target live broadcast room is in an online state, detecting whether the anchor state of the target live broadcast room changes or not;
if the change of the anchor state of the target live broadcast room is detected, the changed target anchor state of the target live broadcast room is obtained;
and controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
2. The method of claim 1, wherein the controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state comprises:
acquiring configuration information whether the target live broadcast room supports a resident function;
and controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the configuration information and the target anchor state.
3. The method of claim 1, wherein the target anchor state comprises: and the anchor is in the off-line state of the target live broadcast room, or the anchor is in the on-line state of the target live broadcast room.
4. The method of claim 3, wherein after obtaining the changed target anchor status of the target live broadcast room, the method further comprises:
controlling the target interaction function of the target live broadcast room to be opened or closed according to the target anchor state;
the target interaction function is an interaction function between a watching client side of the target live broadcast room and a main broadcast in the target live broadcast room.
5. The method according to claim 4, wherein the controlling the target interactive function of the target live broadcast room to be turned on or off according to the target anchor state comprises:
under the condition that the target anchor state is an offline state of an anchor in the target live broadcast room, controlling the target interaction function of the target live broadcast room to be closed according to the target anchor state;
and controlling the target interaction function of the target live broadcast room to be started according to the target anchor state under the condition that the anchor state is the online state of the anchor in the target live broadcast room.
6. The method according to claim 3, wherein in case that the target anchor state is an offline state of an anchor in the target live broadcast room, the target live broadcast mode is a live broadcast mode in which the target live broadcast room is online and the anchor is offline;
and under the condition that the anchor state is the online state of the anchor in the target live broadcast room, the target live broadcast mode is the live broadcast mode that the target live broadcast room is online and the anchor is online.
7. The method of claim 1, wherein in a case that the anchor state is an offline state of the anchor at the target live broadcast room, the method further comprises:
acquiring request information of a target client for entering the target live broadcast room;
and controlling the target client to log in the target live broadcast room according to the request information, and sending response information containing the target live broadcast mode to the target client.
8. A live room control apparatus, characterized in that the apparatus comprises:
the first detection module is used for detecting whether the anchor state of the target live broadcast room changes or not under the condition that the target live broadcast room is in an online state;
the first acquisition module is used for acquiring the target anchor state after the target live broadcast room is changed if the anchor state of the target live broadcast room is detected to be changed;
and the first control module is used for controlling the target live broadcast room to enter a target live broadcast mode corresponding to the target anchor state according to the target anchor state.
9. An electronic device, comprising: a processor, a communication interface, a memory, and a communication bus; the processor, the communication interface and the memory complete mutual communication through a communication bus;
a memory for storing a computer program;
a processor for implementing the steps of the live broadcast control method as claimed in any one of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a live room control method according to any one of claims 1 to 7.
CN202110099382.8A 2021-01-25 2021-01-25 Live broadcasting room control method and device and electronic equipment Active CN112887747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110099382.8A CN112887747B (en) 2021-01-25 2021-01-25 Live broadcasting room control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110099382.8A CN112887747B (en) 2021-01-25 2021-01-25 Live broadcasting room control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112887747A true CN112887747A (en) 2021-06-01
CN112887747B CN112887747B (en) 2023-09-12

Family

ID=76051210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110099382.8A Active CN112887747B (en) 2021-01-25 2021-01-25 Live broadcasting room control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112887747B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533386A (en) * 2013-10-21 2014-01-22 腾讯科技(深圳)有限公司 Live broadcasting control method and anchor equipment
CN107071584A (en) * 2017-03-14 2017-08-18 北京潘达互娱科技有限公司 Live even wheat method and device
CN107645682A (en) * 2017-10-20 2018-01-30 广州酷狗计算机科技有限公司 Carry out live method and system
US20180048750A1 (en) * 2012-06-15 2018-02-15 Muzik, Llc Audio/video wearable computer system with integrated projector
CN108574877A (en) * 2018-01-05 2018-09-25 北京金山云网络技术有限公司 Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium
CN109151541A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 The prompt that main broadcaster leaves plays implementation method, storage medium, equipment and the system of frame
CN109637518A (en) * 2018-11-07 2019-04-16 北京搜狗科技发展有限公司 Virtual newscaster's implementation method and device
KR101949988B1 (en) * 2017-09-25 2019-05-08 주식회사 플레이투더스카이 Method for providing real-time online to offline game service
CN109889861A (en) * 2019-03-13 2019-06-14 广州市网星信息技术有限公司 A kind of theme live broadcasting method, device, system, equipment and storage medium
CN110958465A (en) * 2019-12-17 2020-04-03 广州酷狗计算机科技有限公司 Video stream pushing method and device and storage medium
US20200153676A1 (en) * 2006-11-15 2020-05-14 British Broadcasting Corporation Accessing content
CN112235593A (en) * 2020-10-16 2021-01-15 广州博冠信息科技有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200153676A1 (en) * 2006-11-15 2020-05-14 British Broadcasting Corporation Accessing content
US20180048750A1 (en) * 2012-06-15 2018-02-15 Muzik, Llc Audio/video wearable computer system with integrated projector
CN103533386A (en) * 2013-10-21 2014-01-22 腾讯科技(深圳)有限公司 Live broadcasting control method and anchor equipment
CN107071584A (en) * 2017-03-14 2017-08-18 北京潘达互娱科技有限公司 Live even wheat method and device
CN109151541A (en) * 2017-06-28 2019-01-04 武汉斗鱼网络科技有限公司 The prompt that main broadcaster leaves plays implementation method, storage medium, equipment and the system of frame
KR101949988B1 (en) * 2017-09-25 2019-05-08 주식회사 플레이투더스카이 Method for providing real-time online to offline game service
CN107645682A (en) * 2017-10-20 2018-01-30 广州酷狗计算机科技有限公司 Carry out live method and system
CN108574877A (en) * 2018-01-05 2018-09-25 北京金山云网络技术有限公司 Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium
CN109637518A (en) * 2018-11-07 2019-04-16 北京搜狗科技发展有限公司 Virtual newscaster's implementation method and device
CN109889861A (en) * 2019-03-13 2019-06-14 广州市网星信息技术有限公司 A kind of theme live broadcasting method, device, system, equipment and storage medium
CN110958465A (en) * 2019-12-17 2020-04-03 广州酷狗计算机科技有限公司 Video stream pushing method and device and storage medium
CN112235593A (en) * 2020-10-16 2021-01-15 广州博冠信息科技有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MICHAEL RUDOW: "Online Versus Offline Rate in Streaming Codes for Variable-Size Messages", 2020 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY *
郝昌: "基于AI+动作捕捉技术的虚拟主播体感交互系统的设计与实现", 广播与电视技术 *

Also Published As

Publication number Publication date
CN112887747B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
EP3487148A1 (en) Video conference implementation method, apparatus and system, and cloud desktop terminal
EP2472858B1 (en) Method, device and system for presenting virtual conference site of video conference
CN105933375B (en) Method and device for monitoring microphone connection session and server
CN111385592A (en) Cross-room live broadcast connection method and device, storage medium and server
CN112667086B (en) Interaction method and device for VR house watching
US5563804A (en) System for providing closed captioning to an electronic discussion group
CN104168303A (en) Method and device for displaying network studio
WO2007097965A2 (en) Television integrated chat and presence systems and methods
CN103716227A (en) Method and device for performing information interaction in instant messenger
US20080222674A1 (en) Method, System And Apparatus For Implementing Pay Per View Multicast Service
JPH10509564A (en) Telecommunications system and method
CN102215375A (en) Selection method and device for video source of sub-picture of multi-picture in multimedia conference
CN113126839A (en) Object playing method and device, electronic equipment and storage medium
CN105656917A (en) Method and device for controlling formal broadcasting of online live broadcast channel
WO2022161215A1 (en) Method and device for recovering inter-live streaming studio connection
CN113141531A (en) Method and device for cross-device playing control and playing device
CN113286190A (en) Cross-network and same-screen control method and device and cross-network and same-screen system
CN112887747A (en) Live broadcast room control method and device and electronic equipment
CN107566881B (en) VR equipment control method, device and system
CN105573180A (en) Control method and system of terminal
CN100589563C (en) System for issuing in network TV-set, network TV-set customer device and method
CN115086595B (en) Video conference control system, video conference control method and device
CN112887745B (en) Data processing method, system, electronic device and computer readable storage medium
CN115529498A (en) Live broadcast interaction method and related equipment
CN109086123A (en) Moving method, device, terminal, server and the storage medium of utility cession

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