Live broadcast control method, device, electronic device and storage medium

By responding to the operation of entering the corresponding live broadcast room of the anchor account in the target terminal, sending a request to the server to obtain live broadcast data, and selecting the transmission method according to the preset account relationship, the problem of live viewing delay is solved, and lower delay and more stable data transmission is achieved.

CN117729346BActive Publication Date: 2025-05-30SHUXING TECH (BEIJING) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311737475.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2025-05-30
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

There is a problem of major delay in live viewing.

Method used

By responding to the operation of entering the corresponding live broadcast room of the anchor account in the target terminal, a request to obtain live broadcast data is sent to the server, and carrying or not carrying transmission instructions information based on the preset account relationship between the target account and the anchor account, instructing the server to transmit live broadcast data using the first transmission method or the second transmission method.

Benefits of technology

It effectively reduces the delay in obtaining live broadcast data, improves the real-timeness of live broadcast monitoring, and avoids a large amount of low-latency data transmitted by server data, ensuring the stability of server data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117729346B_ABST
    Figure CN117729346B_ABST
Patent Text Reader

Abstract

The present application provides a live broadcast control method, apparatus, electronic device and storage medium. Among them, a live broadcast control method is applied to a target terminal. The method includes: in response to an operation of triggering entry into the live broadcast room corresponding to the host account, sending a request to the server to obtain the live broadcast data corresponding to the host account; wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission mode; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission mode; receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room. Sending the live broadcast data to the target terminal in different transmission modes can specifically control the delay of obtaining the live broadcast data, and at the same time avoid the server from transmitting a large amount of low-delay data, ensuring the stability of the server data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network live broadcast technology, and particularly relates to a live broadcast control method, device, electronic device and storage medium. Background Art

[0002] Live broadcast mainly creates a live broadcast room, records the mobile phone screen information corresponding to the anchor, and sends the screen information to the audience based on the live broadcast room to achieve the sharing of picture and audio information. Among them, in order to ensure the live broadcast quality, the anchor will use another device to create new users to enter the live broadcast room to watch their own live broadcast content to monitor the live broadcast screen. However, there is a large delay when the anchor watches the live broadcast. Summary of the Invention

[0003] This application provides a live broadcast control method, device, electronic device and storage medium, aiming to solve the technical problem of large delay in live broadcast viewing.

[0004] In a first aspect, this application provides a live broadcast control method, which is applied to a target terminal. The method includes:

[0005] Responding to an operation of triggering entry into the live broadcast room corresponding to the anchor account, and sending a request to the server to obtain the live broadcast data corresponding to the anchor account;

[0006] Wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the anchor account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission mode; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission mode;

[0007] Receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room.

[0008] In a possible implementation manner of this application, after the responding to the operation of triggering entry into the live broadcast room corresponding to the anchor account, it further includes:

[0009] Obtaining the account information of the target account corresponding to the received operation;

[0010] If the account information of the target account is the same as the account information of the anchor account, generating a virtual account;

[0011] Generating a request to obtain the live broadcast data corresponding to the anchor account according to the virtual account and the transmission indication information.

[0012] In a possible implementation manner of this application, after the if the account information of the target account is the same as the account information of the anchor account, it further includes:

[0013] Control the closing of the uplink audio signal channel of the target terminal.

[0014] In a possible implementation manner of the present application, after the operation of triggering to enter the live broadcast room corresponding to the host account, it includes:

[0015] Obtain the account information of the target account corresponding to the received operation;

[0016] If the account information of the target account is different from the account information of the host account, generate a request to obtain the live broadcast data corresponding to the host account according to the target account.

[0017] In a possible implementation manner of the present application, after receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room, it further includes:

[0018] In response to the operation of triggering to connect to the live broadcast room corresponding to the host account, generate a request to obtain the live broadcast data corresponding to the host account according to the account information corresponding to the target account and the transmission indication information.

[0019] In a possible implementation manner of the present application, after receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room, it further includes:

[0020] In response to triggering a target live event, turn on the live audio collection function item, and send a first instruction to the first terminal corresponding to the host account, so that the first terminal stops collecting live audio content;

[0021] Obtain target audio content, and send the target audio content to the server, so that the server generates second live content according to the target audio content and the live video content sent by the first terminal;

[0022] Display the second live content.

[0023] In a second aspect, the present application provides a live broadcast control method, and the method is applied to a target terminal corresponding to a target account. The method includes:

[0024] Display the first live content of the host account, where the first live content includes first live data generated based on the first terminal corresponding to the host account; wherein, there is a preset account relationship between the host account and the target account;

[0025] In response to triggering a target live event, turn on the live audio collection function item, and send a first instruction to the first terminal, so that the first terminal stops collecting live audio content;

[0026] Obtain the target audio content and send the target audio content to the server, so that the server generates a second live content according to the target audio content and the live video content sent by the first terminal, wherein the second live content is used to be distributed to the live audience terminals, and the live audience terminals include the target terminal;

[0027] Display the second live content.

[0028] In a possible implementation manner of the present application, the target live event includes a co-broadcast event, and the triggering of the target live event is an operation of triggering the co-broadcast of the host account and the co-broadcast account.

[0029] In a possible implementation manner of the present application, after displaying the second live content, it includes:

[0030] In response to an operation of triggering a video call between the target account and the co-broadcast account, switch the second live content to video call content, where the video call content includes video content collected by the camera component of the second terminal corresponding to the co-broadcast account, and the collected video content includes the co-broadcast object corresponding to the co-broadcast account.

[0031] In a possible implementation manner of the present application, in response to triggering a target live event, turn on the live audio collection function item and send a first instruction to the first terminal to make the first terminal stop collecting live audio content, including:

[0032] In response to an operation of triggering the host account to connect with a co-host account, send a request to the server to obtain the co-host audio content corresponding to the co-host account, so that the server receives the co-host audio content generated by the third terminal corresponding to the co-host account;

[0033] Turn on the live audio collection function item and send a first instruction to the first terminal to make the first terminal stop collecting live audio content;

[0034] The obtaining the target audio content and sending the target audio content to the server, so that the server generates a second live content according to the target audio content and the live video content sent by the first terminal, includes:

[0035] Obtain the target audio content and send the target audio content to the server, so that the server generates a second live content according to the target audio content, the co-host audio content and the live video content sent by the first terminal.

[0036] In a third aspect, the present application provides a live broadcast control method, which is applied to a server, and the method includes:

[0037] A request to obtain live broadcast data corresponding to the host account from the target terminal, where the request includes the account information of the target account corresponding to the target terminal;

[0038] Determine the account relationship between the target account and the host account according to the account information;

[0039] Determine the target transmission method from at least two transmission methods according to the account relationship;

[0040] Transmit the live broadcast data to the target terminal according to the target transmission method.

[0041] In a possible implementation manner of this application, after transmitting the live broadcast data to the target terminal according to the target transmission method, it further includes:

[0042] Respond to the video co - broadcast request carrying transmission indication information sent by the target terminal, obtain the co - broadcast account corresponding to the video co - broadcast request, and the video call content collected by the second terminal corresponding to the co - broadcast account;

[0043] Transmit the video call content corresponding to the co - broadcast account to the target terminal in the first transmission method, and send a first instruction to the first terminal corresponding to the host account to make the first terminal stop collecting live broadcast audio content.

[0044] In a fourth aspect, this application provides a live broadcast control device, which is applied to the target terminal corresponding to the target account. The live broadcast control device includes:

[0045] A response module, configured to respond to an operation of triggering entry into the live broadcast room corresponding to the host account, and send a request to the server to obtain the live broadcast data corresponding to the host account;

[0046] Wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in the first transmission method; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in the second transmission method;

[0047] A display module, configured to receive the live broadcast data from the server and display it in the live broadcast room.

[0048] In a fifth aspect, this application provides an electronic device, which includes:

[0049] One or more processors;

[0050] A memory; and

[0051] One or more applications, where the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in any of the live broadcast control methods described above.

[0052] In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program is loaded by a processor to execute the steps in any of the live broadcast control methods described above.

[0053] The present application provides a live broadcast control method, device, electronic device, and storage medium. Among them, a live broadcast control method is applied to a target terminal. The method includes: in response to an operation of triggering entry into a live broadcast room corresponding to a host account, sending a request to a server to obtain live broadcast data corresponding to the host account; where when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission manner; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission manner; receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room. In this solution, by checking whether there is a preset account relationship between the target account and the host account, in response to an operation of triggering entry into a live broadcast room corresponding to the host account, a request is sent to the server to obtain live broadcast data corresponding to the host account, so that the server can send the live broadcast data to the target terminal in different transmission manners correspondingly, which can specifically control the delay in obtaining the live broadcast data and avoid the server from transmitting a large amount of low-latency data, ensuring the stability of the server data transmission. Description of the Drawings

[0054] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0055] Figure 1 is a schematic diagram of the scenario of the live broadcast control method provided by the embodiment of the present application;

[0056] Figure 2 is a flowchart of an embodiment of the live broadcast control method provided by the embodiment of the present application;

[0057] Figure 3 is a flowchart of another implementation solution of the live broadcast control method provided by the embodiment of the present application;

[0058] Figure 4Another implementation flowchart of the live broadcast control method provided by the embodiments of the present application;

[0059] Figure 5 One of the implementation flowcharts of the connection in the live broadcast control method provided by the embodiments of the present application;

[0060] Figure 6 One of the implementation flow schematic diagrams of the live broadcast control method provided by the embodiments of the present application;

[0061] Figure 7 One of the implementation flow timing diagrams of the co-broadcast scenario in the live broadcast control method provided by the embodiments of the present application;

[0062] Figure 8 Another implementation flow schematic diagram of the live broadcast control method provided by the embodiments of the present application;

[0063] Figure 9 A schematic structural diagram of an embodiment of the live broadcast control device provided by the embodiments of the present application;

[0064] Figure 10 A schematic structural diagram of an embodiment of the electronic device provided by the embodiments of the present application. Detailed implementation manners

[0065] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0066] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless otherwise specifically defined.

[0067] In the embodiments of the present application, "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. Additionally, the character " / ", unless otherwise specified, generally represents an "or" relationship between the associated objects before and after.

[0068] In the present application, the term "exemplary" is used to mean "serving as an example, illustration, or explanation". Any embodiment described as "exemplary" in the present application is not necessarily to be construed as more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the present invention. In the following description, details are set forth for purposes of explanation. It should be understood that those of ordinary skill in the art can recognize that the present invention can be implemented without these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the present invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed in the present application.

[0069] The embodiments of the present application provide a live broadcast control method, apparatus, device, and computer-readable storage medium (which can be abbreviated as storage medium in the whole text), and the following will be described in detail respectively.

[0070] The live broadcast control method in the embodiments of the present invention is applied to a live broadcast control device, and the live broadcast control device is set in an electronic device. One or more processors, a memory, and one or more application programs are set in the electronic device. One or more application programs are stored in the memory and are configured to be executed by the processor to implement the live broadcast control method. The electronic device can be a terminal, such as a mobile phone or a tablet computer. The electronic device can also be a server or a service cluster composed of multiple servers.

[0071] As Figure 1 shown, Figure 1 is a schematic diagram of the scenario of the live broadcast control method in the embodiments of the present application. In the live broadcast control scenario in the embodiments of the present invention, there is a target terminal 100 (the live broadcast control device is integrated in the target terminal 100). A computer-readable storage medium corresponding to the live broadcast control runs in the target terminal to execute the steps of the live broadcast control.

[0072] It can be understood that Figure 1The target terminal in the scenario of the live broadcast control method shown may be an electronic device, or the devices included in the electronic device do not constitute a limitation to the embodiments of the present invention. That is, the number of devices, the types of devices included in the scenario of the live broadcast control method, or the number of devices and the types of devices included in each device do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution required to be protected in the embodiments of the present invention.

[0073] In the embodiments of the present invention, the target terminal 100 is mainly used for: in response to an operation of triggering entry into the live broadcast room corresponding to the host account, sending a request to the server to obtain the live broadcast data corresponding to the host account; wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission manner; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission manner; receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room.

[0074] In the embodiments of the present invention, the target terminal 100 may be an independent electronic device, for example, a mobile phone, a tablet, etc.; it may also be a network of electronic devices or a cluster of electronic devices composed of electronic devices. For example, the target terminal 100 described in the embodiments of the present invention includes, but is not limited to, a computer, a network host, a single network electronic device, a set of multiple network electronic devices, or cloud electronic devices composed of multiple electronic devices. Among them, cloud electronic devices are composed of a large number of computers or network electronic devices based on cloud computing.

[0075] Those skilled in the art can understand that Figure 1 the application environment shown in Figure 1 is only one application scenario of the solution of the present application, and does not constitute a limitation to the application scenario of the solution of the present application. Other application environments may also include more or fewer electronic devices than Figure 1 shown in

[0076] In addition, a display device may be provided in the target terminal 100 in the scenario of the live broadcast control method of the present application. The display device is used to output the result of the execution of the live broadcast control method in the target terminal 100, including displaying the live broadcast data received from the server and displayed in the live broadcast room.

[0077] Specifically, in the implementation scenario of this application, it further includes a server 300 and a first terminal 200 corresponding to the live broadcast. The first terminal 200 can be an electronic device, such as a computer or a mobile phone. Among them, the first terminal 200 is used to collect live broadcast data. The server 300 creates a virtual live broadcast room based on the live broadcast request of the first terminal 200 to collect the live broadcast data collected by the first terminal 200 and send the live broadcast data to the viewer side, where the viewer side includes a target terminal.

[0078] It should be noted that Figure 1 The scenario schematic diagram of the shown live broadcast control method is only an example. The scenario of the live broadcast control method described in the embodiments of the present invention is to more clearly illustrate the technical solutions of the embodiments of the present invention, and does not constitute a limitation on the technical solutions provided by the embodiments of the present invention.

[0079] Based on the scenario of the above live broadcast control method, embodiments of the live broadcast control method are proposed.

[0080] As Figure 2 shown, it is a schematic flowchart of an embodiment of the live broadcast control method in an embodiment of this application. The live broadcast control method includes steps S201 - S202:

[0081] S201. In response to an operation of triggering entry into the live broadcast room corresponding to the host account, send a request to the server to obtain the live broadcast data corresponding to the host account;

[0082] Among them, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission manner; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission manner.

[0083] Among them, the operation of triggering entry into the live broadcast room corresponding to the host account can be operations such as clicking or double - clicking by the user outside the live broadcast room. It can be understood that the live broadcast room is the live broadcast room corresponding to the host account and can be created based on the first terminal corresponding to the host account.

[0084] Exemplarily, in an implementation scheme of the present application, a first terminal corresponding to a certain user account sends a live broadcast request to a server. The virtual live broadcast room created by the server based on the live broadcast request can be understood that when the creation of the virtual live broadcast room in response to the live broadcast request is successful, the user account that sends the live broadcast request is the host account. Further, after the server creates the virtual live broadcast room based on the live broadcast room request, it immediately acquires the live broadcast data collected by the first terminal and pushes the live broadcast data corresponding to the live broadcast room. After the target terminal displays the live broadcast room correspondingly, it can trigger an operation to enter the live broadcast room corresponding to the host account. Then, after the target terminal detects the operation, it sends a request to the server to obtain the live broadcast data corresponding to the host account, so as to display and play the live broadcast data on the target terminal.

[0085] Further, in one implementation scheme of the present application, there is a preset account relationship between the target account corresponding to the target terminal and the host account. Among them, the preset account relationship is used to represent the association between the target account and the host account. The specific determination method is not specifically limited in the present application.

[0086] Exemplarily, in one implementation scheme of the present application, the preset account relationship can be preset by the user corresponding to the target account, that is, by displaying a configuration page for the preset account relationship on the target terminal, the user configures the preset account relationship corresponding to the target account based on the configuration page.

[0087] Exemplarily, in another implementation scheme of the present application, the preset account relationship can be configured and updated according to the interaction frequency between the target account and other accounts. Exemplarily, when it is detected that the number of mutual likes between the target account and the host account is greater than a preset quantity threshold, the preset account relationship between the host account and the target account is automatically configured. It can be understood that the interaction frequency can also include a parameter of the number of conversations within a preset duration. This scheme is not specifically limited.

[0088] Furthermore, if the target account corresponding to the target terminal has a preset account relationship with the anchor account, it means that the target account has the authority to pull the low-latency video of the anchor account, and the request sent by the target terminal to obtain the live data corresponding to the anchor account will carry transmission indication information to instruct the server to transmit the live data to the target terminal in the first transmission mode. It can be understood that if the target account corresponding to the target terminal does not have a preset account relationship with the anchor account, it means that the target account does not have the authority to pull the low-latency video of the anchor account, and is an ordinary audience, then the server transmits the live data to the target terminal in the second transmission mode. Exemplarily, the video transmission mode includes CDN streaming transmission and rtc streaming transmission. Among them, the delay of rtc streaming is lower than the delay of CDN streaming. If the target account corresponding to the target terminal has a preset account relationship with the anchor account, the transmission indication information is used to instruct the server to send live data in the form of rtc streaming transmission, which has a lower delay. It allows anyone who enters the live broadcast room with a target account to see the live broadcast screen in real time. When the anchor needs to detect his or her own live broadcast screen, he or she can access his or her own live broadcast room based on the target terminal, so that he or she can watch his or her live broadcast screen in real time and improve the live broadcast monitoring performance.

[0089] It can be understood that the transmission indication information can be a pre-set identifier that can be recognized by the server and corresponds to the first transmission mode. Exemplarily, the transmission indication information can be identifier 1 or identifier RTC, and this application does not make any specific limitation.

[0090] S202: Receive the live broadcast data from the server and display it in the live broadcast room.

[0091] Among them, the live broadcast data can be live audio and video images captured by the camera of the first terminal corresponding to the anchor account, or game images captured by screen recording of the first terminal, audio captured by a microphone connected to the first terminal or a microphone of the first terminal, etc. This application does not make specific limitations.

[0092] Specifically, in one implementation of the present application, the live broadcast control method is applied to a live broadcast control device, which is disposed on a target terminal. Exemplarily, the target terminal is a mobile phone, and there is an APP program with a live broadcast function on the mobile phone. The user logs in to a target account based on the APP program to enter the live broadcast corresponding server push stream interface. The user finds the live broadcast room to enter based on the displayed push stream interface and clicks. The target terminal determines whether there is a preset account relationship between the target account and the host account corresponding to the live broadcast room to be entered by obtaining the host account corresponding to the live broadcast room to be entered. If there is a preset account relationship, a request for obtaining the live broadcast data corresponding to the host account is sent to the server. The request for the live broadcast data carries transmission indication information, and the server will receive the request for the live broadcast data and transmit the live broadcast data corresponding to the host account to the target terminal in a first transmission manner.

[0093] In this solution, by determining whether there is a preset account relationship between the target account and the host account, in response to the operation of triggering entry into the live broadcast room corresponding to the host account, a request for obtaining the live broadcast data corresponding to the host account is sent to the server, so that the server can send the live broadcast data to the target terminal in different transmission manners correspondingly, which can specifically control the delay of obtaining the live broadcast data and avoid the server from transmitting a large amount of low-latency data, ensuring the stability of the server data transmission.

[0094] Further, on the basis of the above implementation, refer to Figure 3 , Figure 3 which is a flowchart of another implementation of the live broadcast control method provided by the embodiment of the present application, specifically including steps S301 - S305:

[0095] S301. In response to the operation of triggering entry into the live broadcast room corresponding to the host account, obtain the account information of the target account corresponding to the operation.

[0096] Among them, the account information, such as user ID, user nickname, user phone number, identity information, etc., is used to identify the account.

[0097] Specifically, in the implementation of the present application, the user inputs an operation of triggering entry into the live broadcast room corresponding to the host account based on the target terminal. After the target terminal detects the operation of triggering entry into the live broadcast room corresponding to the host account, it identifies the account information of the host account corresponding to the live broadcast room to be entered; in response to the operation of triggering entry into the live broadcast room corresponding to the host account, obtain the account information of the target account corresponding to the operation, that is, the account information of the account logged in by the target terminal correspondingly.

[0098] S302. If the account information of the target account is the same as the account information of the host account, generate a virtual account.

[0099] Further, after the target terminal determines the account information of the target account and the account information of the host account, by comparing the account information of the target account and the account information of the host account, if the account information of the target account is the same as the account information of the host account, it means that the target account corresponding to the target user terminal is the host account. It can be understood that this scenario may occur when the user logs in to the same account based on the first terminal and the target terminal, that is, and starts a live broadcast based on the first terminal and watches their own live broadcast based on the target terminal. At this time, a temporary virtual account is generated to replace the target account for the target terminal to enter the live broadcast room corresponding to the first terminal based on the virtual account.

[0100] It can be understood that the virtual account can be randomly generated, and the random generation function can be implemented through algorithms or model training. This application does not make specific limitations.

[0101] S303. Generate a request to obtain the live broadcast data corresponding to the host account according to the virtual account and the transmission indication information.

[0102] Specifically, in the implementation scheme of this application, after the target terminal generates a virtual account, it generates a request to obtain the live broadcast data corresponding to the host account according to the virtual account and the transmission indication information. That is, it can be understood that the transmission indication information is carried according to the virtual account and the transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission manner.

[0103] S304. Send a request to obtain the live broadcast data corresponding to the host account to the server.

[0104] S305. Receive and display the live broadcast data in the live broadcast room from the server.

[0105] Specifically, after the target terminal generates a request to obtain the live broadcast data corresponding to the host account, that is, sends the request to obtain the live broadcast data corresponding to the host account to the server. After the server recognizes that the request carries the transmission indication information, it transmits the live broadcast data of the host account corresponding to the request to the target terminal in a first transmission manner.

[0106] Further, in one implementation of the present application, when the target terminal responds to the operation of triggering entry into the live broadcast room corresponding to the host account, obtains the account information of the target account corresponding to the received operation, and after detecting that the account information of the target account is the same as the account information of the host account, that is, after determining that the host account and the target account are the same account, the target terminal is controlled to close the uplink audio signal channel, so that the target terminal silently enters the room, avoiding interference from the audio of the target terminal (including playing audio and / or collecting audio) to the live broadcast audio data collection of the first terminal.

[0107] It can be understood that in the implementation of the present application, the steps of controlling the uplink audio signal channel of the target terminal to close and generating the virtual account corresponding to the target terminal can be executed simultaneously or successively, and the present application does not make specific limitations on the execution sequence.

[0108] Further, in one implementation scenario of the present application, the host conducts a live broadcast based on the first terminal, but the first terminal may be a device that is not easy to move, and the live broadcast screen of the live broadcast room is monitored through the target terminal, and the target terminal is a device such as a mobile phone that is easy to move. In this case, the host may be relatively close to the target terminal, or the host temporarily leaves the first terminal and moves with the target terminal. In this case, the host can trigger a target live event, such as opening the voice collection control of the target terminal, to implement the audio collection function based on the target terminal. At this time, to avoid interference from the audio collection of the first terminal, a first instruction can be sent to the first terminal corresponding to the host account based on the server, so that the first terminal stops collecting live broadcast audio content. Further, the target terminal obtains the target audio content and sends the target audio content to the server, so that the server generates the second live broadcast content according to the target audio content and the live broadcast video content sent by the first terminal, and sends the second live broadcast content to the target terminal for display.

[0109] Further, on the basis of the above implementation, refer to Figure 4 , Figure 4 which is a flowchart of another implementation of the live broadcast control method provided by the embodiment of the present application, specifically including steps S401 - S404:

[0110] S401. In response to the operation of triggering entry into the live broadcast room corresponding to the host account, obtain the account information of the target account corresponding to the received operation.

[0111] Specifically, the implementation manner of step S401 is as described in the above implementation.

[0112] S402. If the account information of the target account is different from the account information of the host account, a request for obtaining the live data corresponding to the host account is generated based on the target account.

[0113] Specifically, in the implementation solution of this application, if the target terminal detects that the account information of the target account is different from the account information of the host account, it indicates that the target terminal is the viewer terminal corresponding to other users except the host. At this time, a request for obtaining the live data corresponding to the host account is generated based on the target account. That is, in the implementation solution of this application, the request does not carry transmission indication information, so that the server can transmit the live data to the target terminal in a second transmission mode.

[0114] S403. Send a request for obtaining the live data corresponding to the host account to the server.

[0115] Specifically, in the implementation solution of this application, after the target terminal sends a request for obtaining the live data corresponding to the host account without carrying transmission indication information to the server, after the server recognizes that the request does not carry the transmission indication information, the server transmits the live data to the target terminal in a second transmission mode.

[0116] S404. Receive the live data from the server and display the live data in the live room.

[0117] Specifically, after the target terminal receives the live data sent by the server, the live data is displayed correspondingly. The live data can be a live video, a live audio, or a combination of a live video and an audio, etc.

[0118] In the implementation solution of this application, the transmission delay of the first transmission mode is less than the delay corresponding to the second transmission mode. By distinguishing the first transmission mode and the second transmission mode, the viewer terminals are distinguished, so that users can obtain live data with different delays according to the actual situation, meeting the low-delay requirement for the host to monitor their own live video as a viewer. At the same time, when other users pull live data, a method with a larger delay (compared with the first transmission mode) is used for data transmission to ensure the stability of the server.

[0119] Further, in the scenario where the target terminal is the terminal connection corresponding to other viewers except the host, specifically, refer to Figure 5 , Figure 5 which is a flowchart of one of the implementation solutions for connection in the live control method provided by this application embodiment, specifically including steps S501 - S505:

[0120] S501. In response to an operation to trigger entry into the live broadcast room corresponding to the host account, obtain the account information of the target account corresponding to the operation.

[0121] S502. If the account information of the target account is different from the account information of the host account, generate a request to obtain the live broadcast data corresponding to the host account according to the target account.

[0122] S503. Send a request to obtain the live broadcast data corresponding to the host account to the server.

[0123] S504. Receive from the server and display the live broadcast data in the live broadcast room.

[0124] Specifically, the implementation manners of steps S501 - S504 can be referred to as shown in any of the above embodiments.

[0125] S505. In response to an operation to trigger connection to the live broadcast room corresponding to the host account, generate a request to obtain the live broadcast data corresponding to the host account according to the account information corresponding to the target account and the transmission indication information.

[0126] Specifically, in the embodiment of the present application, after the target terminal receives the live broadcast data from the server, it displays the live broadcast data in the live broadcast room corresponding to the host account. It can be understood that generally, there are many function controls corresponding to the live broadcast room. Exemplarily, the function controls include a connection control, a gift - giving control, and a bullet - screen control, etc. While watching the live broadcast data, the user can operate on the function controls to trigger the functions corresponding to the controls. Among them, the operations include clicking, double - clicking, etc., and no specific limitations are made.

[0127] Exemplarily, in the implementation scheme of the present application, when the user views the live broadcast data based on the target terminal, by clicking the connection control in the live broadcast room, the live broadcast room corresponding to the host account is triggered to be connected. It can be understood that between the connections, the target terminal only plays the role of pulling the stream. When the target terminal detects the operation of the user triggering the connection to the live broadcast room corresponding to the host account, a connection request for connecting to the live broadcast room corresponding to the host account is sent to the server. The server feeds back the connection request to the first terminal corresponding to the host account for display. The host inputs the acceptance or rejection information of the connection request based on the first terminal and feeds it back to the server. The server creates a connection between the target terminal and the live broadcast room corresponding to the host account. When the target terminal detects that the connection is successful, the account information corresponding to the target account and the transmission indication information are used to generate a request for obtaining the live broadcast data corresponding to the host account, and the audio or audio-visual data collected by the target terminal is sent to the server based on the target terminal. The server combines the live broadcast data collected by the first terminal and the audio or audio-visual data collected by the target terminal to form new live broadcast data, and sends the new live broadcast data to the target terminal in a first transmission mode, and sends the audio or audio-visual data collected by the target terminal to the first terminal in a first transmission mode.

[0128] Further, the present solution also provides a live broadcast control method, which is applied to the target terminal corresponding to the target account. Among them, there is a preset account relationship between the target account and the host account, and the preset account relationship is defined as described in the above implementation scheme. Specifically, refer to Figure 6 , Figure 6 It is a schematic flow diagram of one of the implementation schemes of the live broadcast control method provided by the embodiments of the present application, including steps S601 - S604:

[0129] S601. Display the first live broadcast content of the host account, where the first live broadcast content includes the first live broadcast data generated based on the first terminal corresponding to the host account; among them, there is a preset account relationship between the host account and the target account.

[0130] Specifically, in the implementation scheme of this application, the live broadcast control method is applied to a live broadcast control device, which is set in a target terminal. Exemplarily, the target terminal is a mobile phone, and there is an APP program with a live broadcast function on the mobile phone. The anchor logs in to a target account through the APP program to enter the live broadcast push stream interface of the corresponding server. The anchor finds the live broadcast room to enter (the live broadcast room created by the anchor based on his own account) on the displayed push stream interface and clicks. The target terminal sends a request to the server to obtain the live broadcast data corresponding to the anchor account. The request for the live broadcast data carries transmission indication information. The server will receive the request for the live broadcast data and transmit the live broadcast data corresponding to the anchor account to the target terminal in a first transmission manner. The target terminal displays the first live broadcast content of the anchor account.

[0131] It can be understood that the first live broadcast content includes the first live broadcast data generated based on the first terminal corresponding to the anchor account, that is, it includes the live broadcast audio and video images collected by the first terminal through the camera, or the game images collected by screen recording of the first terminal, the audio collected by the microphone connected to the first terminal or the microphone built in the first terminal, etc. Specifically, this application does not make specific limitations.

[0132] Furthermore, it can be understood that when the anchor account is in a joint live broadcast with other anchor accounts, the first live broadcast content may also include the audio data or audio-visual data collected by the second terminal corresponding to other anchor accounts. Specifically, this application does not limit the first live broadcast content.

[0133] S602. In response to triggering a target live broadcast event, turn on the live broadcast audio collection function item and send a first instruction to the first terminal to make the first terminal stop collecting live broadcast audio content.

[0134] Specifically, in the implementation scheme of this application, while displaying the anchor account, the target terminal closes the uplink audio signal channel of the target terminal to make the target terminal enter the room silently, so as to avoid the audio of the target terminal (including playing audio and / or collecting audio) interfering with the collection of the live broadcast audio data of the first terminal.

[0135] However, in one implementation scenario of the present application, the host conducts a live broadcast based on the first terminal. However, the first terminal may be a device that is not convenient to move, and the live broadcast screen of the live broadcast room is monitored through the target terminal, where the target terminal is a device such as a mobile phone that is convenient to move. In this case, the host may be relatively close to the target terminal, or the host temporarily leaves the first terminal and moves with the target terminal. In this case, the host can trigger a target live event. Triggering the target live event, for example, turning on the voice collection control of the target terminal to implement the audio collection function based on the target terminal. At this time, to avoid interference from the audio collection of the first terminal, a first instruction can be sent to the first terminal corresponding to the host account based on the server, so that the first terminal stops collecting the live broadcast audio content.

[0136] S603. Obtain the target audio content and send the target audio content to the server, so that the server generates a second live broadcast content according to the target audio content and the live broadcast video content sent by the first terminal, where the second live broadcast content is used to be distributed to the live broadcast audience terminals, and the live broadcast audience terminals include the target terminal.

[0137] Furthermore, the target terminal obtains the target audio content and sends the target audio content to the server, so that the server generates a second live broadcast content according to the target audio content and the live broadcast video content sent by the first terminal, and sends the second live broadcast content to the target terminal for display. It can be understood that the second live broadcast content is also used to be distributed to other live broadcast audience terminals except the target terminal.

[0138] S604. Display the second live broadcast content.

[0139] Specifically, after receiving the second live broadcast content, the target terminal displays the second live broadcast content.

[0140] Furthermore, in one implementation plan of the present application, the target live event includes a co-broadcast event, and the triggering of the target live event is an operation to trigger the co-broadcast of the host account and the co-broadcast account.

[0141] Specifically, in the implementation plan of the present application, after the target terminal receives the live broadcast data from the server, the live broadcast data is displayed in the live broadcast room corresponding to the host account. It can be understood that generally there are many function controls corresponding to the live broadcast room. Exemplarily, the function controls include a co-broadcast control, a gift-giving control, and a bullet screen control, etc. While watching the live broadcast data, the user can operate on the function controls to trigger the functions corresponding to the controls, where the operations include clicking, double-clicking, etc., and no specific limitations are made.

[0142] Exemplarily, in the embodiments of the present application, when a user views the live broadcast data of a live broadcast room based on a target terminal, by clicking on the co-broadcast control in the live broadcast room, the co-broadcast of the host account and the co-broadcast account is triggered. It can be understood that there is a preset account association relationship between the target account and the host account. When a co-broadcast event is triggered based on the target terminal, it is essentially triggering the co-broadcast of the host account and the co-broadcast account. After a co-broadcast event is triggered based on the target terminal, the target terminal sends a co-broadcast request for the live broadcast room corresponding to the co-broadcast account to the server. The server feeds back the co-broadcast request to the second terminal corresponding to the co-broadcast account for display. The host corresponding to the co-broadcast account inputs acceptance or rejection information for the co-broadcast request based on the second terminal and feeds it back to the server. The server creates a co-broadcast between the target terminal and the live broadcast room corresponding to the host account. After the target terminal detects the success of the co-broadcast, it enables the live audio collection function item and sends a first instruction to the first terminal to cause the first terminal to stop collecting live audio content; obtains the live video captured by the first terminal, obtains the audio captured by the target terminal, obtains the audio and video captured by the second terminal corresponding to the co-broadcast account, combines the three-source data to form co-broadcast content, and distributes it to the audience terminals including the target terminal. Exemplarily, the co-broadcast content can be sent to the target terminal in a first transmission mode.

[0143] Further, on the basis of the above embodiments, refer to Figure 7 , Figure 7 which is a flow timing diagram of one of the implementation scenarios of the co-broadcast scenario in the live broadcast control method provided by the embodiments of the present application. Specifically, this scenario is a game co-broadcast scenario. Among them, host A corresponds to the host account, the PC of host A corresponds to the first terminal, the push stream cloud corresponds to the server, and the app of host A corresponds to the target terminal. Among them, there is a preset account relationship between the target terminal corresponding to the app of A and the host account corresponding to the PC of host A. Host B corresponds to the co-broadcast account and the second terminal. Specifically, in the co-broadcast scenario, the PC of host A records the screen game video and collects the host audio or host audio and video, generates live broadcast data as game push stream and sends it to the server. At the same time, the second terminal corresponding to host B similarly collects the screen game video of host Bin and collects the host audio or host audio and video, generates live broadcast data as game push stream and sends it to the server. The server splices and processes the data of host A and host B, etc., to generate live broadcast content. Host A inputs an operation to trigger entering the live broadcast room corresponding to the host account through the app corresponding to the target terminal of host A. The target terminal responds and creates a virtual identity, sends a request (carrying transmission indication information) to the server to obtain the live broadcast data corresponding to the host account, closes the uplink audio and video, and silently enters the room. The server sends the live broadcast content to the app corresponding to the target terminal of host A in the transmission mode of RTC stream. The app corresponding to the target terminal of host A realizes pulling and displaying the game audio and video RTC stream.

[0144] It is understandable that after the game character corresponding to the host A dies, the audio collection function of the target terminal can be turned on, and a first instruction is sent to the PC of the host A, so that the PC of the host A stops collecting the live audio content. The target terminal obtains the target audio content and sends the target audio content to the server, so that the server generates new live content (second live content) according to the target audio content, the content sent by the PC of the host A, and the content sent by the second terminal corresponding to the host B; and sends the new second live content to the viewer terminal.

[0145] Specifically, on the basis of the above implementation, the present application also provides an implementation method for video calling with a co-broadcast account. Specifically, in the implementation of the present application, when the host account and the co-broadcast account are co-broadcasting, it is possible that the second live content corresponding to the co-broadcast does not include the host portrait information. Then the host can initiate a video call request corresponding to the co-broadcast account through the target terminal. For example, the user clicks the video call request control corresponding to the live broadcast room, triggering the operation of the target account to make a video call with the co-broadcast account. At this time, the target account is a virtual account, that is, the target account is not in the live broadcast state. The target terminal directly switches the second live content to the video call content. The video call content includes the video content collected by the camera component of the second terminal corresponding to the co-broadcast account. The collected video content includes the co-broadcast object corresponding to the co-broadcast account. It is understandable that in this scenario, the live broadcast server can still collect the audio data of the target terminal, the screen of the first terminal, and the audio collected by the second terminal corresponding to the co-broadcast account (in the scenario of game co-broadcast, it may also include collecting the screen game screen of the first terminal) and splice them to generate live content for the user terminal to watch. That is, the viewer terminals other than the target terminal cannot see the video screen corresponding to the video call.

[0146] In the implementation of the present application, the target terminal switches the second live content to the video call content, that is, it no longer displays the live content. The video call content includes the video content collected by the camera component of the second terminal corresponding to the co-broadcast account. The collected video content includes the co-broadcast object corresponding to the co-broadcast account.

[0147] Furthermore, in some other implementations of the present application, the target terminal simultaneously displays the video call content and the live content (including the first live content or the second live content. The difference between the second live content and the first live content is that the audio is collected through the target terminal), which can be displayed in layers or side by side. The present application does not make specific limitations.

[0148] In this scenario, the host can trigger an operation to close the second live content based on the target terminal. In response to the operation of triggering the closing of the second live content, the target terminal controls the display window corresponding to the second live content to close; and controls the display window corresponding to the video call content to be maximized.

[0149] In this scenario, the host can trigger an operation to set the transparency of the video call content based on the target terminal and input the transparency of the display window corresponding to the video call content to avoid interfering with the viewing of the second live content. In response to the operation of triggering the setting of the transparency of the video call content, the target terminal obtains the target transparency of the video call content; and adjusts the display parameters of the video call content according to the target transparency.

[0150] Furthermore, on the basis of the above implementation solutions, this solution also provides an implementation solution of a live broadcast control method, including the steps:

[0151] (1) Display the first live content of the host account, where the first live content includes first live data generated based on the first terminal corresponding to the host account; wherein, there is a preset account relationship between the host account and the target account;

[0152] (2) In response to the operation of triggering a connection between the host account and the co-host account, send a request to the server to obtain the co-host audio content corresponding to the co-host account, so that the server receives the co-host audio content generated by the third terminal corresponding to the co-host account;

[0153] (3) Enable the live broadcast audio collection function item and send a first instruction to the first terminal, so that the first terminal stops collecting live broadcast audio content;

[0154] (4) Obtain the target audio content and send the target audio content to the server, so that the server generates the second live content according to the target audio content, the co-host audio content, and the live broadcast video content sent by the first terminal.

[0155] (5) Obtain the target audio content and send the target audio content to the server, so that the server generates the second live content according to the target audio content and the live broadcast video content sent by the first terminal, where the second live content is for distribution to the live broadcast audience terminals, and the live broadcast audience terminals include the target terminal;

[0156] (6) Display the second live content.

[0157] The specific implementation manner is as shown in any one of the above implementation solutions.

[0158] Further, based on any of the above embodiments, the present solution also provides a live broadcast control method, which is applied to a server. Refer to Figure 8 , and specifically includes steps S801 - S804:

[0159] S801. Obtain a request for live broadcast data corresponding to the host account from the target terminal, where the request includes the account information of the target account corresponding to the target terminal.

[0160] Specifically, in one embodiment of the present application, the target user terminal sends a request for obtaining live broadcast data corresponding to the host account to the server. After the server obtains the request for obtaining live broadcast data corresponding to the host account, it parses the request to determine the account information of the target account written in the request, where the target account is the account corresponding to the target terminal logging in to the server.

[0161] S802. Determine the account relationship between the target account and the host account according to the account information.

[0162] Specifically, after the server obtains the target account, it determines the account relationship between the target account and the host account according to the account information. Specifically, it can determine whether there is a preset account relationship between the host account and the target account by looking up the preset account relationship table.

[0163] In another embodiment of the present application, it is possible to determine whether there is a preset account relationship between the host account and the target account by obtaining the registration information corresponding to the host account and according to the similarity of the registration information.

[0164] S803. Determine the target transmission method from at least two transmission methods according to the account relationship.

[0165] Among them, the target transmission method includes a first transmission method and a second transmission method. The definitions of the first transmission method and the second transmission method are as shown in any of the above embodiments.

[0166] Specifically, if there is a preset account relationship between the host account and the target account, the server transmits the live broadcast data to the target terminal in the first transmission method; if there is no preset account relationship between the host account and the target account, the server transmits the live broadcast data to the target terminal in the second transmission method.

[0167] S804. Transmit the live broadcast data to the target terminal according to the target transmission method.

[0168] Specifically, after the server determines the target transmission method, it transmits the live broadcast data to the target terminal according to the target transmission method, so that the target terminal receives and displays the live broadcast data.

[0169] Further, on the basis of the above implementation solutions, this solution also provides a server processing method for the account live broadcast scenario, specifically including the steps:

[0170] (1) Obtain a request for live broadcast data corresponding to the host account from the target terminal, where the request includes the account information of the target account corresponding to the target terminal;

[0171] (2) Determine the account relationship between the target account and the host account according to the account information;

[0172] (3) Determine the target transmission method from at least two transmission methods according to the account relationship;

[0173] (4) Transmit the live broadcast data to the target terminal according to the target transmission method.

[0174] (5) Respond to the video live broadcast request carrying transmission indication information sent by the target terminal, obtain the live broadcast account corresponding to the video live broadcast request, and the video call content collected by the second terminal corresponding to the live broadcast account;

[0175] (6) Transmit the video call content corresponding to the live broadcast account to the target terminal in the first transmission method, and send a first instruction to the first terminal corresponding to the host account to make the first terminal stop collecting the live broadcast audio content.

[0176] Specifically, in the implementation solution of this application, after receiving the live broadcast data from the server, the target terminal displays the live broadcast data in the live broadcast room corresponding to the host account. It can be understood that generally, there are many function controls corresponding to the live broadcast room. Exemplarily, the function controls include a live broadcast joint control, a gift-giving control, and a bullet screen control, etc. While watching the live broadcast data, the user can operate on the function controls to trigger the functions corresponding to the controls. Among them, the operations include clicking, double-clicking, etc., and specific operations are not specifically limited.

[0177] Exemplarily, in the implementation solution of this application, when the user watches the live broadcast data of the live broadcast room based on the target terminal, by clicking the live broadcast joint control in the live broadcast room, the live broadcast of the host account and the live broadcast account is triggered. The target terminal generates a video live broadcast request carrying transmission indication information and sends the request to the server, receives and responds to the video live broadcast request carrying transmission indication information sent by the target terminal, and obtains the live broadcast account corresponding to the video live broadcast request, and the video call content collected by the second terminal corresponding to the live broadcast account.

[0178] It can be understood that when there is a preset account association relationship between the target account and the host account, when a co-broadcast event is triggered based on the target terminal, it is essentially to trigger the co-broadcast between the host account and the co-broadcast account. After the co-broadcast event is triggered based on the target terminal, the target terminal sends a co-broadcast request for the live broadcast room corresponding to the co-broadcast account to the server. The server obtains the co-broadcast account corresponding to the video co-broadcast request and feeds back the co-broadcast request to the second terminal corresponding to the co-broadcast account for display. The host corresponding to the co-broadcast account inputs acceptance or rejection information of the co-broadcast request based on the second terminal and feeds it back to the server. The server creates a co-broadcast between the target terminal and the live broadcast room corresponding to the host account, and obtains the video call content collected by the second terminal corresponding to the co-broadcast account, and transmits the video call content corresponding to the co-broadcast account to the target terminal in a first transmission manner.

[0179] It can be understood that after the target terminal detects the success of the co-broadcast, it turns on the live audio collection function item and sends a first instruction to the first terminal to make the first terminal stop collecting live audio content; obtains the live video captured by the first terminal, obtains the audio captured by the target terminal, obtains the audio and video captured by the second terminal corresponding to the co-broadcast account, splices the source data from the three parties to form co-broadcast content, and distributes it to the audience terminals including the target terminal. Exemplarily, the co-broadcast content can be sent to the target terminal in a first transmission manner.

[0180] To better implement the live broadcast control method in the embodiments of the present application, based on the live broadcast control method, a live broadcast control device is further provided in the embodiments of the present application, as Figure 9 shown, the live broadcast control device includes modules 901-902:

[0181] The response module 901 is configured to, in response to an operation of triggering entry into the live broadcast room corresponding to the host account, send a request to the server to obtain the live broadcast data corresponding to the host account;

[0182] Wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission manner; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission manner;

[0183] The display module 902 is configured to receive the live broadcast data from the server and display it in the live broadcast room.

[0184] In one implementation of the present application, the response module 901, after responding to the operation of triggering entry into the live broadcast room corresponding to the host account, further includes:

[0185] Obtain the account information of the target account corresponding to the operation;

[0186] If the account information of the target account is the same as the account information of the host account, generate a virtual account;

[0187] Generate a request to obtain the live data corresponding to the host account according to the virtual account and the transmission indication information.

[0188] In one implementation of the present application, the response module 901, after the account information of the target account is the same as the account information of the host account, is further configured to:

[0189] Control the uplink audio signal channel of the target terminal to be closed.

[0190] In one implementation of the present application, the response module 901, after responding to the operation of triggering entry into the live broadcast room corresponding to the host account, is further configured to:

[0191] Obtain the account information of the target account corresponding to the operation;

[0192] If the account information of the target account is different from the account information of the host account, generate a request to obtain the live data corresponding to the host account according to the target account.

[0193] In one implementation of the present application, after the display module 902 receives and displays the live data in the live broadcast room from the server, it is further configured to:

[0194] In response to the operation of triggering connection to the live broadcast room corresponding to the host account, generate a request to obtain the live data corresponding to the host account according to the account information corresponding to the target account and the transmission indication information.

[0195] In one implementation of the present application, after the display module 902 receives and displays the live data in the live broadcast room from the server, it is further configured to:

[0196] In response to triggering a target live event, turn on the live audio acquisition function item and send a first instruction to the first terminal corresponding to the host account, so that the first terminal stops collecting live audio content;

[0197] Obtain the target audio content and send the target audio content to the server, so that the server generates second live content according to the target audio content and the live video content sent by the first terminal;

[0198] Display the second live content.

[0199] An embodiment of the present invention further provides an electronic device, such as Figure 10 shown. Figure 10 It is a schematic structural diagram of an embodiment of the electronic device provided in the embodiments of the present application.

[0200] The electronic device integrates any one of the live broadcast control devices provided in the embodiments of the present invention. The electronic device includes:

[0201] One or more processors;

[0202] A memory; and

[0203] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to perform the steps in the live broadcast control method described in any one of the embodiments of the above live broadcast control method embodiments.

[0204] Specifically: The electronic device may include components such as a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, a power supply 1003, and an input unit 1004. Those skilled in the art can understand that Figure 10 the structure of the electronic device shown in

[0205] does not limit the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Among them:

[0206] The memory 1002 can be used to store software programs and modules. The processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the electronic device. In addition, the memory 1002 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 1002 can also include a memory controller to provide the processor 1001 with access to the memory 1002.

[0207] In some embodiments of the present application, the live broadcast control device can be implemented in the form of a computer program, and the computer program can run on an electronic device as shown in Figure 9 . In the memory of the electronic device, each program module that composes the live broadcast control device can be stored. For example, Figure 9 the response module 901 and the display module 902 shown. The computer program composed of each program module enables the processor to execute the steps in the live broadcast control method of each embodiment of the present application described in this specification.

[0208] For example, Figure 10 the electronic device shown can execute step S201 through the response module 901 in the live broadcast control device as shown in Figure 9 . The electronic device can execute step S202 through the display module 902. The electronic device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with external electronic devices through a network connection. When the computer program is executed by the processor, a live broadcast control method is implemented.

[0209] The electronic device also includes a power supply 1003 that supplies power to each component. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 1003 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0210] The electronic device may further include an input unit 1004, which may be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0211] Although not shown, the electronic device may further include a display unit and the like, which will not be elaborated here. Specifically, in this embodiment, the processor 1001 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 1002 according to the following instructions, and the processor 1001 will run the application programs stored in the memory 1002 to implement various functions as follows:

[0212] In response to an operation of triggering entry into the live broadcast room corresponding to the host account, send a request to the server to obtain the live broadcast data corresponding to the host account;

[0213] Wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission mode; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission mode;

[0214] Receive the live broadcast data from the server and display it in the live broadcast room.

[0215] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling related hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0216] Therefore, an embodiment of the present invention provides a computer-readable storage medium, which may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), a magnetic disk or an optical disc, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the live broadcast control methods provided by the embodiments of the present invention. For example, when the computer program is loaded by a processor, the following steps may be executed:

[0217] In response to an operation of triggering entry into the live broadcast room corresponding to the host account, send a request to the server to obtain the live broadcast data corresponding to the host account;

[0218] Wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live data to the target terminal in a first transmission mode; when the request does not carry the transmission indication information, the server transmits the live data to the target terminal in a second transmission mode;

[0219] Receive the live data from the server and display the live data in the live broadcast room.

[0220] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For parts not detailed in a certain embodiment, reference may be made to the detailed descriptions of other embodiments above, and details will not be repeated here.

[0221] In specific implementation, the above-mentioned respective units or structures can be implemented as independent entities, or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation of the above-mentioned respective units or structures, reference may be made to the method embodiments above, and details will not be repeated here.

[0222] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, and details will not be repeated here.

[0223] The above has introduced in detail a live broadcast control method, device, electronic device and storage medium provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principles and implementation manners of the present invention. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A live broadcast control method, characterized in that, the method is applied to a target terminal, and the method includes: responding to an operation of triggering entry into the live broadcast room corresponding to the host account, and obtaining the account information of the target account corresponding to the operation; if the account information of the target account is the same as the account information of the host account, generating a virtual account; generating a request for obtaining the live broadcast data corresponding to the host account according to the virtual account and the transmission indication information; sending a request for obtaining the live broadcast data corresponding to the host account to the server; wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in a first transmission mode; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in a second transmission mode, wherein the transmission delay of the first transmission mode is less than the delay corresponding to the second transmission mode; receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room.

2. The live broadcast control method according to claim 1, characterized in that, after the account information of the target account is the same as the account information of the host account, it further includes: controlling the uplink audio signal channel of the target terminal to be closed.

3. The live broadcast control method according to claim 1, characterized in that, after responding to the operation of triggering entry into the live broadcast room corresponding to the host account, it includes: obtaining the account information of the target account corresponding to the operation; if the account information of the target account is different from the account information of the host account, generating a request for obtaining the live broadcast data corresponding to the host account according to the target account.

4. The live broadcast control method according to claim 3, characterized in that, after receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room, it further includes: responding to an operation of triggering connection to the live broadcast room corresponding to the host account, and generating a request for obtaining the live broadcast data corresponding to the host account according to the account information corresponding to the target account and the transmission indication information.

5. The live broadcast control method according to claim 1, characterized in that, after receiving the live broadcast data from the server and displaying the live broadcast data in the live broadcast room, it further includes: responding to triggering a target live event, turning on the live audio collection function item, and sending a first instruction to the first terminal corresponding to the host account to make the first terminal stop collecting live audio content; obtaining target audio content and sending the target audio content to the server to enable the server to generate second live content according to the target audio content and the live video content sent by the first terminal; displaying the second live content.

6. The live broadcast control method according to claim 5, characterized in that, the target live event includes a co-broadcast event, and the triggering of the target live event is an operation of triggering the co-broadcast of the host account and the co-broadcast account.

7. The live broadcast control method according to claim 6, It is characterized in that After displaying the second live content, it includes: In response to an operation to trigger a video call between the target account and the co-broadcast account, switching the second live content to video call content, where the video call content includes video content collected by a camera component of a second terminal corresponding to the co-broadcast account, and the collected video content includes a co-broadcast object corresponding to the co-broadcast account.

8. The live broadcast control method according to claim 5, It is characterized in that In response to triggering a target live event, enabling a live audio collection function item and sending a first instruction to the first terminal to cause the first terminal to stop collecting live audio content, including: In response to an operation to trigger a co-hosting between the host account and the co-hosting account, sending a request to the server to obtain co-hosting audio content corresponding to the co-hosting account, so that the server receives the co-hosting audio content generated by a third terminal corresponding to the co-hosting account; Enabling a live audio collection function item and sending a first instruction to the first terminal to cause the first terminal to stop collecting live audio content; The obtaining of target audio content and sending the target audio content to the server, so that the server generates second live content according to the target audio content and the live video content sent by the first terminal, includes: Obtaining target audio content and sending the target audio content to the server, so that the server generates second live content according to the target audio content, the co-hosting audio content, and the live video content sent by the first terminal.

9. A live broadcast control method, It is characterized in that The method is applied to a server, and the method includes: Receiving a request for live data corresponding to a host account from a target terminal, where the request includes account information of a target account corresponding to the target terminal; Determining an account relationship between the target account and the host account according to the account information; Determining a target transmission method from at least two transmission methods according to the account relationship, where the target transmission method includes a first transmission method and a second transmission method, and the transmission delay of the first transmission method is less than the delay corresponding to the second transmission method; Transmitting the live data to the target terminal according to the target transmission method, including: If there is a preset account relationship between the host account and the target account, the server transmits the live data to the target terminal in the first transmission method; if there is no such preset account relationship between the host account and the target account, the server transmits the live data to the target terminal in the second transmission method.

10. The live broadcast control method according to claim 9, It is characterized in that After transmitting the live data to the target terminal according to the target transmission method, it further includes: In response to a video co-broadcast request carrying transmission indication information sent by the target terminal, obtaining a co-broadcast account corresponding to the video co-broadcast request, and video call content collected by a second terminal corresponding to the co-broadcast account; Transmit the video call content corresponding to the co-broadcast account to the target terminal in the first transmission mode, and send a first instruction to the first terminal corresponding to the host account, so that the first terminal stops collecting the live audio content.

11. A live broadcast control device, characterized in that, the device is applied to the target terminal corresponding to the target account, and the live broadcast control device includes: a response module, configured to respond to an operation of triggering entry into the live broadcast room corresponding to the host account, obtain the account information of the target account corresponding to the operation; if the account information of the target account is the same as the account information of the host account, generate a virtual account; generate a request for obtaining the live broadcast data corresponding to the host account according to the virtual account and the transmission indication information; send a request for obtaining the live broadcast data corresponding to the host account to the server; wherein, when there is a preset account relationship between the target account corresponding to the target terminal and the host account, the request carries transmission indication information, and the transmission indication information is used to instruct the server to transmit the live broadcast data to the target terminal in the first transmission mode; when the request does not carry the transmission indication information, the server transmits the live broadcast data to the target terminal in the second transmission mode, wherein the transmission delay of the first transmission mode is less than the delay corresponding to the second transmission mode; a display module, configured to receive the live broadcast data from the server and display the live broadcast data in the live broadcast room.

12. An electronic device, characterized in that, the electronic device includes: one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the live broadcast control method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, a computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the live broadcast control method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and server for achieving network live broadcast

    CN109495771A