Bullet screen processing method and device, equipment, storage medium and program product

By still displaying and updating the interaction parameters of multiple barrages in the multimedia playback interface, the problem of low barrage interaction efficiency when viewing multimedia is solved, and a more efficient user interaction experience is achieved.

CN119071554APending Publication Date: 2024-12-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310638989.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

When viewing multimedia data, the audience needs to view and interact with multiple barrages one by one, resulting in low interaction efficiency and affecting the user experience.

Method used

At least two barrages are displayed at rest in the multimedia playback interface, and the corresponding interaction parameters are displayed in each barrage. The barrage parameters are updated in response to user interaction operations, and the synchronous display and interaction of multiple barrages are supported.

Benefits of technology

It improves the viewing and interaction efficiency of barrage, reduces cumbersome viewing operations, saves communication and computing resources, and enhances user interaction experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071554A_ABST
    Figure CN119071554A_ABST
Patent Text Reader

Abstract

The invention provides a bullet screen processing method and device, equipment, a storage medium and a program product. The method comprises the following steps: displaying a multimedia playing interface; at least two bullet screens are displayed in a static mode in the multimedia playing interface, interaction parameters of the corresponding bullet screens are displayed in each bullet screen, and viewpoints expressed by bullet screen contents of the at least two bullet screens are different; and in response to the interaction operation for any bullet screen, updating and displaying the interaction parameters of the corresponding bullet screen. According to the invention, the interaction efficiency of the bullet screen can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to Internet technology, and in particular to a bullet screen processing method, device, equipment, storage medium and program product. Background Art

[0002] With the continuous development of the Internet, the barrage section of rich media is increasingly favored by major giants. Barrage can be seen on many platforms. Users can use barrage to publish their insights and ideas on multimedia data. Thus, users can understand other users' insights and ideas on multimedia data through barrage.

[0003] Currently, when viewers watch multimedia data such as video or audio, they are often interested in certain bullet comments, so they check these bullet comments one by one, compare these interesting bullet comments, and interact with them. Since this viewing method is too cumbersome, it leads to poor interaction efficiency and affects user experience. Summary of the invention

[0004] The embodiments of the present application provide a barrage processing method, device, electronic device, computer-readable storage medium and computer program product, which can improve the interactive efficiency of barrage.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a bullet screen processing method, including:

[0007] Display multimedia playback interface;

[0008] Displaying at least two bullet screens in a static manner in the multimedia playback interface, and displaying the interaction parameters of the corresponding bullet screen in each of the bullet screens, wherein the bullet screen contents of the at least two bullet screens express different viewpoints;

[0009] In response to an interactive operation on any of the barrages, the interactive parameters of the corresponding barrage are updated and displayed.

[0010] The present application provides a bullet screen processing device, including:

[0011] Display module, used to display the multimedia playback interface;

[0012] Displaying at least two bullet screens in a static manner in the multimedia playback interface, and displaying the interaction parameters of the corresponding bullet screen in each of the bullet screens, wherein the bullet screen contents of the at least two bullet screens express different viewpoints;

[0013] The interactive module is used to update and display the interactive parameters of the corresponding barrage in response to the interactive operation on any of the barrages.

[0014] An embodiment of the present application provides an electronic device for bullet screen processing, the electronic device comprising:

[0015] Memory for storing computer programs or computer executable instructions;

[0016] The processor is used to implement the barrage processing method provided in the embodiment of the present application when executing the computer program or computer executable instructions stored in the memory.

[0017] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the barrage processing method provided in the embodiment of the present application is implemented.

[0018] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions, which, when executed by a processor, implements the barrage processing method provided in the embodiment of the present application.

[0019] The embodiments of the present application have the following beneficial effects:

[0020] By statically displaying at least two barrages and the interactive parameters corresponding to the barrages in the multimedia playback interface, the user can view at least two barrages of interest at one time, and understand the interactive status of each barrage through the interactive parameters of the barrages. It also supports interaction with any of the at least two barrages, and updates the interactive parameters of the barrages based on the interactive operations. Compared with the solution of viewing the barrages one by one, it reduces tedious viewing operations, improves viewing efficiency and interaction efficiency, and thus saves related communication resources and computing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic diagram of the architecture of a multimedia playback system provided in an embodiment of the present application;

[0022] Figure 2 is a structural schematic diagram of an electronic device for barrage processing provided in an embodiment of the present application;

[0023] Figure 3A-Figure 3F It is a flowchart of the bullet screen processing method provided in the embodiment of the present application;

[0024] Figure 4A It is a flowchart of barrage editing and barrage selection provided in an embodiment of the present application;

[0025] Figure 4B It is a schematic diagram of the process of sending barrage provided in an embodiment of the present application;

[0026] Figure 4CIt is a flowchart of barrage selection and barrage editing provided in an embodiment of the present application;

[0027] Figure 4D It is a flowchart of automatically triggering an interaction initiation control provided in an embodiment of the present application;

[0028] Figure 5 It is a flowchart of editing and selecting barrage provided in an embodiment of the present application;

[0029] Figure 6 It is a schematic diagram of the comparison (PK) method provided in the embodiment of the present application;

[0030] Fig. 7A is a schematic diagram of a bomb attack provided by an embodiment of the present application;

[0031] Figure 7B is a schematic diagram of a bow and arrow attack provided in an embodiment of the present application;

[0032] Figure 7C is a schematic diagram of a flame attack provided in an embodiment of the present application;

[0033] Figure 8 It is a schematic diagram of a barrage to determine the winner provided in an embodiment of the present application;

[0034] Fig. 9 It is a flowchart of long pressing to select a bullet screen and editing a bullet screen provided in an embodiment of the present application;

[0035] Fig. 10A is a schematic diagram of a pinch barrage provided in an embodiment of the present application;

[0036] Fig. 10B It is a schematic diagram of the barrage PK provided in the embodiment of the present application;

[0037] Fig. 10C It is a schematic diagram of the barrage PK provided in the embodiment of the present application;

[0038] Fig.11A It is a flowchart of selecting a high-like number bullet comment and editing a bullet comment provided in an embodiment of the present application;

[0039] Fig. 11B It is a schematic diagram of the process of attack barrage provided by an embodiment of the present application;

[0040] Fig.12 is a schematic diagram of a view layer provided in an embodiment of the present application;

[0041] Fig.13 It is a flow chart of the barrage processing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0043] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0044] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0046] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0047] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or at least two operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of at least two operations executed.

[0048] 2) Client: An application running in a terminal to provide various services, such as a video playback client, a live broadcast client, etc.

[0049] 3) Danmu: refers to comments that appear directly on multimedia data (such as video, audio, text). They can appear on the multimedia data in the form of floating, sliding, or even more action effects. They are short comments sent by users who watch multimedia data, such as the commentary subtitles that pop up when watching videos or audio on the Internet.

[0050] 4) Health Point (HP): Also known as the health bar, it refers to the health value of the bullet screen. For example, in the comparison (PK, Player Killing) mode, when the health value of a bullet screen returns to zero, it is determined that the bullet screen has failed in the PK mode.

[0051] 5) Layer: refers to a rectangular area in an application that is used to render views on the screen. A layer is like a film containing elements such as text or graphics, which are stacked together in order to form the final effect of the page. Layers can accurately locate elements on the page. You can add text, pictures, tables, plug-ins to a layer, and you can also nest layers within layers.

[0052] Each layer is composed of many pixels, and the layers are stacked up and down to form the entire image. To use an analogy, each layer is like a transparent "glass", and the layer content is drawn on these "glasses". If there is nothing on the "glass", it is a completely transparent empty layer. When each "glass" has an image, looking down on all the layers from top to bottom, an image display effect is formed.

[0053] 6) Full-duplex communication protocol based on Transmission Control Protocol (TCP) (WebSocket): It is a network protocol that supports two-way communication and can create a real-time and efficient communication channel between the client and the server. Compared with the request-response mode of Hypertext Transfer Protocol (HTTP), WebSocket can maintain a persistent connection between the two parties after the connection is established, realizing true real-time communication.

[0054] 7) Shader file: A special computer program file that contains code for performing specific calculations in the graphics rendering pipeline. In graphics rendering, shader files are mainly used to control the appearance and material of geometric shapes. Shader files are executed in the graphics rendering pipeline and can control the calculation of vertex positions, color and texture coordinates, and pixel color and depth.

[0055] The embodiments of the present application provide a barrage processing method, device, electronic device, computer-readable storage medium and computer program product, which can improve the interactive efficiency of barrage.

[0056] The barrage processing method provided in the embodiment of the present application can be implemented by the terminal alone; it can also be implemented jointly by the terminal and the server. For example, the terminal alone undertakes the barrage processing method described below, or the terminal sends an interactive operation for any barrage to the server, and the server updates the interactive parameters of the corresponding barrage based on the received interactive operation for any barrage, and sends the updated interactive parameters to other terminals that enter the multimedia playback interface, so as to display the updated interactive parameters on other terminals, so as to realize synchronous display of the interactive parameters.

[0057] The following describes an exemplary application of the electronic device provided by the embodiment of the present application. The electronic device provided by the embodiment of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices, vehicle-mounted devices), smart phones, smart speakers, smart watches, smart TVs, and vehicle-mounted terminals. The following describes an exemplary application when the electronic device is implemented as a terminal.

[0058] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the multimedia playback system 10 provided in an embodiment of the present application, wherein the terminals (exemplarily shown are terminal 200-1 and terminal 200-2) are connected to the server 100 via a network 300, wherein the network 300 may be a wide area network or a local area network, or a combination of the two.

[0059] In some embodiments, taking the electronic device as a terminal as an example, the bullet screen processing method provided in the embodiment of the present application can be implemented by the terminal. For example, terminal 200-1 displays a multimedia playback interface, statically displays at least two bullet screens in the multimedia playback interface, and displays the interactive parameters of the corresponding bullet screen in each bullet screen, and updates the interactive parameters of the corresponding bullet screen in response to the interactive operation for any bullet screen, so that the user can view all the at least two bullet screens of interest at one time, and understand the interactive situation of each bullet screen through the interactive parameters of the bullet screen, and also supports the interaction of any bullet screen in at least two bullet screens, reducing cumbersome viewing operations and improving viewing efficiency and interaction efficiency.

[0060] In some embodiments, the bullet screen processing method provided in the embodiments of the present application can also be implemented by the server and the terminal in collaboration. For example, the terminal 200-1 displays a multimedia playback interface, statically displays at least two bullet screens in the multimedia playback interface, and displays the interactive parameters of the corresponding bullet screen in each bullet screen, receives interactive operations for any bullet screen, and sends interactive operations for any bullet screen to the server 100. The server 100 updates the interactive parameters of the corresponding bullet screen according to the received interactive operations for any bullet screen, and sends the updated interactive parameters to the terminal 200-1 and the terminal 200-2 that enters the multimedia playback interface, so as to display the updated interactive parameters on the terminal 200-1 and the terminal 200-2, so as to realize the synchronous display of the interactive parameters, so that the user can view all the at least two bullet screens of interest at one time, and understand the interactive situation of each bullet screen through the interactive parameters of the bullet screen, and also supports the interaction of any bullet screen in at least two bullet screens, which reduces the cumbersome viewing operation and improves the viewing efficiency and the interaction efficiency.

[0061] In some embodiments, the terminal or server can implement the barrage processing method provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be microprogram-level commands, machine instructions or software instructions. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a live broadcast application or a video playback application; it can also be a small program embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0062] In some embodiments, server 100 can be an independent physical server, or a server cluster or distributed system composed of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, 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. Among them, the cloud service can be a barrage processing service for terminals to call.

[0063] In some embodiments, at least two servers may form a blockchain, and server 100 is a node on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through the above information connections. Among them, data related to the barrage processing method provided in the embodiment of the present application (such as the logic of barrage processing and updated interactive parameters) may be stored on the blockchain.

[0064] The structure of the electronic device for barrage processing provided by the embodiment of the present application is described below. Figure 2 , Figure 2 1 is a schematic diagram of the structure of an electronic device 500 for bullet screen processing provided in an embodiment of the present application. Taking the electronic device 500 as a terminal as an example, Figure 2 The electronic device 500 for barrage processing shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 2 Various buses are labeled as bus system 540 .

[0065] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0066] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory. The memory 550 optionally includes one or at least two storage devices that are physically far away from the processor 510.

[0067] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0068] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0069] A network communication module 552, used to reach other electronic devices via one or at least two (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;

[0070] In some embodiments, the barrage processing device provided in the embodiments of the present application can be implemented in software. The barrage processing device provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes.

[0071] Figure 2 A barrage processing device 555 stored in a memory 550 is shown, which may be software in the form of a program or plug-in, and includes a series of modules, including a display module 5551 and an interactive module 5552. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0072] As mentioned above, the bullet screen processing method provided in the embodiment of the present application can be implemented by various types of electronic devices, such as a terminal, a server, or a combination of the two. Therefore, the execution subject of each step will not be repeated below. Figure 3A , Figure 3A is a flowchart of the method for processing bullet comments provided in the embodiment of the present application, combined with Figure 3A The steps shown are explained.

[0073] In step 101, a multimedia playback interface is displayed.

[0074] The multimedia playback interface is used to play multimedia data. The multimedia data may be a data stream in an audio format, and the audio content, such as audio parameters (waveform, sampling rate, etc.), lyrics, etc., may be played in the multimedia playback interface according to the data stream in the audio format; the multimedia data may be a data stream in a video format, and the video screen may be played in the multimedia playback interface according to the data stream in the video format.

[0075] It should be noted that the embodiment of the present application implements the barrage processing method through the view layer. The view layer includes a multimedia playback layer (including a video playback layer), a barrage layer and a comparison (PK) layer. The multimedia playback layer is used to play multimedia data, so that the multimedia data playback is separated from the barrage.

[0076] In step 102, at least two bullet screens are displayed in a static manner in the multimedia playback interface, and the interactive parameters of the corresponding bullet screen are displayed in each bullet screen.

[0077] Among them, the barrage contents of at least two barrages express different viewpoints. The barrage contents of the barrages can express different viewpoints on the multimedia data. By controlling at least two barrages to enter interaction, at least two barrages are displayed in a static manner in the multimedia playback interface, so that subsequent users can quickly view multiple (that is, at least two) barrages expressing different viewpoints, and based on the different viewpoints expressed by the barrages, interactive operations are performed on the static multiple barrages, and the positions or views on the at least two barrages are expressed through interactive operations.

[0078] Among them, the data type of the barrage content includes at least one of the following: text, picture, voice, and expression. For example, taking the data whose barrage content is in the form of text as an example, the barrages displayed in a static manner in the multimedia playback interface are respectively: Barrage 1: "XX actor in this video did not perform well this time, bad review", Barrage 2: "XX actor played himself, thumbs up", then barrage 1 and barrage 2 express different views on the "XX actor" in the multimedia data, the barrage content of barrage 1 expresses critical views on the "XX actor", and the barrage content of barrage 2 expresses praise for the "XX actor"; taking the data whose barrage content is in the form of expression as an example, the barrages displayed in a static manner in the multimedia playback interface are respectively: Barrage 3: vomiting expression, barrage 4: like expression, then barrage 3 and barrage 4 express different views on the multimedia data, the barrage content of barrage 3 expresses a dislike for the multimedia data, and the barrage content of barrage 4 expresses a like for the multimedia data.

[0079] Among them, the interactive parameter is used to compare at least two barrages. For example, when the interactive parameter is the HP value, the higher the HP value, the less the corresponding barrage is attacked, and the stronger the corresponding barrage is; when the interactive parameter is the number of likes, the higher the number of likes, the more popular the corresponding barrage is. Since at least two barrages need to be compared, the at least two barrages compared by the interactive parameter are in comparison (PK) mode, and therefore, the barrage in PK mode can also be called PK barrage.

[0080] It should be noted that step 102 can be completed in the PK layer, that is, at least two bullet comments are displayed in the PK layer, and the interaction parameters of the corresponding bullet comments are displayed.

[0081] In some embodiments, step 102 can be implemented in the following manner: display at least two bullet screens at a fixed position in the multimedia playback interface using the same display parameters, wherein the display parameters include at least one of the following: color, size, shape, and special effects.

[0082] Among them, by using the same display parameters, at least two bullet screens are displayed on the multimedia playback interface, which can highlight the at least two bullet screens as a group of interactive bullet screens and distinguish them from the bullet screens that do not participate in the interaction.

[0083] See also Figure 3B , Figure 3B is another flowchart of the bullet screen processing method provided in the embodiment of the present application. Figure 3B Show Figure 3A Step 102 can be implemented through step 1021: in step 1021, in response to a trigger operation of controlling at least two barrages to enter interaction, the positions of at least two barrages in the multimedia playback interface are controlled to remain stationary, and the interaction parameters of the corresponding barrage are displayed in each barrage.

[0084] Among them, step 1021 is a trigger operation by controlling at least two barrages to enter interaction, that is, triggering at least two barrages to enter interactive mode (also known as PK mode), and controlling the positions of at least two barrages in the multimedia playback interface to remain stationary, wherein the barrage entering PK mode is the PK mode barrage, and the PK mode barrage is displayed statically in the multimedia playback interface so that users can interact with the PK mode barrage.

[0085] See also Figure 3C , Figure 3C is another flowchart of the bullet screen processing method provided in the embodiment of the present application. Figure 3C Show Figure 3B Step 1021 can be implemented through step 10211: one of the at least two barrages is a new barrage formed by a barrage editing operation, and the remaining barrages are historical barrages selected by a barrage selection operation, and the historical barrages are barrages displayed in the multimedia playback interface before the barrage selection operation; in step 10211, in response to the barrage selection operation for the historical barrage and the barrage editing operation for the new barrage, the positions of the historical barrages and the new barrages in the multimedia playback interface are controlled to remain unchanged, and the interactive parameters of the corresponding barrage are displayed in each barrage.

[0086] Here, step 10211 is to trigger at least two barrages to enter the interactive mode through barrage selection operation and barrage editing operation.

[0087] See also Figure 3D , Figure 3D is another flowchart of the bullet screen processing method provided in the embodiment of the present application. Figure 3D Show Figure 3CStep 10211 in the above can be implemented through steps 1A to 3A: in step 1A, a barrage editing area is displayed in the multimedia playback interface; in step 2A, in response to a barrage editing operation in the barrage editing area, barrage content corresponding to the barrage editing operation is displayed in the barrage editing area; in step 3A, in response to a barrage selection operation for a historical barrage, the position of a new barrage formed by the barrage content and the historical barrage in the multimedia playback interface is controlled to remain stationary, and the interactive parameters of the corresponding barrage are displayed in each barrage.

[0088] The embodiment of the present application is not limited to the operation form of the bullet screen selection operation, which can be a long press, double click, etc. Figure 4A As shown, a barrage editing area 401 is displayed in the multimedia playback interface, and in response to the barrage editing operation in the barrage editing area 401, the barrage content 402 corresponding to the barrage editing operation is displayed in the barrage editing area 401, and in response to the barrage selection operation for the historical barrage 403 in the multimedia playback interface, the new barrage 404 formed by the barrage content 402 and the position of the historical barrage 403 in the multimedia playback interface are controlled to remain stationary.

[0089] Here we need to explain step 2A, such as Figure 4A As shown, during the process of performing the bullet screen editing operation in the bullet screen editing area, the multimedia data to be played back in the multimedia playback interface can be controlled to stop, and all historical bullet screens in the multimedia playback interface can be controlled to stop moving (such as Figure 4A The barrage "Fat Face" in the multimedia playback interface stops moving), and the position when the barrage editing operation is triggered remains unchanged, so as to avoid missing the barrage or multimedia data that may be of interest during the editing of the barrage. When responding to the barrage selection operation for the historical barrage, after controlling the positions of the new barrage formed by the barrage content and the historical barrage in the multimedia playback interface to remain unchanged, the barrages in the multimedia playback interface except the new barrage and the historical barrage resume moving.

[0090] Of course, if Figure 4B As shown, during the process of performing the bullet screen editing operation in the bullet screen editing area, the multimedia playback interface can continue to play the multimedia data, and all the historical bullet screens in the multimedia playback interface can continue to move (such as Figure 4B The barrage "Fat Face" in the video is still moving), so that the process of editing barrage will not affect the playback of multimedia data and the movement of historical barrage, and users can view more historical barrage.

[0091] In some embodiments, after step 2A, in response to a trigger operation on an interaction initiation control (also known as a PK button) in the barrage editing area, part of the barrage editing area is hidden; therefore, step 3A can be implemented in the following manner: in response to a trigger operation on historical barrages and a sending operation on barrage content, a new barrage formed by the barrage content is sent to the multimedia playback interface, and the positions of the historical barrages and the new barrages in the multimedia playback interface are controlled to remain stationary.

[0092] Here, hiding part of the bullet screen editing area is to display more historical bullet screens for user convenience. The bullet screen selection is completed by triggering the historical bullet screens and sending the bullet screen contents, so as to trigger the historical bullet screens and new bullet screens to enter the interactive mode. Figure 4B As shown, in response to the barrage editing operation in the barrage editing area 401, the barrage content 402 corresponding to the barrage editing operation is displayed in the barrage editing area 401, in response to the trigger operation of the interaction initiation control 405 in the barrage editing area 401, part of the barrage editing area 401 is hidden, and in response to the trigger operation of the historical barrage 403 and the sending operation of the barrage content 402 (for example, the trigger operation of the send button 406), the new barrage 404 formed by the barrage content 402 is sent to the multimedia playback interface, and the positions of the historical barrage 403 and the new barrage 404 in the multimedia playback interface are controlled to remain stationary.

[0093] See also Figure 3E , Figure 3E is another flowchart of the bullet screen processing method provided in the embodiment of the present application. Figure 3E Show Figure 3C Step 10211 in the above process can be implemented through steps 1B to 3B: in step 1B, in response to a barrage selection operation for a historical barrage, a barrage editing area is displayed in the multimedia playback interface; in step 2B, in response to a barrage editing operation in the barrage editing area, the position of the new barrage formed by the barrage editing operation and the historical barrage in the multimedia playback interface is controlled to remain unchanged, and the interactive parameters of the corresponding barrage are displayed in each barrage.

[0094] The embodiment of the present application is not limited to the operation form of the bullet screen selection operation, which can be a long press, double click, etc. Figure 4C As shown, in response to the barrage selection operation for the historical barrage 403, the barrage editing area 401 is displayed in the multimedia playback interface, and in response to the barrage editing operation in the barrage editing area 401, the new barrage 404 formed by the barrage editing operation and the historical barrage 403 are controlled to remain stationary in the multimedia playback interface.

[0095] Step 1B needs to be explained here. During the barrage selection process for historical barrages, the multimedia data that stops playing in the multimedia playback interface can be controlled, and all historical barrages in the multimedia playback interface can be controlled to stop moving, and the position when the barrage selection operation is triggered remains unchanged, so that in the subsequent barrage editing process, the selected barrage can be viewed and the barrage can be edited according to the barrage content of the selected barrage.

[0096] In some embodiments, step 1B can be implemented in the following ways: in response to a trigger operation on historical barrage, an interaction initiation control is displayed in the historical barrage; in response to a trigger operation on the interaction initiation control, a barrage editing area is displayed in the multimedia playback interface.

[0097] The embodiment of the present application is not limited to the operation form of the trigger operation, which can be a click, a long press, a double click, etc. Fig. 9 As shown, in response to a trigger operation on the historical barrage 901, an interaction initiation control 902 is displayed in the historical barrage 901, and in response to a trigger operation on the interaction initiation control 902, a barrage editing area 903 is displayed in the multimedia playback interface.

[0098] In some embodiments, step 1B can be implemented in the following ways: in response to the number of interactions of the historical barrage reaching an interaction number threshold, an interaction initiation control is displayed in the historical barrage; in response to a trigger operation on the interaction initiation control, a barrage editing area is displayed in the multimedia playback interface.

[0099] like Figure 4D As shown, in response to the number of interactions (e.g., the number of likes) of the historical barrage 403 reaching an interaction number threshold (e.g., 999), an interaction initiation control 406 is displayed in the historical barrage 403, and in response to a trigger operation on the interaction initiation control 403, a barrage editing area 401 is displayed in the multimedia playback interface.

[0100] In some embodiments, step 2B can be implemented in the following ways: in response to an editing operation of an editing box in the barrage editing area, displaying the barrage content corresponding to the editing operation in the editing box; in response to a trigger operation of an interactive initiation control in the barrage editing area, sending a new barrage formed by the barrage content to the multimedia playback interface, and controlling the positions of historical barrages and new barrages in the multimedia playback interface to remain stationary.

[0101] Here, the completion of the bullet screen editing is determined by triggering the interactive initiation control in the bullet screen editing area to trigger the historical bullet screen and the new bullet screen to enter the interactive mode. Fig. 9As shown, in response to the editing operation of the editing box 904 in the barrage editing area 903, the barrage content corresponding to the editing operation is displayed in the editing box 904, and in response to the triggering operation of the interactive initiation control 905 in the barrage editing area 903, the new barrage formed by the barrage content is sent to the multimedia playback interface, and the positions of the historical barrage and the new barrage in the multimedia playback interface are controlled to remain unchanged.

[0102] In some embodiments, at least two barrages are at least two historical barrages selected through a barrage selection operation, and the historical barrages are barrages displayed in the multimedia playback interface before the barrage selection operation; step 1021 can be implemented in the following way: in response to the barrage selection operation for at least two historical barrages, the positions of at least two historical barrages in the multimedia playback interface are controlled to remain stationary.

[0103] Here, the embodiments of the present application are not limited to the operation mode of the bullet screen selection operation, such as long press, double click, etc. For example, the bullet screen selection operation can be implemented in the following manner: pressing at least two historical bullet screens, and releasing at least two historical bullet screens when at least two historical bullet screens meet the releasable conditions. Among them, the releasable conditions include at least one of the following: moving at least two historical bullet screens while maintaining the pressing state until at least two historical bullet screens overlap each other; maintaining the pressing state for a set time.

[0104] Take the release condition of moving at least two historical bullet comments while keeping the button pressed as an example, Fig. 10A As shown, in response to the pressing operation of two historical bullet screens (bullet screen 1001 and bullet screen 1002), green frames 1003 appear on the two historical bullet screens to indicate that the two historical bullet screens are selected and triggered. In response to pinching the two historical bullet screens while maintaining the pressing state, the two historical bullet screens are controlled to follow the pinching operation to fit until the distance between the two historical bullet screens is less than the distance threshold, that is, there is an overlap between the two historical bullet screens, red frames 1004 appear on the two historical bullet screens, and the two historical bullet screens are released. Fig. 10B As shown, the barrage 1001 and barrage 1002 are controlled to remain stationary at the position where the red frame appears. Of course, the two historical barrages can also be controlled to be connected horizontally or vertically side by side to indicate that the two historical barrages enter the interactive mode, such as Fig. 10C As shown, two historical bullet comments (bullet comment 1001 and bullet comment 1002) are connected together by the "PK" text and displayed side by side horizontally.

[0105] It should be noted that, when at least two historical bullet comments are selected from the multimedia playback interface to enter the interactive mode, a prompt message is displayed in the multimedia playback interface of the publishing account corresponding to the selected historical bullet comments, and the prompt message is used to indicate that the published historical bullet comments are selected to enter the interactive mode, for example, Fig. 10CAs shown, the prompt information is text information 1005 "Facial and Muscular PK begins". After selecting at least two historical bullet comments from the multimedia playback interface to enter the interactive mode, the historical bullet comments that have entered the interactive mode can be displayed in the multimedia playback interface of other accounts (in the accounts that play multimedia data, except for the accounts corresponding to the selected historical bullet comments that have been published), such as Fig. 10C As shown, two historical barrages (barrage 1001 and barrage 1002) are displayed in the multimedia playback interface, connected together by the "PK" text, and the two historical barrages are displayed side by side horizontally. Then other accounts can interact with the historical barrages (barrage 1001 and barrage 1002) that enter the interactive mode, thereby allowing users to deeply participate in the barrage interaction and improve user stickiness.

[0106] In some embodiments, at least two barrages are the first part of the barrages displayed in the multimedia playback interface. Before controlling the positions of at least two barrages in the multimedia playback interface to remain stationary, in the multimedia playback interface, the second part of the barrages is controlled to move in the multimedia playback interface until it moves to the edge of the multimedia playback interface and disappears.

[0107] Here, the second part of the bullet screen includes at least part of the first part of the bullet screen. Before triggering at least two bullet screens to enter the interactive mode, the second part of the bullet screen moves in the multimedia playback interface. In response to the triggering operation of controlling at least two bullet screens to enter the interactive mode, the bullet screens in the second part of the bullet screen except the first part of the bullet screen continue to move in the multimedia playback interface.

[0108] In some embodiments, before step 102, at least two interaction mode controls are displayed in the multimedia playback interface, wherein different interaction mode controls correspond to different interaction modes; in response to a selection operation on any interaction mode control, the selected interaction mode control is used as the interaction mode corresponding to the interaction operation.

[0109] For example, if the interactive mode control is a virtual bomb, the corresponding interactive mode is a bomb attack; if the interactive mode control is a virtual bow and arrow, the corresponding interactive mode is a bow and arrow attack; if the interactive mode control is a virtual flame, the corresponding interactive mode is a flame attack.

[0110] In step 103, in response to an interactive operation on any bullet screen, the interactive parameters of the corresponding bullet screen are updated and displayed.

[0111] Among them, different interactive operations are aimed at different opinions expressed by the barrage, so interactive operations are performed on multiple static barrages, and the positions or opinions on at least two barrages are expressed through interactive operations. For example, when the interactive operation is a positive interactive operation that expresses positive emotions (such as a like operation, a forwarding operation, etc.), the support position for the barrage corresponding to the positive interactive operation is expressed through a positive interactive operation; when the interactive operation is a negative interactive operation that expresses negative emotions (such as a step-on operation, a report operation, etc.), the opposition position to the barrage corresponding to the negative interactive operation is expressed through a negative interactive operation.

[0112] It should be noted that in an embodiment of the present application, in response to interactive operations on at least two barrages, the interactive parameters of the corresponding barrages can be updated and displayed, that is, the user can express opinions on multiple barrages. For example, four barrages are statically displayed in the multimedia playback interface, that is, the barrage contents of barrage 1 and barrage 2 express positive opinions, and the barrage contents of barrage 3 and barrage 4 express reverse opinions. The user can perform a positive interactive operation on barrage 1 and a reverse interactive operation on barrage 3. In response to the positive interactive operation on barrage 1 and the reverse interactive operation on barrage 3, the interactive parameters of barrage 1 and barrage 3 are updated and displayed; the user can also perform a positive interactive operation on barrage 1 and barrage 2. In response to the positive interactive operation on barrage 1 and barrage 2, the interactive parameters of barrage 1 and barrage 2 are updated and displayed. Of course, in an embodiment of the present application, the interactive parameters of the corresponding barrage can be updated and displayed in response to an interactive operation on a barrage, that is, the user can only express his or her views on one barrage. For example, if two barrages are displayed statically in the multimedia playback interface, the user can only perform interactive operations on one of the two barrages.

[0113] See also Figure 3F , Figure 3F is another flowchart of the bullet screen processing method provided in the embodiment of the present application. Figure 3F Show Figure 3A It also includes step 104, and step 103 can be implemented through step 1031: in step 104, the interactive controls of the corresponding barrage are displayed in each barrage; in step 1031, in response to completing the interactive operation for any barrage based on the interactive controls, the interactive parameters of the corresponding barrage are updated and displayed.

[0114] Here, the interactive controls can be an attack button, a complaint button, a step-down button, a report button, etc., and can also be a like button, a copy button, a share button, a comment button, etc.

[0115] In some embodiments, when the interactive relationship between the interactive control and the interactive parameter is positively correlated, step 1031 can be implemented in the following manner: increase the interactive parameters of the corresponding barrage, and display the increased interactive parameters of the corresponding barrage; when the interactive relationship between the interactive control and the interactive parameter is negatively correlated, step 1031 can be implemented in the following manner: reduce the interactive parameters of the corresponding barrage, and display the reduced interactive parameters of the corresponding barrage.

[0116] As an example in which the interactive relationship between the interactive control and the interactive parameter is a positive correlation, the interactive control is a like button and the interactive parameter is an HP value. In response to completing an interactive operation for any barrage based on the like button, the HP value of the corresponding barrage is increased, and the increased HP value of the corresponding barrage is displayed; the interactive control is a like button and the interactive parameter is the number of likes. In response to completing an interactive operation for any barrage based on the like button, the number of likes of the corresponding barrage is increased, and the increased number of likes of the corresponding barrage is displayed.

[0117] As an example in which the interactive relationship between the interactive control and the interactive parameter is a negative correlation, the interactive control is an attack button and the interactive parameter is the number of likes. In response to completing an interactive operation for any barrage based on the attack button, the number of likes of the corresponding barrage is reduced, and the reduced number of likes of the corresponding barrage is displayed; the interactive control is an attack button and the interactive parameter is an HP value. In response to completing an interactive operation for any barrage based on the attack button, the HP value of the corresponding barrage is increased, and the increased HP value of the corresponding barrage is displayed.

[0118] In some embodiments, step 1031 can be implemented in the following ways: in response to the triggering operation of the interactive control for any barrage, displaying the virtual props corresponding to the interactive method of the corresponding barrage and the guiding line pointing to the corresponding barrage; in response to moving the virtual props to the corresponding barrage along the guiding line and the appearance of the interactive special effects corresponding to the virtual props on the corresponding barrage, updating and displaying the interactive parameters of the corresponding barrage.

[0119] like Fig. 7A As shown, taking the interactive method of bomb attack as an example, in response to the triggering operation of the interactive control 701 for any barrage, the virtual props (i.e., virtual bomb 702) corresponding to the interactive method of the corresponding barrage and the guiding line 703 pointing to the corresponding barrage are displayed, and in response to moving the virtual bomb 702 to the corresponding barrage along the guiding line 703 and the interactive special effect (explosion effect animation 705) corresponding to the virtual bomb 702 appearing on the corresponding barrage, the interactive parameter of the corresponding barrage is reduced by 1.

[0120] In some embodiments, when the interaction parameter of any of at least two barrages reaches an interaction parameter threshold, or the display time of at least two barrages reaches a time threshold, the comparison results of at least two barrages are determined based on the interaction parameters corresponding to the at least two barrages, and the comparison results are displayed in the multimedia playback interface.

[0121] Taking the interaction parameter as HP value and the interaction parameter threshold as 0 as an example, when the HP value of any barrage of at least two barrages is reduced to 0, the comparison result of at least two barrages is that the barrage with HP value reduced to 0 fails and the other barrages win.

[0122] Taking the interaction parameter as HP value and the duration threshold as 10 seconds as an example, when the display time of at least two barrages reaches 10 seconds, the comparison result of at least two barrages is that the barrage with the smallest HP value fails and the other barrages win.

[0123] In some embodiments, before step 103, an account that has performed an interactive operation on any bullet screen is obtained; when the account has not performed an interactive operation, it is determined that an interactive operation on any bullet screen will be responded to. By determining whether the account has performed an interactive operation, each account can only perform one interactive operation.

[0124] In some embodiments, before step 103, an account that performs interactive operations on any barrage is obtained; when the account is a non-publishing account of at least two barrages, it is determined that the interactive operation on any barrage will be responded to. By determining whether the account is a non-publishing account of at least two barrages, it is achieved that only non-publishing accounts of at least two barrages can perform interactive operations.

[0125] The following is an explanation of an exemplary application of the embodiments of the present application in a practical application scenario.

[0126] In view of the need for users to evaluate and discuss the content of barrages when watching videos, the embodiments of the present application provide a barrage processing method, which is not limited to interactive methods such as liking, disliking or reporting the barrages, but can also adopt more diverse and interactive barrage interaction methods that can associate multiple barrages, and provide a barrage PK mode, so that users can express their opinions and express their positions on a certain barrage in the PK mode, and deeply participate in the barrage interaction during the PK process, thereby enhancing the correlation between the barrage content and improving the user experience.

[0127] The following uses four product-side solutions as examples to illustrate the bullet screen processing method provided in the embodiments of the present application.

[0128] Solution 1: Initiate PK mode by sending barrage (implemented by interactive mode).

[0129] like Figure 5As shown, in response to the user's click operation on the bullet screen editing box 501, the bullet screen editing area 502 is displayed. In response to the click operation of the PK button 503 (i.e., the interaction initiation control) after the bullet screen content is input, part of the bullet screen editing area 502 is hidden. In response to the selection operation of a certain existing bullet screen (i.e., the historical bullet screen) in the video screen, the selected existing bullet screen 504 is used as the PK object. Figure 6 As shown, a PK mode 601 (such as a bomb attack, a bow and arrow attack, and a fire attack) is displayed in the video screen. In response to a selection operation on the PK mode 601, the selected PK mode 601 is used as the PK mode for subsequent attacks. In response to a trigger operation on a send button 602, the edited barrage is used as another PK object, and the edited barrage and the selected existing barrage 503 are controlled to enter the PK mode.

[0130] After the PK mode is initiated, the group of bullet comments (i.e. the edited bullet comments and the selected existing bullet comments 504) presents the PK mode (the bullet comments display the attack buttons of the virtual props corresponding to the selected PK mode), the default HP value of each bullet comment (implemented by the interactive parameters) is 999, the PK mode bullet comments (i.e. the bullet comments presenting the PK mode) will be displayed on the interface of all users, and all users can perform attack operations, but each person can only attack once, and the HP value of the attacked bullet comment will be reduced by 1. Figure 8 As shown, if the HP value of one barrage returns to zero, the victory or defeat of the barrage group can be determined, that is, the barrage that returns to zero fails in the PK mode 801, and the other barrage wins in the PK mode 802, and the barrage group can no longer be attacked. The following describes the attack through different attack methods.

[0131] Take PK method 601 as an example of bomb attack. Fig. 7A As shown, the group of barrages presents a PK mode (i.e., an attack button 701 including a virtual bomb prop corresponding to the selected PK mode is displayed in the barrage), in response to a click operation on the attack button 701 (implemented by an interactive control) of the PK mode barrage that selects the attack, an enlarged image of the virtual bomb prop 702 and a guide line 703 pointing to the PK mode barrage that selects the attack appear on the video screen, in response to moving the virtual bomb prop 702 to a designated position 704 according to the guide line 703 until the attack target (i.e., the PK mode barrage that selects the attack) turns red and a bomb explosion effect animation 705 appears, the HP value of the attacked barrage is reduced by 1.

[0132] Take PK mode 601 as an example, bow and arrow attack. Fig. 7AAs shown, the group of barrages presents a PK mode (i.e., the barrage displays an attack button 701 of a virtual bow and arrow prop corresponding to the selected PK mode). In response to a click operation on the attack button 701 of the PK mode barrage for selecting an attack, an enlarged image of the virtual bow and arrow prop 702 and a guide line 703 pointing to the PK mode barrage for selecting an attack appear on the video screen. In response to moving the virtual bow and arrow prop 702 to a designated position 704 according to the guide line 703, until the attack target (i.e., the PK mode barrage for selecting an attack) turns red and a bow and arrow hit effect animation 705 appears, the HP value of the attacked barrage is reduced by 1.

[0133] Take PK mode 601 as an example, for example, Fig. 7A As shown, the group of barrages presents a PK mode (i.e., the barrage displays an attack button 701 of a virtual match prop corresponding to the selected PK mode). In response to a click operation on the attack button 701 of the PK mode barrage for selecting an attack, an enlarged image of the virtual match prop 702 and a guide line 703 pointing to the PK mode barrage for selecting an attack appear on the video screen. In response to moving the virtual match prop 702 to a designated position 704 according to the guide line 703, until the attack target (i.e., the PK mode barrage for selecting an attack) turns red and a flame burning effect animation 705 appears, the HP value of the attacked barrage is reduced by 1.

[0134] Option 2: Initiate PK mode by long pressing the barrage.

[0135] like Fig. 9 As shown, in response to long pressing a certain existing bullet comment 901, a PK button 902 is displayed on the existing bullet comment 901, in response to a click operation on the PK button 902, a bullet comment editing area 903 (including a bullet comment editing box 904 and a PK button 905) is displayed, and in response to the completion of the bullet comment editing, a click operation on the PK button 905 in the bullet comment editing area 903 controls the edited bullet comment and the selected existing bullet comment 901 to enter the PK mode. Among them, the PK objects are the edited bullet comment and the selected existing bullet comment 901.

[0136] Among them, the subsequent process of initiating PK mode is similar to that of Plan 1, that is, after the PK is successfully initiated, the group of barrages (that is, the edited barrages and the selected existing barrages) presents the PK mode (the barrages display attack buttons including virtual props corresponding to the selected PK method), and the default HP value of each barrage is 999. The PK mode barrage (that is, the barrage presenting the PK mode) will be presented in the interface of all users, and all users can perform attack operations, but each person can only attack once, and the HP value of the attacked barrage is reduced by 1.

[0137] Option 3: Initiate PK mode by pinching the barrage.

[0138] like Fig. 10AAs shown, in response to the operation of clicking two existing bullet screens (existing bullet screen 1001 and existing bullet screen 1002) at the same time, a green frame 1003 appears on the two existing bullet screens. In response to dragging the two existing bullet screens together, the two existing bullet screens are controlled to follow the dragging operation until the distance between the two existing bullet screens is less than the distance threshold, a red frame 1004 appears on the two existing bullet screens, and the two existing bullet screens are released to control the two existing bullet screens to enter the PK mode, as shown in FIG. Fig. 10B As shown, the existing bullet screen 1001 and the existing bullet screen 1002 are controlled to remain stationary at the position where the red frame appears. Of course, the two bullet screens can also be controlled to be connected horizontally or vertically side by side to indicate that the two existing bullet screens enter the PK mode.

[0139] Among them, the subsequent process of initiating PK mode is similar to that of Plan 1. The PK method can be random, that is, after the PK is successfully initiated, the group of barrages (that is, the edited barrages and the selected existing barrages) presents the PK mode (the barrages display attack buttons of virtual props corresponding to the random PK methods), and the default HP value of each barrage is 999. The PK mode barrage (that is, the barrage presenting the PK mode) will be presented in the interface of all users, and all users can perform attack operations, but each person can only attack once, and the HP value of the attacked barrage is reduced by 1.

[0140] Option 4: Guide the PK mode through high-like barrages.

[0141] like Fig.11A As shown, when the number of likes of the existing barrage 1101 exceeds 999, the like button 1102 and the PK button 1103 appear by default at the same time. In response to a click operation on the PK button 1103, the barrage editing area (including the barrage editing box and the PK button) is displayed. In response to the completion of the barrage editing, a click operation on the PK button in the barrage editing area controls the edited barrage and the high-like barrage (i.e., the existing barrage 1101) to enter the PK mode.

[0142] The subsequent process of initiating the PK mode is similar to that of Solution 1. Fig. 11BAs shown, after the PK mode is successfully initiated, the group of bullets (edited bullets and bullets with high likes (i.e., existing bullets 1101)) enters the PK mode. This type of PK mode has no HP value setting and will not determine the victory or defeat of the bullets. That is, after the group of bullets enters the PK mode, the like button 1102 (implemented by the interactive button) will be retained and the like number 1104 will be displayed. The PK mode bullet (i.e., the bullet presenting the PK mode) will be presented in the interface of all users, and each user can only choose one side of the bullet to like or attack, and cannot like and attack the same side of the bullet, and each user can only like or attack once. The like number of the PK mode bullet attacked by the virtual props 1105 (implemented by the interactive parameters) is reduced by 1. After the like number of one side of the bullet is reset to zero 1106, the attack button 1107 of the group of bullets becomes invalid, but it can still be liked, and the attack can continue if the like number is greater than zero.

[0143] The following is an explanation of the view layer of Danmu PK.

[0144] like Fig.12 As shown, the view layer includes the video playback layer (at the bottom layer), the bullet screen layer (at the middle layer), and the PK layer (at the top layer). The video playback layer is used to render video content; the bullet screen layer is used to display the bullet screen sent by the user and respond to the long press, pinch, click and other gestures of the bullet screen; the PK layer is used to carry the long pressed bullet screen and the game interactive content after the PK mode is successful.

[0145] Among them, the technical implementation of Danmu PK includes three stages, namely the initiation stage, the PK stage, and the settlement stage. Fig.13 The flowchart shown illustrates these three stages respectively.

[0146] 1. Launching Phase

[0147] Before the initiation phase, after entering the video playback scene, the client will establish a two-way long connection with the server through a WebSocket technology handshake. This long connection will be used for bullet screen content synchronization and PK status synchronization in subsequent stages.

[0148] During the initiation phase, only the bullet screen layer responds to user gestures (ie, user operations), while the PK layer and the video playback layer do not respond to user gestures.

[0149] The present application embodiment can initiate barrage PK in the following three ways:

[0150] 1. Sending a bullet message in the above solution 1: first respond to inputting the bullet message content in the bullet message editing box, and then respond to clicking the PK button. Each bullet message can be regarded as a rectangular area in the bullet message layer. By clicking, select an existing bullet message as the PK object, and respond to the selection operation of the PK method in the bullet message layer to initiate the bullet message PK.

[0151] 2. Long-press barrage in the above-mentioned solution 2: Each barrage can be regarded as a rectangular area in the barrage layer. When the user long-presses a barrage, it triggers the expansion of the barrage. The expansion is achieved by removing the long-pressed barrage from the barrage layer and adding it to the PK layer. This is done to prevent the long-pressed barrage from moving with the barrage flow, giving the user ample time to operate. In response to clicking the PK button in the PK layer, a barrage editing area pops up. In response to entering the barrage content in the barrage editing area and selecting the PK method, a barrage PK is initiated.

[0152] 3. The pinching barrage in the above scheme 3: Each barrage can be regarded as a rectangular area on the screen. In response to two different rectangular areas being pressed, the two barrages corresponding to the two rectangular areas are controlled to stop sliding and move with the moving operation. In response to the overlap (i.e. collision) of the two rectangular areas during the movement, a barrage PK is initiated. Among them, the collision detection of the two barrages occurs in the barrage layer, and the PK method is randomly generated.

[0153] 4. The high-like barrage in the above four solutions guides PK: Similar to the long-press barrage in the above solution 2, that is, each barrage can be regarded as a rectangular area in the barrage layer. In response to clicking the PK button of a high-like barrage, the high-like barrage is removed from the barrage layer and added to the PK layer. This is done to prevent the high-like barrage from moving with the barrage flow, giving the user enough time to operate. In response to clicking the PK button in the PK layer, a barrage editing area pops up. In response to entering the barrage content in the barrage editing area and selecting the PK method, a barrage PK is initiated.

[0154] It should be noted that after successfully initiating a barrage PK, the two barrages participating in the PK are fixedly displayed on the PK layer. At the same time, the server pushes the PK status (i.e. the HP value of the PK mode barrage) to the client, and the PK status will be displayed on the screens of all users. At this time, all users can initiate an attack, and each person can only attack once.

[0155] 2. PK stage

[0156] The special effects in the PK stage occur in the PK layer and are implemented by the graphics rendering engine (such as Vulkan or OpenGL ES in Android systems, Metal in iOS systems). Among them, bomb explosions, arrow hits, and flame burning effects are controlled by shader files and rendered through the graphics rendering pipeline.

[0157] Among them, in the PK stage, each user can only attack once. After the user initiates the attack, the client sends the attack event to the server. The server receives the attack event and records the HP value change of the PK mode barrage, and then pushes the latest PK status (that is, the HP value of the PK mode barrage) to all clients. After receiving the push, the client synchronizes the status.

[0158] Among them, the technical implementation of likes and attacks in Scheme 4 is similar to the above-mentioned attack events, that is, after the user launches an attack, the client sends an attack event to the server, the server receives the attack event and records the changes in the number of likes of the PK mode barrage, and then pushes the latest PK status (that is, the number of likes of the PK mode barrage) to all clients, and the client synchronizes the status after receiving the push.

[0159] 3. Settlement Stage

[0160] The settlement phase includes the following three situations:

[0161] Case 1: After the PK mode is initiated and the game duration (for example, 10 seconds) has been reached, if the PK parties have not yet decided the winner, the bullet screens of the PK parties return to the bullet screen layer and slide away with other bullet screens to avoid affecting the user's viewing experience;

[0162] Case 2: Before the PK mode is initiated and the game duration (e.g. 10 seconds) is reached, if the HP of either PK player drops to 0, the winner will be decided, and the server will push the result to all clients, which will be displayed on all users' screens. Afterwards, the bullet screen of the failed PK will disappear, and the bullet screen of the successful PK will return to the bullet screen layer and slide away with other bullet screens.

[0163] Case 3. In the mode of scheme 4, the winner will not be determined. After the PK mode is initiated and the game duration (for example, 10 seconds) is reached, the bullet screens of both PK parties return to the bullet screen layer and slide away with other bullet screens.

[0164] In summary, the barrage processing method provided in the embodiment of the present application associates multiple barrages in the barrage scene for barrage interaction. This method allows users to deeply participate in the barrage interaction during the PK process, enhances the relevance between the barrage contents, and improves user stickiness.

[0165] So far, the barrage processing method provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the cooperation of various modules in the barrage processing device 555 provided by the embodiment of the present application to implement the barrage processing solution.

[0166] Display module 5551 is used to display a multimedia playback interface; at least two barrages are displayed in a static manner in the multimedia playback interface, and interaction parameters of the corresponding barrage are displayed in each of the barrages, wherein the viewpoints expressed in the barrage contents of the at least two barrages are different; interaction module 5552 is used to update and display the interaction parameters of the corresponding barrage in response to an interaction operation on any of the barrages.

[0167] In some embodiments, the display module 5551 is also used to control the positions of the at least two barrages in the multimedia playback interface to remain stationary in response to a triggering operation of controlling the at least two barrages to enter interaction.

[0168] In some embodiments, the display module 5551 is also used to display the at least two barrages at a fixed position in the multimedia playback interface through the same display parameters, wherein the display parameters include at least one of the following: color, size, shape, and special effects.

[0169] In some embodiments, one of the at least two barrages is a new barrage formed through a barrage editing operation, and the remaining barrages are historical barrages selected through a barrage selection operation, and the historical barrages are barrages displayed in the multimedia playback interface before the barrage selection operation; the display module 5551 is also used to control the positions of the historical barrages and the new barrages in the multimedia playback interface to remain unchanged in response to the barrage selection operation for the historical barrages and the barrage editing operation for the new barrages.

[0170] In some embodiments, the display module 5551 is also used to display a barrage editing area in the multimedia playback interface; in response to a barrage editing operation in the barrage editing area, display the barrage content corresponding to the barrage editing operation in the barrage editing area; in response to a barrage selection operation for the historical barrage, control the new barrage formed by the barrage content and the historical barrage to remain stationary in the multimedia playback interface.

[0171] In some embodiments, in response to the barrage editing operation in the barrage editing area, after displaying the barrage content corresponding to the barrage editing operation in the barrage editing area, the display module 5551 is also used to hide part of the barrage editing area in response to the trigger operation of the interaction initiation control in the barrage editing area; in response to the trigger operation of the historical barrage and the sending operation of the barrage content, send the new barrage formed by the barrage content to the multimedia playback interface, and control the positions of the historical barrage and the new barrage in the multimedia playback interface to remain unchanged.

[0172] In some embodiments, the display module 5551 is also used to display a barrage editing area in the multimedia playback interface in response to a barrage selection operation for the historical barrage; in response to a barrage editing operation in the barrage editing area, control the new barrage formed by the barrage editing operation and the historical barrage to remain stationary in the multimedia playback interface.

[0173] In some embodiments, the display module 5551 is also used to display an interaction initiation control in the historical barrage in response to a trigger operation on the historical barrage; and to display the barrage editing area in the multimedia playback interface in response to a trigger operation on the interaction initiation control.

[0174] In some embodiments, the display module 5551 is also used to display an interaction initiation control in the historical barrage in response to the number of interactions of the historical barrage reaching an interaction number threshold; and to display the barrage editing area in the multimedia playback interface in response to a trigger operation on the interaction initiation control.

[0175] In some embodiments, the display module 5551 is also used to respond to an editing operation of the editing box in the barrage editing area, and display the barrage content corresponding to the editing operation in the editing box; in response to a trigger operation of the interactive initiation control in the barrage editing area, send the new barrage formed by the barrage content to the multimedia playback interface, and control the positions of the historical barrage and the new barrage in the multimedia playback interface to remain unchanged.

[0176] In some embodiments, the at least two barrages are at least two historical barrages selected through a barrage selection operation, and the historical barrages are barrages displayed in the multimedia playback interface before the barrage selection operation; the display module 5551 is also used to control the positions of the at least two historical barrages in the multimedia playback interface to remain unchanged in response to the barrage selection operation for the at least two historical barrages.

[0177] In some embodiments, the display module 5551 is also used to release the at least two historical barrages in response to pressing the at least two historical barrages and when the at least two historical barrages reach a releasable condition, and control the positions of the at least two historical barrages in the multimedia playback interface to remain stationary.

[0178] In some embodiments, the releasable condition includes at least one of the following: moving the at least two historical barrages while maintaining a pressed state until there is an overlap between at least two of the at least two historical barrages; maintaining the pressed state for a set duration.

[0179] In some embodiments, the at least two barrages are the first part of the barrages displayed in the multimedia playback interface. Before controlling the positions of the at least two barrages in the multimedia playback interface to remain stationary, the display module 5551 is also used to control the second part of the barrage to move in the multimedia playback interface until it moves to the edge of the multimedia playback interface and disappears.

[0180] In some embodiments, before the control of the at least two barrages to remain in position in the multimedia playback interface, the display module 5551 is also used to display at least two interaction mode controls in the multimedia playback interface, wherein different interaction mode controls correspond to different interaction modes; in response to a selection operation on any of the interaction mode controls, the selected interaction mode control is used as the interaction mode corresponding to the interaction operation.

[0181] In some embodiments, when at least two barrages are displayed in a static manner in the multimedia playback interface, the display module 5551 is also used to display interactive controls of the corresponding barrage in each of the barrages; the interactive module 5552 is also used to update the interactive parameters of the corresponding barrage in response to completing an interactive operation for any of the barrages based on the interactive controls.

[0182] In some embodiments, when the interactive relationship between the interactive control and the interactive parameter is positively correlated, the interactive module 5552 is also used to increase the interactive parameters of the corresponding barrage and display the increased interactive parameters of the corresponding barrage; when the interactive relationship between the interactive control and the interactive parameter is negatively correlated, the interactive module 5552 is also used to reduce the interactive parameters of the corresponding barrage and display the reduced interactive parameters of the corresponding barrage.

[0183] In some embodiments, the interactive module 5552 is also used to respond to the triggering operation of the interactive control of any of the barrages, display the virtual props corresponding to the interactive method of the corresponding barrage and the guiding line pointing to the corresponding barrage; in response to moving the virtual props to the corresponding barrage along the guiding line and the appearance of the interactive special effects corresponding to the virtual props on the corresponding barrage, update the interactive parameters of the corresponding barrage.

[0184] In some embodiments, the interaction module 5552 is also used to determine the comparison result of the at least two barrages based on the interaction parameters corresponding to the at least two barrages respectively, and display the comparison result in the multimedia playback interface when the interaction parameter of any of the at least two barrages reaches an interaction parameter threshold, or the display time of the at least two barrages reaches a time threshold.

[0185] In some embodiments, before updating and displaying the interactive parameters of the corresponding barrage in response to the interactive operation on any of the barrages, the interactive module 5552 is also used to obtain the account that implements the interactive operation on any of the barrages; when the account has not implemented the interactive operation, it is determined that it will respond to the interactive operation on any of the barrages.

[0186] In some embodiments, before updating and displaying the interactive parameters of the corresponding barrage in response to the interactive operation on any of the barrages, the interactive module 5552 is also used to obtain the account that implements the interactive operation on any of the barrages; when the account is a non-publishing account of the at least two barrages, it is determined that it will respond to the interactive operation on any of the barrages.

[0187] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer program or the computer executable instruction from the computer-readable storage medium, and the processor executes the computer program or the computer executable instruction, so that the electronic device executes the above-mentioned bullet screen processing method of the embodiment of the present application.

[0188] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the bullet comment processing method provided by the embodiment of the present application, for example, Figure 3A-Figure 3F The barrage processing method shown.

[0189] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0190] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0191] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, for example, in one or at least two scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in at least two coordinated files (e.g., files storing one or at least two modules, subroutines, or code portions).

[0192] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on at least two electronic devices located at one site, or on at least two electronic devices distributed at at least two sites and interconnected by a communication network.

[0193] It is understandable that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0194] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for processing barrage, characterized in that: The method comprises: Display multimedia playback interface; Displaying at least two bullet screens in a static manner in the multimedia playback interface, and displaying the interaction parameters of the corresponding bullet screen in each of the bullet screens, wherein the bullet screen contents of the at least two bullet screens express different viewpoints; In response to an interactive operation on any of the barrages, the interactive parameters of the corresponding barrage are updated and displayed.

2. The method according to claim 1, characterized in that: The step of displaying at least two bullet screens in a static manner in the multimedia playback interface includes: In response to a triggering operation of controlling the at least two bullet screens to enter interaction, the positions of the at least two bullet screens in the multimedia playback interface are controlled to remain stationary.

3. The method according to claim 1 or 2, characterized in that: The step of displaying at least two bullet screens in a static manner in the multimedia playback interface includes: The at least two bullet comments are displayed at a fixed position in the multimedia playback interface using the same display parameters, wherein the display parameters include at least one of the following: color, size, shape, and special effects.

4. The method according to claim 2, characterized in that: One of the at least two bullet screens is a new bullet screen formed by a bullet screen editing operation, and the other bullet screens are historical bullet screens selected by a bullet screen selection operation, wherein the historical bullet screens are bullet screens displayed in the multimedia playback interface before the bullet screen selection operation; In response to the triggering operation of controlling the at least two bullet screens to enter interaction, controlling the positions of the at least two bullet screens in the multimedia playback interface to remain stationary, comprises: In response to a barrage selection operation on the historical barrage and a barrage editing operation on the new barrage, the positions of the historical barrage and the new barrage in the multimedia playback interface are controlled to remain unchanged.

5. The method according to claim 4, characterized in that In response to the barrage selection operation for the historical barrage and the barrage editing operation for the new barrage, controlling the positions of the historical barrage and the new barrage in the multimedia playback interface to remain unchanged includes: Displaying a bullet screen editing area in the multimedia playback interface; In response to a bullet-screen editing operation in the bullet-screen editing area, displaying bullet-screen content corresponding to the bullet-screen editing operation in the bullet-screen editing area; In response to a barrage selection operation for the historical barrage, the positions of the new barrage formed by the barrage content and the historical barrage in the multimedia playback interface are controlled to remain unchanged.

6. The method according to claim 5, characterized in that In response to the bullet-screen editing operation in the bullet-screen editing area, after displaying the bullet-screen content corresponding to the bullet-screen editing operation in the bullet-screen editing area, the method further includes: In response to a triggering operation of an interaction initiation control in the bullet chat editing area, hiding a portion of the bullet chat editing area; In response to the barrage selection operation for the historical barrage, controlling the new barrage formed by the barrage content and the historical barrage to remain in position in the multimedia playback interface, includes: In response to the triggering operation on the historical barrage and the sending operation on the barrage content, the new barrage formed by the barrage content is sent to the multimedia playback interface, and the positions of the historical barrage and the new barrage in the multimedia playback interface are controlled to remain unchanged.

7. The method according to claim 4, characterized in that In response to the barrage selection operation for the historical barrage and the barrage editing operation for the new barrage, controlling the positions of the historical barrage and the new barrage in the multimedia playback interface to remain unchanged includes: In response to a bullet screen selection operation for the historical bullet screen, displaying a bullet screen editing area in the multimedia playback interface; In response to a bullet-screen editing operation in the bullet-screen editing area, the positions of a new bullet-screen formed by the bullet-screen editing operation and the historical bullet-screen in the multimedia playback interface are controlled to remain unchanged.

8. The method according to claim 7, characterized in that In response to the barrage selection operation for the historical barrage, displaying a barrage editing area in the multimedia playback interface includes: In response to a triggering operation on the historical bullet screen, displaying an interaction initiation control in the historical bullet screen; In response to a trigger operation on the interaction initiation control, the bullet screen editing area is displayed in the multimedia playback interface.

9. The method according to claim 7, characterized in that: In response to the barrage selection operation for the historical barrage, displaying a barrage editing area in the multimedia playback interface includes: In response to the number of interactions of the historical bullet screen reaching an interaction number threshold, displaying an interaction initiation control in the historical bullet screen; In response to a trigger operation on the interaction initiation control, the bullet screen editing area is displayed in the multimedia playback interface.

10. The method according to claim 7, characterized in that In response to the bullet screen editing operation in the bullet screen editing area, controlling the positions of the new bullet screen formed by the bullet screen editing operation and the historical bullet screen in the multimedia playback interface to remain unchanged, including: In response to an editing operation of an editing box in the bullet-chat editing area, displaying the bullet-chat content corresponding to the editing operation in the editing box; In response to a trigger operation on an interactive initiation control in the barrage editing area, the new barrage formed by the barrage content is sent to the multimedia playback interface, and the positions of the historical barrage and the new barrage in the multimedia playback interface are controlled to remain stationary.

11. The method according to claim 2, characterized in that The at least two bullet screens are at least two historical bullet screens selected by a bullet screen selection operation, and the historical bullet screens are bullet screens displayed in the multimedia playback interface before the bullet screen selection operation; In response to the triggering operation of controlling the at least two bullet screens to enter interaction, controlling the positions of the at least two bullet screens in the multimedia playback interface to remain stationary, comprises: In response to a bullet screen selection operation for the at least two historical bullet screens, the positions of the at least two historical bullet screens in the multimedia playback interface are controlled to remain stationary.

12. The method according to claim 11, characterized in that In response to the bullet screen selection operation for the at least two historical bullet screens, controlling the positions of the at least two historical bullet screens in the multimedia playback interface to remain unchanged includes: In response to pressing the at least two historical bullet screens, and releasing the at least two historical bullet screens when the at least two historical bullet screens reach a releasable condition, the positions of the at least two historical bullet screens in the multimedia playback interface are controlled to remain stationary.

13. The method according to claim 12, characterized in that The releasable conditions include at least one of the following: Moving the at least two historical bullet screens while maintaining the pressing state until at least two of the at least two historical bullet screens overlap; Maintain the pressing state for a set time.

14. The method according to claim 2, characterized in that The at least two bullet screens are the first part of the bullet screens displayed in the multimedia playback interface. Before controlling the positions of the at least two bullet screens in the multimedia playback interface to remain unchanged, the method further includes: In the multimedia playback interface, the second part of the bullet screen is controlled to move in the multimedia playback interface until it moves to the edge of the multimedia playback interface and disappears.

15. The method according to any one of claims 2 to 14, characterized in that: Before controlling the positions of the at least two bullet screens in the multimedia playback interface to remain stationary, the method further includes: Displaying at least two interactive mode controls in the multimedia playback interface, wherein different interactive mode controls correspond to different interactive modes; In response to a selection operation on any of the interactive mode controls, the selected interactive mode control is used as the interactive mode corresponding to the interactive operation.

16. The method according to claim 1, characterized in that When at least two bullet screens are displayed in a static manner in the multimedia playback interface, the method further includes: Displaying interactive controls of the corresponding bullet screen in each of the bullet screens; In response to the interactive operation on any of the bullet screens, updating and displaying the interactive parameters of the corresponding bullet screens includes: In response to completing an interactive operation on any of the bullet screens based on the interactive control, the interactive parameters of the corresponding bullet screens are updated and displayed.

17. The method according to claim 16, characterized in that When the interactive relationship between the interactive control and the interactive parameter is positively correlated, the updating and displaying of the interactive parameter of the corresponding bullet screen includes: Increase the interactive parameters of the corresponding barrage, and display the increased interactive parameters of the corresponding barrage; When the interactive relationship between the interactive control and the interactive parameter is negatively correlated, the updating and displaying of the interactive parameter of the corresponding bullet screen includes: Reduce the interactive parameters of the corresponding barrage, and display the reduced interactive parameters of the corresponding barrage.

18. The method according to claim 16, characterized in that In response to completing the interactive operation on any of the bullet screens based on the interactive control, updating and displaying the interactive parameters of the corresponding bullet screens, comprises: In response to a triggering operation of an interactive control for any of the bullet screens, displaying a virtual prop corresponding to the interactive mode of the corresponding bullet screen and a guiding line pointing to the corresponding bullet screen; In response to moving the virtual prop to the corresponding bullet screen along the guiding line and causing an interactive special effect corresponding to the virtual prop to appear on the corresponding bullet screen, the interactive parameters of the corresponding bullet screen are updated and displayed.

19. The method according to claim 1, characterized in that The method further comprises: When the interaction parameter of any of the at least two barrages reaches the interaction parameter threshold, or the display time of the at least two barrages reaches the time threshold, the comparison result of the at least two barrages is determined based on the interaction parameters corresponding to the at least two barrages respectively, and the comparison result is displayed in the multimedia playback interface.

20. The method according to claim 1, characterized in that Before updating and displaying the interactive parameters of the corresponding bullet screen in response to the interactive operation on any of the bullet screens, the method further includes: Obtaining an account that performs interactive operations on any of the bullet comments; When the account has not performed the interactive operation, it is determined that an interactive operation on any of the barrages will be responded to.

21. The method according to claim 1, characterized in that Before updating and displaying the interactive parameters of the corresponding bullet screen in response to the interactive operation on any of the bullet screens, the method further includes: Obtaining an account that performs interactive operations on any of the bullet comments; When the account is a non-publishing account of the at least two barrages, it is determined that an interactive operation on any of the barrages will be responded to.

22. A bullet screen processing device, characterized in that: The device comprises: Display module, used to display the multimedia playback interface; Displaying at least two bullet screens in a static manner in the multimedia playback interface, and displaying the interaction parameters of the corresponding bullet screen in each of the bullet screens, wherein the bullet screen contents of the at least two bullet screens express different viewpoints; The interactive module is used to update and display the interactive parameters of the corresponding barrage in response to the interactive operation on any of the barrages.

23. An electronic device, characterized in that: The electronic device comprises: Memory for storing computer programs or computer executable instructions; A processor is used to implement the barrage processing method described in any one of claims 1 to 21 when executing the computer program or computer executable instructions stored in the memory.

24. A computer-readable storage medium, characterized in that: A computer program or computer executable instructions are stored, and when the computer program or computer executable instructions are executed by a processor, the barrage processing method described in any one of claims 1 to 21 is implemented.

25. A computer program product comprising a computer program or computer executable instructions, characterized in that When the computer program or computer executable instructions are executed by the processor, the barrage processing method described in any one of claims 1 to 21 is implemented.