Bullet screen content display method and device, equipment, storage medium and program product
After interactive operations in the target live broadcast room, the request and broadcast information of the background server are received, and the barrage content is decided whether to display the barrage content, which solves the problem of repeated barrage display and improves the accuracy and efficiency of barrage display.
Patent Information
- Application Number
- CN202311183023.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
In the process of reducing the delay in barrage display, the prior art may lead to the problem of repeated display of the same barrage due to network delay, resulting in a low accuracy of barrage display.
Repeated display is avoided by sending a request to the backend server in response to receiving the interactive operation in the target live broadcast room at the first moment, receiving the global broadcast information sent by the backend server at the second moment, and determining whether to display the corresponding barrage content based on the feedback information or the global broadcast information.
Improve the accuracy and efficiency of barrage display, avoid the problem of repeated barrage display due to delayed feedback information, and ensure single barrage display based on the same operation.
Smart Images

Figure CN119629427A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment, storage medium and program product for displaying bullet screen content. Background Art
[0002] Barrage refers to the subtitles that scroll when watching live broadcasts or videos on the Internet. Barrage can give viewers and anchors a "real-time interactive" experience. Although the sending time of different barrages varies, they will only appear at a specific time point in the live video. Through barrage, users and anchors can interact in the live broadcast room.
[0003] In the related technology, in order to reduce the delay of barrage display, the corresponding barrage is displayed locally based on the user operation through the local screen display method, and then the global barrage sent by the background server is received and displayed.
[0004] However, the above method may cause the same bullet screen to be displayed repeatedly based on a single operation of the same user due to network delay, and the bullet screen display accuracy is low. Summary of the invention
[0005] The embodiments of the present application provide a method, device, equipment, storage medium and program product for displaying bullet-screen content, which can avoid repeated display of bullet-screen content. The technical solution is as follows.
[0006] On the one hand, a method for displaying barrage content is provided, the method comprising:
[0007] In response to receiving a first interactive operation in a target live broadcast room at a first moment, a first request is sent to a backend server, wherein the first request is used to instruct a first interaction with the target live broadcast room;
[0008] receiving, at a second moment, global broadcast information sent by the backend server, wherein the global broadcast information is information broadcasted to a global account in the target live broadcast room after the backend server generates the first interaction based on the first request;
[0009] In response to receiving feedback information fed back by the background server within a preset time range after the first moment, displaying a first bullet comment content corresponding to the first interaction based on the feedback information, wherein the feedback information is information generated by the background server in response to the first interaction corresponding to the first request;
[0010] In response to not receiving the feedback information fed back by the background server within a preset time range after the first moment, displaying the second barrage content corresponding to the first interaction based on the global broadcast information.
[0011] On the other hand, a device for displaying bullet screen content is provided, the device comprising:
[0012] A processing module, configured to send a first request to a background server in response to receiving a first interactive operation in a target live broadcast room at a first moment, wherein the first request is used to instruct a first interaction with the target live broadcast room;
[0013] The processing module is further configured to receive global broadcast information sent by the background server at a second moment, wherein the global broadcast information is information broadcasted to a global account in the target live broadcast room after the background server generates the first interaction based on the first request;
[0014] A display module, configured to, in response to receiving feedback information fed back by the backend server within a preset time range after the first moment, display a first bullet screen content corresponding to the first interaction based on the feedback information, wherein the feedback information is information generated by the backend server in response to the first interaction corresponding to the first request;
[0015] The display module is also used to display the second barrage content corresponding to the first interaction based on the global broadcast information in response to not receiving the feedback information fed back by the background server within a preset time range after the first moment.
[0016] On the other hand, a computer device is provided, comprising a processor and a memory, wherein 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 a method for displaying barrage content as described in any of the above-mentioned embodiments of the present application.
[0017] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement a method for displaying barrage content as described in any of the above-mentioned embodiments of the present application.
[0018] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying the barrage content described in any of the above embodiments.
[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0020] In response to receiving a first interactive operation in a target live broadcast room at a first moment, a first request is sent to a background server, the first request is used to indicate a first interaction with the target live broadcast room, and global broadcast information sent by the background server is received at a second moment. The global broadcast information is information broadcast to global accounts in the target live broadcast room after the background server generates a first interaction based on the first request. In response to feedback information received from the background server within a preset time range after the first moment, the first barrage content corresponding to the first interaction is displayed based on the feedback information. The feedback information is information generated by the background server in response to the first interaction corresponding to the first request. The first barrage content is displayed based on the feedback information only before the global broadcast information is received, thereby improving the efficiency of barrage display. At the same time, it avoids displaying the first barrage content again based on the feedback information after the second barrage content has been displayed based on the global broadcast information in the case of feedback information delay. In response to not receiving feedback information from the background server within the preset time range after the first moment, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information. When the global broadcast information is received but no feedback information is received, the second barrage content is displayed, avoiding the situation where the barrage content cannot be displayed in time when the feedback information is delayed. The two display schemes of the barrage are determined by the feedback information reception situation within the preset time range after the first moment, thereby ensuring the single display of the barrage based on the same operation, avoiding the problem of repeated display of the barrage, and improving the accuracy of the barrage display. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 It is a schematic diagram of the on-screen display process of a bullet screen provided by an exemplary embodiment of the present application;
[0023] Figure 2 It is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application;
[0024] Figure 3 It is a flowchart of a method for displaying barrage content provided by an exemplary embodiment of the present application;
[0025] Figure 4 This is a schematic diagram of a gift barrage provided by an exemplary embodiment of the present application;
[0026] Figure 5It is a schematic diagram showing the content of a bullet screen provided by an exemplary embodiment of the present application;
[0027] Figure 6 is a flow chart of a method for displaying second bullet screen content provided by an exemplary embodiment of the present application;
[0028] Figure 7 It is a flow chart of a method for displaying machine bullet comment content provided by an exemplary embodiment of the present application;
[0029] Figure 8 This is a schematic diagram of an automatic thank you bullet screen provided by an exemplary embodiment of the present application;
[0030] Fig. 9 It is an automatic reply barrage provided by an exemplary embodiment of the present application;
[0031] Fig.10 This is a schematic diagram of an automatic welcoming barrage provided by an exemplary embodiment of the present application;
[0032] Fig.11 This is a schematic diagram of an attention prompt barrage provided by an exemplary embodiment of the present application;
[0033] Fig.12 This is a schematic diagram of an upgrade prompt barrage provided by an exemplary embodiment of the present application;
[0034] Fig.13 is a flow chart of a bullet screen filtering method provided by an exemplary embodiment of the present application;
[0035] Fig.14 It is a schematic diagram of bullet screen filtering provided by an exemplary embodiment of the present application;
[0036] Fig.15 This is a schematic diagram of an interactive bullet screen provided by an exemplary embodiment of the present application;
[0037] Fig.16 is a flow chart of a bullet screen filtering method provided by an exemplary embodiment of the present application;
[0038] Fig.17 It is a schematic diagram of a live broadcast framework provided by an exemplary embodiment of the present application;
[0039] Fig.18 This is a schematic diagram of the process of sending machine bullet comment content provided by an exemplary embodiment of the present application;
[0040] Fig.19 It is a structural block diagram of a device for displaying bullet screen content provided by an exemplary embodiment of the present application;
[0041] Fig. 20 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0043] It should be understood that although the terms first, second, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0044] Barrage refers to the subtitles that scroll when watching live broadcasts or videos on the Internet. Barrage can give viewers and anchors a "real-time interactive" experience. Although the sending time of different barrages is different, they will only appear at a specific time point in the live video. Through barrage, users and anchors can interact in the live broadcast room. In related technologies, in order to reduce the delay in the display of barrage, the corresponding barrage is first displayed locally based on user operations through the local screen display method, and then the global barrage sent by the background server is received and displayed for the global barrage. However, due to network delays, the above method may cause the same barrage to be displayed repeatedly based on a single operation of the same user, and the accuracy of barrage display is low.
[0045] For illustration, please refer to Figure 1 , Figure 1 is a schematic diagram of the on-screen display process of a bullet screen provided by an exemplary embodiment of the present application, such as Figure 1As shown, the terminal 110 receives the first interactive operation of the account, sends a first request to the background server 120 based on the first interactive operation, and displays the preset interactive animation corresponding to the first interactive operation. In response to receiving the feedback information sent by the background server 120 based on the first request, the first bullet screen content corresponding to the feedback information is displayed to achieve local screen display; at the second moment, the global information broadcast by the background server 120 based on the first request is received, and the display status of the first bullet screen content is determined according to the global information. In response to the first bullet screen content not being displayed, the first bullet screen content is displayed based on the global information. In the above-mentioned bullet screen content display process, although the displayed first bullet screen content can be filtered after receiving the global information, when there is a network delay, if the terminal 110 receives the above-mentioned feedback information after the second moment, the terminal 110 has already displayed the first bullet screen content based on the global information at the second moment, and after the second moment, the first bullet screen content will still be directly displayed based on the feedback information, resulting in repeated display of the first bullet screen content, that is, the above-mentioned bullet screen content display method cannot avoid repeated display of bullet screen content based on unified operation in the case of network delay.
[0046] The method for displaying barrage content provided in an embodiment of the present application sends a first request to a background server in response to receiving a first interactive operation in a target live broadcast room at a first moment, the first request is used to indicate a first interaction with the target live broadcast room, receives global broadcast information sent by the background server at a second moment, the global broadcast information is information broadcast to the global account in the target live broadcast room after the background server generates the first interaction based on the first request, and in response to feedback information received from the background server within a preset time range after the first moment, displays the first barrage content corresponding to the first interaction based on the feedback information, the feedback information is information generated by the background server in response to the first interaction corresponding to the first request, and displays the first barrage content based on the feedback information only before receiving the global broadcast information. While improving the efficiency of barrage display, it avoids displaying the first barrage content again based on feedback information after the second barrage content has been displayed based on global broadcast information in the case of feedback information delay. In response to not receiving feedback information fed back by the background server within a preset time range after the first moment, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information. When the global broadcast information is received but no feedback information is received, the second barrage content is displayed, avoiding the situation where the barrage content cannot be displayed in time when the feedback information is delayed. The two display schemes of the barrage are determined by the feedback information reception situation within the preset time range after the first moment, which ensures the single display of the barrage based on the same operation, avoids the problem of repeated display of the barrage, and improves the accuracy of the barrage display.
[0047] First, let's introduce the implementation environment of this application. Figure 2, which shows a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application, wherein the implementation environment includes: a terminal 210, a server 220 and a communication network 230.
[0048] Data is transmitted between the terminal 210 and the server 220 via the communication network 230 .
[0049] Optionally, the server 220 may be connected to a plurality of terminals and perform data transmission based on the connection relationship.
[0050] In some embodiments, the terminal 210 is implemented as a client. Optionally, the client can be a live broadcast client or a video client, wherein the live broadcast client is used to display a target live broadcast room, and the video client is used to display a preset video screen.
[0051] In some embodiments, the terminal 210 is implemented as a live broadcast client for example. The terminal 210 is installed with a live broadcast application for watching live broadcasts. The master account of the terminal 210 can watch the live broadcast screen corresponding to the target live broadcast room through the live broadcast application. The server 220 is implemented as a background server for sending broadcast information to the accounts in the target live broadcast room. Optionally, the broadcast information can be global information broadcast by the server 220 to the global accounts in the target live broadcast room, or it can be local information broadcast by the target server 220 to some accounts in the target live broadcast room.
[0052] In some embodiments, the master account corresponding to the terminal 210 watches the live screen corresponding to the target live room through the live application program. In response to receiving the operation of the master account in the target live room, the terminal 210 uploads the operation data to the server 220, and the server 220 sends global information based on the received operation data. For example, in response to the master account entering the target live room, the terminal 210 uploads the first data to the server 220, and the server 220 generates the first global information based on the first data in response to the first data meeting the global broadcast requirements, and broadcasts the first global information to the global account in the target live room, wherein the first data is used to indicate that the master account has entered the target live room, the first global information is used to indicate that the terminal where the global account is located displays the first preset barrage content, and the first preset barrage content is used to prompt the master account to enter the target live room.
[0053] In some embodiments, terminal 210 sends a first request to the background server in response to receiving a first interactive operation in the target live broadcast room at a first moment, and the first request is used to indicate a first interaction with the target live broadcast room; receives global broadcast information sent by the background server at a second moment, and the global broadcast information is information broadcast to the global account in the target live broadcast room after the background server generates the first interaction based on the first request; in response to receiving feedback information fed back by the background server within a preset time range after the first moment, the first barrage content corresponding to the first interaction is displayed based on the feedback information, and the feedback information is information generated by the background server in response to the first interaction corresponding to the first request; in response to not receiving feedback information fed back by the background server within the preset time range after the first moment, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information.
[0054] The above-mentioned terminal is optional. The terminal can be a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart TV, a smart car, and other forms of terminal devices, which are not limited to the embodiments of the present application.
[0055] It is worth noting that the above-mentioned servers can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), as well as big data and artificial intelligence platforms.
[0056] Among them, cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.
[0057] In some embodiments, the above server can also be implemented as a node in a blockchain system.
[0058] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant regions. For example, the operation data and account information involved in this application are all obtained with full authorization.
[0059] To further explain, before collecting relevant data of the user (for example: account information, historical operation data and real-time operation data involved in this application) and during the process of collecting relevant data of the user, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of the user after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of the relevant regions.
[0060] For illustration, please refer to Figure 3 , which shows a flowchart of a method for displaying bullet screen content provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 3 As shown, the method comprises the following steps:
[0061] Step 310, in response to receiving a first interactive operation in the target live broadcast room at a first moment, sending a first request to a backend server.
[0062] Among them, the first request is used to indicate the first interaction with the target live broadcast room.
[0063] In some embodiments, the first request is request data generated by the terminal based on the first interactive operation, and the terminal sends the first request to the background server in the form of data through the communication network. Schematically, the terminal generates a gift request based on the gift operation, and the gift request is used to indicate the gift of virtual gift A to the target live broadcast room. The terminal sends the gift request to the background server, and through the gift request, instructs the background server to respond to the first interactive operation received by the terminal, and feeds back feedback information corresponding to the first interactive operation to the terminal, and the feedback information is used to indicate the operation result of the first interactive operation.
[0064] In some embodiments, the target live broadcast room refers to a virtual room opened by the anchor account in the live broadcast application, which is a network live broadcast program for real-time live interaction. In some embodiments, the target live broadcast room is used to display the live broadcast screen of the anchor account. For the terminal where the anchor account is located, the target live broadcast room is used to perform live broadcast display based on the operation control of the anchor account and receive interactive operations of the anchor account. For the terminal where the viewer account is located, the target live broadcast room is used to display the live broadcast screen and receive interactive operations of the viewer account.
[0065] Optionally, the target live broadcast room can be a live broadcast room of any form, such as a virtual game live broadcast room, a live performance live broadcast room, an online variety show live broadcast room, etc.
[0066] In some embodiments, the target live broadcast room displays barrage content based on the interactive operations of the user account, where the user account can be a host account or a viewer account, and the interactive operation refers to the operation performed by the user account in the target live broadcast room.
[0067] Optionally, the barrage content includes at least one of machine barrage, text barrage, gift barrage, and interactive barrage, wherein the machine barrage is a barrage automatically generated by the background server based on the interactive data of the user account in the target live broadcast room and sent to the terminal where the corresponding account is located, wherein the interactive data includes but is not limited to at least one of the length of time the user account stays in the target live broadcast room, the type of interactive operation performed by the user account, the current account information of the user account, and the real-time operation data of the user account. Text barrage refers to a barrage used to publish text interactive content, gift barrage is used to display virtual gifts given by the user account to the target live broadcast room, and interactive barrage indicates a barrage used to receive preset interactive operations.
[0068] In some embodiments, the backend server is used to record the interactive operation data of the global account in the target live broadcast room, and send broadcast information based on the interactive operation data or based on the interactive request received by the interactive operation.
[0069] Optionally, the backend server may send global broadcast information to global accounts in the target live broadcast room, or may send local broadcast information to some accounts in the target live broadcast room.
[0070] In some embodiments, the first interactive operation is used to trigger display of the first barrage content.
[0071] In some embodiments, the first interactive operation is an interactive operation performed by the user account on the display interface of the target live broadcast room, for example, triggering the interactive controls in the display interface to perform corresponding interactions, double-clicking the target live broadcast room display interface to like the target live broadcast room, sliding the target live broadcast room display interface to switch the target live broadcast room, etc.
[0072] Illustratively, taking the case where the first interactive operation is implemented as a gift giving operation as an example, the first interactive operation is used to indicate the gift giving of a first virtual gift to a target live broadcast room. The first interactive operation can trigger the display of gift barrage content, which includes the animation effect corresponding to the first virtual gift.
[0073] For illustration, please refer to Figure 4 , Figure 4 is a schematic diagram of a gift barrage provided by an exemplary embodiment of the present application, such as Figure 4 As shown, based on the gift giving operation, gift-giving barrage content 410 is displayed, including an animation effect 401 corresponding to the virtual gift A, and an account identifier 402 of the first account corresponding to the gift giving operation.
[0074] In some embodiments, the backend server may send feedback information or global broadcast information to the terminal based on the first request, instructing the terminal to display the first bullet screen content corresponding to the first interactive operation. The feedback information is used to instruct the terminal corresponding to the first request to display the first bullet screen content, and the global broadcast information is used to instruct the global account in the target live broadcast room to display the first bullet screen content.
[0075] Schematically, taking the first interactive operation implemented as a gift operation as an example, the first request is used to indicate the gift of the first virtual gift to the target live broadcast room, and the background server can send feedback information or global broadcast information to the terminal based on the first request, instructing the terminal to display the gift barrage content. Specifically, the background server sends feedback information to the terminal that sends the first request based on the first request, instructing the terminal to display the gift barrage content based on the feedback information; the background server sends global broadcast information to the global account in the target live broadcast room based on the first request, instructing the terminal where the global account is located to display the gift barrage content based on the global broadcast information, wherein, when the terminal that sends the first request has displayed the gift barrage content based on the feedback information, the global broadcast information is used to instruct other terminals except those that sent the first request to display the gift barrage content based on the global broadcast information.
[0076] Step 320: receiving the global broadcast information sent by the background server at the second moment.
[0077] Among them, the global broadcast information is the information broadcast to the global account in the target live broadcast room after the background server generates the first interaction based on the first request.
[0078] Optionally, the global account includes the host account and viewer account corresponding to the target live broadcast room.
[0079] In some embodiments, the backend server adopts a PubSub model to manage global accounts within the target live broadcast room.
[0080] The subscription publishing mode means that the channel forwards the message published by the publisher to the subscriber. A channel corresponds to one publisher and at least one subscriber. Taking the target live broadcast room as an example, the background server used to provide background services for the target live broadcast room acts as a channel in the subscription publishing mode, the terminal where the anchor account is located acts as a publisher, and the terminal where the audience account is located acts as a subscriber. Each audience account that enters the target live broadcast room is included in the subscriber list. When the audience account leaves the target live broadcast room, the audience account is deleted from the subscriber list. The subscriber list is used to record all subscribers corresponding to the channel, and the channel sends messages to subscribers according to the subscriber list. Schematically, when the anchor account plays song A in the target live broadcast room, the terminal where the anchor account is located sends a message to the terminal where the audience account is located through the background server, informing the audience account that the target live broadcast room is playing song A. When the terminal where the audience account is located receives the message, it only needs to parse out the instruction for indicating the song to be played and the song identifier corresponding to song A, and then song A can be played.
[0081] In some embodiments, the second time instant is after the first time instant.
[0082] In some embodiments, the global broadcast information is used to instruct the terminal where the global account in the target live broadcast room is located to display the barrage content corresponding to the first interaction.
[0083] In some embodiments, the global broadcast information includes a first account identifier, a first timestamp, and a first barrage content corresponding to the first account, wherein the first account is a master control account corresponding to the terminal, the first timestamp is used to indicate a first moment, and the first barrage content refers to the barrage content corresponding to the first interaction.
[0084] Optionally, the first barrage content may be at least one of text barrage, gift barrage, machine barrage, and interactive barrage.
[0085] Illustratively, assuming that the target live broadcast room includes account A, account B, and account C, after the background server generates the first interaction based on the first request sent by account A, it sends a global broadcast information to account A, account B, and account C, instructing terminal 1, terminal 2, and terminal 3 corresponding to account A, account B, and account C, respectively, to display the barrage content corresponding to the first interaction.
[0086] Step 330, in response to receiving feedback information fed back by the background server within a preset time range after the first moment, displaying the first barrage content corresponding to the first interaction based on the feedback information.
[0087] The feedback information is information generated by the background server in response to the first interaction corresponding to the first request.
[0088] In some embodiments, assuming that the time interval between the first moment and the second moment is a first interval duration, the preset duration range is less than or equal to the first interval duration, that is, in response to feedback information received from the background server before the second moment, the first barrage content corresponding to the first interaction is displayed based on the feedback information.
[0089] The first barrage content is the barrage content corresponding to the first interaction.
[0090] In some embodiments, the first interactive operation is used to trigger display of the first barrage content.
[0091] Illustratively, taking the first interactive operation implemented as a gift operation as an example, the first interactive operation is used to indicate the gift of a first virtual gift to the target live broadcast room. The first interactive operation can trigger the display of the gift barrage content, that is, the first barrage content is the gift barrage content, and the gift barrage content includes the animation effect corresponding to the first virtual gift.
[0092] Optionally, the first barrage content may be at least one of text barrage, gift barrage, machine barrage, and interactive barrage, wherein text barrage refers to a barrage containing text content, gift barrage refers to a barrage including virtual gift animation effects, machine barrage refers to a barrage automatically generated or preset by a background server, and interactive barrage refers to a barrage including specified interactive information.
[0093] The first barrage content is the barrage content displayed by the terminal sending the first request based on the feedback information.
[0094] In some embodiments, the feedback information includes the first barrage content.
[0095] For the global account in the target live broadcast room, only the terminal that sends the first request and receives feedback information within the preset time range after the first moment displays the first barrage content based on the feedback information.
[0096] In some embodiments, feedback information is used to indicate the interaction result of the first interaction. Optionally, the interaction result indicates that the first interaction is successfully executed, and the feedback information is used to instruct the terminal to display the first barrage content. The interaction result indicates that the first interaction fails, and the feedback information is used to instruct the terminal not to display the first barrage content.
[0097] Illustratively, the terminal receives a gift operation in the target live broadcast room at the first moment and sends a gift request to the background server. The background server provides feedback on the gift interaction corresponding to the gift request. In response, the background server determines that the gift interaction is successful based on account information such as account balance, account level, etc. The background server generates feedback information, which indicates that the gift interaction is successful. For the terminal, the feedback information is used to indicate the display of the gift barrage corresponding to the gift interaction. The terminal can display the gift barrage based on the feedback information.
[0098] In some embodiments, the feedback information is used to instruct the terminal corresponding to the first request to display the first barrage content, so as to realize the local on-screen display of the first barrage content.
[0099] In some embodiments, the feedback information is feedback information sent by the background server to the terminal that sends the first request based on the first request, and the global broadcast information is broadcast information sent to the global account in the target live broadcast room based on the first request.
[0100] Illustratively, in response to receiving a gift operation in the target live broadcast room at the 10th second, a first gift request is sent to the background server, the first gift request is used to indicate the gift of virtual gift A to the target live broadcast room, and at the 15th second, the global broadcast information sent by the background server is received. In response to receiving feedback information fed back by the background server between the 10th and 15th seconds, the terminal sending the first gift request displays the gift barrage content corresponding to the gift operation based on the feedback information.
[0101] Step 340, in response to not receiving feedback information fed back by the background server within a preset time range after the first moment, displaying the second barrage content corresponding to the first interaction based on the global broadcast information.
[0102] In some embodiments, no feedback information is received from the background server within a preset time range after the first moment, which indicates that there is a network delay. To ensure the efficiency of the barrage display and reduce the waiting time required to display the barrage, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information.
[0103] In some embodiments, the first barrage content refers to the barrage content displayed locally on the screen of the terminal based on feedback information, and the second barrage content refers to the barrage content displayed by the terminal where the global account is located based on global broadcast information. The display content of the first barrage content is the same as that of the second barrage content.
[0104] In some embodiments, the first barrage content is the barrage content displayed for the terminal that sends the first request, that is, the first barrage content is only visible to the terminal that sends the first request when displayed, and the second barrage content is the barrage content displayed for the global account in the target live broadcast room, that is, the second barrage content is visible to the global account in the target live broadcast room when displayed, wherein the global account includes the master control account corresponding to the terminal that sends the first request.
[0105] Illustratively, in response to receiving a gift operation in the target live broadcast room at the 10th second, a first gift request is sent to the background server, the first gift request is used to indicate the gift of a virtual gift A to the target live broadcast room, and at the 15th second, the global broadcast information sent by the background server is received, and in response to not receiving any feedback information from the background server between the 10th and 15th seconds, the gift barrage content corresponding to the gift operation is displayed based on the global feedback information.
[0106] For illustration, please refer to Figure 5 , Figure 5 is a schematic diagram showing the content of a bullet screen provided by an exemplary embodiment of the present application, such as Figure 5 As shown, in response to receiving a first interactive operation in the target live broadcast room at a first moment, the terminal 510 sends a first request to the background server 520, and displays the preset interactive animation corresponding to the first interactive operation, receives the global broadcast information sent by the background server 520 at a second moment, and in response to receiving feedback information fed back by the background server 520 within a preset time range after the first moment, displays the first barrage content corresponding to the first interaction based on the feedback information, otherwise filters the first barrage content, filtering the first barrage content means canceling the display of the first barrage content, that is, the terminal 510 does not render and display the first barrage content; in response to not receiving the feedback information fed back by the background server 520 within the preset time range after the first moment, that is, the first barrage content is not displayed, displays the second barrage content corresponding to the first interaction based on the global broadcast information, otherwise, filters the second barrage content, filtering the second barrage content means canceling the display of the second barrage content, that is, the terminal 510 does not render and display the second barrage content.
[0107] To summarize, the method provided by the embodiment of the present application sends a first request to the background server in response to receiving a first interactive operation in the target live broadcast room at a first moment, the first request is used to indicate a first interaction with the target live broadcast room, receives global broadcast information sent by the background server at a second moment, the global broadcast information is information broadcast to the global account in the target live broadcast room after the background server generates the first interaction based on the first request, responds to feedback information fed back by the background server within a preset time range after the first moment, displays the first barrage content corresponding to the first interaction based on the feedback information, the feedback information is information generated by the background server in response to the first interaction corresponding to the first request, and displays the first barrage content based on the feedback information only before receiving the global broadcast information, While improving the barrage display efficiency, it avoids displaying the first barrage content again based on feedback information after the second barrage content has been displayed based on global broadcast information in the case of feedback information delay. In response to not receiving feedback information from the background server within a preset time range after the first moment, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information. When the global broadcast information is received but no feedback information is received, the second barrage content is displayed, avoiding the situation where the barrage content cannot be displayed in time when the feedback information is delayed. The two display schemes of the barrage are determined by the feedback information reception situation within the preset time range after the first moment, thereby ensuring a single display of the barrage based on the same operation, avoiding the problem of repeated display of the barrage, and improving the accuracy of the barrage display.
[0108] Please refer to Figure 6 , Figure 6 : is a flow chart of a second bullet screen content display method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 6 As shown, in some embodiments, the first request corresponds to a first account identifier and a first timestamp of a first account, wherein the first account is a master account of the terminal, and the first timestamp is used to indicate a first moment. The above step 340 includes the following steps:
[0109] Step 341, performing on-screen detection on the second bullet screen content based on the first account identifier and the first timestamp to obtain an on-screen detection result.
[0110] Among them, the upper screen detection result is used to indicate the display status of the first barrage content by the terminal sending the first request.
[0111] On-screen display refers to rendering and displaying specified content in the terminal interface, and on-screen detection refers to detecting the display of the specified content by the terminal, that is, detecting whether the specified content has been rendered and displayed in the terminal interface.
[0112] In some embodiments, the upper screen detection is used to detect the display status of the first barrage content corresponding to the second barrage content.
[0113] In some embodiments, the first account can only perform a single interactive operation at a single moment, so the first request corresponding to the unique first interactive operation can be determined based on the first account identifier and the first timestamp.
[0114] In some embodiments, an on-screen detection is performed based on an on-screen record table to obtain an on-screen detection result, and the on-screen record table is used to record the display status of the barrage content.
[0115] Through the upper screen detection, the terminal that performs the upper screen detection can promptly determine the display status of the barrage content, and thus determine the display scheme of the second barrage content based on the display status of the first barrage content. On the one hand, it ensures that when the first barrage content has been displayed, the second barrage content will no longer be displayed, resulting in repeated display of the same barrage content; on the other hand, it ensures that when the first barrage content is not displayed, the second barrage content is displayed in time, avoiding display delays of the barrage content due to the failure to display the first barrage content in time.
[0116] In some embodiments, the feedback information includes the first bullet screen content, the first account identifier and the first timestamp, and the global broadcast information includes the second bullet screen content, the first account identifier and the first timestamp. After the above step 310, the process of writing the screen record table is also included. The process is implemented as follows: the terminal sending the first request responds to the feedback information fed back by the background server within a preset time range after the first moment, and writes the first account identifier and the first timestamp in the feedback information into the screen record table. Based on the writing process of the screen record table, step 341 includes the following steps:
[0117] The first step is to obtain the on-screen record table when the global broadcast information is received at the second moment.
[0118] In some embodiments, the on-screen record table is used to record the display status of the first bullet screen content, and the on-screen record table includes the correspondence between the first timestamp in the first request and the first account identifier.
[0119] Optionally, the same first timestamp may correspond to multiple different user accounts.
[0120] Optionally, the on-screen record table obtained at the second moment includes the following two situations:
[0121] First, if the feedback information fed back by the backend server is received within a preset time range after the first moment, the corresponding relationship between the first timestamp and the first account identifier is recorded in the upper screen record table;
[0122] Second, if no feedback information fed back by the background server is received within a preset time range after the first moment, the on-screen record table does not include the corresponding relationship between the first timestamp and the first account identifier.
[0123] The second step is to search the upper screen record table based on the global broadcast information.
[0124] In some embodiments, searching the upper screen record table based on the global broadcast information is implemented by retrieving the same first timestamp from the upper screen record table based on the first timestamp in the global broadcast information. If the first timestamp exists in the upper screen record table, at least one account identifier corresponding to the first timestamp in the upper screen record table is obtained, and the obtained at least one account identifier is compared one-to-one with the first account identifier. If the at least one account identifier includes the first account identifier, the first account identifier corresponding to the first timestamp exists in the upper screen record table, otherwise the first account identifier corresponding to the first timestamp does not exist in the upper screen record table.
[0125] In the third step, in response to the absence of the first account identifier corresponding to the first timestamp in the on-screen record table, a first on-screen detection result is obtained.
[0126] Among them, the first on-screen detection result is used to indicate that the first barrage content is not displayed.
[0127] In some embodiments, in response to obtaining the first on-screen detection result, the second barrage content is displayed.
[0128] In the fourth step, in response to the first account identifier corresponding to the first timestamp existing in the screen record table, a second screen detection result is obtained.
[0129] Among them, the second on-screen detection result is used to indicate that the first barrage content is displayed.
[0130] In some embodiments, in response to obtaining the second on-screen detection result, the terminal sending the first request filters the second barrage content to avoid displaying the second barrage content again when the first barrage content has been displayed, resulting in the same barrage content being displayed repeatedly.
[0131] Step 342, in response to the upper screen detection result indicating that the first bullet screen content is not displayed, display the second bullet screen content.
[0132] In some embodiments, if the on-screen detection result indicates that the first barrage content is not displayed, it means that there is a network delay, and the background server fails to respond to the first request in a timely manner, so that the terminal fails to display the first barrage content locally on the screen before the second moment. Therefore, after receiving the global broadcast information at the second moment, the second barrage content is displayed based on the global broadcast information, thereby realizing the barrage display based on the first interaction.
[0133] In some embodiments, step 342 is implemented by displaying the second barrage content in response to obtaining the first on-screen detection result.
[0134] To sum up, the method provided in the embodiment of the present application performs an on-screen detection on the second barrage content based on the first account identifier and the first timestamp to obtain an on-screen detection result. In response to the on-screen detection result indicating that the first barrage content is not displayed, the second barrage content is displayed, thereby avoiding repeated display of the first barrage content and the second barrage content and improving the accuracy of the barrage content display.
[0135] The method provided in the embodiment of the present application obtains the on-screen record table when the global broadcast information is received at the second moment, searches the on-screen record table based on the global broadcast information, obtains the first on-screen detection result in response to the absence of the first account identifier corresponding to the first timestamp in the on-screen record table, obtains the second on-screen detection result in response to the presence of the first account identifier corresponding to the first timestamp in the on-screen record table, clarifies the on-screen detection method, and improves the on-screen detection efficiency.
[0136] In some embodiments, the method for displaying the bullet screen content provided in the embodiments of the present application also includes a process for displaying the machine bullet screen content, which can improve the degree of automation of the interaction in the live broadcast room. Please refer to Figure 7 , Figure 7 : is a flow chart of a method for displaying machine bullet screen content provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Figure 7 As shown, the method comprises the following steps:
[0137] Step 710, receiving the machine barrage content sent by the background server.
[0138] Among them, the machine barrage content is the barrage content automatically generated by the background server based on the interactive data of the accounts in the target live broadcast room.
[0139] In some embodiments, taking the terminal that sends the first request as an example, the terminal corresponds to the first account, and the terminal reports the interaction data of the first account in the target live broadcast room to the background server in real time. The background server can automatically generate machine barrage content based on the interaction data.
[0140] In some embodiments, the machine barrage content is generated based on different types of interactive data using different preset barrage templates. For example, a follow-up prompt content template is preset for the first account's stay data in the target live broadcast room, such as "You have watched the live broadcast for 5 minutes, follow it so you don't get lost", which is used to prompt the first account to follow the anchor account corresponding to the target live broadcast room when the first account's stay time in the target live broadcast room exceeds the preset time threshold.
[0141] Optionally, the machine barrage content can be global barrage content or local barrage content, wherein global barrage content refers to the barrage content broadcasted to the global account in the target live broadcast room after the backend server generates barrage content based on the interactive data of any account in the live broadcast room in the target live broadcast room; local barrage content refers to the barrage content sent to the terminal where the first account is located after the backend server generates barrage content based on the interactive data of the first account in the target live broadcast room. That is, the global barrage content is visible to the global account in the target live broadcast room, and the local barrage content is only visible to the account in the target live broadcast room that meets the local display requirements.
[0142] Optionally, the local display requirements include that the account is the first account, or that the account reaches a level threshold, or that the account is a host account, etc.
[0143] It is worth noting that the above-mentioned local display requirements are only illustrative examples and are not limited to this application.
[0144] Local barrage content refers to the barrage content displayed on terminals that meet local display requirements.
[0145] In some embodiments, local barrage content is machine barrage content generated specifically by the background server based on the interactive data of some terminals in the target live broadcast room. Local barrage content is barrage content that is only visible to these terminals.
[0146] Through local barrage content, different machine barrage content can be generated for the personalized interactive data of different terminals, so that the corresponding terminal can enhance the interaction efficiency between the terminal account and the target live broadcast room by displaying these machine barrage content. It can also avoid excessive personalized machine barrage content causing boredom to other terminal accounts through a local barrage content display scheme that is only visible to accounts that meet the local display requirements, simplify the machine barrage content display of other terminals, and save computer resources.
[0147] Optionally, the local barrage content may also be other barrage content such as text barrage, gift barrage and interactive barrage.
[0148] In an illustrative manner, the partial barrage content is encrypted barrage content. For example, the partial barrage content is a non-public text barrage sent by the first account to the anchor account in the target live broadcast room. In this case, the partial barrage content is only displayed on the terminal where the first account is located and the terminal where the anchor account is located, but not on other terminals in the target live broadcast room; or, the partial barrage content is an interactive barrage sent by the anchor account to a fan account that has reached a preset level threshold. In this case, the interactive barrage is only displayed on the terminal where the anchor account is located and the terminal where the fan account that has reached a preset level threshold is located.
[0149] It is worth noting that the above-mentioned local barrage content is only an illustrative example and this application does not limit it.
[0150] Optionally, the interactive data may include at least one of the length of time the account stays in the target live broadcast room, the frequency of the account's interactive operations in the target live broadcast room, and the type of interactive operations performed by the account in the target live broadcast room.
[0151] It is worth noting that the above-mentioned interactive data is only an illustrative example. The interactive data in the embodiment of the present application can be any data generated based on the behavior of the first account in the target live broadcast room, and the present application does not limit this.
[0152] Step 720, display the machine barrage content.
[0153] Optionally, the machine barrage content can be implemented as global barrage content or as local barrage content. If the machine barrage content is implemented as global barrage content, the terminal where the global account is located in the target live broadcast room will display the machine barrage content respectively. If the machine barrage content is implemented as local barrage content, the terminal where the account that meets the local display requirements is located will display the machine barrage content.
[0154] In some embodiments, the display permission of the machine barrage content is configured by the anchor account corresponding to the target live broadcast room. The display permission is used to indicate that the machine barrage content is implemented as global barrage content or local barrage content.
[0155] Optionally, the above display permissions can be configured by the anchor account, can be preset by the background server, or can be configured by the first account.
[0156] In some embodiments, in order to avoid the display of machine barrage content causing the target live broadcast room to be too mechanical and cause user boredom, taking the terminal where the first account is located as an example, the terminal only displays machine barrage content that meets the machine barrage display requirements.
[0157] Optionally, the machine barrage display requirements include at least one of the following: the number of times the machine barrage content is displayed on the first account terminal is lower than a preset number threshold, the machine barrage type corresponding to the machine barrage content is not blocked by the first account, the interaction frequency indicated by the first account's feedback data on the machine barrage content reaches a preset interaction threshold, etc.
[0158] Illustratively, taking the example of machine barrage content that is used to prompt the first account to follow the anchor account corresponding to the target live broadcast room when the first account stays in the target live broadcast room for more than a preset time threshold, when the first account stays in the target live broadcast room for 5 minutes each time and the first account does not follow the anchor account, the background server sends the machine barrage content to the terminal where the first account is located. In order to avoid the target live broadcast room being too mechanized due to the display of machine barrage content, which causes user boredom, for the same target live broadcast room, after the terminal where the first account is located receives and displays the machine barrage content 5 times, the terminal where the first account is located will no longer display the machine barrage content; or, after the first account blocks the machine barrage content, the terminal where the first account is located will no longer display the machine barrage content.
[0159] In an illustrative example, the interactive bullet screen content of the machine bullet screen is used to prompt users to participate in voting interaction. Whenever the target live broadcast room initiates voting interaction, the background server sends the machine bullet screen content to the global account, which includes the first account and the second account. The feedback data of the first account for the machine bullet screen content indicates that within the historical period, the terminal where the first account is located has displayed the machine bullet screen content 5 times, and the first account has only participated in one voting interaction after the machine bullet screen content was displayed. The interaction frequency indicated by the feedback data is lower than the preset interaction threshold, which is used to indicate that the first account tends to ignore the machine bullet screen content. Therefore, the terminal where the first account is located no longer displays the machine bullet screen content based on the feedback data; the feedback data of the second account for the machine bullet screen content indicates that within the historical period, the terminal where the second account is located has displayed the machine bullet screen content 5 times, and the second account has participated in 5 voting interactions after the machine bullet screen content was displayed. The interaction frequency indicated by the feedback data reaches the preset interaction threshold, which is used to indicate that the second account tends to interact based on the machine bullet screen content. Therefore, the terminal where the second account is located continues to display the machine bullet screen content based on the feedback data.
[0160] In some embodiments, to avoid the machine bullet comment content being ignored and wasting computer resources, the machine bullet comment content is displayed in a preset fixed area in the terminal interface. Optionally, different types of machine bullet comment content are displayed in different preset areas.
[0161] Indicatively, the target live broadcast room corresponds to a live broadcast screen display area and a barrage content display area. For the automatic thank-you barrage, the automatic thank-you barrage is displayed in the center of the barrage content display area, and thank-you fireworks and other animation effects corresponding to the automatic thank-you barrage are synchronously displayed in the live broadcast screen display area to enhance the user's satisfaction with gift giving; for the automatic reply barrage, if there are too many other barrage contents in the target live broadcast room and the user ignores the automatic reply barrage, the automatic reply barrage is scrolled in the form of a banner above the barrage content display area until the number of times the automatic reply barrage is scrolled reaches a threshold, or the current terminal receives a new automatic reply barrage; for the automatic greeting barrage, while avoiding occupying too much barrage content display area, it avoids the waste of computer resources caused by the user missing the automatic greeting barrage due to data stream jamming when entering the target live broadcast room. The automatic welcome barrage is continuously displayed at the latest barrage content display in the barrage content display area until the display time reaches the preset time threshold.
[0162] It is worth noting that the display area and display scheme of the above-mentioned machine barrage content are only illustrative examples and are not limited to this in this application.
[0163] Optionally, the machine barrage content includes at least one of the following:
[0164] The first one is automatic thank you barrage.
[0165] Among them, the automatic thank-you barrage is a barrage generated by the background server in response to the first interactive data, and the first interactive data indicates that the first account performs a first operation in the target live broadcast room.
[0166] In an illustrative manner, in response to receiving a gift giving operation of a first account in a target live broadcast room, a first request is sent to a background server, and the background server performs data analysis on the first request to obtain gift giving interaction data, the gift giving interaction data is used to indicate that the first account performs a gift giving operation in the target live broadcast room, and the background server generates an automatic thank you barrage based on the gift giving interaction data. The automatic thank you barrage can be a global barrage or a global barrage. If the automatic thank you bullet screen is implemented as a global bullet screen, the background server sends the automatic thank you bullet screen to the global account in the target live broadcast room, and the terminals where the global accounts are located display the automatic thank you bullet screen respectively; if the automatic thank you bullet screen is implemented as a local bullet screen for the first account, the background server sends the automatic thank you bullet screen to the terminal where the first account is located, and the terminal where the first account is located independently displays the automatic thank you bullet screen; the automatic thank you bullet screen can also be implemented as a local bullet screen for accounts that meet the local display requirements. For example, if the local display requirement is implemented as an account with the same level as the first account, the background server sends the automatic thank you bullet screen to the terminals where the accounts with the same level as the first account are located and the terminals where the first account is located, and the automatic thank you bullet screen is displayed by the above-mentioned. Among them, the automatic thank you bullet screen includes text content used to display the gift operation of thanking the first account.
[0167] For illustration, please refer to Figure 8 , Figure 8 is a schematic diagram of an automatic thank you bullet screen provided by an exemplary embodiment of the present application, such as Figure 8 As shown, in response to receiving a gift giving operation from the first account in the target live broadcast room, a first request is sent to the background server, and the background server performs data analysis on the first request to obtain gift giving interaction data, and the gift giving interaction data is used to indicate that the first account performs a gift giving operation in the target live broadcast room. The background server generates an automatic thank you barrage 810 based on the gift giving interaction data, and the terminal receives and displays the automatic thank you barrage 810, wherein the automatic thank you barrage 810 includes a machine barrage identifier 801, a first account identifier, and a preset thank you text content, wherein the machine barrage identifier 801 is used to indicate that the barrage type of the automatic thank you barrage 810 belongs to the machine barrage content.
[0168] The second type is automatic reply barrage.
[0169] Among them, the automatic reply barrage is a barrage generated by the background server in response to the second interactive data, and the second interactive data instructs the first account to publish a barrage that meets the preset question content in the target live broadcast room.
[0170] For illustration, please refer to Fig. 9 , Fig. 9 An exemplary embodiment of the present application provides an automatic reply barrage, such as Fig. 9As shown, in response to the first account publishing barrage content 910, which includes the preset question "live broadcast time", automatic reply content 920 is displayed to answer the preset question "live broadcast time is 9:00-10:00".
[0171] The third type is to automatically respond to the barrage.
[0172] Among them, the automatic welcoming barrage is the barrage generated by the background server in response to the third interactive data, and the third interactive data indicates that the first account enters the target live broadcast room.
[0173] For illustration, please refer to Fig.10 , Fig.10 is a schematic diagram of an automatic welcome bullet screen provided by an exemplary embodiment of the present application, such as Fig.10 As shown, in response to the first account entering the target live broadcast room, an automatic welcoming barrage 1010 is displayed, and the automatic welcoming barrage 1010 includes a preset welcoming template text content "Welcome... to the live broadcast room" and the account identification of the first account.
[0174] The fourth type is to pay attention to the prompt barrage.
[0175] Among them, the attention prompt barrage is a barrage generated by the background server in response to the fourth interactive data, and the fourth interactive data indicates that the first account's stay time in the target live broadcast room reaches a preset time threshold.
[0176] In some embodiments, the attention prompt barrage is implemented as a local barrage content for the first account, that is, the attention prompt barrage is only displayed by the terminal where the first account is located.
[0177] For illustration, please refer to Fig.11 , Fig.11 is a schematic diagram of an attention prompt barrage provided by an exemplary embodiment of the present application, such as Fig.11 As shown, in response to the first account's stay time in the target live broadcast room reaching a preset time threshold, a follow prompt barrage 1110 is displayed. The follow prompt barrage 1110 includes the first account identifier, preset prompt text content and a follow control 1111. The follow control 1111 is used to receive an account follow operation for the anchor account of the target live broadcast room.
[0178] The fifth type is the upgrade prompt barrage.
[0179] Among them, the upgrade prompt barrage is a barrage generated by the background server in response to the fifth interactive data, and the fifth interactive data indicates that the account level of the first account in the target live broadcast room has reached a preset level threshold.
[0180] For illustration, please refer to Fig.12 , Fig.12: is a schematic diagram of an upgrade prompt barrage provided by an exemplary embodiment of the present application, such as Fig.12 As shown, in response to the account level of the first account in the target live broadcast room reaching level 11, an upgrade prompt barrage 1210 is displayed, and the upgrade prompt barrage 1210 includes the first account identifier, the current level information of the first account and preset upgrade text content.
[0181] It is worth noting that the above-mentioned machine barrage content is only an illustrative example and this application does not limit it.
[0182] To sum up, the method provided in the embodiment of the present application improves the automation level of the barrage display in the target live broadcast room by receiving the machine barrage content sent by the background server and displaying the machine barrage content.
[0183] The method provided in the embodiment of the present application provides a variety of machine barrage content types such as automatic thank you barrage, automatic reply barrage, automatic greeting barrage, attention prompt barrage, upgrade prompt barrage, etc., which improves the richness of the machine barrage content and reduces the monotony of the machine barrage content, thereby improving the interaction efficiency.
[0184] In some embodiments, the method for displaying bullet screen content provided in the embodiments of the present application also includes a bullet screen filtering process, which can improve the efficiency of bullet screen display. Please refer to Fig.13 , Fig.13 : is a flow chart of a bullet screen filtering method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Fig.13 As shown, the method comprises the following steps:
[0185] Step 1310, in response to receiving a bullet screen filtering operation, displaying target bullet screen content that meets the filtering requirements.
[0186] Optionally, the bullet screen filtering operation may be a screening operation for displaying target bullet screen contents that meet the filtering requirements, or a shielding operation for shielding target bullet screen contents that do not meet the filtering requirements.
[0187] Optionally, only the target bullet-screen content that meets the filtering requirements may be displayed, or the target bullet-screen content that meets the filtering requirements may be displayed with preset display features.
[0188] In some embodiments, based on different filtering requirements, the target barrage content is displayed with different display features, wherein the display features are used to distinguish the target barrage content corresponding to different filtering requirements.
[0189] For illustration, please refer to Fig.14 , Fig.14is a schematic diagram of bullet screen filtering provided by an exemplary embodiment of the present application, such as Fig.14 As shown, based on four different filtering requirements, corresponding filter items 1410, filter item 1420, filter item 1430, and filter item 1440 are displayed, wherein filter item 1410 is used to receive a first filtering operation, set a preset account identifier, and thereby display the target barrage content 1401 corresponding to the account identifier matching the preset account identifier with a first display feature; filter item 1420 is used to receive a second filtering operation, set a preset type, and thereby display the target barrage content 1402 that meets the preset type with a second display feature; filter item 1430 is used to receive a third filtering operation, set interactive information, and thereby display the target barrage content 1403 including interactive information with a third display feature; filter item 1440 is used to receive a fourth filtering operation, set an association relationship, and thereby display the target barrage content 1404 corresponding to the account that meets the association relationship with a fourth display feature.
[0190] Optionally, step 1310 includes the following four situations:
[0191] The first one is, in response to receiving a first filtering operation, displaying target bullet-screen content that meets the first filtering requirement with a first display feature.
[0192] Among them, the first filtering requirement includes that the account identifier corresponding to the target barrage content matches the preset account identifier.
[0193] Optionally, the first display feature includes at least one of a first color, a first font size, a first font, and a first special effect.
[0194] In some embodiments, the preset account identifier belongs to an account identifier in a whitelist, wherein the whitelist is used to record the account identifier of the first account that chooses to display the barrage content. In some embodiments, the whitelist includes account identifiers in the global accounts in the target live broadcast room except for the blacklist, wherein the blacklist is used to record the account identifier of the first account that chooses not to display the barrage content.
[0195] The second one is to display the target bullet screen content that meets the second filtering requirement with the second display feature in response to receiving the second filtering operation.
[0196] Among them, the second filtering requirement includes that the barrage type of the target barrage content is consistent with the preset type, and the barrage type includes at least one of text barrage, gift barrage, machine barrage, and interactive barrage.
[0197] Optionally, the second display feature includes at least one of a second color, a second font size, a second font, and a second special effect.
[0198] In some embodiments, the text bullet screen only includes the first account identifier and the text content, the gift bullet screen includes the gift effect, the machine bullet screen includes the preset template content, and the interactive bullet screen includes the interactive control, where the interactive control is used to receive the interactive operation.
[0199] Schematically, please refer to Fig.15 , Fig.15 which is a schematic diagram of the interactive bullet screen provided by an exemplary embodiment of the present application. As Fig.15 shown, the interactive bullet screen 1510 includes a selection control 1511 and a selection control 1512. The selection control 1511 is used to receive the selection operation for the first option, and the selection control 1512 is used to receive the selection operation for the second option.
[0200] Thirdly, in response to receiving the third filtering operation, the target bullet screen content that meets the third filtering requirement is displayed with the third display feature.
[0201] Among them, the third filtering requirement includes that the target bullet screen content includes the interaction information with the first account.
[0202] Optionally, the third display feature includes at least one of the third color, the third font size, the third font, and the third special effect.
[0203] Schematically, the interaction information is implemented as the text content of "@ the first account".
[0204] Fourthly, in response to receiving the fourth filtering operation, the target bullet screen content that meets the fourth filtering requirement is displayed with the fourth display feature.
[0205] Among them, the fourth filtering requirement includes that the account corresponding to the target bullet screen content has an association relationship with the first account.
[0206] Optionally, the fourth display feature includes at least one of the fourth color, the fourth font size, the fourth font, and the fourth special effect.
[0207] Optionally, the association relationship can be implemented as being a friend relationship with the first account, being in the same level as the first account, being in the same group as the first account, etc.
[0208] It should be noted that the above association relationships are only exemplary examples, and the present application does not limit this.
[0209] In summary, the method provided by the embodiments of the present application displays the target bullet screen content that meets the filtering requirements by responding to receiving the bullet screen filtering operation, provides a bullet screen filtering method, and improves the bullet screen display efficiency.
[0210] The method provided in the embodiment of the present application provides a filtering display method based on multiple different filtering operations, displaying the target barrage that meets the corresponding filtering requirements with different display features, enriching the barrage display method, improving the conspicuousness of the target barrage content, and improving the barrage display efficiency.
[0211] In some embodiments, the method for displaying bullet screen content provided in the embodiments of the present application also includes a bullet screen filtering process, which can improve the efficiency of bullet screen display. Please refer to Fig.16 , Fig.16 : is a flow chart of a bullet screen filtering method provided by an exemplary embodiment of the present application. The method can be executed by a terminal, or by a server, or by both a terminal and a server. The present application embodiment takes the method executed by a terminal as an example for explanation. Fig.16 As shown, the method comprises the following steps:
[0212] Step 1610: Receive global interactive information sent by the background server based on the second request.
[0213] Among them, the second request is a request sent by the target live broadcast room to the background server based on the interactive operation of the anchor account. The global interactive information is the information broadcasted to the global account in the target live broadcast room after the background server receives the second request. The global interactive information is used to instruct the global account to conduct a second interaction with the target live broadcast room.
[0214] Illustratively, in response to receiving an interactive game initiation operation from the anchor account, the anchor terminal sends a second request to the background server, and the background server sends global interactive information to the global account in the live broadcast room to instruct the global account to participate in the interactive game. The interactive game content is implemented as triggering barrage content that complies with preset interactive game rules.
[0215] In some embodiments, the global interaction information is used to instruct the accounts in the global accounts that meet the interaction account requirements to perform a second interaction with the target live broadcast room. After step 1610, a prompt information display process is also included, which includes the following two situations:
[0216] In the first one, in response to the first account meeting the interactive account requirement, a first prompt message is displayed.
[0217] Among them, the first prompt information is used to prompt the first account to perform a second interaction with the target live broadcast room.
[0218] Illustratively, if the interactive account requirement is implemented as the account level of the first account reaching a preset level threshold, in response to the first account meeting the interactive account requirement, a first prompt message is displayed, "You have reached level 11, welcome to participate in the limited game, you can win rewards as long as you find barrage A from the barrage, come and join!".
[0219] Second, in response to the first account not meeting the interactive account requirement, a second prompt message is displayed.
[0220] The second prompt information is used to display the interactive account requirements.
[0221] Illustratively, if the interactive account requirement is implemented as the account level of the first account reaching a preset level threshold, in response to the first account not meeting the interactive account requirement, a second prompt message “This game is only open to users above level 11, work hard to upgrade~” is displayed.
[0222] Optionally, the interactive account requirements include that the account level of the first account reaches a preset level threshold; or, the interactive account requirements include that the first account has an association relationship with the anchor account, for example, the first account joins the fan group of the anchor account; or, the interactive account requirements include that the first account completes a preset interaction in the target live broadcast room, for example, the first account performs a gift operation in the target live broadcast room.
[0223] It is worth noting that the above interactive account requirements are only illustrative examples and are not limited to this application.
[0224] Step 1620: Receive a second interactive operation based on the global interactive information.
[0225] The second interaction operation is used to generate the second interaction.
[0226] In an illustrative manner, the interactive game content indicated by the global interactive information is used to trigger the barrage content that complies with preset interactive game rules, and a trigger operation on the target interactive barrage is received.
[0227] Step 1630, in response to the second interactive operation meeting the global interactive requirement, display the third bullet screen content.
[0228] Among them, the third barrage content is used to display the reward content for the second interaction.
[0229] Illustratively, the global interaction requirement is implemented as the target interactive barrage complying with the preset interactive game rules. In response to the triggering operation of the target interactive barrage complying with the global interaction requirement, the third barrage content is displayed, and the third barrage content includes the first account identifier, the preset interactive text content and the reward content for the second interaction.
[0230] To sum up, the method provided in the embodiment of the present application provides a method for implementing a global interactive game by receiving global interactive information sent by the background server based on the second request, receiving a second interactive operation based on the global interactive information, and displaying the third barrage content in response to the second interactive operation meeting the global interactive requirements, thereby improving the interactive participation based on the barrage display.
[0231] The method provided in the embodiment of the present application displays a first prompt message in response to the first account meeting the interactive account requirements, and the first prompt message is used to prompt the first account to perform a second interaction with the target live broadcast room, or displays a second prompt message in response to the first account not meeting the interactive account requirements, and the second prompt message is used to display the interactive account requirements. A prompt information display scheme for different accounts is provided, and by prompting the account to perform the second interaction or prompting the account with the interactive account requirements, the account's participation in the global interactive game is increased and the waste of device resources is reduced.
[0232] For illustration, please refer to Fig.17 , Fig.17 is a schematic diagram of a live broadcast framework provided by an exemplary embodiment of the present application. Fig.17 As shown, taking game live broadcast as an example, the broadcast terminal 1710 receives the operation control and reports it to the cloud server 1720, which is used to run the cloud game to render the game screen. The server 1720 sends the cloud game screen to the broadcast terminal 1710 for display, and sends the game screen to the audience terminal 1730 as the live broadcast screen. The audience terminal 1730 reports the behavior data to the cloud server, wherein the behavior data includes the interaction data and the operation data. The cloud server 1720 sends the machine barrage content to the audience terminal 1730 based on the behavior data, for example, the audience terminal 1730 Based on the received gift giving operation, a gift request corresponding to the gift giving operation is sent to the cloud server 1720, which includes gift information corresponding to the gift giving operation such as the first account identifier, the first timestamp, the virtual gift identifier, and the target live broadcast room identifier. The cloud server 1720 sends feedback information or a global broadcast information to the audience end 1730 based on the gift giving request, instructing the audience end 1730 to display the gift barrage content corresponding to the gift giving operation. At the same time, the server 1720 generates an automatic thank you barrage based on the behavior data corresponding to the gift giving operation and sends it to the audience end 1730, which is displayed by the audience end 1730.
[0233] In some embodiments, the machine bullet comment content is only sent to the corresponding viewer end, please refer to Fig.18 , Fig.18 This is a schematic diagram of the process of sending machine bullet comment content provided by an exemplary embodiment of the present application. Fig.18As shown, the first account 1810 watches the target live broadcast room corresponding to the anchor account 1820. During the viewing process, the terminal where the first account 1810 is located reports the interactive data to the background server. In response to the interactive data meeting the conditions for sending the machine bullet screen, the background server sends the corresponding machine bullet screen content to the terminal where the first account 1810 is located. Taking the attention prompt bullet screen as an example, in response to the first account 1810 entering the target live broadcast room, the background binds the first account ID corresponding to the first account 1810 and the anchor account ID corresponding to the anchor account 1820, and regularly reports the behavior data during the viewing process to the background server. The background server determines that the first account 1810 stays in the target live broadcast room for more than 5 minutes, and the first account 1810 does not follow the anchor account 1820, and it is considered that the interactive data meets the conditions for sending the attention prompt bullet screen. Then, the background server sends the attention prompt bullet screen to the first account 1810, and the attention prompt bullet screen includes the first account ID, the anchor account ID and the attention control. In response to the first account 1810 triggering the attention control, the attention operation on the anchor account 1820 is performed.
[0234] Fig.19 is a structural block diagram of a device for displaying bullet screen content provided by an exemplary embodiment of the present application, such as Fig.19 As shown, the device includes the following parts:
[0235] Processing module 1910, configured to send a first request to a background server in response to receiving a first interactive operation in a target live broadcast room at a first moment, wherein the first request is used to instruct a first interaction with the target live broadcast room;
[0236] The processing module 1910 is further configured to receive global broadcast information sent by the background server at a second moment, wherein the global broadcast information is information broadcasted to a global account in the target live broadcast room after the background server generates the first interaction based on the first request;
[0237] Display module 1920, configured to, in response to receiving feedback information fed back by the backend server within a preset time range after the first moment, display a first bullet comment content corresponding to the first interaction based on the feedback information, wherein the feedback information is information generated by the backend server in response to the first interaction corresponding to the first request;
[0238] The display module 1920 is also used to display the second barrage content corresponding to the first interaction based on the global broadcast information in response to not receiving the feedback information fed back by the background server within a preset time range after the first moment.
[0239] In some embodiments, the first request corresponds to a first account identifier and a first timestamp of a first account, and the first timestamp is used to indicate the first moment;
[0240] The processing module 1910 is used to perform on-screen detection on the second bullet-screen content based on the first account identifier and the first timestamp to obtain an on-screen detection result, where the on-screen detection result is used to indicate the display status of the first bullet-screen content;
[0241] The display module 1920 is used to display the second barrage content in response to the upper screen detection result indicating that the first barrage content is not displayed.
[0242] In some embodiments, the feedback information includes the first barrage content, the first account identifier and the first timestamp, and the global broadcast information includes the second barrage content, the first account identifier and the first timestamp;
[0243] In response to receiving feedback information fed back by the backend server within a preset time range after the first moment, writing the first account identifier and the first timestamp in the feedback information into a screen record table;
[0244] The processing module 1910 is configured to obtain the on-screen record table when the global broadcast information is received at the second moment;
[0245] The processing module 1910 is further configured to retrieve the on-screen record table based on the global broadcast information;
[0246] The processing module 1910 is further configured to obtain a first screen-on-screen detection result in response to the absence of the first account identifier corresponding to the first timestamp in the screen-on-screen record table, wherein the first screen-on-screen detection result is used to indicate that the first bullet comment content is not displayed;
[0247] The processing module 1910 is further used to obtain a second screen-on-screen detection result in response to the presence of the first account identifier corresponding to the first timestamp in the screen-on-screen record table, wherein the second screen-on-screen detection result is used to indicate that the first barrage content is displayed.
[0248] In some embodiments, the processing module 1910 is used to receive machine barrage content sent by the background server, where the machine barrage content is barrage content automatically generated by the background server based on the interactive data of the account in the target live broadcast room in the target live broadcast room;
[0249] The display module 1920 is used to display the machine barrage content.
[0250] In some embodiments, the machine comment content includes at least one of the following:
[0251] Automatic thank you bullet screen, the automatic thank you bullet screen is a bullet screen generated by the background server in response to the first interactive data, the first interactive data indicating that the first account performs the first operation in the target live broadcast room;
[0252] Automatic reply barrage, the automatic reply barrage is a barrage generated by the background server in response to the second interactive data, the second interactive data indicates that the first account publishes a barrage in the target live broadcast room that meets the content of the preset question;
[0253] Automatically welcome the bullet screen, where the automatic welcome bullet screen is a bullet screen generated by the backend server in response to third interactive data, where the third interactive data indicates that the first account has entered the target live broadcast room;
[0254] an attention prompt barrage, wherein the attention prompt barrage is a barrage generated by the background server in response to fourth interaction data, and the fourth interaction data indicates that the length of time the first account stays in the target live broadcast room reaches a preset length threshold;
[0255] The upgrade prompt barrage is a barrage generated by the background server in response to the fifth interactive data, and the fifth interactive data indicates that the account level of the first account in the target live broadcast room reaches a preset level threshold.
[0256] In some embodiments, the display module 1920 is further used to display target barrage content that meets the filtering requirements in response to receiving a barrage filtering operation.
[0257] In some embodiments, the display module 1920 is used to:
[0258] In response to receiving a first filtering operation, displaying target bullet-screen content that meets a first filtering requirement with a first display feature, wherein the first filtering requirement includes that an account identifier corresponding to the target bullet-screen content matches a preset account identifier; or
[0259] In response to receiving a second filtering operation, displaying target bullet-screen content that meets a second filtering requirement with a second display feature, wherein the second filtering requirement includes that the bullet-screen type of the target bullet-screen content is consistent with a preset type, and the bullet-screen type includes at least one of a text bullet-screen, a gift bullet-screen, a machine bullet-screen, and an interactive bullet-screen; or,
[0260] In response to receiving a third filtering operation, displaying target bullet-screen content that meets a third filtering requirement with a third display feature, wherein the third filtering requirement includes that the target bullet-screen content includes interaction information with the first account; or,
[0261] In response to receiving a fourth filtering operation, target bullet-screen content that meets a fourth filtering requirement is displayed with a fourth display feature, wherein the fourth filtering requirement includes that an account corresponding to the target bullet-screen content is associated with the first account.
[0262] In some embodiments, the processing module 1910 is used to receive global interaction information sent by the backend server based on a second request, where the second request is a request sent by the target live broadcast room to the backend server based on an interactive operation of the anchor account, and the global interaction information is information broadcasted by the backend server to a global account in the target live broadcast room after receiving the second request, and the global interaction information is used to instruct the global account to perform a second interaction with the target live broadcast room;
[0263] The processing module 1910 is further configured to receive a second interaction operation based on the global interaction information, where the second interaction operation is used to generate the second interaction;
[0264] The display module 1920 is used to display third barrage content in response to the second interactive operation meeting the global interactive requirements, and the third barrage content is used to show reward content for the second interaction.
[0265] In some embodiments, the global interaction information is used to instruct an account in the global account that meets the interaction account requirement to perform a second interaction with the target live broadcast room;
[0266] The display module 1920 is further configured to display first prompt information in response to the first account meeting the interactive account requirement, wherein the first prompt information is configured to prompt the first account to perform the second interaction with the target live broadcast room;
[0267] The display module 1920 is further configured to display second prompt information in response to the first account not meeting the interactive account requirement, where the second prompt information is used to show the interactive account requirement.
[0268] In some embodiments, the interactive account requirement includes that the account level of the first account reaches a preset level threshold; or,
[0269] The interactive account requirement includes that the first account is associated with the anchor account; or,
[0270] The interactive account requirement includes that the first account completes a preset interaction in the target live broadcast room.
[0271] To summarize, the device provided by the embodiment of the present application sends a first request to the background server in response to receiving a first interactive operation in the target live broadcast room at a first moment, the first request is used to indicate a first interaction with the target live broadcast room, receives global broadcast information sent by the background server at a second moment, the global broadcast information is information broadcast to the global account in the target live broadcast room after the background server generates the first interaction based on the first request, responds to feedback information fed back by the background server within a preset time range after the first moment, displays the first barrage content corresponding to the first interaction based on the feedback information, the feedback information is information generated by the background server in response to the first interaction corresponding to the first request, and displays the first barrage content based on the feedback information only before receiving the global broadcast information, While improving the barrage display efficiency, it avoids displaying the first barrage content again based on feedback information after the second barrage content has been displayed based on global broadcast information in the case of feedback information delay. In response to not receiving feedback information from the background server within a preset time range after the first moment, the second barrage content corresponding to the first interaction is displayed based on the global broadcast information. When the global broadcast information is received but no feedback information is received, the second barrage content is displayed, avoiding the situation where the barrage content cannot be displayed in time when the feedback information is delayed. The two display schemes of the barrage are determined by the feedback information reception situation within the preset time range after the first moment, thereby ensuring a single display of the barrage based on the same operation, avoiding the problem of repeated display of the barrage, and improving the accuracy of the barrage display.
[0272] It should be noted that the display device for barrage content provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0273] Fig. 20 The structure block diagram of a terminal 2000 provided by an exemplary embodiment of the present application is shown. The terminal 2000 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 2000 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0274] Typically, the terminal 2000 includes: a processor 2001 and a memory 2002 .
[0275] The processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2001 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0276] The memory 2002 may include one or more computer-readable storage media, which may be non-transitory. The memory 2002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, which is used to be executed by the processor 2001 to implement the method for displaying the barrage content provided in the method embodiment of the present application.
[0277] In some embodiments, the terminal 2000 also includes other components, which can be understood by those skilled in the art. Fig. 20 The structure shown in the figure does not constitute a limitation on the terminal 2000, and the terminal 2000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0278] The embodiment of the present application also provides a computer device, which can be implemented as follows: Figure 1 The terminal or server shown. The computer device includes a processor and a memory, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the method for displaying the barrage content provided by the above-mentioned method embodiments.
[0279] An embodiment of the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the method for displaying barrage content provided by the above-mentioned method embodiments.
[0280] The embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying the bullet content provided by the above-mentioned method embodiments.
[0281] Optionally, the computer readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD) or optical disks, etc. Among them, the random access memory may include resistance random access memory (ReRAM) and dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0282] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0283] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for displaying barrage content, characterized in that: The method comprises: In response to receiving a first interactive operation in a target live broadcast room at a first moment, sending a first request to a backend server, wherein the first request is used to instruct a first interaction with the target live broadcast room; receiving, at a second moment, global broadcast information sent by the backend server, wherein the global broadcast information is information broadcasted to a global account in the target live broadcast room after the backend server generates the first interaction based on the first request; In response to receiving feedback information fed back by the background server within a preset time range after the first moment, displaying a first bullet comment content corresponding to the first interaction based on the feedback information, wherein the feedback information is information generated by the background server in response to the first interaction corresponding to the first request; In response to not receiving the feedback information fed back by the background server within a preset time range after the first moment, displaying the second barrage content corresponding to the first interaction based on the global broadcast information.
2. The method according to claim 1, characterized in that The first request corresponds to a first account identifier and a first timestamp of the first account, where the first timestamp is used to indicate the first moment; In response to not receiving the feedback information fed back by the background server within a preset time range after the first moment, displaying the second bullet screen content corresponding to the first interaction based on the global broadcast information includes: Performing a screen detection on the second bullet chat content based on the first account identifier and the first timestamp to obtain a screen detection result, wherein the screen detection result is used to indicate a display status of the first bullet chat content; In response to the on-screen detection result indicating that the first barrage content is not displayed, the second barrage content is displayed.
3. The method according to claim 2, characterized in that The feedback information includes the first barrage content, the first account identifier and the first timestamp, and the global broadcast information includes the second barrage content, the first account identifier and the first timestamp; The method further comprises: In response to receiving feedback information fed back by the backend server within a preset time range after the first moment, writing the first account identifier and the first timestamp in the feedback information into a screen record table; The performing on-screen detection on the second bullet screen content based on the first account identifier and the first timestamp to obtain an on-screen detection result includes: When the global broadcast information is received at the second moment, acquiring the on-screen record table; Retrieving the on-screen record table based on the global broadcast information; In response to the first account identifier corresponding to the first timestamp not existing in the on-screen record table, obtaining a first on-screen detection result, where the first on-screen detection result is used to indicate that the first bullet comment content is not displayed; In response to the presence of the first account identifier corresponding to the first timestamp in the screen record table, a second screen detection result is obtained, and the second screen detection result is used to indicate that the first bullet screen content is displayed.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Receiving machine barrage content sent by the backend server, where the machine barrage content is barrage content automatically generated by the backend server based on interactive data of the accounts in the target live broadcast room in the target live broadcast room; Display the content of the machine barrage.
5. The method according to claim 4, characterized in that The machine bullet comment content includes at least one of the following: Automatic thank you bullet screen, the automatic thank you bullet screen is a bullet screen generated by the background server in response to the first interactive data, the first interactive data indicating that the first account performs the first operation in the target live broadcast room; Automatic reply barrage, the automatic reply barrage is a barrage generated by the background server in response to the second interactive data, the second interactive data indicates that the first account publishes a barrage in the target live broadcast room that meets the content of the preset question; Automatically welcome the bullet screen, where the automatic welcome bullet screen is a bullet screen generated by the background server in response to third interactive data, where the third interactive data indicates that the first account has entered the target live broadcast room; an attention prompt barrage, wherein the attention prompt barrage is a barrage generated by the background server in response to fourth interaction data, and the fourth interaction data indicates that the length of time the first account stays in the target live broadcast room reaches a preset length threshold; The upgrade prompt barrage is a barrage generated by the background server in response to the fifth interactive data, and the fifth interactive data indicates that the account level of the first account in the target live broadcast room reaches a preset level threshold.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: In response to receiving a bullet screen filtering operation, target bullet screen content that meets the filtering requirements is displayed.
7. The method according to claim 6, characterized in that The step of displaying target bullet-screen content that meets the filtering requirement in response to receiving the bullet-screen filtering operation includes: In response to receiving a first filtering operation, displaying target bullet-screen content that meets a first filtering requirement with a first display feature, wherein the first filtering requirement includes that an account identifier corresponding to the target bullet-screen content matches a preset account identifier; or In response to receiving a second filtering operation, displaying target bullet-screen content that meets a second filtering requirement with a second display feature, wherein the second filtering requirement includes that the bullet-screen type of the target bullet-screen content is consistent with a preset type, and the bullet-screen type includes at least one of a text bullet-screen, a gift bullet-screen, a machine bullet-screen, and an interactive bullet-screen; or, In response to receiving a third filtering operation, displaying target bullet-screen content that meets a third filtering requirement with a third display feature, wherein the third filtering requirement includes that the target bullet-screen content includes interaction information with the first account; or, In response to receiving a fourth filtering operation, target bullet-screen content that meets a fourth filtering requirement is displayed with a fourth display feature, wherein the fourth filtering requirement includes that an account corresponding to the target bullet-screen content is associated with the first account.
8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Receiving global interaction information sent by the backend server based on a second request, wherein the second request is a request sent by the target live broadcast room to the backend server based on an interactive operation of the anchor account, and the global interaction information is information broadcasted by the backend server to a global account in the target live broadcast room after receiving the second request, and the global interaction information is used to instruct the global account to perform a second interaction with the target live broadcast room; receiving a second interaction operation based on the global interaction information, where the second interaction operation is used to generate the second interaction; In response to the second interactive operation meeting the global interactive requirements, a third barrage content is displayed, and the third barrage content is used to show reward content for the second interaction.
9. The method according to claim 8, characterized in that The global interaction information is used to instruct the accounts in the global accounts that meet the interaction account requirements to perform a second interaction with the target live broadcast room; After receiving the global interactive information sent by the background server based on the second request, the method further includes: In response to the first account meeting the interactive account requirement, displaying first prompt information, wherein the first prompt information is used to prompt the first account to perform the second interaction with the target live broadcast room; In response to the first account not meeting the interactive account requirement, second prompt information is displayed, where the second prompt information is used to show the interactive account requirement.
10. The method according to claim 9, characterized in that The interactive account requirement includes that the account level of the first account reaches a preset level threshold; or, The interactive account requirement includes that the first account is associated with the anchor account; or, The interactive account requirement includes that the first account completes a preset interaction in the target live broadcast room.
11. A device for displaying bullet screen content, characterized in that: The device comprises: A processing module, configured to send a first request to a background server in response to receiving a first interactive operation in a target live broadcast room at a first moment, wherein the first request is used to instruct a first interaction with the target live broadcast room; The processing module is further configured to receive global broadcast information sent by the background server at a second moment, wherein the global broadcast information is information broadcasted to a global account in the target live broadcast room after the background server generates the first interaction based on the first request; A display module, configured to, in response to receiving feedback information fed back by the backend server within a preset time range after the first moment, display a first bullet screen content corresponding to the first interaction based on the feedback information, wherein the feedback information is information generated by the backend server in response to the first interaction corresponding to the first request; The display module is also used to display the second barrage content corresponding to the first interaction based on the global broadcast information in response to not receiving the feedback information fed back by the background server within a preset time range after the first moment.
12. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the method for displaying barrage content as described in any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: The storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the method for displaying barrage content as described in any one of claims 1 to 10.
14. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the method for displaying barrage content as described in any one of claims 1 to 10.