Live broadcast method and device, equipment, storage medium and computer program product

By allowing the anchor to select audiences to participate in the layout settings for the microphone in the live broadcast room, and generate and apply the target microphone layout style, the problem of single existing live microphone layout templates is solved, and the fun and audience experience of the live broadcast microphone are improved.

CN119697449APending Publication Date: 2025-03-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311242910.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The layout templates for the existing live broadcast networking are relatively single, resulting in a lack of fun display format and poor audience experience.

Method used

A live broadcast method is provided, allowing the anchor to select the audience to participate in the setting of the microphone layout style in the live broadcast room. After receiving the microphone layout setting operation and confirming, the target microphone layout style is generated, and the microphone screen is displayed based on this style in the video microphone scene.

Benefits of technology

By participating in the layout of the continuous microphone, the fun of live broadcast continuous microphone is improved, the problem of single layout of the continuous microphone is solved, and the interaction between the anchor and the audience is enhanced and the activity of the live broadcast room is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697449A_ABST
    Figure CN119697449A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast method, device and equipment, a storage medium and a computer program product, and relates to the fields of video live broadcast, multimedia technology, cloud technology and the like. The method comprises the steps that a first terminal displays a microphone connection layout setting page in a live broadcast room interface in response to microphone connection layout setting authorization operation of an anchor for first audience in a live broadcast room; receiving a microphone connection layout setting operation through the microphone connection layout setting page, and obtaining a target microphone connection layout style corresponding to the microphone connection layout setting operation in response to a confirmation operation for the microphone connection layout setting operation, so as to display the video stream of each microphone connection object based on the target microphone connection layout style when the live broadcast room is in the video microphone connection scene. Based on the method, the interestingness of live broadcast microphone connection is improved, and the problem of single microphone connection layout form is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology and may involve fields such as live video broadcasting, multimedia technology, and cloud technology. Specifically, the present application relates to a live broadcasting method, device, equipment, storage medium, and computer program product. Background Art

[0002] With the rapid development of network technology, live video streaming has become a popular form of entertainment. Live streaming with microphones is an important function of live video streaming. Audiences can interact with the host in real time through microphones and participate in the live content.

[0003] Common layout templates for live broadcast and live broadcast include four-grid and nine-grid layouts. After the host and the audience are successfully connected, the video streams of each connected object can be mixed based on the selected layout template to generate a live broadcast screen. The host and each connected audience's screen are displayed in the corresponding grid. After that, the host sends the mixed live broadcast screen to the content delivery network (CDN), which distributes it to other viewers watching the live broadcast.

[0004] However, the current layout templates for live broadcasts are relatively simple, the presentation format of live broadcasts lacks interest, and the audience experience is poor. Summary of the invention

[0005] The embodiments of the present application provide a live broadcast method, apparatus, device, storage medium and computer program product, which can solve the problem that the layout template of the live broadcast is single and the display form of the live broadcast is not interesting. The technical solution is as follows:

[0006] On the one hand, an embodiment of the present application provides a live broadcast method, which is applied in a live broadcast scenario and is executed by a first terminal of a first viewer in a live broadcast room. The method includes:

[0007] In response to the host of the live broadcast room performing an authorization operation for setting a microphone connection layout for the first viewer, displaying a microphone connection layout setting page in the live broadcast room interface;

[0008] Receiving a microphone connection layout setting operation through the microphone connection layout setting page;

[0009] In response to a confirmation operation for the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation is obtained, so that when the live broadcast room is in a video microphone connection scene, the video stream of each microphone connection object is displayed based on the target microphone connection layout style.

[0010] Optionally, when the live broadcast room is in a video link scenario, the method further includes:

[0011] Get the target microphone layout style used when connecting to the video and store it;

[0012] The target microphone connection layout style used during the video microphone connection is obtained by the host's second terminal in the following manner:

[0013] Acquiring screen display parameters of the first terminal;

[0014] Determining a microphone connection layout conversion relationship according to a screen display parameter of the second terminal and a screen display parameter of the first terminal;

[0015] The target microphone connection layout style is converted according to the microphone connection layout conversion relationship to obtain the target microphone connection layout style used during the video microphone connection.

[0016] Optionally, when the live broadcast room is in a video microphone connection scenario, the second terminal of the anchor displays the video stream of each microphone connection object based on the target microphone connection layout style, including:

[0017] In response to a video microphone connection triggering operation in the live broadcast room interface, determining a currently adopted microphone connection layout style according to the number of microphone connection objects and the number of microphone positions corresponding to each candidate microphone connection layout style;

[0018] The video stream of each connected microphone object is displayed based on the currently used connected microphone layout style, wherein the second terminal stores at least two candidate connected microphone layout styles, and the at least two candidate connected microphone layout styles include a target connected microphone layout style.

[0019] Optionally, the receiving a microphone connection layout setting operation through the microphone connection layout setting page includes:

[0020] receiving, through the microphone connection layout setting page, a second selection operation for any microphone connection layout recommended style among the microphone connection layout recommended styles, and receiving an adjustment operation for the selected any microphone connection layout recommended style;

[0021] The obtaining, in response to a confirmation operation on the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation includes:

[0022] In response to a confirmation operation for the adjustment operation, any one of the recommended co-microphone layout styles is determined as a target co-microphone layout style.

[0023] On the other hand, an embodiment of the present application further provides a live broadcast device, which is deployed in a first terminal of a first viewer in a live broadcast room, and includes:

[0024] A display module, configured to display a microphone connection layout setting page in a live broadcast room interface in response to the host of the live broadcast room's authorization operation for the microphone connection layout setting of the first viewer;

[0025] The layout setting module is used to receive a live broadcast layout setting operation through the live broadcast layout setting page, and obtain a target live broadcast layout style corresponding to the live broadcast layout setting operation in response to a confirmation operation for the live broadcast layout setting operation, so as to display the video stream of each live broadcast object based on the target live broadcast layout style when the live broadcast room is in a video live broadcast scene.

[0026] On the other hand, an embodiment of the present application further provides a live broadcast method, which is executed by a second terminal of the anchor in the live broadcast room, and the method includes:

[0027] Display the live broadcast room interface;

[0028] Receiving, through the live broadcast room interface displayed on the second terminal of the anchor, an authorization operation for setting a microphone connection layout for a first viewer of the live broadcast room;

[0029] In response to the microphone connection layout setting authorization operation, a target microphone connection layout style is acquired, so that when the live broadcast room is in a video microphone connection scene, a video stream of each microphone connection object is displayed based on the target microphone connection layout style;

[0030] The target co-microphone layout style is obtained by the first terminal of the first viewer in the following manner:

[0031] In response to the microphone connection layout setting authorization operation, displaying a microphone connection layout setting page in a live broadcast room interface of the first terminal of the first viewer;

[0032] Receiving a microphone connection layout setting operation through the microphone connection layout setting page;

[0033] In response to a confirmation operation on the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation is obtained.

[0034] Optionally, a background image setting entry is displayed in the microphone co-working layout setting page, and the background image of the target microphone co-working layout style is determined by the first terminal in the following manner:

[0035] In response to a trigger operation on the background image setting entry, displaying a background image configuration page;

[0036] A background image setting operation is received through the background image configuration page, and a target image corresponding to the background image setting operation is used as a background image corresponding to the target co-microphone layout style.

[0037] Optionally, the microphone connection layout setting operation includes at least one of the following:

[0038] Operation of setting the number of microphone positions;

[0039] Set the microphone position for each microphone;

[0040] Set the microphone shape for each microphone position.

[0041] Optionally, the microphone connection layout setting page is displayed when the first terminal performs the following operations:

[0042] In response to the authorization operation for setting the co-microphone layout, displaying first prompt information on the live broadcast room interface, where the first prompt information is used to remind the first viewer whether to agree to set the co-microphone layout;

[0043] In response to the first viewer's consent operation to the first prompt information, a joint microphone layout setting page is displayed.

[0044] Optionally, a video linking style selection entry is displayed in the live broadcast room interface displayed on the second terminal of the anchor, and the receiving of the linking layout setting authorization operation for the first viewer includes:

[0045] In response to the host's triggering operation on the video linking style selection entry, at least one video linking style option is displayed in the live broadcast room interface corresponding to the host, and the video linking style option at least includes an audience layout option;

[0046] In response to the host's triggering operation on the audience layout option, displaying an audience list in the live broadcast room interface corresponding to the host;

[0047] Receive a selection confirmation operation from the host for any viewer in the viewer list, wherein the selection confirmation operation is an authorization operation for setting a microphone connection layout, and the viewer selected and confirmed by the host is the first viewer.

[0048] Optionally, in response to the host's triggering operation on the audience layout option, displaying the audience list in the live broadcast room interface corresponding to the host includes:

[0049] In response to the host's triggering operation on the audience layout option, displaying a plurality of audience type options in the live broadcast room interface corresponding to the host;

[0050] In response to the host's selection operation of any one of the multiple audience type options, an audience list corresponding to the target audience type corresponding to the any one of the options is displayed.

[0051] Optionally, the microphone connection layout setting page in the live broadcast room interface of the first viewer is displayed in the following manner:

[0052] receiving notification information of microphone connection layout setting, where the notification information is sent in response to the microphone connection layout setting authorization operation, and the notification information includes first constraint information, where the first constraint information is used to constrain the microphone position layout area range;

[0053] Determine a target layout area range according to at least one of the first constraint information or the screen display parameters of the first terminal;

[0054] The microphone layout setting page is displayed in which the microphone layout area range is the target layout area range.

[0055] Optionally, when displaying a microphone connection layout setting page in the live broadcast room interface of the first terminal of the first viewer, the method further includes:

[0056] In response to the microphone connection layout setting operation, display the current corresponding microphone connection layout style;

[0057] During the process of setting the co-hosting layout, in response to the style preview triggering operation, the current corresponding co-hosting layout style is displayed.

[0058] Optionally, at least one recommended layout style for the joint microphone layout is displayed in the joint microphone layout setting page;

[0059] The method further comprises:

[0060] In response to a selection operation on any one of the recommended joint-microphone layout styles, determining the any one of the recommended joint-microphone layout styles as a target joint-microphone layout style;

[0061] The at least one recommended microphone connection layout style includes at least one first style, and the at least one first style is obtained in the following manner:

[0062] Obtaining live broadcast screen content of the live broadcast room;

[0063] Based on the live screen content, at least one first style is obtained through a pre-trained layout recommendation model; wherein the layout recommendation model is obtained based on multiple training samples, each of the training samples includes sample live screen content and a sample live broadcast layout style corresponding to the sample live screen content.

[0064] On the other hand, an embodiment of the present application further provides a live broadcast device, which is deployed in a second terminal of an anchor in a live broadcast room, and includes:

[0065] Display module, used to display the live broadcast room interface;

[0066] The layout setting authorization module is used to receive a microphone layout setting authorization operation for a first viewer of the live broadcast room through the live broadcast room interface displayed on the second terminal of the anchor, and obtain a target microphone layout style in response to the microphone layout setting authorization operation, so as to display the video stream of each microphone object based on the target microphone layout style when the live broadcast room is in a video microphone scene.

[0067] On the other hand, an embodiment of the present application further provides a live broadcast system, which includes a second terminal of an anchor in a live broadcast room, a first terminal of a first viewer in the live broadcast room, and a live broadcast server, wherein the first viewer is a viewer selected by the anchor to set a microphone connection layout;

[0068] The second terminal is used to display a live broadcast room interface, and to receive a microphone connection layout setting authorization operation for a first viewer of the live broadcast room through the live broadcast room interface; and is also used to send a microphone connection layout setting request to the live broadcast server in response to the microphone connection layout setting authorization operation; and is also used to obtain a target microphone connection layout style, so as to display the video stream of each microphone connection object based on the target microphone connection layout style when the live broadcast room is in a video microphone connection scene;

[0069] The live broadcast server is configured to send notification information of the connection microphone layout setting to the first terminal of the first viewer according to the connection microphone layout setting request; and is also configured to receive the target connection microphone layout pattern and forward it to the first terminal;

[0070] The first terminal is used to respond to the notification information of the microphone layout setting, display the microphone layout setting page in the live broadcast room interface, and receive the microphone layout setting operation through the microphone layout setting page; it is also used to respond to the confirmation operation for the microphone layout setting operation, obtain the target microphone layout style corresponding to the microphone layout setting operation, and send the target microphone layout style to the live broadcast server.

[0071] On the other hand, an embodiment of the present application further provides an electronic device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the computer program to implement the method provided in any optional embodiment of the present application.

[0072] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided in any optional embodiment of the present application is implemented.

[0073] On the other hand, an embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method provided in any optional embodiment of the present application.

[0074] The beneficial effects of the technical solution provided by the embodiment of the present application are as follows:

[0075] In the live broadcast method provided by the embodiment of the present application, the host of the live broadcast room selects the first viewer to set the microphone layout, obtains the target microphone layout style based on the microphone layout setting operation of the selected first viewer, and displays the microphone screens of each microphone object based on the target microphone layout style when performing video microphone connection in the live broadcast room. Based on the solution provided by the embodiment of the present application, the audience in the live broadcast room participates in setting the microphone layout, which improves the fun of live broadcast microphone connection and solves the problem of single microphone layout form. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0077] Figure 1 A flowchart of a live broadcast method provided in an embodiment of the present application;

[0078] Figure 2 A schematic diagram of an operation of displaying a live broadcast room audience list provided in an embodiment of the present application;

[0079] Figure 3 A schematic diagram of a classified display of an audience list provided in an embodiment of the present application;

[0080] Figure 4a A schematic diagram of a first prompt information display method provided in an embodiment of the present application;

[0081] Figure 4b A schematic diagram of a first prompt information display method provided in an embodiment of the present application;

[0082] Figure 5 A schematic diagram of a microphone co-location layout setting page including a target layout area range provided in an embodiment of the present application;

[0083] Figure 6a A schematic diagram of a target microphone connection layout style provided in an embodiment of the present application;

[0084] Figure 6b A schematic diagram of a target microphone connection layout style provided in an embodiment of the present application;

[0085] Figure 7 A schematic diagram of the microphone position layout area range of the second terminal provided in an embodiment of the present application;

[0086] Figure 8 A schematic diagram of the microphone position layout area range of the first terminal provided in an embodiment of the present application;

[0087] Fig. 9 A schematic diagram of a microphone connection layout setting provided in an embodiment of the present application;

[0088] Fig.10 A schematic diagram of displaying a live broadcast screen using live broadcast layout style A provided in an embodiment of the present application;

[0089] Fig.11 A schematic diagram of the structure of a live broadcast system provided in an embodiment of the present application;

[0090] Fig.12 A flowchart of a live broadcast method provided in an embodiment of the present application;

[0091] Fig.13 A schematic diagram of the structure of a live broadcast device provided in an embodiment of the present application;

[0092] Fig.14 A schematic diagram of the structure of a live broadcast device provided in an embodiment of the present application;

[0093] Fig.15 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0094] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0095] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B". When describing multiple (two or more) items, if the relationship between the multiple items is not clearly defined, the multiple items may refer to one, multiple or all of the multiple items. For example, the description of "parameter A includes A1, A2, A3" can be implemented as parameter A including A1 or A2 or A3, and can also be implemented as parameter A including at least two of the three items A1, A2, A3.

[0096] In order to better understand and illustrate the solutions of the embodiments of the present application, some technical terms involved in the embodiments of the present application are briefly explained below.

[0097] Video link: An interactive method during live video broadcasting. Each participant in the link communicates via video in the live broadcast room, and the live broadcast room displays the video images of each participant in the link.

[0098] Microphone position: During the microphone connection process, each microphone connection object corresponds to a microphone position.

[0099] Microphone area: During the microphone connection process, the screen area displayed by each microphone connection object is the microphone area of ​​the microphone.

[0100] Microphone layout: During the microphone connection process, the size, position, shape, etc. of each microphone position in the microphone screen can be set to a four-grid, nine-grid, or other layout depending on the number of people connected to the microphone.

[0101] Live broadcast and microphone connection is an important function of video live broadcast. When conducting live broadcast and microphone connection, the anchor can select a microphone connection layout template and invite the audience in the live broadcast room or other anchors to connect to the microphone. After the microphone connection is successful, the generated microphone connection screen is displayed according to the selected microphone connection layout template. Among them, common microphone connection layout templates include four-grid and nine-grid. After the microphone connection is successful, the video screen of the anchor and each connected audience is displayed in the corresponding grid.

[0102] However, the current fixed layout templates for live broadcasts are relatively simple, and the presentation format of live broadcasts lacks interest.

[0103] Based on the above problems, the embodiments of the present application provide a live broadcast method, apparatus, device, storage medium and computer program product. The live broadcast method can allow the host of the live broadcast room to select the audience to participate in the setting of the microphone layout style during the video live broadcast, and when the video microphone is connected, the microphone layout style set by the audience can be used to display the microphone screen. The microphone layout style is diversified and the fun of the live broadcast and microphone connection is improved.

[0104] Among them, the method provided in the embodiment of the present application may involve cloud technology. For example, when the second terminal of the anchor receives the authorization operation for the microphone layout setting, it can send a microphone layout setting request to the live broadcast server, and the live broadcast server can send the second constraint information stored locally to the first terminal of the first viewer based on the account identifier of the first viewer in the microphone layout setting request. For another example, after the first terminal sends the generated target microphone layout style to the live broadcast server, the live broadcast server can perform layout conversion on the target microphone layout style based on the screen display parameters of the first terminal and the screen display parameters of the second terminal, and send the converted target microphone layout style to the second terminal. Among them, the live broadcast server involved can be a cloud server, and the data processing involved in the embodiment of the scheme can be implemented based on cloud technology, and the data storage involved in the implementation process can adopt cloud storage. For example, the second constraint information of the microphone layout setting can be stored in the cloud server.

[0105] Among them, cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, so that various application systems can obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". From the user's point of view, the resources in the "cloud" can be infinitely expanded, and can be obtained at any time, used on demand, expanded at any time, and paid for by use.

[0106] Cloud storage is a new concept that extends and develops from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide external data storage and business access functions.

[0107] It should be noted that in the optional embodiments of the present application, the object information (such as the background image set by the first viewer) and other related data involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.

[0108] The following describes several embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.

[0109] Figure 1 A flow chart of a live broadcast method provided in an embodiment of the present application is shown. The live broadcast method can be executed by a user terminal or implemented by a plurality of electronic devices, such as a user terminal and a server.

[0110] Among them, the above-mentioned terminal (also referred to as user terminal or user equipment) can be a smart phone, tablet computer, laptop computer, desktop computer, intelligent voice interaction device (such as smart speaker), wearable electronic device (such as smart watch), vehicle terminal, smart home appliance (such as smart TV), AR / VR device, etc., but not limited to this. The above-mentioned server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server (also referred to as cloud) that provides cloud computing services. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0111] like Figure 1 As shown, the live broadcast method provided in the embodiment of the present application may include the following steps S110 to S130.

[0112] Step S110: In response to the host of the live broadcast room authorizing the first viewer to set up the microphone connection layout, a microphone connection layout setting page is displayed in the live broadcast room interface.

[0113] The embodiment of the present application can be applied to a live broadcast scenario and executed by a first terminal of a first viewer in a live broadcast room, wherein the first viewer can be selected by the host of the live broadcast room from viewers watching the live broadcast.

[0114] The embodiment of the present application does not limit the method of selecting the first audience. For example, a random audience can be selected from the audience sending bullet comments in the live broadcast room as the first audience, or the audience with the highest fan level can be selected from the audience who are fans of the live broadcast room as the first audience, or the audience with the highest amount of reward resources (such as virtual gifts such as flowers and hearts) can be selected from the list of reward audiences in the live broadcast room as the first audience.

[0115] For example, Figure 2 As shown, when the anchor is broadcasting a live video, on the live broadcast room interface displayed on the anchor's second terminal ( Figure 2 The left figure) is provided with a video link style selection entry (a control of the link style in the figure). In response to the host's triggering operation on the video link style selection entry, the second terminal displays several video link style options. Among them, the video link style options include at least an audience layout option, and may also include a template layout option, a host layout option, and the like.

[0116] exist Figure 2 In the example, the second terminal displays the audience list in response to the host's triggering operation on the audience layout option. The audience list can be a list of viewers currently watching the live broadcast room, a list of fans in the current live broadcast room, or a list of viewers who give rewards to the live broadcast room. In the audience list, each viewer is represented by the viewer's live broadcast account avatar and live broadcast account name.

[0117] Optionally, due to the limited space of the live broadcast room interface, various live broadcast setting entrances (including the video connection style selection entrance) may be folded in the setting page. Therefore, when selecting the video connection style, the anchor can operate the video connection style selection entrance from the setting page. The setting page entrance is displayed on the live broadcast room interface displayed on the second terminal (such as Figure 2 In the left figure, the second terminal displays the settings page in the live studio interface in response to the host's triggering operation on the settings page entry. In response to the host's triggering operation on the video link style selection entry in the settings page, several video link style options are displayed.

[0118] Optionally, the audience layout options may also include a variety of different audience type options so that the anchor can select according to the audience type. In response to the anchor's triggering operation on the audience layout options, the second terminal displays a plurality of audience type options corresponding to the live broadcast room in the live broadcast room interface. In response to the anchor's selection operation on any of the plurality of audience type options, an audience list of the target audience type corresponding to any of the options is displayed. The audience type may include at least one of fan audience, reward audience, or viewing audience.

[0119] Optionally, the audience list of the target audience type can be sorted and displayed according to the sorting index corresponding to the target audience type. For example, when the target audience type is the fan audience, each fan audience can be sorted according to the fan level, and the fan audience list can be displayed according to the sorting result; when the target audience type is the reward audience, each reward audience can be sorted according to the amount of reward resources, and the reward audience list can be displayed according to the sorting result; when the target audience type is the viewing audience, each viewing audience can be sorted according to the viewing time, and the viewing audience list can be displayed according to the sorting result.

[0120] For example, Figure 3 As shown, the audience layout options include fan audience, reward audience or watching audience. When the anchor clicks the reward audience option, the audience list of the reward audience can be displayed in the order of the amount of reward resources.

[0121] In response to the host's selection confirmation operation for any viewer in the viewer list, the second terminal sends notification information of the joint microphone layout setting to the terminal of the viewer selected by the host, so that the selected viewer can perform the joint microphone layout setting.

[0122] It can be understood that the audience selected and confirmed by the anchor is the first audience, and the anchor's selection and confirmation operation for any audience is the anchor's authorization operation for setting the microphone layout for the first audience.

[0123] When the first terminal receives the notification information of the microphone layout setting sent by the second terminal of the anchor, the microphone layout setting page is displayed in the live broadcast room interface. The notification information of the microphone layout setting is sent in response to the anchor of the live broadcast room authorizing the microphone layout setting operation for the first viewer.

[0124] Optionally, the first terminal may display a first prompt message in the live broadcast room interface in response to the authorization operation for the microphone layout setting. The first prompt message is used to remind the first viewer whether to agree to set the microphone layout. If the first viewer agrees to set the microphone layout, the first terminal may display the microphone layout page in response to the first viewer's consent operation for the first prompt message. If the first viewer refuses to set the microphone layout, the first terminal may send a message of refusing the microphone layout setting to the second terminal in response to the first viewer's refusal operation for the first prompt message, and continue to display the live broadcast room interface.

[0125] Optionally, the first prompt information may be displayed in the microphone layout setting page. If the first viewer agrees to perform the microphone layout setting, the subsequent microphone layout setting operations may be performed in the microphone layout setting page. If the first viewer refuses to perform the microphone layout setting, the first terminal may respond to the first viewer's rejection operation of the first prompt information in the microphone layout setting page, send information of rejecting the microphone layout setting to the second terminal, and continue to display the live broadcast room interface.

[0126] For example, Figure 4a As shown, when the anchor selects the first viewer from the live broadcast room, the live broadcast room interface of the first terminal of the first viewer displays "The anchor invites you to set the microphone layout" and the options of "Accept" and "Reject". When the first viewer clicks "Accept", it means that the first viewer agrees to set the microphone layout, and the microphone layout page can be displayed.

[0127] The first prompt information can also be displayed in the microphone layout setting page, such as Figure 4b As shown, when the anchor selects the first viewer from the live broadcast room, the live broadcast room interface of the first terminal of the first viewer displays the microphone layout setting page, which displays the options of "Cancel" and "Confirm". When the first viewer clicks "Cancel", it means that the first viewer refuses to set the microphone layout; when the first viewer agrees to set the microphone layout, after setting the microphone layout, he can click "Confirm" to submit the target microphone layout style.

[0128] It is understandable that, since the video link is not displayed in full screen during linking, but is displayed within a specified area of ​​the screen, for the practicality of the linking layout, when setting the linking layout, the layout range of each microphone position can be limited within the specified area.

[0129] Optionally, the notification information of the microphone layout setting may include first constraint information for constraining the microphone layout area range. The first terminal may determine the target layout area range of the microphone layout according to the first constraint information in the received notification information and the screen display parameters of the first terminal, and display the microphone layout setting page with the microphone layout area range as the target layout area range, so that the first viewer can perform the microphone layout setting operation within the target layout area range. The screen display parameters include at least the screen display width and the screen display height.

[0130] For example, Figure 5 As shown, the gray area displayed in the co-microphone layout setting page indicates the target layout area range, and the first viewer can perform the co-microphone layout setting operation in the gray area to perform the co-microphone layout setting.

[0131] Optionally, the first constraint information in the notification information of the microphone layout setting can be the microphone layout area range set by the anchor in the second terminal, which is forwarded to the first terminal by the second terminal through the live broadcast server; it can also be the aspect ratio of the microphone screen set by the live broadcast platform, which is sent to the first terminal by the live broadcast server.

[0132] For example, when the host's second terminal is displayed in vertical screen, the host can set the microphone layout area range (W a , H a ), and the anchor sets a fixed microphone layout area range as the first constraint information and carries it in the notification information and sends it to the first terminal. When the first terminal receives the notification information of the microphone layout setting, it can a , H a ), and the screen display width W of the first terminal itself b , determine the screen display height H of the target layout area b Among them, H b =W b H a / W a , the width of the target layout area is equal to the first terminal screen display width. It can be obtained that the target layout area displayed in the first terminal is (W b , H b ). Optionally, the target layout area range may be displayed in the center of the screen of the first terminal.

[0133] It should be noted that when the host's second terminal displays a vertical screen live broadcast interface, the terminal of the audience watching online in the live broadcast room also displays a vertical screen live broadcast interface. When the host's second terminal displays a horizontal screen live broadcast interface, the terminal of the audience in the live broadcast room can display a vertical screen live broadcast interface or a horizontal screen live broadcast interface.

[0134] For the live broadcast display effect, the live broadcast platform usually limits the aspect ratio of the microphone screen. For example, when the microphone screen is in portrait mode, it is displayed in the center at 3:4, and the width of the microphone screen is consistent with the width of the terminal screen. When the microphone screen is in landscape mode, it is displayed in the center at 4:3, and the height of the microphone screen is consistent with the height of the terminal screen. Therefore, when the anchor specifies the range of the microphone layout area, it also needs to comply with the aspect ratio set by the live broadcast platform.

[0135] Since the screen display sizes of different terminals are different, the microphone layout area range set by the anchor corresponds to the second terminal, that is, the microphone layout area range set by the anchor is based on the screen display parameters of the second terminal. When the first viewer sets the microphone layout, the microphone layout area range corresponds to the first terminal, based on the screen display parameters of the first terminal.

[0136] Optionally, a background image setting entry is also displayed in the microphone connection layout setting page, and the first viewer can set the background image of the video microphone connection through the entry. The first terminal displays the background image configuration page in response to the trigger operation of the first viewer on the background image setting entry. The background image setting operation is received through the background image configuration page, and the target image corresponding to the background image setting operation is used as the background image corresponding to the target microphone connection layout style. The target image can be selected locally by the first viewer from the first terminal, or it can be taken in real time.

[0137] Step S120: receiving a microphone connection layout setting operation through the microphone connection layout setting page.

[0138] In the embodiment of the present application, the first terminal may further display the currently corresponding microphone layout style in response to the microphone layout setting operation of the first viewer in the microphone layout setting page.

[0139] Optionally, a preview button is also displayed in the co-working layout setting page displayed by the first terminal. During the co-working layout setting process, in response to the style preview triggering operation (clicking the preview button) of the first viewer, the current corresponding co-working layout style is displayed.

[0140] The microphone connection layout setting operation may include at least one of a microphone quantity setting operation, a microphone position setting operation for each microphone, or a microphone shape setting operation for each microphone.

[0141] When the first viewer sets the number of microphone positions, the first terminal responds to the first viewer's operation of setting the number of microphone positions and displays the corresponding number of microphone positions in the microphone layout setting page. The microphone layout setting page may display a control for setting the number of microphone positions. Optionally, the control for setting the number of microphone positions may be an input control, and the first viewer may input the number of microphone positions to be set. It may also be a button control, and each time the first viewer clicks a button, an additional microphone position is displayed in the microphone layout setting page. The embodiment of the present application does not limit the control for setting the number of microphone positions, and it may be set according to business needs.

[0142] Optionally, each microphone position has initial microphone position information, the initial microphone position information includes at least one of initial microphone position position information or initial microphone position shape, and the initial microphone position position information includes at least one of position coordinates of the initial microphone position or area range of the initial microphone position area.

[0143] For each microphone position, the first viewer may update the microphone position information of each microphone position by setting the microphone position shape or the microphone position position information. The microphone position information may include at least one of the microphone position information and the microphone position shape.

[0144] When the first viewer sets the shape of the microphone position, for any microphone position, the first terminal responds to the first viewer's operation of setting the shape of the microphone position for the microphone position and displays the corresponding shape of the microphone position. The first viewer can manually draw the shape of the microphone position or select the shape of the microphone position from a plurality of preset shape templates, which is not limited in the embodiment of the present application.

[0145] When the first viewer adjusts the microphone position, for any microphone position, the first terminal displays the microphone position information after the adjustment in response to the microphone position setting operation of the first viewer on the microphone position. The microphone position information includes at least one of the position coordinates of the microphone position and the area range of the microphone area. The microphone position can be the position of the center point of the microphone position or the position of each vertex corresponding to the microphone position.

[0146] Optionally, the microphone position setting operation may include at least one of a position moving operation or an area adjustment operation. When the first viewer moves the position of the microphone, the microphone position information of the microphone may be displayed at the moved position; when the first viewer adjusts the area of ​​the microphone, the microphone area of ​​the microphone may be displayed according to the adjusted area range. The area adjustment operation may be an input operation (such as inputting area width and height), a zoom operation, a move operation (moving the sides of a rectangular box), etc.

[0147] It is understandable that during video connection, a dense number of microphones, an overly large or small microphone area (the video screen displayed by the connected microphone object), too many crossover microphones (overlapping microphone areas), etc. will affect the user experience. Therefore, the notification information received by the first terminal may also include second constraint information, which is used to constrain the number of microphones, the size of the microphone area, and the size of the overlapping microphone area.

[0148] Optionally, the second constraint information includes one or more of the following: maximum number of microphone positions, maximum microphone position area range, minimum wheat position area range, and maximum overlapping area. The maximum number of microphone positions, maximum microphone position area range, minimum wheat position area range, and maximum overlapping area can be set as needed, and this specification does not limit this. The second constraint information can be sent by the live broadcast server to the first terminal in response to the microphone layout authorization operation, or it can be pre-stored locally in the first terminal.

[0149] In the embodiment of the present application, when the first viewer performs the microphone layout setting operation, each microphone position in the layout must also satisfy the constraint condition of the second constraint information:

[0150] The number of microphone positions set by the first audience is not greater than the maximum number of microphone positions in the second constraint information;

[0151] The area range of the microphone position adjusted by the first audience is not larger than the maximum microphone position area range, and not smaller than the minimum microphone position area range;

[0152] The overlapping area of ​​any two microphone positions shall not be greater than the maximum overlapping area.

[0153] When the number of microphone positions set by the first viewer exceeds the maximum number of microphone positions, the first terminal may reject the microphone position setting operation or display a second prompt message to prompt the first viewer that the number of microphone positions set by the first viewer exceeds the maximum number of microphone positions.

[0154] When the area range of the microphone area adjusted by the first viewer is smaller than the maximum microphone area range or larger than the maximum microphone area range, the first terminal may reject the microphone area adjustment operation or display a third prompt message to prompt the first viewer that the microphone area setting is unreasonable.

[0155] When the first viewer adjusts the microphone position so that the overlapping areas between different microphones are larger than the maximum overlapping area, the first terminal may reject the position movement operation of at least one microphone, or display a fourth prompt message to prompt the first viewer that there are too many overlapping microphones.

[0156] Optionally, when the target layout area range for limiting the joint microphone layout is displayed in the joint microphone layout setting page, the first terminal may limit the movement of the microphone position outside the target layout area range.

[0157] Optionally, at least one recommended style of the live broadcast layout may also be displayed in the live broadcast layout setting page, and the first viewer may select a target recommended style of the live broadcast layout from the recommended styles, and make adjustments based on the target recommended style of the live broadcast layout. The recommended style of the live broadcast layout may be a style that the host has commonly used in the past, a style that has been popular recently, or a style that is recommended based on the live broadcast screen content of the host. Specifically, the first terminal may receive a second selection operation for any of the recommended styles of the live broadcast layout through the live broadcast layout setting page, and receive an adjustment operation for any selected recommended style of the live broadcast layout. The adjustment operation may be any of the operations of setting the live broadcast layout. In response to a confirmation operation for the adjustment operation, any recommended style of the live broadcast layout selected by the first viewer is determined as the target live broadcast layout style.

[0158] Step S130: In response to a confirmation operation for the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation is obtained, so that when the live broadcast room is in a video microphone connection scene, the video stream of each microphone connection object is displayed based on the target microphone connection layout style.

[0159] In the embodiment of the present application, the first viewer can adjust the microphone position information of each microphone position through the microphone layout setting operation, and obtain the target microphone layout style after confirming that the adjustment is completed. The target microphone layout style includes at least one of the number of microphone positions, the hierarchical order of each microphone position, the position information of each microphone position, or the shape of each microphone position. The hierarchical order of the microphone positions indicates the coverage relationship of the microphone positions when the microphone position areas overlap.

[0160] The first terminal may send the target microphone connection layout style to the host's second terminal, so that when the second terminal performs video microphone connection, the microphone connection screen including the video streams of each microphone connection object is displayed based on the target microphone connection layout style.

[0161] For example, the target microphone connection style is shown in the figure. Figure 6a The medium target microphone connection style includes 5 microphone positions, each of which is shaped like a petal. When a video microphone connection is performed, the video stream of each microphone connection object can be displayed in the petal area.

[0162] Figure 6b The medium target microphone connection style includes 7 microphone positions, each of which is in the shape of a regular hexagon. When a video microphone connection is performed, the video stream of each microphone connection object can be displayed in a regular hexagonal area.

[0163] Optionally, the target microphone layout style may be drawn by the first terminal, and the second terminal may directly display it based on the drawn target microphone layout style. The target microphone layout style may also only include style information such as the number of microphone positions, the hierarchical order of each microphone position, the position information of each microphone position, or the shape of each microphone position, and is drawn by the second terminal based on the number of microphone positions and the microphone position information of each microphone position. The embodiments of the present application are not limited to this. The target microphone layout style may be forwarded by the first terminal to the second terminal via the live broadcast server.

[0164] It is understandable that, due to the difference in screen display size between the first terminal and the second terminal, the target microphone layout style set by the first viewer in the first terminal may display different effects in the second terminal on the host side, for example, the size and position of the microphone are different.

[0165] Therefore, when the anchor side uses the target microphone layout style to display the microphone screen, it is also necessary to perform layout conversion on the target microphone layout style set by the first viewer. Specifically, the second terminal can obtain the screen display parameters of the first terminal. According to the screen display parameters of the second terminal and the screen display parameters of the first terminal, the microphone layout conversion relationship is determined. According to the microphone layout conversion relationship, the target microphone layout style is converted to display the video stream of each microphone object based on the target microphone layout style after the layout conversion. Among them, the screen display parameters of the first terminal can be carried by the first terminal when sending the target microphone layout style. The microphone layout conversion relationship represents the screen zoom ratio between the first terminal and the second terminal.

[0166] For example, the shape of the microphone position set by the first audience is a rectangle, and the center position coordinates of each microphone position in the target microphone layout style are (X i , Y i ), the width of each mic area is W i , height is H i . According to the screen width W of the second terminal a and the screen width W of the first terminal b , you can determine the screen zoom ratio is W a / W b According to the screen zoom ratio, the center position coordinates of each microphone position and the microphone position area are transformed. The center position coordinates of each microphone position after transformation are (X i ', Y i '), where X' i =W a X i / W b , Y' i =W a Y i / W b The width of the converted microphone area is W i'=W a W i / W b , the height of the wheat area H i '=W a H i / W b .

[0167] Optionally, when receiving the screen display parameters of the first terminal, the second terminal may also match the screen display parameters of the first terminal with the screen display parameters of the second terminal. If the two match, there is no need to perform layout conversion on the target joint microphone layout style. If the two do not match, the target joint microphone layout style is then converted based on the screen display parameters of the first terminal and the screen display parameters of the second terminal.

[0168] Optionally, the first terminal sends the generated target microphone layout style to the live broadcast server, and when the live broadcast server sends it to the host's second terminal, the live broadcast server can also perform layout conversion based on the screen display parameters of the first terminal and the screen display parameters of the second terminal. The embodiment of the present application does not limit this.

[0169] Since different target microphone layout styles correspond to different numbers of microphone positions, the second terminal needs to determine whether the number of microphone objects meets the number of microphone positions when performing video microphone connection. If the number of microphone objects meets the number of microphone positions, the video stream of each microphone object is displayed based on the target microphone layout style. Otherwise, the fifth prompt information can be displayed on the live broadcast room interface to prompt the anchor to select a microphone layout template.

[0170] Optionally, the second terminal stores multiple target microphone layout styles set by viewers. When performing video microphone connection, the second terminal can obtain target microphone layout styles corresponding to at least two different numbers of microphone positions, and determine the current microphone layout style according to the number of microphone objects and the number of microphone positions corresponding to each obtained target microphone layout style. Among them, the number of microphone positions corresponding to the current microphone layout style is not less than the number of microphone objects, and the number of microphone positions corresponding to the current microphone layout style is closest to the number of microphone objects. The video stream of each microphone object is displayed based on the current microphone layout style.

[0171] For example, there are five people on the video call, and the target video call layout styles obtained by the second terminal include a 4-person video call layout style, a 6-person video call layout style, and a 9-person video call layout style. The 6-person video call layout style is determined to be the current video call layout style, and the video streams of each video call object are displayed based on the 6-person video call layout style.

[0172] Optionally, when displaying the video streams of each connected microphone object based on the target connected microphone layout style, the host side may mix the streams, or the live broadcast server side may mix the streams.

[0173] When mixing streams at the host's end, the host's second terminal can collect the host's video stream and obtain the video streams of other connected microphone objects from the live broadcast server. When the number of connected microphone objects is not greater than the number of microphone positions corresponding to the target connected microphone layout style, the second terminal can mix the video streams of each connected microphone object based on the target connected microphone layout style, and send the mixed video stream to the content delivery network (CDN). Other viewers in the live broadcast room can obtain the mixed video stream of the live broadcast room video connection from the CDN.

[0174] When mixing streams on the live broadcast server, the live broadcast server can receive the host's video stream sent by the second terminal, as well as the video streams sent by the terminals of other connected microphone objects. The host's video stream sent by the second terminal also carries the target connected microphone layout style, which is carried in the media supplemental enhancement information (SEI) of the video stream.

[0175] based on Figure 1 In the live broadcast method shown, the host in the live broadcast room selects the first viewer to set the microphone layout, obtains the target microphone layout style based on the microphone layout setting operation of the selected first viewer, and displays the microphone screen of each microphone object based on the target microphone layout style when the live broadcast room is in the video microphone scene. Based on the solution provided by the embodiment of the present application, the audience in the live broadcast room participates in the setting of the microphone layout, which improves the fun of the live broadcast and solves the problem of the single microphone layout form. It further enhances the interaction between the host and the audience and improves the liveliness of the live broadcast room.

[0176] Optionally, at least one recommended microphone layout style is also displayed in the microphone layout setting page of the live broadcast room interface. The first terminal can receive the first viewer's selection operation for any recommended microphone layout style among the recommended microphone layout styles through the microphone layout setting page, and use the microphone layout style selected by the first viewer as the target microphone layout style.

[0177] Among them, the first viewer's selection operation for any recommended style of the microphone layout includes a first selection operation and a selection confirmation operation. The first viewer can select any recommended style of the microphone layout among the recommended styles of the microphone layout through the first selection operation, and confirm the selected recommended style of the microphone layout through the selection confirmation operation. Before selecting and confirming, the first viewer can change the selected recommended style of the microphone layout. Optionally, a selection confirmation control for the recommended style of the microphone layout is also displayed on the microphone layout setting page, such as a submit button. When the first viewer clicks the submit button, the selection confirmation operation for the recommended style of the microphone layout is executed.

[0178] Optionally, the recommended layout style of the live broadcast may be a live broadcast style commonly used by the host in the past, a recently popular live broadcast style, or a live broadcast style recommended based on the live broadcast screen content of the host.

[0179] Different microphone connection styles can be recommended based on the different content of the anchor's live broadcast screen. For example, when the anchor is broadcasting a game live, different microphone connection styles are recommended based on the different game parameters and the number of people. When the anchor is broadcasting goods live, different microphone connection styles are recommended based on the different types of products that the anchor is broadcasting. For example, when the anchor is broadcasting women's clothing products, because it is necessary to show the effect of trying on clothes in the live broadcast room, the microphone connection style with more anchor screen is usually selected during the microphone connection. When the anchor is broadcasting food products, the microphone connection style with the anchor screen in the center is usually selected during the microphone connection.

[0180] In an embodiment of the present application, at least one recommended joint microphone layout style displayed on the joint microphone setting page includes at least one first style, where the first style is a joint microphone style recommended based on the live broadcast screen content of the anchor, and the at least one first style is obtained in the following manner:

[0181] The live picture content of the live broadcast room is obtained, wherein the live picture content may be one or more frames of live pictures, such as only the live picture of the current frame, or the current frame and at least one frame of live picture before the current frame.

[0182] Based on the acquired live screen content, at least one first style is obtained through a pre-trained layout recommendation model. Optionally, for each acquired live screen frame, the frame of the live screen can be input into a pre-trained layout recommendation model to obtain a microphone layout style corresponding to the frame of the live screen output by the model as the first style.

[0183] The layout recommendation model is obtained based on multiple training samples, each training sample includes sample live broadcast screen content and a sample microphone layout style corresponding to the sample live broadcast screen content.

[0184] The layout recommendation model can be trained in the following ways:

[0185] A1: Get multiple training samples.

[0186] Each training sample includes sample live screen content and annotations of the sample live screen content. The annotations of the sample live screen content are sample microphone layout styles corresponding to the sample live screen content.

[0187] The sample live screen content may be the live screen content of the live broadcast room in history, the live screen content of different anchors in the historical live broadcast process, or the live screen content of the same anchor in different live broadcast sessions. The sample live broadcast screen content corresponding to the sample live broadcast screen content may be the actual live broadcast screen layout style used by the anchor when actually connecting to the microphone in the live broadcast session where the sample live broadcast screen content is located.

[0188] A2: For each training sample, the live screen content in the training sample is input into the layout recommendation model to be trained to obtain a first style output by the layout recommendation model to be trained.

[0189] Among them, the layout recommendation model can adopt common image processing models such as Convolutional Neural Networks (CNN) and Visual Geometry Group Network (VGG).

[0190] A3: Train the layout recommendation model with the goal of minimizing the difference between the first style output by the layout recommendation model to be trained and the annotations of each training sample.

[0191] Determine the first style corresponding to each training sample obtained by inputting the live screen content in each training sample into the layout recommendation model to be trained, and construct a loss function based on the first style corresponding to each training sample and the actual microphone connection style marked by each training sample. Adjust the model parameters of the layout recommendation model with the goal of minimizing the loss function.

[0192] The training method of the above-mentioned layout recommendation model can be executed by a live broadcast server, and the live broadcast server can receive the live broadcast screen content sent by the anchor's second terminal, and obtain at least one first style based on the live broadcast screen content through the trained layout recommendation model. The live broadcast server can also send the trained layout recommendation model to the anchor's second terminal, and the second terminal collects the live broadcast screen content, and obtains at least one first style based on the live broadcast screen content through the trained layout recommendation model. The embodiment of the present application is not limited to this.

[0193] Optionally, different types of anchors may have different live broadcast screen contents, such as game anchors broadcasting game processes, food anchors broadcasting food, etc. Therefore, when training the recommended layout model, based on the different anchor types, recommended layout models for different anchor types can be trained separately. When displaying the recommended layout style of the live broadcast, the recommended layout model corresponding to the anchor can be determined based on the anchor type of the anchor in the live broadcast room, and at least one first style can be obtained based on the live broadcast screen content of the live broadcast room and the recommended layout model corresponding to the anchor.

[0194] Optionally, the above-mentioned recommended layout model can be trained based on a large number of sample live broadcast screen contents of different anchors and sample live broadcast screen contents corresponding to the sample live broadcast screen contents as training samples. The trained recommended layout model learns the characteristics of the live broadcast layout styles selected by different anchors, which is used to determine the recommended live broadcast layout styles corresponding to different anchors.

[0195] It can also be trained based on sample live broadcast screen content of a large number of different live broadcast sessions of the same anchor and sample microphone layout styles corresponding to the sample live broadcast screen content as training samples. The trained recommended layout model learns the characteristics of the microphone layout style selected by the anchor, which is used to determine the recommended microphone layout style corresponding to the anchor.

[0196] In the embodiment of the present application, since the layout recommendation model is trained based on the live broadcast screen content and the corresponding microphone layout style in the history of the live broadcast room, and the microphone layout style selected by the anchor in the historical live broadcast usually ensures that the anchor screen or the introduced product screen is not blocked, the microphone style is recommended for the current live broadcast based on the layout recommendation model. It can avoid the generation of a microphone layout style that blocks the anchor screen or the product screen, so that the target microphone layout style set by the first audience is more in line with the needs of the actual live broadcast scene.

[0197] Optionally, the recommended layout style can also be used as a video connection style option in the live broadcast room interface on the host side. The second terminal displays several video connection style options in response to the host's triggering operation on the video connection style selection entry. Among them, the video connection style options at least include the recommended layout style option. In response to the host's triggering operation on the recommended layout style option, the second terminal displays multiple recommended layout styles, and in response to the host's selection operation on any of the recommended layout styles, the second terminal uses the recommended layout style selected by the host to display the video stream of each connection object.

[0198] Optionally, the trigger operation may be a click operation, a slide operation, a long press operation, etc., which is not limited in this embodiment of the present application.

[0199] In order to better understand and explain the method provided by the embodiment of the present application, the optional implementation methods of the live broadcast method provided by the present application are introduced in combination with a specific scenario embodiment. In this scenario embodiment, the host selects viewer A to perform the layout setting of the microphone connection as an example.

[0200] In order to make the live broadcast more interesting, the host of the live broadcast room can select the layout style of the live broadcast room for the audience to set during the live broadcast. Figure 2 and Figure 3As shown, the anchor clicks on the video connection style selection entry on the live broadcast room interface to display three video connection style options: "audience layout", "template layout", and "anchor layout". By clicking on the "audience layout" option, three audience type options are displayed: "fan audience", "reward audience", and "watch audience". After the anchor clicks on the "reward audience" option, the audience list of the reward audience is displayed. Among them, the audience list of the reward audience is sorted according to the amount of the audience's reward.

[0201] exist Figure 7 In the example, after the anchor selects viewer A, the microphone layout area range is displayed on the second terminal, and the anchor can adjust the microphone layout area range, that is, select viewer A to set the microphone layout within the microphone layout area range specified by the anchor. Among them, the microphone layout area specified by the anchor conforms to the aspect ratio preset by the live broadcast platform.

[0202] After the host completes the adjustment, the host's second terminal can send a microphone layout setting request to the live broadcast server. The microphone layout setting request includes the account ID of viewer A and the microphone layout area range specified by the host. The microphone layout area range can be expressed in terms of the width and height of the microphone, such as Figure 7 The range of the wheat position area is (W a , H a ).

[0203] The live broadcast server can send notification information of the microphone layout setting to the first terminal of viewer A according to the account identifier of viewer A. The notification information includes the microphone layout area range specified by the anchor in the second terminal and the microphone constraint information stored locally in the live broadcast server.

[0204] The first terminal can determine the microphone layout area range corresponding to the first terminal according to the microphone layout area range specified by the anchor in the received notification information and the screen width of the second terminal. Among them, the microphone area range corresponding to the second terminal is (W a , H a ), the screen width of the second terminal is W a , then the height of the microphone layout area corresponding to the first terminal is H b =W b H a / W a , that is, the microphone position layout area corresponding to the first terminal is (W b , W b H a / W a ).

[0205] The range of the microphone layout area displayed in the first terminal is (W b , W b Ha / W a )'s microphone layout settings page, such as Figure 8 As shown in the figure, the gray area in the figure is the microphone layout area range corresponding to the first terminal. Viewer A can perform the microphone layout setting operation within the microphone layout area range on the microphone layout setting page.

[0206] Fig. 9 A schematic diagram of a microphone connection layout setting provided in an embodiment of the present application is provided. Fig. 9 In the example, viewer A can set the number of microphone positions. In response to the first viewer clicking the "add microphone position" control, an initial microphone position is displayed on the first terminal. In response to the first viewer clicking the "microphone position shape" control, several microphone position shape templates are displayed. In response to the first viewer selecting a microphone position shape template, the microphone position shape of the initial microphone position is updated. In response to the first viewer dragging the border of the microphone position, the area range of the microphone position area is adjusted.

[0207] Audience A can repeat the above operation to set 5 microphone positions, and 5 rectangular microphone positions are displayed in the microphone layout setting page. Audience A can move the microphone position of each microphone position to form a microphone layout style. Among them, the microphone position information of each microphone position set by audience A meets the microphone position constraint condition.

[0208] When the microphone layout setting of viewer A is completed, the confirmation button can be clicked to confirm the microphone layout style A set by viewer A, and the microphone layout style A and the microphone layout area range (W b , W b H a / W a ), and forwarded to the second terminal of the anchor through the live broadcast server. Among them, the microphone layout style A may include the center point position coordinates of each microphone position and the side length of each microphone position.

[0209] The second terminal can be based on the microphone layout area range (W b , W b H a / W a ), and the microphone layout area range of the second terminal (W a , H a ), determine the scaling factor to be W a / W b The layout of the co-occurrence layout style A is converted based on the scaling ratio, and the co-occurrence layout style A is drawn according to the converted layout.

[0210] The second terminal may store the drawn microphone connection layout style A, and when a video microphone connection is performed, if the number of microphone connection objects is not more than 5, the microphone connection layout style A is used by default to display the microphone connection screen. Fig.10A schematic diagram of displaying a live broadcast screen using live broadcast layout style A is provided in an embodiment of the present application. When a video live broadcast is performed, when there are four people connected to the live broadcast, the video screens of the four people connected to the live broadcast can be randomly displayed in the microphone position areas of the four microphone positions of the live broadcast layout style A.

[0211] Fig.11 A structural schematic diagram of a live broadcast system provided for an embodiment of the present application, the live broadcast system includes a second terminal of the host in the live broadcast room, a first terminal of the first viewer in the live broadcast room, and a live broadcast server, wherein the first viewer is the viewer selected by the host to set up a microphone layout.

[0212] When the anchor is broadcasting live video, the live broadcast room interface is displayed on the anchor's second terminal. Among them, the live broadcast room interface displays a video connection style selection entrance.

[0213] In order to improve the fun of video connection, the host can select an audience from the audience in the live broadcast room to set the connection layout. In response to the host's triggering operation on the video connection style selection entrance in the live broadcast room interface, the second terminal displays several video connection style options. Among them, the video connection style options include at least audience layout options, and may also include template layout options, host layout options, etc.

[0214] The second terminal displays the audience list in response to the host's triggering operation on the audience layout option. Optionally, the audience layout option may also include a variety of different audience type options so that the host can select according to the audience type. The second terminal displays multiple audience type options corresponding to the live broadcast room in the live broadcast room interface in response to the host's triggering operation on the audience layout option. In response to the host's selection operation on any of the multiple audience type options, a list of viewers of the target audience type corresponding to any option is displayed. The audience type may include at least one of fan audience, reward audience or viewing audience.

[0215] In response to the host's selection confirmation operation for any viewer in the viewer list, the second terminal sends a connection layout setting request to the live broadcast server, wherein the connection layout setting request includes the account identifier of the first viewer selected by the host and the first constraint information.

[0216] The live broadcast server may send notification information of the microphone layout setting to the first terminal of the first viewer according to the account identifier of the first viewer in the microphone layout setting request, wherein the notification information includes first constraint information, and the first constraint information is used to constrain the microphone position layout area range.

[0217] The first terminal may display a microphone layout setting page in the live broadcast room interface according to the first constraint information in the received notification information. The first terminal may also display the corresponding microphone layout style in response to the microphone layout setting operation of the first viewer in the microphone layout setting page. The microphone layout setting operation may include at least one of a microphone number setting operation, a microphone position setting operation for each microphone, or a microphone shape setting operation for each microphone.

[0218] The first terminal obtains a target microphone layout pattern in response to the first viewer's confirmation operation on the current microphone layout pattern, wherein the target microphone layout pattern includes at least one of the number of microphone positions, the hierarchical order of each microphone position, the position information of each microphone position, or the shape of each microphone position, and the hierarchical order of the microphone positions indicates the covering relationship of the microphone positions when the microphone position areas overlap.

[0219] The first terminal sends the generated target microphone connection layout style to the live broadcast server, so that the live broadcast server forwards it to the second terminal of the anchor.

[0220] When the live broadcast room is in a video connection scenario, the second terminal displays the video stream of each connection object based on the target connection layout style.

[0221] It should be noted that the detailed setting method of the target microphone layout style and other possible implementation methods have been explained in detail in the above steps S110 to S130. Please refer to the above content and this application will not repeat them here.

[0222] In an embodiment of the present application, when the microphone layout area range set by the anchor in the second terminal is a horizontal screen display range, the horizontal screen microphone layout area range is correspondingly displayed on the first terminal of the first viewer, or converted into a vertical screen microphone layout area range and displayed, which can be set specifically as needed.

[0223] Fig.12 A flowchart of a live broadcast method provided in an embodiment of the present application is provided, wherein the live broadcast method can be executed by the host's second terminal as an execution subject, and specifically includes the following steps:

[0224] Step S210: Display the live broadcast room interface.

[0225] Step S220: receiving an authorization operation for setting a microphone layout for the first viewer through the live broadcast room interface displayed on the second terminal of the anchor.

[0226] When the anchor is broadcasting live video, the anchor's live broadcast room interface is displayed on the second terminal. Figure 2 As shown, the live broadcast room interface displays the host screen, and several live broadcast controls are displayed below the live broadcast room interface, including controls corresponding to the video microphone style entrance.

[0227] In order to improve the fun of video linking, the host can select a viewer from the audience watching the live broadcast room to set the linking layout. In response to the host's triggering operation on the video linking style selection entrance, several video linking style options are displayed, and the video linking style options at least include viewer layout options, and may also include template layout options, host layout options, etc.

[0228] The audience list can be a list of viewers currently watching the live broadcast room, a list of fans in the current live broadcast room, or a list of viewers who give rewards to the live broadcast room. In the audience list, each viewer is represented by the viewer's live broadcast account avatar and live broadcast account name.

[0229] Optionally, the audience layout options may also include a variety of different audience type options so that the anchor can select according to the audience type. In response to the anchor's triggering operation on the audience layout options, the second terminal displays a plurality of audience type options corresponding to the live broadcast room in the live broadcast room interface.

[0230] In response to the host's selection operation of any one of the multiple audience type options, a list of viewers of the target audience type corresponding to any one of the options is displayed, and the host's selection confirmation operation for any viewer in the audience list is received, wherein the host's selection confirmation operation for any viewer is an authorization operation for setting the microphone layout.

[0231] Step S230: In response to the microphone connection layout setting authorization operation, a target microphone connection layout style is obtained, so that when the live broadcast room is in a video microphone connection scene, the video stream of each microphone connection object is displayed based on the target microphone connection layout style.

[0232] In an embodiment of the present application, the host can select a viewer from the viewer list to set the microphone layout. In response to the host's selection confirmation operation for the first viewer in the viewer list, a microphone layout setting page is displayed in the live broadcast room interface of the first terminal of the first viewer, so that the first terminal receives the microphone layout setting operation through the microphone layout setting page, and obtains the target microphone layout style when receiving the confirmation operation for the microphone layout setting operation.

[0233] In the embodiment of the present application, any viewer selected by the host from the viewer list is the first viewer, and the host's selection confirmation operation for any viewer is the host's authorization operation for setting the microphone connection layout for the first viewer.

[0234] In an embodiment of the present application, the second terminal can obtain the target microphone layout style forwarded by the first terminal through the live broadcast server, and display the microphone screen based on the target microphone layout style.

[0235] It is understandable that, due to the difference in screen display size between the first terminal and the second terminal, the target microphone layout style set by the first viewer in the first terminal may display different effects in the second terminal on the host side, for example, the size and position of the microphone are different.

[0236] Therefore, when the anchor side uses the target microphone layout style to display the microphone screen, it is also necessary to perform layout conversion on the target microphone layout style set by the first viewer. Specifically, the second terminal can obtain the screen display parameters of the first terminal. According to the screen display parameters of the second terminal and the screen display parameters of the first terminal, the microphone layout conversion relationship is determined. According to the microphone layout conversion relationship, the target microphone layout style is converted to display the video stream of each microphone object based on the target microphone layout style after the layout conversion. Among them, the screen display parameters of the first terminal can be carried by the first terminal when sending the target microphone layout style. The microphone layout conversion relationship represents the screen zoom ratio between the first terminal and the second terminal.

[0237] It should be noted that steps S210 to S230 are live broadcast methods executed by the second terminal of the anchor. For other implementable methods of setting the microphone connection layout in the live broadcast method, please refer to the live broadcast method executed by the first terminal from steps S110 to S130, and this application will not go into details here.

[0238] based on Fig.12 In the live broadcast method shown, the host of the live broadcast room selects the first viewer from the viewer list of the live broadcast room to set the microphone layout, obtains the target microphone layout style based on the microphone layout setting operation of the selected first viewer, and displays the microphone screen of each microphone object based on the target microphone layout style when performing video microphone connection in the live broadcast room. Based on the solution provided by the embodiment of the present application, the audience of the live broadcast room participates in setting the microphone layout, which improves the fun of live broadcast microphone connection and solves the problem of single microphone layout form.

[0239] Based on the same principle as the live broadcast method provided in the embodiment of the present application, the embodiment of the present application provides a live broadcast device 300, such as Fig.13 As shown, the live broadcast device 300 is deployed in the first terminal of the first viewer in the live broadcast room, and may include a display module 310 and a layout setting module 320 .

[0240] The display module 310 is used to display a microphone connection layout setting page in the live broadcast room interface in response to the host of the live broadcast room's authorization operation for the microphone connection layout setting of the first viewer;

[0241] The layout setting module 320 is used to receive a live broadcast layout setting operation through the live broadcast layout setting page, and obtain a target live broadcast layout style corresponding to the live broadcast layout setting operation in response to a confirmation operation for the live broadcast layout setting operation, so as to display the video stream of each live broadcast object based on the target live broadcast layout style when the live broadcast room is in a video live broadcast scene.

[0242] Optionally, a background image setting entry is displayed in the microphone connection layout setting page, and the layout setting module 320 is further used to:

[0243] In response to a trigger operation on a background image setting entry, displaying a background image configuration page;

[0244] A background image setting operation is received through the background image configuration page, and a target image corresponding to the background image setting operation is used as a background image corresponding to a target co-hosting layout style.

[0245] Optionally, the microphone layout setting operation includes at least one of the following:

[0246] Operation of setting the number of microphone positions;

[0247] Set the microphone position for each microphone;

[0248] Set the microphone shape for each microphone position.

[0249] Optionally, the layout setting module 320 may be used to:

[0250] In response to the authorization operation for setting the co-microphone layout, displaying first prompt information on the live broadcast room interface, where the first prompt information is used to remind the first viewer whether to agree to set the co-microphone layout;

[0251] In response to the first viewer's consent operation for the first prompt information, a joint microphone layout setting page is displayed.

[0252] Optionally, a video link-in style selection entry is displayed in the live broadcast room interface displayed on the second terminal of the anchor, and the link-in layout setting authorization operation is triggered in the following ways:

[0253] In response to the host's triggering operation on the video link style selection entry, at least one video link style option is displayed in the live broadcast room interface corresponding to the host, and the video link style option includes at least an audience layout option;

[0254] In response to the host's triggering operation on the audience layout option, the audience list is displayed in the live broadcast room interface corresponding to the host;

[0255] Receive the host's selection confirmation operation for any viewer in the viewer list, where the selection confirmation operation is an authorization operation for setting the co-hosting layout, and the viewer selected and confirmed by the host is the first viewer.

[0256] Optionally, in response to the host's triggering operation on the audience layout option, displaying the audience list in the live broadcast room interface corresponding to the host includes:

[0257] In response to the host's triggering operation on the audience layout option, multiple audience type options are displayed in the live broadcast room interface corresponding to the host;

[0258] In response to the host's selection operation of any one of the multiple audience type options, an audience list corresponding to the target audience type corresponding to any one of the options is displayed.

[0259] Optionally, the layout setting module 320 may be used to:

[0260] receiving notification information of microphone connection layout setting, where the notification information is sent in response to the microphone connection layout setting authorization operation, and the notification information includes first constraint information, where the first constraint information is used to constrain the microphone position layout area range;

[0261] Determine a target layout area range according to at least one of the first constraint information or the screen display parameter of the first terminal;

[0262] The co-hosting layout setting page is displayed with the microphone layout area range being the target layout area range.

[0263] Optionally, the layout setting module 320 is further used for:

[0264] In response to the microphone connection layout setting operation, display the corresponding microphone connection layout style; or

[0265] During the process of setting the co-hosting layout, in response to the style preview triggering operation, the current corresponding co-hosting layout style is displayed.

[0266] Optionally, at least one recommended layout style for the co-hosting layout is displayed in the co-hosting layout setting page;

[0267] The layout setting module 320 is used for determining any recommended joint microphone layout style as a target joint microphone layout style in response to a selection operation on any recommended joint microphone layout style among the recommended joint microphone layout styles;

[0268] The at least one recommended microphone layout style includes at least one first style, and the at least one first style is obtained in the following manner:

[0269] Get the live screen content of the live broadcast room;

[0270] Based on the live broadcast screen content, at least one first style is obtained through a pre-trained layout recommendation model; wherein the layout recommendation model is obtained based on multiple training samples, each training sample includes sample live broadcast screen content and a sample microphone layout style corresponding to the sample live broadcast screen content.

[0271] The present application also provides a live broadcast device, such as Fig.14 As shown, the live broadcast device 400 is deployed in the second terminal of the anchor in the live broadcast room, and may include a display module 410 and a layout setting authorization module 420.

[0272] Display module 410, used to display the live broadcast room interface;

[0273] The layout setting authorization module 420 is used to receive the microphone layout setting authorization operation for the first viewer of the live broadcast room through the live broadcast room interface displayed by the anchor's second terminal, and obtain the target microphone layout style in response to the microphone layout setting authorization operation, so as to display the video stream of each microphone object based on the target microphone layout style when the live broadcast room is in a video microphone scene.

[0274] Optionally, the layout setting authorization module 420 is further used to:

[0275] The target microphone connection layout style used during video connection is obtained and stored. The target microphone connection layout style used during video connection is obtained in the following way:

[0276] Acquiring screen display parameters of the first terminal;

[0277] Determining a layout conversion relationship of the microphone connection according to a screen display parameter of the second terminal and a screen display parameter of the first terminal;

[0278] According to the microphone connection layout conversion relationship, the target microphone connection layout style is converted to obtain the target microphone connection layout style used during the video microphone connection.

[0279] Optionally, the second terminal stores at least two candidate joint microphone layout patterns, and the at least two candidate joint microphone layout patterns include the target joint microphone layout pattern;

[0280] The layout setting authorization module 420 can be used to:

[0281] In response to a video microphone connection triggering operation in the live broadcast room interface, a currently adopted microphone connection layout style is determined according to the number of microphone connection objects and the number of microphone positions corresponding to each candidate microphone connection layout style;

[0282] Displays the video stream of each co-hosted object based on the currently used co-host layout style.

[0283] The device of the embodiment of the present application can execute the live broadcast method provided by the embodiment of the present application, and the implementation principle is similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.

[0284] An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory. When the processor executes the computer program stored in the memory, the method in any optional embodiment of the present application can be implemented.

[0285] Fig.15 FIG. 1 is a schematic diagram showing a structure of an electronic device to which an embodiment of the present invention is applicable. Fig.15 As shown, the electronic device may be a user terminal, and the electronic device may be used to implement the method provided in any embodiment of the present invention.

[0286] like Fig.15 As shown in FIG. 1 , the electronic device 2000 may mainly include at least one processor 2001 ( Fig.15 2002, a communication module 2003 and an input / output interface 2004, etc. Optionally, the components can be connected and communicated through a bus 2005. It should be noted that: Fig.15 The structure of the electronic device 2000 shown in the figure is merely illustrative and does not constitute a limitation on the electronic device to which the method provided in the embodiment of the present application is applicable.

[0287] The memory 2002 may be used to store operating systems and application programs, etc. The application program may include a computer program that implements the method shown in the embodiment of the present invention when called by the processor 2001, and may also include a program for implementing other functions or services. The memory 2002 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and computer programs, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0288] The processor 2001 is connected to the memory 2002 via the bus 2005, and implements the corresponding functions by calling the application program stored in the memory 2002. Among them, the processor 2001 can be a CPU (Central Processing Unit), a general processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof, which can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 2001 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0289] The electronic device 2000 can be connected to the network through the communication module 2003 (which may include but is not limited to components such as a network interface) to communicate with other devices (such as a user terminal or a server, etc.) through the network to achieve data interaction, such as sending data to other devices or receiving data from other devices. Among them, the communication module 2003 may include a wired network interface and / or a wireless network interface, etc., that is, the communication module may include at least one of a wired communication module or a wireless communication module.

[0290] The electronic device 2000 can be connected to the required input / output devices, such as a keyboard, a display device, etc., through the input / output interface 2004. The electronic device 2000 itself can have a display device, and can also be connected to other display devices through the interface 2004. Optionally, a storage device, such as a hard disk, can also be connected through the interface 2004, so that data in the electronic device 2000 can be stored in the storage device, or data in the storage device can be read, and data in the storage device can also be stored in the memory 2002. It can be understood that the input / output interface 2004 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 2004 can be a component of the electronic device 2000, or it can be an external device connected to the electronic device 2000 when needed.

[0291] The bus 2005 for connecting the components may include a path to transmit information between the above components. The bus 2005 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. According to different functions, the bus 2005 may be divided into an address bus, a data bus, a control bus, etc.

[0292] Optionally, for the solution provided by the embodiment of the present invention, the memory 2002 can be used to store a computer program for executing the solution of the present invention, and run by the processor 2001. When the processor 2001 runs the computer program, the action of the method or device provided by the embodiment of the present invention is implemented.

[0293] Based on the same principle as the method provided in the embodiment of the present application, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.

[0294] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.

[0295] It should be noted that the terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than that shown or described in the drawings.

[0296] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0297] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A live broadcast method, characterized in that: The method is applied in a live broadcast scenario and is executed by a first terminal of a first viewer in a live broadcast room. The method includes: In response to the host of the live broadcast room performing an authorization operation for setting a microphone connection layout for the first viewer, displaying a microphone connection layout setting page in the live broadcast room interface; Receiving a microphone connection layout setting operation through the microphone connection layout setting page; In response to a confirmation operation for the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation is obtained, so that when the live broadcast room is in a video microphone connection scene, the video stream of each microphone connection object is displayed based on the target microphone connection layout style.

2. The live broadcast method according to claim 1, characterized in that: The microphone connection layout setting operation includes at least one of the following: Operation of setting the number of microphone positions; Set the microphone position for each microphone; Set the microphone shape for each microphone position.

3. The live broadcast method according to claim 1, characterized in that: In response to the host of the live broadcast room authorizing the first viewer to set the microphone connection layout, displaying a microphone connection layout setting page on the live broadcast room interface includes: In response to the authorization operation for setting the co-microphone layout, displaying first prompt information on the live broadcast room interface, where the first prompt information is used to remind the first viewer whether to agree to set the co-microphone layout; In response to the first viewer's consent operation to the first prompt information, a joint microphone layout setting page is displayed.

4. The live broadcast method according to claim 1, characterized in that: The live broadcast room interface displayed on the second terminal of the anchor displays a video microphone style selection entrance, and the microphone layout setting authorization operation is triggered in the following way: In response to the host's triggering operation on the video linking style selection entry, at least one video linking style option is displayed in the live broadcast room interface corresponding to the host, and the video linking style option at least includes an audience layout option; In response to the host's triggering operation on the audience layout option, displaying an audience list in the live broadcast room interface corresponding to the host; Receive a selection confirmation operation from the host for any viewer in the viewer list, wherein the selection confirmation operation is an authorization operation for setting a microphone connection layout, and the viewer selected and confirmed by the host is the first viewer.

5. The live broadcast method according to claim 4, characterized in that: In response to the host's triggering operation on the audience layout option, displaying the audience list in the live broadcast room interface corresponding to the host includes: In response to the host's triggering operation on the audience layout option, displaying a plurality of audience type options in the live broadcast room interface corresponding to the host; In response to the host's selection operation of any one of the multiple audience type options, an audience list corresponding to the target audience type corresponding to the any one of the options is displayed.

6. The method according to claim 1, characterized in that The displaying of the microphone connection layout setting page in the live broadcast room interface includes: receiving notification information of microphone connection layout setting, where the notification information is sent in response to the microphone connection layout setting authorization operation, and the notification information includes first constraint information, where the first constraint information is used to constrain the microphone position layout area range; Determine a target layout area range according to at least one of the first constraint information or the screen display parameters of the first terminal; A microphone co-location layout setting page is displayed in which the microphone position layout area range is the target layout area range.

7. The live broadcast method according to claim 1, characterized in that: The microphone connection layout setting page displays a background image setting entry, and the method further includes: In response to a trigger operation on the background image setting entry, displaying a background image configuration page; A background image setting operation is received through the background image configuration page, and a target image corresponding to the background image setting operation is used as a background image corresponding to the target co-microphone layout style.

8. The live broadcast method according to any one of claims 1 to 2, characterized in that: The method further comprises at least one of the following: In response to the microphone connection layout setting operation, display the current corresponding microphone connection layout style; During the process of setting the co-hosting layout, in response to the style preview triggering operation, the current corresponding co-hosting layout style is displayed.

9. The live broadcast method according to claim 1, characterized in that: At least one recommended layout style for the joint microphone connection is displayed in the joint microphone connection layout setting page; The method further comprises: In response to a selection operation on any one of the recommended joint-microphone layout styles, determining the any one of the recommended joint-microphone layout styles as a target joint-microphone layout style; The at least one recommended microphone connection layout style includes at least one first style, and the at least one first style is obtained in the following manner: Obtaining live broadcast screen content of the live broadcast room; Based on the live screen content, at least one first style is obtained through a pre-trained layout recommendation model; wherein the layout recommendation model is obtained based on multiple training samples, each of the training samples includes sample live screen content and a sample live broadcast layout style corresponding to the sample live screen content.

10. A live broadcast method, characterized in that: The method is applied in a live broadcast scenario and is executed by a second terminal of a host in a live broadcast room. The method includes: Display the live broadcast room interface; Receiving, through the live broadcast room interface displayed on the second terminal of the anchor, an authorization operation for setting a microphone connection layout for a first viewer of the live broadcast room; In response to the microphone connection layout setting authorization operation, a target microphone connection layout style is acquired, so that when the live broadcast room is in a video microphone connection scene, a video stream of each microphone connection object is displayed based on the target microphone connection layout style; The target co-microphone layout style is obtained by the first terminal of the first viewer in the following manner: In response to the microphone connection layout setting authorization operation, displaying a microphone connection layout setting page in the live broadcast room interface of the first terminal of the first viewer; Receiving a microphone connection layout setting operation through the microphone connection layout setting page; In response to a confirmation operation on the microphone connection layout setting operation, a target microphone connection layout style corresponding to the microphone connection layout setting operation is obtained.

11. The live broadcast method according to claim 10, characterized in that: The method further comprises: The target microphone connection layout style used in the video microphone connection is obtained and stored, wherein the target microphone connection layout style used in the video microphone connection is obtained in the following manner: Acquiring screen display parameters of the first terminal; Determining a microphone connection layout conversion relationship according to a screen display parameter of the second terminal and a screen display parameter of the first terminal; The target microphone connection layout style is converted according to the microphone connection layout conversion relationship to obtain the target microphone connection layout style used during the video microphone connection.

12. The live broadcast method according to claim 10, characterized in that: The second terminal stores at least two candidate co-microphone layout patterns, where the at least two candidate co-microphone layout patterns include a target co-microphone layout pattern; When the live broadcast room is in a video connection scenario, displaying the video stream of each connection object based on the target connection layout style includes: In response to a video microphone connection triggering operation in the live broadcast room interface, determining a currently adopted microphone connection layout style according to the number of microphone connection objects and the number of microphone positions corresponding to each candidate microphone connection layout style; The video stream of each connected microphone object is displayed based on the currently adopted connected microphone layout style.

13. A live broadcast device, characterized in that: The device is deployed in a first terminal of a first viewer in a live broadcast room, and the device includes: A display module, configured to display a microphone connection layout setting page in a live broadcast room interface in response to the host of the live broadcast room's authorization operation for the microphone connection layout setting of the first viewer; The layout setting module is used to receive a live broadcast layout setting operation through the live broadcast layout setting page, and obtain a target live broadcast layout style corresponding to the live broadcast layout setting operation in response to a confirmation operation for the live broadcast layout setting operation, so as to display the video stream of each live broadcast object based on the target live broadcast layout style when the live broadcast room is in a video live broadcast scene.

14. A live broadcast device, characterized in that: The device is deployed in the second terminal of the anchor in the live broadcast room, and the device includes: Display module, used to display the live broadcast room interface; The layout setting authorization module is used to receive a microphone layout setting authorization operation for a first viewer of the live broadcast room through the live broadcast room interface displayed on the second terminal of the anchor, and obtain a target microphone layout style in response to the microphone layout setting authorization operation, so as to display the video stream of each microphone object based on the target microphone layout style when the live broadcast room is in a video microphone scene.

15. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 9 or claims 10 to 12.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 or claims 10 to 12 are implemented.

Citation Information

Cited By

  • Live broadcast content sharing method and device, equipment, readable storage medium and product

    CN121309865A