patents.google.com

CN114245148A - Live broadcast interaction method, device, terminal, server and storage medium - Google Patents

  • ️Fri Mar 25 2022

Disclosure of Invention

The embodiment of the application provides a live broadcast interaction method, a live broadcast interaction device, a terminal, a server and a storage medium, so that both a main broadcast and audiences can actively initiate live broadcast interaction, the main broadcast can conveniently and quickly perform interactive response on the audiences, live broadcast interaction modes are enriched, and the live broadcast interaction efficiency is improved. The technical scheme is as follows:

in one aspect, an embodiment of the present application provides a live broadcast interaction method, where the method includes:

receiving a live broadcast interactive message sent by a live broadcast server, wherein the live broadcast interactive message is generated according to interactive data generated by live broadcast interaction, and the live broadcast interaction means that an interaction initiator executes preset triggering operation on a live broadcast barrage sent by an interaction receiver;

generating an interactive prompt barrage based on the interactive initiator information and the interactive receiver information contained in the live interactive message, wherein the interactive prompt barrage is used for prompting the live interactive event generated by the live interaction;

and displaying the interactive prompt bullet screen in a bullet screen display area.

On the other hand, an embodiment of the present application provides a live broadcast interaction method, where the method includes:

displaying a live broadcast barrage;

responding to the live broadcast interaction of the live broadcast barrage, and generating interactive data, wherein the live broadcast interaction means that an interaction initiator executes preset triggering operation on the live broadcast barrage sent by an interaction receiver;

the method comprises the steps that interactive data are sent to a live broadcast server, the live broadcast server is used for generating live broadcast interactive messages according to the interactive data and sending the live broadcast interactive messages to a live broadcast watching client side and/or an anchor client side, the live broadcast watching client side and the anchor client side are used for displaying interactive prompt bulletin screens according to the live broadcast interactive messages, and the live broadcast interactive messages comprise interactive initiator information and interactive receiver information.

On the other hand, an embodiment of the present application provides a live broadcast interaction method, where the method includes:

receiving interactive data, wherein the interactive data is generated during live broadcast interaction, and the live broadcast interaction means that an interaction initiator executes preset trigger operation on a live broadcast barrage sent by an interaction receiver;

generating a live broadcast interactive message according to the interactive data, wherein the live broadcast interactive message comprises interactive initiator information and interactive receiver information;

and sending the live broadcast interactive message to a live broadcast watching client and an anchor client, wherein the live broadcast watching client and/or the anchor client are/is used for displaying an interactive prompt bullet screen according to the live broadcast interactive message.

On the other hand, this application embodiment provides a live interactive installation, the device includes:

the live broadcast interaction module is used for receiving a live broadcast interaction message sent by a live broadcast server, wherein the live broadcast interaction message is generated according to interaction data generated by live broadcast interaction, and the live broadcast interaction means that an interaction initiator executes preset trigger operation on a live broadcast barrage sent by an interaction receiver;

the first generation module is used for generating an interactive prompt barrage based on the interactive initiator information and the interactive receiver information contained in the live broadcast interactive message, and the interactive prompt barrage is used for prompting a live broadcast interactive event generated by the live broadcast interaction;

and the first display module is used for displaying the interactive prompt barrage in a barrage display area.

Optionally, the first generating module includes:

a first obtaining unit, configured to obtain an interaction type included in the live broadcast interaction message, where the interaction type is used to characterize a type of the interaction initiator and a relationship between the interaction receiver and a current client;

the second acquisition unit is used for acquiring a bullet screen template corresponding to the interaction type;

the first generation unit is used for generating the interactive prompt barrage according to the interactive initiator information and the interactive receiver information based on the barrage template, wherein the display mode of the interactive prompt barrage is different from that of the live barrage.

Optionally, the second obtaining unit is further configured to:

responding to the interaction type as a first interaction type, and acquiring a first bullet screen template, wherein the first interaction type represents that the interaction receiver comprises the current client, and the interaction initiator is an anchor client; or the like, or, alternatively,

responding to the interaction type being a second interaction type, and acquiring a second barrage template, wherein the second interaction type represents that the interaction receiver is the current client, and the interaction initiator is other live broadcast watching clients; or the like, or, alternatively,

and responding to the interaction type being a third interaction type, and acquiring a third bullet screen template, wherein the third interaction type represents that the interaction receiver is the current client, and the interaction initiator comprises the anchor client and other live broadcast watching clients.

Optionally, when the interaction type is the first interaction type, the interaction receiver information includes the number of interaction receivers, and the number of interaction receivers is greater than or equal to 1;

when the interaction type is the second interaction type, the interaction receiver information comprises the number of interaction initiators and target interaction initiator identification, the number of the interaction initiators is more than or equal to 1, and the target interaction initiator identification is the first identification of a live broadcast watching client which initiates live broadcast interaction to the current client;

and when the interaction type is the third interaction type, the interaction receiver information comprises the number of the interaction initiators, and the number of the interaction initiators is more than or equal to 1.

Optionally, the second obtaining unit is further configured to:

responding to the interaction type being a fourth interaction type, and acquiring a fourth barrage template, wherein the fourth interaction type represents that the interaction receiver is the other live broadcast watching client, and the interaction initiator is the anchor client; or the like, or, alternatively,

responding to the interaction type being a fifth interaction type, and acquiring a fifth barrage template, wherein the fifth interaction type represents that the interaction receiver is the anchor client, and the interaction initiator is other live watching clients; or the like, or, alternatively,

and responding to the sixth interaction type, acquiring a sixth barrage template, wherein the sixth interaction type represents that the interaction receiver is other live broadcast watching clients, and the interaction initiator is other live broadcast watching clients.

Optionally, when the interaction type is the fourth interaction type, the interaction receiver information includes the number of interaction receivers and a target interaction receiver identifier, the number of interaction receivers is greater than or equal to 1, and the target interaction receiver identifier is an identifier of a live viewing client corresponding to a live barrage triggered by the anchor client for the first time;

when the interaction type is the fifth interaction type, the interaction initiator information comprises the number of interaction initiators or an interaction initiator identifier, and the number of the interaction initiators is more than or equal to 1;

and when the interaction type is the sixth interaction type, the interaction initiator information comprises the number of the interaction initiators, and the interaction receiver information comprises the identification of the interaction receiver.

Optionally, the first display module includes:

the second determining unit is used for responding to at least two interactive prompt barrages and determining the display priority of each interactive prompt barrage according to the interactive type;

the second display unit is used for displaying at least two interactive prompt barrages according to the display priority;

the display priority corresponding to the first interaction type is higher than that corresponding to the second interaction type, and the display priority corresponding to the third interaction type is higher than that corresponding to the second interaction type;

the display priority corresponding to the fourth interaction type is higher than the display priority corresponding to the sixth interaction type, and the display priority corresponding to the sixth interaction type is higher than the display priority corresponding to the fifth interaction type.

On the other hand, this application embodiment provides a live interactive installation, the device includes:

the second display module is used for displaying the live broadcast barrage;

the second generation module is used for responding to the live broadcast interaction of the live broadcast barrage and generating interactive data, wherein the live broadcast interaction means that an interaction initiator executes preset trigger operation on the live broadcast barrage sent by an interaction receiver;

the live broadcast server is used for generating a live broadcast interactive message according to the interactive data and sending the live broadcast interactive message to a live broadcast watching client and/or an anchor client, the live broadcast watching client and the anchor client are used for displaying an interactive prompt bullet screen according to the live broadcast interactive message, and the live broadcast interactive message comprises interactive initiator information and interactive receiver information.

On the other hand, this application embodiment provides a live interactive installation, the device includes:

the second receiving module is used for receiving interactive data, wherein the interactive data is generated during live broadcast interaction, and the live broadcast interaction means that an interaction initiator executes preset triggering operation on a live broadcast barrage sent by an interaction receiver;

the third generation module is used for generating a live broadcast interactive message according to the interactive data, wherein the live broadcast interactive message comprises interactive initiator information and interactive receiver information;

and the second sending module is used for sending the live broadcast interactive messages to a live broadcast watching client and an anchor client, and the live broadcast watching client and/or the anchor client are/is used for displaying interactive prompt barrages according to the live broadcast interactive messages.

In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the live broadcast interaction method according to the above aspect.

In another aspect, an embodiment of the present application provides a server, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the live interaction method according to the above aspect.

In another aspect, embodiments of the present application provide a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which are loaded and executed by a processor to implement the live interaction method according to the above aspect.

According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal or the server reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal or the server executes the live broadcast interaction method provided in the various optional implementation manners of the above aspects.

The technical scheme provided by the embodiment of the application has the beneficial effects that at least:

in the embodiment of the application, the live broadcast interactive message sent by the live broadcast server is received, and the interactive prompt barrage is displayed in the barrage display area, so that users participating in live broadcast can know the interactive condition of a live broadcast room, and a convenient and quick live broadcast interactive mode is provided; live broadcast interaction can be triggered only by executing preset triggering operation on the live broadcast bullet screen, so that both the anchor and audiences can actively initiate live broadcast interaction, the anchor can conveniently and quickly respond to the audiences in an interactive manner, live broadcast interaction modes are enriched, and the live broadcast interaction efficiency is improved.

Detailed Description

To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

In the related technology, the live broadcast room audience can issue barrage comments and express the evaluations of the anchor and the live broadcast contents in modes of praise for the anchor, gift delivery and the like through the live broadcast watching client, and the anchor or other audiences can respond after seeing the messages. However, in the related art, the interaction mode expressed through the live interface is only that the audience unidirectionally approves or sends the barrage for the anchor, the anchor can only respond through the live video when seeing the interactive content initiated by the audience, and cannot participate in the interaction in the same way, and when the number of the barrages and the barrages is large, the anchor may not respond in time, so that part of the interactive content is ignored, and the efficiency of the live interaction is low.

By adopting the live broadcast interaction method provided by the embodiment of the application, when the preset trigger operation on the target live broadcast barrage is received, the current client displays the local interaction barrage and sends the interaction data to the live broadcast server, the live broadcast server generates the live broadcast interaction message according to the interaction data, and after other clients receive the live broadcast interaction message, the other clients generate the interaction prompt barrage according to the interaction type of the live broadcast interaction message and display the interaction prompt in the barrage display area, so that the live broadcast interaction event prompt is carried out on the users corresponding to the other clients. The live broadcast interaction method has the advantages that the current client can be an anchor client and can also be a live broadcast watching client, so that both the anchor and audiences can actively initiate live broadcast interaction, live broadcast interaction can be triggered only by executing preset triggering operation on a live broadcast barrage, the anchor can conveniently and quickly carry out interactive response on the audiences, live broadcast interaction modes are enriched, and the live broadcast interaction efficiency is improved.

FIG. 1 illustrates a schematic diagram of an implementation environment provided by one embodiment of the present application. The implementation environment may include: a first terminal 110, a live server 120 and a

second terminal

130.

The first terminal 110 is installed and operated with a live application client 111, and when the live application client 111 is a live watching client, the

first user

112 watches live as a viewer; when the live application client 111 is a anchor client, the

first user

112 initiates a live as an anchor. When the first terminal runs the live application client 111, a user interface of the live application client 111 is displayed on the screen of the first terminal 110, and the user interface includes a bullet screen display area. When the first terminal 110 receives a predetermined trigger operation on a target live broadcast barrage, a local interactive barrage, for example, "i shoot a xxx", is displayed in a barrage display area, and sends interactive data such as an interactive initiator identifier and an interactive receiver identifier to the live broadcast server 120, so that the live broadcast server 120 generates a live broadcast interactive message according to the interactive data, and sends the live broadcast interactive message to the live broadcast application client 131 corresponding to the

second terminal

130. When the first terminal 110 receives the live broadcast interactive message sent by the live broadcast server 120, a bullet screen template is obtained according to the interactive type contained in the live broadcast interactive message, and then the interactive sender information and the interactive receiver information contained in the live broadcast interactive message are added to the bullet screen template, so that an interactive prompt bullet screen is generated, and an interactive prompt bullet screen is displayed in a bullet screen display area to prompt viewers of corresponding live broadcast interactive events.

The

second terminal

130 is installed and operated with a live application client 131, and when the live application client 131 is a live watching client, the

second user

132 watches live as a viewer; when the live application client 131 is a anchor client, the

second user

132 initiates a live as an anchor. When the second terminal 130 runs the live application client 131, a user interface of the live application client 131 is displayed on the screen of the

second terminal

130, and the user interface includes a bullet screen display area. When the

second terminal

130 receives a predetermined trigger operation on a target live broadcast barrage, a local interactive barrage, for example, "i clap a beat xxx", is displayed in a barrage display area, and sends interactive data such as an interactive initiator identifier and an interactive receiver identifier, and an interactive request barrage to the live broadcast server 120, so that the live broadcast server 120 generates a live broadcast interactive message according to the interactive data, and sends the live broadcast interactive message and the interactive request barrage to the live broadcast application client 111 corresponding to the first terminal 110. When receiving the live broadcast interactive message sent by the live broadcast server 120, the

second terminal

130 acquires a bullet screen template according to the interactive type included in the live broadcast interactive message, and then adds the interactive sender information and the interactive receiver information included in the live broadcast interactive message to the bullet screen template, so as to generate an interactive prompt bullet screen, display the interactive prompt bullet screen in a bullet screen display area, and prompt a live broadcast interactive event corresponding to the anchor broadcast.

Only two terminals are shown in fig. 1, but there are a plurality of other terminals that may access the server 120 in different embodiments. Optionally, the device types of the first terminal 110 and the

second terminal

130 are the same or different, and include: at least one of a smartphone, a tablet, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.

The first terminal 110, the

second terminal

130, and other terminals are connected to the live server 120 through a wireless network or a wired network.

The live broadcast server 120 includes at least one of a server, a server cluster composed of a plurality of servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide background services for live viewing client 111 and anchor client 131.

The server 120 includes a memory 121, a processor 122, a user account database 123, a live interaction module 124, and an Input/Output Interface (I/O Interface) 125 facing a user. The processor 122 is configured to load an instruction stored in the live broadcast server 120, and process data in the user account database 123 and the live broadcast interaction module 124; the user account database 123 is configured to store data of user accounts used by the first terminal 110, the

second terminal

130, and other terminals, such as a head portrait of the user account, a nickname of the user account, and a live broadcast bullet screen corresponding to the user account, and the live broadcast interaction module 124 is configured to receive interaction data sent by the live broadcast watching client 111 and the anchor client 131, generate live broadcast interaction messages according to the interaction data, and send each live broadcast interaction message to a corresponding client; the user-facing I/O interface 125 is used to establish communication with the first terminal 110 and/or the

second terminal

130 through a wireless network or a wired network to exchange data.

In an illustrative example, the live broadcast server 120 receives interactive data reported by the first terminal 110 and the

second terminal

130, where the interactive data includes information of an interaction initiator and information of an interaction receiver, the live broadcast server 120 generates two types of live broadcast interactive messages according to the interactive data, where the two types of live broadcast interactive messages include a live broadcast interactive message sent to the interaction receiver and a live broadcast interactive message sent to a third party, and the types of interactions included in the two types of live broadcast interactive messages are different, and for the interaction receiver, the type of interaction is that a current client receives live broadcast interaction initiated by an anchor client or other live broadcast watching clients; for the third party, the interaction type is that other live broadcast watching clients receive live broadcast interaction initiated by the anchor client or other live broadcast watching clients. The live broadcast server 120 sends the live broadcast interactive message sent to the interactive receiver to the client corresponding to the interactive receiver identifier, and sends the live broadcast interactive message sent to the third party clients except the client corresponding to the interactive receiver identifier and the interactive initiator identifier, so that the client corresponding to the interactive receiver identifier and the third party clients generate an interactive prompt bullet screen according to the interactive type, the interactive initiator information and the interactive receiver information.

Fig. 2 shows a flowchart of a live interaction method provided in an exemplary embodiment of the present application. In this embodiment, the method is exemplified by being used in the first terminal 110 or the

second terminal

130 in the implementation environment shown in fig. 1, and the method includes the following steps:

step

201, receiving a live broadcast interactive message sent by a live broadcast server, where the live broadcast interactive message is generated according to interactive data generated by live broadcast interaction, and the live broadcast interaction means that an interaction initiator executes a predetermined trigger operation on a live broadcast barrage sent by an interaction receiver.

The live broadcast interaction message is used for indicating a user in a current live broadcast room to initiate live broadcast interaction to a current client or other live broadcast watching clients by executing a preset trigger operation on a live broadcast barrage, wherein the client executing the preset trigger operation is an interaction initiator, and the client sending the live broadcast barrage receiving the preset trigger operation is an interaction receiver.

In a possible implementation manner, the client corresponding to the interaction initiator generates interaction data and sends the interaction data to the live broadcast server, and the live broadcast server generates live broadcast interaction messages according to the interaction data and forwards the live broadcast interaction messages to other clients participating in the current live broadcast room. The interactive initiator can be an anchor client or a live watching client, and the interactive receiver can be an anchor client or a live watching client.

Optionally, one live broadcast interaction message only contains one live broadcast interaction; or, one live interactive message includes all live interactions within a predetermined time length.

Optionally, the trigger operation is touch operation (e.g., double-click operation) on the live barrage, a voice instruction, or each live barrage corresponds to an interactive control, and the trigger operation is trigger operation on the live barrage corresponding to the interactive control, and the like, which is not limited in this embodiment of the application.

Step

202, generating an interactive prompt barrage based on the interactive initiator information and the interactive receiver information contained in the live interactive message, wherein the interactive prompt barrage is used for prompting the live interactive event generated by the live interaction.

In order to facilitate a user participating in the current live broadcast to acquire the live broadcast interaction event, the terminal generates an interaction prompt barrage based on the interaction initiator information and the interaction receiver information, and prompts the live broadcast interaction event generated by the live broadcast interaction. The content of the interactive prompt barrage comprises information of an interactive initiator and information of an interactive receiver, such as an identification of the interactive initiator and an identification of the interactive receiver, and the interactive operation of the interactive initiator is described in a text or picture mode.

Illustratively, the information of the interaction initiator in the live broadcast interaction message is a user name "angel" of the interaction initiator, the information of the interaction receiver is a user name "cocoa" of the interaction receiver, and the terminal generates an interaction prompt barrage "angel takes a beat of cocoa", "angel calls cocoa to cocoa", or "angel recommends a barrage of cocoa" based on the live broadcast interaction message.

And step 203, displaying the interactive prompt bullet screen in the bullet screen display area.

Because the live broadcast interaction is triggered when the live broadcast barrage executes the preset triggering operation, the terminal displays the interaction prompt barrage in the barrage display area in order to facilitate the anchor and the live broadcast viewers to acquire the live broadcast interaction event and quickly respond to the live broadcast interaction or actively participate in the live broadcast interaction.

Optionally, the terminal displays the live bullet screen and the interactive prompt bullet screen in the same display mode; or, the terminal shows live bullet screen and interactive suggestion bullet screen in different modes, and this application embodiment does not limit this.

Illustratively, as shown in fig. 3, in a bullet

screen display area

301, a

live bullet screen

302 is displayed in a moving manner from bottom to top, and when a terminal receives a live broadcast interactive message that a main broadcast "dragon brother" in a current live broadcast room initiates an interaction to a live broadcast viewer "cool side", the terminal generates an interaction

prompt bullet screen

303 of "dragon brother and shoot the cool side" according to the live broadcast interactive message, and the interaction

prompt bullet screen

303 and a

predetermined animation effect

304 are fixedly displayed at the top of the bullet

screen display area

301 within a predetermined display duration.

To sum up, in the embodiment of the application, the live broadcast interaction message sent by the live broadcast server is received, and the interactive prompt barrage is displayed in the barrage display area in a display mode different from that of the live broadcast barrage, so that users participating in live broadcast can know the interaction condition of a live broadcast room, and a convenient and fast live broadcast interaction mode is provided; live broadcast interaction can be triggered only by executing preset triggering operation on the live broadcast bullet screen, so that both the anchor and audiences can actively initiate live broadcast interaction, the anchor can conveniently and quickly respond to the audiences in an interactive manner, live broadcast interaction modes are enriched, and the live broadcast interaction efficiency is improved.

When the relationship between the current client and the interactive initiator and the relationship between the current client and the interactive receiver are different, the content of the corresponding displayed interactive prompt barrage is also different, for example, if the current client is the interactive initiator, the interactive prompt barrage may be that "i clap xxx", if the current client is the interactive receiver, the interactive prompt barrage may be that "xxx claps me", if the terminal automatically judges the relationship between the interactive initiator and the interactive receiver and the current client, and then generates the corresponding interactive prompt barrage, the data processing amount of the terminal is larger, and the efficiency of generating the interactive prompt barrage is lower. Therefore, in a possible implementation manner, the live broadcast server performs the judgment process of the interaction type, the live broadcast server generates live broadcast interaction messages for the clients according to the interaction data, adds the interaction type in the live broadcast interaction messages, the terminal stores bullet screen templates corresponding to the interaction types, acquires corresponding bullet screen templates according to the interaction types after receiving the live broadcast interaction messages sent by the live broadcast server, and generates interaction prompt bullet screens by using the bullet screen templates, the information of the interaction sender and the information of the interaction receiver.

Fig. 4 shows a flowchart of a live interaction method according to another exemplary embodiment of the present application. In this embodiment, the method is exemplified by being used in the first terminal 110 or the

second terminal

130 in the implementation environment shown in fig. 1, and the method includes the following steps:

step

401, receiving a live broadcast interactive message sent by a live broadcast server, where the live broadcast interactive message is generated according to interactive data generated by live broadcast interaction, and the live broadcast interaction means that a live broadcast barrage sent by an interaction receiver is executed with a predetermined trigger operation by an interaction initiator.

For a specific implementation of

step

401, reference may be made to step 201 described above, and details of this embodiment are not described herein again.

Step

402, acquiring an interaction type contained in the live broadcast interaction message, wherein the interaction type is used for representing the type of an interaction initiator and the relationship between an interaction receiver and a current client.

Because the interactive initiator and the interactive receiver both comprise at least one of the current client, the anchor client and other live-broadcast watching clients, the relationship between different clients and the interactive initiator and the interactive receiver may be different, so that the terminal needs to generate the interactive prompt bullet screen according to the interactive type contained in the live-broadcast interactive message in order to facilitate the user to intuitively and rapidly acquire the live-broadcast interactive event from the content of the interactive prompt bullet screen.

In a possible implementation manner, after receiving the interactive data, the live broadcast server determines the interaction types for different clients according to the interaction initiator and the interaction receiver involved in the interactive data, and respectively sends the live broadcast interaction messages containing the interaction types to the corresponding clients.

For example, the live broadcast server receives the interactive data of the live broadcast interactive event initiated by the anchor to the audience a, and then respectively sends live broadcast interactive messages to the client of the audience a and other live broadcast watching clients, wherein the live broadcast interactive messages received by the two clients are different in interaction type, the interaction type received by the client of the audience a is that the current client receives the live broadcast interaction initiated by the anchor client, and the interaction type received by the other live broadcast watching clients is that the other live broadcast watching clients receive the live broadcast interaction initiated by the anchor client.

And 403, acquiring a bullet screen template corresponding to the interaction type.

In a possible implementation manner, bullet screen templates corresponding to various interaction types are stored in the terminal, and each type of interaction type corresponds to at least one bullet screen template. The bullet screen template comprises contents which are contained by different interaction prompt bullet screens of corresponding interaction types. For example, for an interaction type in which a main broadcast client or other live viewing clients initiates a live interaction to a current client, a bullet screen template of the live interaction type includes "xxx clap me".

In one possible implementation,

step

403 includes one of the following steps 403a to 403 f:

step 403a, in response to the interaction type being the first interaction type, obtaining a first barrage template, where the first interaction type represents that the interaction receiver includes a current client, and the interaction initiator is a main broadcast client.

In a possible implementation manner, when a live broadcast interaction is initiated by an anchor client to a client including a current client, the interaction type of the live broadcast interaction is a first interaction type, and after the terminal determines that the interaction type is the first interaction type, only a first bullet screen template needs to be acquired, and the information of the anchor client or the information of the anchor client and the number of interaction receivers are added to the first bullet screen template, so that the content of an interaction prompt bullet screen can be obtained.

Illustratively, the first bullet screen template comprises two bullet screen templates, if the interaction receivers only comprise the current client within the preset time, the first bullet screen template is that "xxx beats me, and when the number of the interaction receivers within the preset time is greater than or equal to the number threshold, the first bullet screen template is that" xxx beats me and other n individuals, wherein "xxx" is the identifier of the anchor client, and n is the number of the interaction receivers minus one, that is, other live broadcast watching clients receiving the live broadcast interaction initiated by the anchor client.

And 403b, responding to the interaction type being a second interaction type, acquiring a second barrage template, wherein the second interaction type represents that the interaction receiver is the current client and the interaction initiator is other live broadcast watching clients.

When other live broadcast watching clients initiate live broadcast interaction to the clients including the current client, the interaction type of the other live broadcast watching clients is a second interaction type, and after the terminal determines that the interaction type is the second interaction type, a second bullet screen template is obtained. In one possible implementation manner, the second bullet screen template comprises two bullet screen templates, and when the number of the interaction receivers is smaller than the number threshold and the number of the interaction initiators is smaller than the number threshold within the preset time, the terminal acquires the bullet screen template in which a single other live broadcast watching client initiates live broadcast interaction to the current client in the second bullet screen template; and when the interactive receiver only comprises the current client within the preset time length and the number of the interactive initiators is larger than the number threshold, the terminal acquires the barrage template of the live broadcast interaction initiated to the current client by a plurality of other live broadcast watching clients in the second barrage template.

Illustratively, the second bullet screen template comprises two bullet screen templates, and if the number of interaction receivers is smaller than a quantity threshold value and the number of interaction initiators is smaller than a quantity threshold value within a preset time period, the second bullet screen template 'xx claps me' is obtained; if the interactive receiver only comprises the current client and the number of the interactive initiators is larger than the number threshold value within the preset time length, a second barrage template 'xx' is obtained to shoot me together with other n individuals, wherein n is the number of the interactive initiators minus one, and 'xx' is the identification of other live-broadcast watching clients.

And 403c, responding to the third interaction type, acquiring a third barrage template, wherein the third interaction type represents that the interaction receiver is the current client, and the interaction initiator comprises the anchor client and other live broadcast watching clients.

And when the anchor client and other live watching clients initiate live broadcast interaction to the current client and the number of the interaction initiators in the preset time is larger than the number threshold, the interaction type is a third interaction type, and the terminal acquires a third bullet screen template after determining that the interaction type is the third interaction type. In a possible implementation manner, since the number of the interaction initiators within the predetermined time is greater than the number threshold, the interaction initiator information needs to be aggregated, and since the anchor client has a higher importance degree than other live viewing clients, only the anchor client information and the number of the interaction initiators need to be embodied in the third bullet screen template.

Illustratively, the third bullet screen template is "xxx that me is shot together with other n individuals," xxx "is the identity of the anchor client, and n is the number of interaction initiators minus one.

And step 403d, in response to that the interaction type is a fourth interaction type, acquiring a fourth barrage template, wherein the fourth interaction type represents that the interaction receiver is another live broadcast watching client, and the interaction initiator is an anchor client.

And when the anchor client initiates the live broadcast interaction to other live broadcast watching clients, the interaction type of the anchor client is a fourth interaction type, and the terminal acquires a fourth bullet screen template after determining that the interaction type is the fourth interaction type. In one possible implementation manner, the fourth barrage template comprises two barrage templates, and when the number of the interaction receivers in the preset time is smaller than the number threshold, the terminal acquires the barrage template, in the fourth barrage template, of which the anchor client initiates the live broadcast interaction to a single other live broadcast watching client; and when the number of the interactive receivers in the preset time is greater than or equal to the number threshold, the terminal acquires a live broadcast template, which is used by the anchor client to initiate live broadcast interaction to a plurality of other live broadcast watching clients, in the fourth live broadcast template.

Illustratively, the fourth bullet screen template includes two bullet templates, and if the number of the interaction receivers in the predetermined time is smaller than the number threshold, a beat xx is tapped by the fourth bullet screen template "xxx"; if the number of the interactive receivers in the preset time is larger than or equal to the number threshold, a fourth barrage template 'xxx is obtained to shoot xx and other n individuals, wherein' xxx 'is an identifier of a main broadcast client, xx' is an identifier of other live broadcast watching clients corresponding to the interactive receivers which initiate live broadcast interaction for the first time in the preset time by the main broadcast client, and n is the number of the interactive receivers minus one.

And step 403e, in response to that the interaction type is a fifth interaction type, acquiring a fifth barrage template, wherein the fifth interaction type represents that the interaction receiver is the anchor client, and the interaction initiator is another live watching client.

When other live broadcast watching clients initiate live broadcast interaction to the anchor client, the interaction type of the live broadcast watching clients is a fifth interaction type, and after the terminal determines that the interaction type is the fifth interaction type, a fifth barrage template is obtained. In one possible implementation manner, the fifth barrage template comprises two barrage templates, and when the number of the interaction initiators in the preset time is smaller than the number threshold, the terminal acquires the barrage template in the fifth barrage template, wherein the barrage template enables the live interaction to be initiated to the anchor client by one other live watching client; and when the number of the interaction initiators in the preset time is larger than or equal to the number threshold, the terminal acquires a bullet screen template in which a plurality of other live broadcast watching clients initiate live broadcast interaction to the anchor client in the fifth bullet screen template.

Illustratively, the fifth barrage template comprises two barrage templates, and if the number of the interaction initiators in the preset time is smaller than a number threshold, a beat xxx is shot by the fifth barrage template "xx"; if the number of the interaction initiators in the preset time length is larger than or equal to the number threshold, acquiring a fifth barrage template that m individuals shoot a xxx together, wherein the xxx is a main broadcast client identifier, xx is other live broadcast watching client identifiers which initiate live broadcast interaction to the main broadcast client for the first time in the preset time length, and m is the number of the interaction initiators.

And step 403f, in response to that the interaction type is a sixth interaction type, acquiring a sixth barrage template, wherein the sixth interaction type represents that the interaction receiver is the other live broadcast watching client, and the interaction initiator is the other live broadcast watching client.

When other live broadcast watching clients initiate live broadcast interaction to other live broadcast watching clients, the interaction type of the other live broadcast watching clients is a sixth interaction type, and after the terminal determines that the interaction type is the sixth interaction type, a sixth barrage template is obtained. In a possible implementation manner, because the importance degree of the interaction event that other live watching clients initiate live interaction to other live watching clients is low, and the user corresponding to the current client may not care, the sixth interaction type is that other live watching clients initiate live interaction to other live watching clients, and the number of interaction initiators within a predetermined time is greater than a number threshold, that is, the terminal only displays an interaction prompt bullet screen in which a hot audience serves as an interaction receiver, and the fifth bullet screen template is a bullet screen template in which a plurality of other live watching clients initiate live interaction to the same other live watching clients.

Illustratively, the sixth barrage template is that "m individuals have taken a beat xx together," xx "is an identifier of another live viewing client that initiates a live interaction to the anchor client for the first time within a predetermined time period, and m is the number of interaction initiators.

And step 404, based on the bullet screen template, generating an interactive prompt bullet screen according to the interactive initiator information and the interactive receiver information, wherein the display mode of the interactive prompt bullet screen is different from that of the live bullet screen.

And the terminal integrates the interactive initiator information and the interactive receiver information with the bullet screen template to generate an interactive prompt bullet screen. Simultaneously in order to distinguish interactive suggestion barrage and live barrage, the display mode that the terminal set up interactive suggestion barrage is different with the display mode of live barrage, for example, interactive suggestion barrage shows in barrage display area's the top, or near interactive suggestion barrage shows there is predetermined animation effect, or live barrage moves the demonstration according to certain direction and interactive suggestion barrage pops out and shows etc. according to the direction of difference at fixed position.

Because the information required by the interactive prompt barrage corresponding to different interactive types is different, in a possible implementation manner, the interactive receiver information includes one of the following six types a to F:

and A, when the interaction type is the first interaction type, the information of the interaction receivers comprises the number of the interaction receivers, and the number of the interaction receivers is more than or equal to 1.

Because the first bullet screen template comprises two bullet screen templates, the bullet screen templates when the number of the interaction receivers is smaller than the number threshold value and larger than the number threshold value within the preset time are different, when the interaction type is the first interaction type, the information of the interaction receivers comprises the number of the interaction receivers, and the terminal determines the type of the first bullet screen template according to the number of the interaction receivers and generates the interaction prompt bullet screen.

Illustratively, when an interactive receiver only contains a current client within a preset time, a terminal shoots me according to a first barrage template 'xxx' and an anchor client identifier (an anchor user name, a nickname and the like), and generates an interactive prompt barrage, for example, 'longge shoots me'; when the number of the interactive receivers is larger than the number threshold value within the preset time, the terminal shoots me and other n persons according to a first barrage template 'xxx' and the anchor client identifier to generate an interactive prompt barrage, for example, 'Longge shoots me and other 21 persons', wherein 21 is the number of the interactive receivers minus one, and 'Longge' is the anchor client identifier.

And B, when the interaction type is a second interaction type, the interaction receiver information comprises the number of interaction initiators and target interaction initiator identification, the number of the interaction initiators is more than or equal to 1, and the target interaction initiator identification is the identification of the first live broadcast watching client for initiating the live broadcast interaction to the current client.

The second bullet screen template comprises two bullet screen templates, and the bullet screen templates when the number of the interaction initiators in the preset time is smaller than the number threshold and larger than the number threshold are different, so when the interaction type is the second interaction type, the interaction receiver information comprises the number of the interaction initiators and the target interaction initiator identification, and the terminal determines the type of the second bullet screen template according to the number of the interaction initiators and generates the interaction prompt bullet screen.

Illustratively, when the interaction receiver only includes the current client and the number of the interaction initiators is smaller than the number threshold within a predetermined time, the terminal generates an interaction prompt barrage, such as "can clap me", for each interaction initiator respectively according to the second barrage template "xx" and the target interaction initiator identifier; when the interactive receiver only comprises the current client and the number of the interactive initiators is larger than the number threshold within the preset time length, the terminal shoots me with other n persons according to a second barrage template 'xx', and a target interactive initiator identifier, and generates an interactive prompt barrage, for example, 'can shoot me with other 15 persons', wherein 15 is the number of the interactive initiators minus one, and 'can' is the identifier of the live watching client which initiates live interaction to the current client.

And C, when the interaction type is a third interaction type, the information of the interaction receiving party comprises the number of the interaction initiating parties, and the number of the interaction initiating parties is more than or equal to 1.

Because the third interaction type is that the anchor client and other live watching clients initiate live interaction to the current client, the number of the interaction initiators in the preset time is larger than the number threshold, and the third bullet screen template comprises a bullet screen template, when the interaction type is the third interaction type, the information of the interaction receiver comprises the number of the interaction initiators, and the terminal generates an interaction prompt bullet screen according to the number of the interaction initiators.

Illustratively, the terminal generates an interaction prompt barrage according to a third barrage template "xxx that beats me with other n individuals" and the identity of the anchor client, for example, "longge beats me with other 22 individuals", where 22 is the number of interaction initiators minus one, that is, the number of other live-broadcast watching clients in the interaction initiators, and "cocoa" is the identity of the anchor client.

And D, when the interaction type is a fourth interaction type, the information of the interaction receivers comprises the number of the interaction receivers and a target interaction receiver identification, wherein the number of the interaction receivers is more than or equal to 1, and the target interaction receiver identification is an identification of a live broadcast watching client corresponding to the live broadcast bullet screen triggered by the anchor client for the first time.

The fourth bullet screen template comprises two bullet screen templates, and the bullet screen templates when the number of the interaction receivers is smaller than the number threshold value and larger than the number threshold value within the preset time are different, so that when the interaction type is the fourth interaction type, the number of the interaction receivers is contained in the interaction receiver information, and the terminal determines the type of the fourth bullet screen template according to the number of the interaction receivers and generates the interaction prompt bullet screen.

Illustratively, when the number of the interactive receivers in the preset time is smaller than the number threshold, the terminal shoots a shot xx according to a fourth barrage template 'xxx' and a target interactive receiver identifier 'cool noodle', and generates an interactive prompt barrage, such as 'dragon brows a shot cool noodle'; when the number of the interactive receivers in the preset time is larger than or equal to the number threshold, the terminal shoots a shot xx and other n persons according to a fourth barrage template 'xxx' and a target interactive receiver identifier 'cool surface', and generates an interactive prompt barrage, such as 'Longge shoots a shot cool surface and other 21 persons', wherein 21 is the number of the interactive receivers minus one, namely, the live broadcast watching clients except the 'cool surface' in the interactive receivers, and 'Longge' is the main broadcast client identifier.

And E, when the interaction type is a fifth interaction type, the interaction initiator information comprises the number of the interaction initiators or the identification of the interaction initiators, and the number of the interaction initiators is more than or equal to 1.

The fifth bullet screen template comprises two bullet screen templates, and the bullet screen templates with the number of interaction initiators being smaller than the number threshold and larger than the number threshold in the preset time are different, so that when the interaction type is the fifth interaction type, the interaction initiator information comprises the number of interaction initiators or the identification of the interaction initiators, and the terminal determines the type of the fifth bullet screen template according to the number of interaction initiators or the identification of the interaction initiators and generates the interaction prompt bullet screen.

Illustratively, when the number of the interaction initiators in the preset time is smaller than the number threshold, the terminal shoots a racket xxx and an interaction initiator identifier cold noodles according to a fifth bullet screen template 'xx', and generates interaction prompt bullet screens for each interaction initiator respectively, for example, the cold noodles shoot a racket dragon and a brother; when the number of the interaction initiators is larger than or equal to the number threshold value within the preset time length, the terminal generates an interaction prompt barrage according to a fifth barrage template'm persons clap xxx together' and the number of the interaction initiators, for example '22 persons clap glongo together', wherein 22 is the number of the interaction initiators, and 'glongo' is a main broadcast client identifier.

And F, when the interaction type is a sixth interaction type, the interaction initiator information comprises the number of the interaction initiators, and the interaction receiver information comprises the identification of the interaction receiver.

Because the sixth interaction type is that other live broadcast watching clients initiate live broadcast interaction to other live broadcast watching clients, and the number of the interaction initiators in the preset time is larger than the number threshold, when the interaction type is the sixth interaction type, the interaction initiator information comprises the number of the interaction initiators, the interaction receiver information comprises the identification of the interaction receivers, and the terminal generates an interaction prompt bullet screen according to the number of the interaction initiators and the identification of the interaction receivers.

Illustratively, when the interaction type is a sixth interaction type, the terminal shoots a shot xx together according to a sixth barrage template, the number of interaction initiators 20 and the identification of interaction receivers, namely a cold face, to generate an interaction prompt barrage, for example, the shot cold face is shot together by 20 people.

Step

405, in response to the fact that at least two interactive prompt barrages are included, determining the display priority of each interactive prompt barrage according to the interactive type.

When at least two interactive prompt barrages to be displayed exist in the single barrage display duration, the terminal needs to display the interactive prompt barrages in sequence, and the interactive prompt barrages with high importance degree are displayed at first, so that the display priority of each interactive prompt barrage is determined by the terminal according to the interactive type.

In a possible implementation manner, since the first interaction type is that the anchor client initiates a live interaction to the client including the current client, the second interaction type is that other live watching clients initiate a live interaction to the client including the current client, the third interaction type is that the anchor client and other live watching clients initiate a live interaction to the current client, and for the current client, the importance degree of the anchor client is greater than that of the other live watching clients, the display priority corresponding to the first interaction type is higher than that corresponding to the second interaction type, and the display priority corresponding to the third interaction type is higher than that corresponding to the second interaction type.

Similarly, because the fourth interaction type is that the anchor client initiates live interaction to other live viewing clients, the fifth interaction type is that other live viewing clients initiate live interaction to the anchor client, the sixth interaction type is that other live viewing clients initiate live interaction to other live viewing clients, and for the current client, the importance degree of the live interaction event actively initiated by the anchor client is higher than that initiated by other live viewing clients, and the importance degree of the live interaction received by the hot audience is higher than that received by the anchor, therefore, the display priority corresponding to the fourth interaction type is higher than that corresponding to the sixth interaction type, and the display priority corresponding to the sixth interaction type is higher than that corresponding to the fifth interaction type.

And 406, displaying at least two interactive prompt barrages according to the display priority.

Optionally, the terminal only displays one interactive prompt barrage at the same time, and the terminal sequentially displays each interactive prompt barrage according to the sequence of the display priority from high to low and the display duration of the barrage; or the terminal can display a plurality of interactive prompt barrages at the same time, and the terminal displays at least two interactive prompt barrages in a barrage display area from top to bottom in an arrangement mode according to the display priority from high to low.

In a possible implementation manner, if the current client is an interactive receiver, the terminal, in addition to displaying an interactive prompt bullet screen, also prompts the user to receive live broadcast interaction initiated by the anchor client or other live broadcast watching clients through vibration, prompt tone generation and other manners.

In the embodiment of the application, the bullet screen template corresponding to each interactive type is stored in the terminal, the corresponding bullet screen template is determined by acquiring the interactive type contained in the live broadcast interactive message, so that the bullet screen template, the interactive initiator information and the interactive receiver information are utilized to generate the interactive prompt bullet screen, the interactive prompt bullet screen types corresponding to different interactive types are different, the diversity of the interactive prompt bullet screen is improved, and the efficiency of generating the interactive prompt bullet screen by the terminal is improved.

In a possible implementation manner, when the terminal receives a predetermined trigger operation on a target live broadcast barrage, that is, when the current client serves as an interaction initiator, the terminal automatically generates a local interactive barrage, and reports interaction data to a live broadcast server according to a sending direction of the target live broadcast barrage, so that the live broadcast server sends the live broadcast interaction message to other clients. Fig. 5 is a flowchart illustrating a live interaction method according to another exemplary embodiment of the present application. In this embodiment, the method is exemplified by being used in the first terminal 110 or the

second terminal

130 in the implementation environment shown in fig. 1, and the method includes the following steps:

step

501, responding to a preset trigger operation on a target live broadcast barrage, and displaying a local interactive barrage according to an interactive receiver corresponding to the target live broadcast barrage.

When the terminal receives a preset trigger operation on a target live broadcast barrage, it is determined that a live broadcast interaction event exists, and an interaction initiator is a current client, so that the terminal needs to display an interaction prompt barrage in a barrage display area for prompting a user at the current client to initiate live broadcast interaction to other users. Because the interactive receiver needs to be displayed in the interactive prompt barrage, the terminal displays the local interactive barrage according to the interactive receiver corresponding to the target live barrage.

In a possible implementation manner, the live barrage comprises an identification of the barrage sending client, the terminal acquires an interactive receiver identification according to an identification corresponding to the target live barrage, and adds the interactive receiver identification to the acquired local barrage template to generate a local interactive barrage. And if the interactive receiver is the current client, the interactive receiver identification does not need to be added in the local interactive barrage.

Illustratively, the local barrage template includes a barrage template in which the current client initiates the live broadcast interaction to the current client, for example, "i take a beat me itself", and the local barrage template also includes a barrage template in which the current client initiates the live broadcast interaction to the anchor client or other live broadcast watching clients, for example, "i take a beat xxx", where xxx is an identification of an interaction receiver.

Illustratively, as shown in fig. 6, when the terminal receives a predetermined trigger operation on a target

live broadcast barrage

601 and acquires that the identification of the interaction receiver is "cocoa", a

local interaction barrage

602 "i claps cocoa" is generated, and the

local interaction barrage

602 and a

predetermined animation effect

603 are displayed in a barrage display area.

Step

502, in response to that the target live barrage does not belong to the live barrage sent by the current client, reporting interactive data to a live server, wherein the interactive data comprises an interactive initiator identifier and an interactive receiver identifier.

When the target live broadcast barrage does not belong to the live broadcast barrage sent by the current client, the current client is determined to initiate live broadcast interaction to the anchor client or other live broadcast watching clients, so that other clients needing to display the interaction prompt barrage exist, and the terminal reports interaction data to the live broadcast server, so that the server generates live broadcast interaction messages according to the interaction data and forwards the live broadcast interaction messages to the corresponding clients.

For example, in the above example of

step

501, the terminal sends the current client identifier and the interactive recipient identifier "cocoa" to the live server.

When the target live bullet screen belongs to a live bullet screen sent by a current client, the current client is determined to initiate live interaction to the current client, the live interaction event only relates to the current client, and the anchor client and other live watching clients do not need to display interaction prompt bullet screens of the live interaction event, so that the terminal does not need to send interaction data to a live server.

Illustratively, as shown in table 1, it shows a corresponding relationship between a current client and a live interactive event, a bullet screen template and a display priority:

Figure BDA0002673763760000201

Figure BDA0002673763760000211

TABLE 1

And the live broadcast server determines a client side which needs to send the live broadcast interactive message according to the visible range. In one possible implementation, when n or m is greater than the message number threshold (e.g., 99), the live server will not continue to update the size of n or m, but directly determine n or m as greater than the message number threshold (e.g., 99+) and send it to the corresponding client.

In the embodiment of the application, when the preset triggering operation of the target live broadcast barrage is received, the terminal directly generates and displays the local interactive barrage, judges whether the target live broadcast barrage is the live broadcast barrage sent by the current client side, and does not report interactive data when the target live broadcast barrage is determined to be the live broadcast barrage sent by the current client side, so that the influence of live broadcast interaction only involving the current client side on other client sides is avoided, and the data processing capacity of a live broadcast server is reduced.

In the above embodiment, when the anchor client is used as an interaction initiator, only a local interaction barrage is generated, and interaction data is reported, and if a viewer needs to initiate live broadcast interaction to the anchor, a predetermined trigger operation needs to be performed on a live broadcast barrage sent by the anchor client, but the anchor cannot send the live broadcast barrage generally, or is busy with live broadcast and inconvenient to send the live broadcast barrage, and at this time, the viewer cannot initiate interactive live broadcast to the anchor. In a possible implementation manner, the anchor client automatically generates the interactive request bullet screen while the anchor initiates the live broadcast interaction, so that the audience can also initiate the live broadcast interaction to the anchor conveniently under the condition that the anchor cannot send the live broadcast bullet screen. Fig. 7 shows a flowchart of a live interaction method according to another exemplary embodiment of the present application, where a current client is an anchor client, and after

step

501, the method further includes the following steps:

step

701, responding to a preset trigger operation on a target live broadcast barrage, and generating an interaction request barrage.

The anchor usually has no time to send the live barrage when live, perhaps can't send the live barrage, therefore the spectator carries out the predetermined trigger operation through the live barrage that sends to the anchor client and is comparatively difficult, for convenience spectator launches the live interaction to the anchor, in a possible implementation, when the anchor client receives the predetermined trigger operation to the live barrage of target, except generating local interactive barrage, still can generate interactive request barrage for receive the live broadcast interaction that the live broadcast watching client initiated to the anchor client.

Illustratively, referring to fig. 8, when the anchor client receives a predetermined trigger operation on a target

live barrage

801, a local

interactive barrage

802 and an

interactive request barrage

803 are generated and displayed in a barrage display area.

Step

702, sending an interaction request bullet screen to a live broadcast server, wherein the live broadcast server is used for sending the interaction request bullet screen to a live broadcast watching client, and the interaction request bullet screen is used for receiving live broadcast interaction initiated from the live broadcast watching client to an anchor client.

The interactive request bullet screen is used for receiving live broadcast interaction initiated from a live broadcast watching client to an anchor client, so that the live broadcast watching client needs to display the interactive request bullet screen, and after the anchor client generates the interactive request bullet screen, the interactive request bullet screen is sent to a live broadcast server, so that the live broadcast server sends the interactive request bullet screen to the live broadcast watching client.

In a possible implementation manner, in order to facilitate the audience to initiate live broadcast interaction to the anchor, the live broadcast watching client displays an interaction request bullet screen in a bullet screen display area according to the display manner of the live broadcast bullet screen.

In the embodiment of the application, when the anchor client receives the scheduled trigger operation to the target live barrage, besides sending interactive data to the live broadcast server, the anchor client can also send an interactive request barrage, so that the server forwards the interactive request barrage to the live broadcast watching client, thereby facilitating the audience to perform the scheduled trigger operation through the interactive request barrage, initiating the live broadcast interaction to the anchor, facilitating the anchor to receive the live broadcast interactive barrage initiated by the live broadcast watching client when the live broadcast barrage cannot be sent, and improving the interaction efficiency between the anchor and the audience.

The foregoing embodiments show a live broadcast interaction method when a current client is used as an interaction initiator or an interaction receiver, and fig. 9 shows a flowchart of a live broadcast interaction method provided in another exemplary embodiment of the present application, where the flowchart includes an interaction process of a first terminal, a second terminal, and a live broadcast server, where the first terminal is an interaction initiator and the second terminal is an interaction receiver. The method comprises the following steps:

and step 901, the first terminal displays a live bullet screen.

In a possible implementation manner, when the first terminal runs the live application client, the live barrage is displayed through a barrage display area in the live application interface. The first terminal may be a main broadcasting client or a live broadcasting watching client.

Step 902, the first terminal responds to live broadcast interaction of the live broadcast barrage to generate interactive data, and the live broadcast interaction means that an interaction initiator executes preset trigger operation on the live broadcast barrage sent by an interaction receiver.

The interactive data is data generated during live broadcast interaction.

The user initiates a live broadcast interaction to the second terminal sending the live broadcast bullet screen by performing a preset trigger operation (for example, double-click on the live broadcast bullet screen) on the live broadcast bullet screen. In a possible implementation manner, when the first terminal receives a live interaction for a live barrage, interactive data is generated according to the live interaction, and the interactive data includes information of the first terminal (i.e., an interaction initiator) and information of an interaction receiver.

Step 903, the first terminal sends interactive data to the live broadcast server.

The live broadcast server is used for generating a live broadcast interactive message according to the interactive data and sending the live broadcast interactive message to the live broadcast watching client and/or the anchor client, the live broadcast watching client and the anchor client are used for displaying an interactive prompt bullet screen according to the live broadcast interactive message, and the live broadcast interactive message comprises interactive initiator information and interactive receiver information.

In a possible implementation manner, if the interactive receiver is the first terminal, the first terminal directly generates a local interactive barrage without sending interactive data to the live broadcast server; and if the interactive receiver is the second terminal, the first terminal generates interactive data and sends the interactive data to the live broadcast server.

Step 904, the live server receives the interactive data.

Step 905, the live broadcast server generates a live broadcast interactive message according to the interactive data, wherein the live broadcast interactive message includes interactive initiator information and interactive receiver information.

In a possible implementation manner, the live broadcast server determines the information of the interactive initiator according to the first terminal, and determines the information of the interactive receiver according to a live broadcast barrage triggered by the first terminal.

Optionally, the live broadcast server generates live broadcast interaction messages for each piece of interaction data respectively; or, the live broadcast server aggregates at least two pieces of interaction data received within a predetermined time (for example, 2 seconds) to generate a live broadcast interaction message corresponding to the aggregated interaction data.

Illustratively, when the number of interactive data which initiate live broadcast interaction to the same interaction receiver is greater than the number threshold value within 2 seconds, the live broadcast server aggregates the interactive data to generate a live broadcast interactive message. For example, if the live broadcast server receives 5 pieces of interaction data initiating live broadcast interaction with the same live broadcast barrage within 2 seconds, for the second client, the live broadcast interaction message generated by the live broadcast server includes an interaction receiver identifier, a first interaction initiator identifier initiating the live broadcast interaction, and the number of the live broadcast interaction messages of the interaction initiators, instead of generating 5 live broadcast interaction messages respectively.

In a possible implementation manner, the live server generates different live interactive messages for different clients, for example, for an interactive receiver, the live interactive message generated by the live server only includes the interactive initiator information, and for an interactive third party, the live interactive message includes the interactive initiator information and the interactive receiver information. The interactive third party refers to a client side except the interactive initiator and the interactive receiver in the current live broadcast room.

Step 906, the live broadcast server sends the live broadcast interactive message to the second terminal.

The second terminal can be an anchor client or a terminal corresponding to a live watching client, the second terminal comprises a terminal corresponding to an interactive receiver and a terminal corresponding to an interactive third party, and the interactive third party refers to the client except for the interactive initiator and the interactive receiver in the current live broadcasting room.

Step 907, the second terminal receives the live broadcast interactive message.

The live broadcast interaction message is used for indicating the first terminal to initiate live broadcast interaction to the current client or other clients by executing preset trigger operation on the live broadcast barrage.

In a possible implementation manner, the live interactive messages received by different second terminals may be different, for example, the live interactive message received by the second terminal as the interactive receiver only includes the information of the interactive initiator and the information indicating that the current client is the interactive receiver; the live broadcast interactive message received by the second terminal as the interactive third party comprises interactive initiator information and interactive receiver information.

And 908, the second terminal generates an interactive prompt barrage based on the interactive initiator information and the interactive receiver information contained in the live interactive message.

And the second terminal generates an interactive prompt barrage based on the interactive initiator information and the interactive receiver information, and prompts the live broadcast interactive events generated by live broadcast interaction.

In a possible implementation manner, a bullet screen template is stored in the second terminal, and the second terminal integrates the bullet screen template, the interactive initiator information and the interactive receiver information to generate an interactive prompt bullet screen. For example, if the interactive initiator information is an identifier "longge" of the anchor client, the interactive receiver information is an identifier "cocoa" of the live viewing client, and the barrage template is "xxx clapping xxx", then the second terminal serving as the interactive third party generates the interactive prompt barrage "longge clapping cocoa".

In step 909, the second terminal displays the interactive prompt bullet screen in the bullet screen display area.

After the second terminal generates the interactive prompt bullet screen, the interactive prompt bullet screen is displayed in the bullet screen display area according to the same display mode as the live bullet screen, or the interactive prompt bullet screen is displayed in different display modes.

In a possible implementation manner, the second terminal displays a predetermined animation effect at a predetermined position around the interactive prompt bullet screen while displaying the interactive prompt bullet screen.

In addition, when the second terminal is an interactive receiver, the second terminal also performs interactive prompting in a predetermined mode, such as vibration, generation of a prompt tone, and the like.

When the terminal only displays the interactive prompt barrage, a third party of the live broadcast interactive event may not find the live broadcast barrage receiving the scheduled trigger operation, so that the reason of the live broadcast interaction cannot be known, the live broadcast barrage easily resulting in the live broadcast interaction due to the interesting content is easily missed, and therefore in a possible implementation mode, the terminal highlights the live broadcast barrage corresponding to the live broadcast interactive message. On the basis of fig. 2, as shown in fig. 10, after

step

201, the method further includes the following steps:

and 204, acquiring a target barrage identifier contained in the live broadcast interactive message, wherein the target barrage identifier is the identifier of the live broadcast barrage receiving the preset triggering operation.

The live barrage receiving the preset triggering operation is generally a barrage of which the barrage content easily causes live interaction, so that in order to improve the interaction rate of a live broadcast room, the terminal highlights the live barrage corresponding to the live interaction message, a user can conveniently know the reason of the live interaction event, and the live interaction event can be participated in.

In a possible implementation manner, each live broadcast barrage corresponds to an individual identifier, when a live broadcast server sends a live broadcast interactive message to a terminal, a target barrage identifier is added to the live broadcast interactive message, and the terminal can acquire the target barrage identifier contained in the live broadcast interactive message.

And step 205, highlighting the live barrage corresponding to the target barrage identifier.

In one possible implementation, the terminal highlights the live barrage corresponding to the target barrage identifier. For example, the live barrage corresponding to the target barrage identifier is fixedly displayed at a predetermined position of the barrage display area within a predetermined time period, and a special mark, a highlight display, an adding special effect (for example, adding a shake special effect), or a text prompt is added thereto, which is not limited in the embodiment of the present application.

Optionally, the terminal highlights live broadcast barrage notability corresponding to a target barrage identifier included in each live broadcast interactive message; or when the number of times of the preset triggering operation received by the live broadcast barrage corresponding to the target barrage identification reaches the number threshold, the terminal highlights the live broadcast barrage corresponding to the target barrage identification.

In the embodiment of the application, the live barrage corresponding to the target barrage identification contained in the live interactive message is highlighted, so that audiences and the anchor can know the reason of the live interactive event conveniently, the live barrage easily causing the live interaction can be checked in time, the anchor and the audiences are enabled to participate in the live interaction, and the interaction rate between live broadcasts is improved.

With reference to the foregoing embodiments, in an illustrative example, when the current client is an interaction initiator, a flow of live interaction is shown in fig. 11.

Step 1101, receiving a preset trigger operation to a target live broadcast bullet screen.

Step 1102, displaying the local interactive barrage and animation effect.

Step 1103, determine whether the interactive receiver is the current client. If yes, ending the process; if not, go to step 1104.

And step 1104, sending the interactive data to a live broadcast server.

In another illustrative example, when the current client is an interaction receiver or a third party, a flow of live interaction is shown in fig. 12.

1201, polling the live interactive message.

1202, determine whether there is a new live interactive message. If yes, go to step 1203, otherwise return to step 1201.

1203, generating an interactive prompt bullet screen according to the live broadcast interactive message.

And 1204, sorting the live interactive barrages according to the display priority.

1205, displaying the live interactive barrage and the animation effect.

In the foregoing embodiment, the step of taking the first terminal as the execution subject may separately implement a live broadcast interaction method called the first terminal side, the step of taking the second terminal as the execution subject may separately implement a live broadcast interaction method called the second terminal side, and the step of taking the live broadcast server as the execution subject may separately implement a live broadcast interaction method called the server side, which is not described herein again.

Fig. 13 is a block diagram illustrating a structure of a live interactive apparatus according to an exemplary embodiment of the present application, where the apparatus includes:

the

first receiving module

1301 is configured to receive a live broadcast interaction message sent by a live broadcast server, where the live broadcast interaction message is generated according to interaction data generated by live broadcast interaction, and the live broadcast interaction refers to that an interaction initiator performs a predetermined trigger operation on a live broadcast barrage sent by an interaction receiver;

a

first generating module

1302, configured to generate an interactive prompt barrage based on interaction initiator information and interaction receiver information included in the live broadcast interaction message, where the interactive prompt barrage is used to prompt a live broadcast interaction event generated by the live broadcast interaction;

and the

first display module

1303 is used for displaying the interactive prompt barrage in a barrage display area.

Optionally, the

first generating module

1302 includes:

a first obtaining unit, configured to obtain an interaction type included in the live broadcast interaction message, where the interaction type is used to characterize a type of the interaction initiator and a relationship between the interaction receiver and a current client;

the second acquisition unit is used for acquiring a bullet screen template corresponding to the interaction type;

the first generation unit is used for generating the interactive prompt barrage according to the interactive initiator information and the interactive receiver information based on the barrage template, wherein the display mode of the interactive prompt barrage is different from that of the live barrage.

Optionally, the second obtaining unit is further configured to:

responding to the interaction type as a first interaction type, and acquiring a first bullet screen template, wherein the first interaction type represents that the interaction receiver comprises the current client, and the interaction initiator is an anchor client; or the like, or, alternatively,

responding to the interaction type being a second interaction type, and acquiring a second barrage template, wherein the second interaction type represents that the interaction receiver is the current client, and the interaction initiator is other live broadcast watching clients; or the like, or, alternatively,

and responding to the interaction type being a third interaction type, and acquiring a third bullet screen template, wherein the third interaction type represents that the interaction receiver is the current client, and the interaction initiator comprises the anchor client and other live broadcast watching clients.

Optionally, when the interaction type is the first interaction type, the interaction receiver information includes the number of interaction receivers, and the number of interaction receivers is greater than or equal to 1;

when the interaction type is the second interaction type, the interaction receiver information comprises the number of interaction initiators and target interaction initiator identification, the number of the interaction initiators is more than or equal to 1, and the target interaction initiator identification is the first identification of a live broadcast watching client which initiates live broadcast interaction to the current client;

and when the interaction type is the third interaction type, the interaction receiver information comprises the number of the interaction initiators, and the number of the interaction initiators is more than or equal to 1.

Optionally, the second obtaining unit is further configured to:

responding to the interaction type being a fourth interaction type, and acquiring a fourth barrage template, wherein the fourth interaction type represents that the interaction receiver is the other live broadcast watching client, and the interaction initiator is the anchor client; or the like, or, alternatively,

responding to the interaction type being a fifth interaction type, and acquiring a fifth barrage template, wherein the fifth interaction type represents that the interaction receiver is the anchor client, and the interaction initiator is other live watching clients; or the like, or, alternatively,

and responding to the sixth interaction type, acquiring a sixth barrage template, wherein the sixth interaction type represents that the interaction receiver is other live broadcast watching clients, and the interaction initiator is other live broadcast watching clients.

Optionally, when the interaction type is the fourth interaction type, the interaction receiver information includes the number of interaction receivers and a target interaction receiver identifier, the number of interaction receivers is greater than or equal to 1, and the target interaction receiver identifier is an identifier of a live viewing client corresponding to a live barrage triggered by the anchor client for the first time;

when the interaction type is the fifth interaction type, the interaction initiator information comprises the number of interaction initiators or an interaction initiator identifier, and the number of the interaction initiators is more than or equal to 1;

and when the interaction type is the sixth interaction type, the interaction initiator information comprises the number of the interaction initiators, and the interaction receiver information comprises the identification of the interaction receiver.

Optionally, the

first display module

1303 includes:

the second determining unit is used for responding to at least two interactive prompt barrages and determining the display priority of each interactive prompt barrage according to the interactive type;

the second display unit is used for displaying at least two interactive prompt barrages according to the display priority;

the display priority corresponding to the first interaction type is higher than that corresponding to the second interaction type, and the display priority corresponding to the third interaction type is higher than that corresponding to the second interaction type;

the display priority corresponding to the fourth interaction type is higher than the display priority corresponding to the sixth interaction type, and the display priority corresponding to the sixth interaction type is higher than the display priority corresponding to the fifth interaction type.

To sum up, in the embodiment of the application, the live broadcast interaction message sent by the live broadcast server is received, and the interactive prompt barrage is displayed in the barrage display area, so that users participating in live broadcast can know the interaction condition of a live broadcast room, and a convenient and fast live broadcast interaction mode is provided; live broadcast interaction can be triggered only by executing preset triggering operation on the live broadcast bullet screen, so that both the anchor and audiences can actively initiate live broadcast interaction, the anchor can conveniently and quickly respond to the audiences in an interactive manner, live broadcast interaction modes are enriched, and the live broadcast interaction efficiency is improved.

Fig. 14 is a block diagram illustrating a structure of a live interactive apparatus according to another exemplary embodiment of the present application, where the apparatus includes:

a

second display module

1401, configured to display a live bullet screen;

a

second generating module

1402, configured to generate interactive data in response to a live interaction with the live barrage, where the live interaction refers to an interaction initiator performing a predetermined trigger operation on a live barrage sent by an interaction receiver;

a

first sending module

1403, configured to send the interactive data to a live broadcast server, where the live broadcast server is configured to generate a live broadcast interactive message according to the interactive data, and send the live broadcast interactive message to a live broadcast watching client and/or an anchor client, where the live broadcast watching client and the anchor client are configured to display an interactive prompt bullet screen according to the live broadcast interactive message, and the live broadcast interactive message includes information of an interaction initiator and information of an interaction receiver.

Fig. 15 is a block diagram illustrating a structure of a live interactive apparatus according to another exemplary embodiment of the present application, where the apparatus includes:

the

second receiving module

1501 is configured to receive interactive data, where the interactive data is data generated during live broadcast interaction, and the live broadcast interaction refers to that an interaction initiator performs a predetermined trigger operation on a live broadcast barrage sent by an interaction receiver;

a

third generating module

1502, configured to generate a live broadcast interactive message according to the interactive data, where the live broadcast interactive message includes information of an interaction initiator and information of an interaction recipient;

a

second sending module

1503, configured to send the live broadcast interactive message to a live broadcast viewing client and an anchor client, where the live broadcast viewing client and/or the anchor client are configured to display an interactive prompt bullet screen according to the live broadcast interactive message.

Referring to fig. 16, a block diagram of a terminal 1600 according to an exemplary embodiment of the present application is shown. The terminal 1600 may be a portable mobile terminal such as: the mobile phone comprises a smart phone, a tablet computer, a motion Picture Experts Group Audio Layer 3 (MP 3) player and a motion Picture Experts Group Audio Layer 4 (MP 4) player. Terminal 1600 may also be referred to by other names such as user equipment, portable terminal, etc.

Generally, terminal 1600 includes: a

processor

1601, and a

memory

1602.

Processor

1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The

processor

1601 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).

Processor

1601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the

processor

1601 may be integrated with a Graphics Processing Unit (GPU) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the

processor

1601 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.

Memory

1602 may include one or more computer-readable storage media, which may be tangible and non-transitory. The

memory

1602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the

memory

1602 is used to store at least one instruction for execution by the

processor

1601 to implement a method provided by an embodiment of the present application.

In some embodiments, the terminal 1600 may also optionally include:

peripheral interface

1603 and at least one peripheral. Specifically, the peripheral device includes: at least one of a

radio frequency circuit

1604, a

touch screen display

1605, a

camera assembly

1606,

audio circuitry

1607, a

positioning assembly

1608, and a

power supply

1609.

Peripheral interface

1603 can be used to connect at least one Input/Output (I/O) related peripheral to

processor

1601 and

memory

1602. In some embodiments,

processor

1601,

memory

1602, and

peripheral interface

1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the

processor

1601, the

memory

1602 and the

peripheral device interface

1603 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.

The

Radio Frequency circuit

1604 is used for receiving and transmitting Radio Frequency (RF) signals, also known as electromagnetic signals. The

radio frequency circuitry

1604 communicates with communication networks and other communication devices via electromagnetic signals. The

rf circuit

1604 converts the electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the

radio frequency circuit

1604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The

radio frequency circuit

1604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or Wireless Fidelity (WiFi) networks. In some embodiments, the

rf circuit

1604 may also include Near Field Communication (NFC) related circuits, which are not limited in this application.

The

touch display

1605 is used to display a UI. The UI may include graphics, text, icons, video, and any combination thereof. The

touch display

1605 also has the ability to capture touch signals on or over the surface of the

touch display

1605. The touch signal may be input to the

processor

1601 as a control signal for processing. The

touch display

1605 is used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the

touch display

1605 may be one, providing the front panel of the terminal 1600; in other embodiments, the

touch display screens

1605 can be at least two, respectively disposed on different surfaces of the terminal 1600 or in a folded design; in still other embodiments, the

touch display

1605 can be a flexible display disposed on a curved surface or on a folded surface of the

terminal

1600. Even the

touch display screen

1605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The

touch screen

1605 may be made of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

The

camera assembly

1606 is used to capture images or video. Optionally,

camera assembly

1606 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a Virtual Reality (VR) shooting function. In some embodiments,

camera assembly

1606 can also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.

The

audio circuit

1607 is used to provide an audio interface between a user and the

terminal

1600. The

audio circuitry

1607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the

processor

1601 for processing or inputting the electric signals to the

radio frequency circuit

1604 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be multiple and disposed at different locations of terminal 1600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the

processor

1601 or the

radio frequency circuit

1604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the

audio circuit

1607 may also include a headphone jack.

The

positioning component

1608 is configured to locate a current geographic Location of the terminal 1600 for purposes of navigation or Location Based Service (LBS). The

Positioning component

1608 may be a Positioning component based on the Global Positioning System (GPS) of the united states, the beidou System of china, or the galileo System of russia.

Power supply

1609 is used to provide power to the various components of terminal 1600.

Power supply

1609 may be alternating current, direct current, disposable or rechargeable. When

power supply

1609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.

In some embodiments, terminal 1600 also includes one or more sensors 1610. The one or more sensors 1610 include, but are not limited to: acceleration sensor 1611, gyro sensor 1612, pressure sensor 1613, fingerprint sensor 1614, optical sensor 1615, and proximity sensor 1616.

Acceleration sensor 1611 may detect acceleration in three coordinate axes of a coordinate system established with terminal 1600. For example, the acceleration sensor 1611 may be used to detect components of the gravitational acceleration in three coordinate axes. The

processor

1601 may control the

touch display screen

1605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 may also be used for acquisition of motion data of a game or a user.

Gyroscope sensor 1612 can detect the organism direction and the turned angle of terminal 1600, and gyroscope sensor 1612 can gather the 3D action of user to terminal 1600 with acceleration sensor 1611 in coordination. From the data collected by the gyro sensor 1612, the

processor

1601 may perform the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.

Pressure sensors 1613 may be disposed on a side bezel of terminal 1600 and/or

underlying touch display

1605. When the pressure sensor 1613 is disposed on the side frame of the terminal 1600, a user's holding signal of the terminal 1600 may be detected, and left-right hand recognition or shortcut operation may be performed according to the holding signal. When the pressure sensor 1613 is disposed at the lower layer of the

touch display

1605, the operability control on the UI interface can be controlled according to the pressure operation of the user on the

touch display

1605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.

The fingerprint sensor 1614 is used to collect a fingerprint of the user to identify the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the

processor

1601 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1614 may be disposed on the front, back, or side of the

terminal

1600. When a physical key or a vendor Logo (Logo) is provided on the terminal 1600, the fingerprint sensor 1614 may be integrated with the physical key or the vendor Logo.

The optical sensor 1615 is used to collect ambient light intensity. In one embodiment, the

processor

1601 may control the display brightness of the

touch display screen

1605 based on the ambient light intensity collected by the optical sensor 1615. Specifically, when the ambient light intensity is high, the display brightness of the

touch display screen

1605 is increased; when the ambient light intensity is low, the display brightness of the

touch display

1605 is turned down. In another embodiment, the

processor

1601 may also dynamically adjust the shooting parameters of the

camera assembly

1606 based on the ambient light intensity collected by the optical sensor 1615.

A proximity sensor 1616, also referred to as a distance sensor, is typically disposed on the front side of terminal 1600. The proximity sensor 1616 is used to collect the distance between the user and the front surface of the

terminal

1600. In one embodiment, the

processor

1601 controls the

touch display

1605 to switch from the light screen state to the rest screen state when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually decreased; when the proximity sensor 1616 detects that the distance between the user and the front surface of the terminal 1600 is gradually increased, the

touch display

1605 is controlled by the

processor

1601 to switch from the breath screen state to the bright screen state.

Those skilled in the art will appreciate that the configuration shown in fig. 16 is not intended to be limiting of terminal 1600, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.

Referring to fig. 17, a schematic structural diagram of a server according to an embodiment of the present application is shown. Specifically, the method comprises the following steps:

the

server

1700 includes a Central Processing Unit (CPU) 1701, a

system Memory

1704 including a Random Access Memory (RAM) 1702 and a Read Only Memory (ROM) 1703, and a

system bus

1705 connecting the

system Memory

1704 and the

CPU

1701. The

server

1700 also includes a basic Input/Output (I/O)

system

1706 for facilitating information transfer between various devices within the computer, and a

mass storage device

1707 for storing an

operating system

1713,

application programs

1714, and

other program modules

1712.

The basic input/

output system

1706 includes a

display

1708 for displaying information and an

input device

1709 such as a mouse, keyboard, etc. for a user to input information. Wherein the

display

1708 and the

input device

1709 are connected to the

central processing unit

1701 via an input-output controller 1710 connected to the

system bus

1705. The basic input/

output system

1706 may also include an input/output controller 1710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 1710 may also provide output to a display screen, a printer, or other type of output device.

The

mass storage device

1707 is connected to the

central processing unit

1701 through a mass storage controller (not shown) connected to the

system bus

1705. The

mass storage device

1707 and its associated computer-readable media provide non-volatile storage for the

server

1700. That is, the

mass storage device

1707 may include a computer-readable medium (not shown) such as a hard disk or Compact Disc-Only Memory (CD-ROM) drive.

Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Video Disk (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The

system memory

1704 and

mass storage device

1707 described above may be collectively referred to as memory.

The

server

1700 may also operate in conjunction with remote computers connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the

server

1700 may be connected to the

network

1712 through the

network interface unit

1711 connected to the

system bus

1705, or may be connected to another type of network or remote computer system (not shown) using the

network interface unit

1711.

The memory also includes at least one instruction, at least one program, set of codes, or set of instructions stored in the memory and configured to be executed by one or more processors to implement the above-described live interaction method.

The embodiment of the present application further provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to implement the live broadcast interaction method according to the above embodiments.

According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal or the server reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal or the server executes the live broadcast interaction method provided in the various optional implementation manners of the above aspects.

Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.