Barrage data processing method and device, computer device and storage medium

By generating bullet screen effect resources and utilizing animation layer identifiers and matching data identifiers, the problem of cumbersome bullet screen effect updates in traditional video applications is solved, enabling flexible application and simplified operation of bullet screen effects.

CN119496941BActive Publication Date: 2025-12-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311055455.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-21
Publication Date
2025-12-19
Estimated Expiration
2043-08-21

AI Technical Summary

Technical Problem

In traditional video applications, updating bullet screen effects requires releasing new versions, which is cumbersome and makes it difficult to flexibly implement bullet screen effects.

Method used

By acquiring the content file and scheduling file of the bullet screen effect, bullet screen effect resources are generated. By using animation layer identifiers and matching data identifiers, the flexible application of bullet screen effects can be realized without the need for the video application to be re-released.

Benefits of technology

It improves the flexibility of implementing bullet screen effects, simplifies the operation process, and avoids frequent updates to video applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496941B_ABST
    Figure CN119496941B_ABST
Patent Text Reader

Abstract

The application relates to a method and device for processing barrage data, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to a configuration input operation for a barrage special effect content file, at least one barrage configuration data group is displayed; the barrage configuration data group comprises an inputted animation layer identifier and matching data identifier; in response to a configuration publishing operation for the barrage special effect content file, a barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each barrage configuration data group, the barrage special effect content file and the barrage special effect scheduling file are combined to form a barrage special effect resource; the barrage special effect scheduling file is used for associating the barrage special effect style data corresponding to the matching data identifier, applying a video barrage triggering the barrage special effect to an animation layer corresponding to the corresponding animation layer identifier, and obtaining a special effect barrage. The method can improve the implementation flexibility of the barrage special effect.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computers, and in particular to a bullet screen data processing method and device, computer equipment, a storage medium, and a computer program product. BACKGROUND

[0002] With the development of computer technology, video bullet screens have appeared. A video bullet screen refers to comment content that pops up when a video is watched on the Internet. A video bullet screen can be displayed in a specific bullet screen special effect mode, thereby enhancing the expressiveness of a video, enriching the interactive capabilities of a video, and improving the participation and stickiness of users.

[0003] In traditional technologies, each time a bullet screen special effect is added, a new bullet screen special effect style needs to be built into the installation package of a video application, and a new version of the video application needs to be released, which is cumbersome and cannot flexibly implement bullet screen special effects. SUMMARY

[0004] Therefore, it is necessary to provide a bullet screen data processing method, device, computer equipment, computer readable storage medium, and computer program product that can improve the flexibility of implementing bullet screen special effects.

[0005] The present application provides a bullet screen data processing method. The method comprises:

[0006] obtaining a bullet screen special effect content file;

[0007] in response to a configuration entry operation for the bullet screen special effect content file, displaying at least one bullet screen configuration data group; the bullet screen configuration data group comprises an associated entry animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the bullet screen special effect content file; the animation layer in the bullet screen special effect content file is used to determine a bullet screen special effect style; and the matching data identifier is used to identify bullet screen special effect style associated data that matches the animation layer;

[0008] in response to a configuration publishing operation for the bullet screen special effect content file, generating a bullet screen special effect scheduling file corresponding to the bullet screen special effect content file based on each bullet screen configuration data group, and grouping the bullet screen special effect content file and the bullet screen special effect scheduling file into a bullet screen special effect resource; the bullet screen special effect scheduling file is used to apply a video bullet screen that triggers a bullet screen special effect to an animation layer corresponding to the corresponding animation layer identifier, to obtain a special effect bullet screen, based on the bullet screen special effect style associated data corresponding to the matching data identifier.

[0009] The present application also provides a bullet screen data processing device. The device comprises:

[0010] a file obtaining module configured to obtain a bullet screen special effect content file;

[0011] The configuration entry module is configured to display at least one barrage configuration data set in response to a configuration entry operation for the barrage special effect content file; the barrage configuration data set comprises an associated entry animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; and the matching data identifier is used to identify barrage special effect style associated data matching the animation layer.

[0012] The configuration publishing module is configured to generate a barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data set in response to a configuration publishing operation for the barrage special effect content file, and to group the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource; the barrage special effect scheduling file is used to apply a video barrage triggering a barrage special effect to an animation layer corresponding to a corresponding animation layer identifier based on barrage special effect style associated data corresponding to a matching data identifier, to obtain a special effect barrage.

[0013] A computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above barrage data processing method when executing the computer program.

[0014] A computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the above barrage data processing method.

[0015] A computer program product comprises a computer program, and the computer program is executed by a processor to implement the steps of the above barrage data processing method.

[0016] The method, device, computer device, storage medium and computer program product for processing barrage data, obtain a barrage special effect content file; in response to a configuration input operation for the barrage special effect content file, at least one barrage configuration data group is displayed; the barrage configuration data group comprises an inputted animation layer identifier and a matching data identifier associated therewith; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; the matching data identifier is used to identify barrage special effect style associated data matching the animation layer; in response to a configuration publishing operation for the barrage special effect content file, a barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each barrage configuration data group; the barrage special effect content file and the barrage special effect scheduling file form a barrage special effect resource; the barrage special effect scheduling file is used to apply a video barrage triggering a barrage special effect to an animation layer corresponding to the corresponding animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, to obtain a special effect barrage. In this way, the animation layer in the barrage special effect content file is used to determine the barrage special effect style, the corresponding barrage special effect scheduling file is configured for the barrage special effect content file, the barrage special effect scheduling file is used to apply the video barrage triggering the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage triggering the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby without the need for video application re-release, the barrage special effect resource composed of the associated barrage special effect content file and the barrage special effect scheduling file can flexibly realize the barrage special effect, and the implementation flexibility of the barrage special effect is effectively improved.

[0017] The present application provides a kind of barrage data processing method.The method comprises:

[0018] In the case where the current playing video triggers the barrage special effect, the barrage special effect resource pre-set for the triggered barrage special effect is obtained;The barrage special effect resource includes the barrage special effect content file and the barrage special effect scheduling file associated therewith;The barrage special effect scheduling file is generated based on at least one barrage configuration data group, and the barrage configuration data group includes the animation layer identifier and the matching data identifier associated with input;The animation layer identifier is used to identify the animation layer in the barrage special effect content file;The animation layer in the barrage special effect content file is used to determine the barrage special effect style;The matching data identifier is used to identify the barrage special effect style associated data matching the animation layer;

[0019] By the barrage special effect scheduling file, the video barrage triggering the barrage special effect corresponding to the current playing video is applied to the animation layer corresponding to the corresponding animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, to obtain the special effect barrage;

[0020] The special effect barrage is displayed.

[0021] The application also provides a barrage data processing device. The device comprises:

[0022] A resource acquisition module is configured to acquire a barrage effect resource pre-set for a triggered barrage effect in a case where a barrage effect is triggered in a currently played video; the barrage effect resource comprises an associated barrage effect content file and a barrage effect scheduling file; the barrage effect scheduling file is generated based on at least one barrage configuration data set, the barrage configuration data set comprises an associated input animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage effect content file; the animation layer in the barrage effect content file is used to determine a barrage effect style; and the matching data identifier is used to identify barrage effect style associated data matched with the animation layer.

[0023] An effect generation module is configured to apply a video barrage of a triggered barrage effect corresponding to the currently played video to an animation layer corresponding to a corresponding animation layer identifier based on barrage effect style associated data corresponding to the matching data identifier through the barrage effect scheduling file, to obtain an effect barrage.

[0024] An effect display module is configured to display the effect barrage.

[0025] A computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the barrage data processing method when executing the computer program.

[0026] A computer readable storage medium stores a computer program, and the computer program implements the steps of the barrage data processing method when executed by a processor.

[0027] A computer program product comprises a computer program, and the computer program implements the steps of the barrage data processing method when executed by a processor.

[0028] The aforementioned bullet screen data processing method, apparatus, computer equipment, storage medium, and computer program product, when a bullet screen effect is triggered by a currently playing video, acquires pre-set bullet screen effect resources for the triggered bullet screen effect. These resources include associated bullet screen effect content files and bullet screen effect scheduling files. The bullet screen effect scheduling file is generated based on at least one bullet screen configuration data group, which includes associated input animation layer identifiers and matching data identifiers. The animation layer identifier identifies the animation layer in the bullet screen effect content file. The animation layer in the bullet screen effect content file determines the bullet screen effect style. The matching data identifier identifies the bullet screen effect style association data that matches the animation layer. Through the bullet screen effect scheduling file, based on the bullet screen effect style association data corresponding to the matching data identifier, the video bullet screen that triggered the bullet screen effect for the currently playing video is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the effect bullet screen; the effect bullet screen is then displayed. In this way, the bullet screen effect resources include associated bullet screen effect content files and bullet screen effect scheduling files. The animation layers in the bullet screen effect content files are used to determine the bullet screen effect style, and the bullet screen effect scheduling files are used to apply the video bullet screen that triggers the bullet screen effect to the bullet screen effect content files based on the configured bullet screen configuration data groups. This allows the video bullet screen that triggers the bullet screen effect to display the bullet screen effect corresponding to the bullet screen effect content file, so that the video application does not need to be re-released. When the bullet screen effect is triggered, the bullet screen effect can be flexibly implemented by obtaining the pre-configured bullet screen effect resources, effectively improving the flexibility of bullet screen effect implementation. Attached Figure Description

[0029] Figure 1 This is an application environment diagram of a bullet screen data processing method in one embodiment;

[0030] Figure 2 This is a flowchart illustrating a bullet screen data processing method in one embodiment;

[0031] Figure 3 This is a schematic diagram of a single highly-rated special effects bullet comment in one embodiment;

[0032] Figure 4 This is a schematic diagram of the script configuration interface for a single bullet screen effect in one embodiment.

[0033] Figure 5 This is a schematic diagram of the script configuration interface for full-screen bullet screen effects in one embodiment.

[0034] Figure 6 This is a schematic diagram of a bullet screen management platform used for special effects management and configuration in one embodiment;

[0035] Figure 7 This is a schematic diagram illustrating the data processing flow of the bullet screen management platform in one embodiment;

[0036] Figure 8 Flowchart of the method for processing the barrage data in another embodiment;

[0037] Figure 9 Diagram of reading data by the barrage background service in an embodiment;

[0038] Figure 10 Flowchart of the method for realizing the full-screen barrage effect by the playing terminal in an embodiment;

[0039] Figure 11 Diagram of the full-screen water ripple effect in an embodiment;

[0040] Figure 12 Flowchart of the method for realizing the single barrage effect by the playing terminal in an embodiment;

[0041] Figure 13 Diagram of the single barrage bleeding effect in an embodiment;

[0042] Figure 14 Block diagram of the barrage data processing apparatus in an embodiment;

[0043] Figure 15 Block diagram of the barrage data processing apparatus in another embodiment;

[0044] Figure 16 Internal structure diagram of the computer device in an embodiment. DETAILED DESCRIPTION

[0045] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not used to limit the present application.

[0046] The barrage data processing method provided by the embodiments of the present application can be applied to, for example, Figure 1The application environment shown. Among them, the configuration terminal 102 communicates with the server 104 through the network, and the server 104 communicates with the playing terminal 106 through the network. The configuration terminal 102 is a terminal for configuring the screen special effect. The playing terminal 106 is a terminal for playing video and displaying screen special effect. The server 104 is a server for storing and managing screen special effect. It can be understood that the configuration terminal 102 and the playing terminal 106 can be the same terminal, or different terminals. The terminal can be, but is not limited to, various desktop computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart TV, a smart air conditioner, a smart vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be realized by an independent server or a server cluster composed of multiple servers or a cloud server.

[0047] Specifically, the configuration terminal 102 acquires the screen special effect content file, and the configuration terminal 102 displays at least one screen configuration data group in response to the configuration input operation for the screen special effect content file. Among them, the screen configuration data group includes the animation layer identifier associated with the input and the matching data identifier; the animation layer identifier is used to identify the animation layer in the screen special effect content file; the animation layer in the screen special effect content file is used to determine the screen special effect style; the matching data identifier is used to identify the screen special effect style associated data matched with the animation layer. The configuration terminal 102 generates the screen special effect scheduling file corresponding to the screen special effect content file based on each screen configuration data group in response to the configuration publishing operation for the screen special effect content file, and forms the screen special effect resource by combining the screen special effect content file and the screen special effect scheduling file. Among them, the screen special effect scheduling file is used to apply the video screen special effect to the corresponding animation layer corresponding to the animation layer identifier based on the screen special effect style associated data corresponding to the matching data identifier, and obtain the special effect screen.

[0048] The configuration terminal 102 can send the screen special effect resource to the server 104 for storage. Subsequently, the server 104 can send the screen special effect resource to the playing terminal 106, so that the playing terminal 106 displays the video screen according to the screen special effect resource.

[0049] In a case that the current playing video triggers the BGM effect, the playing terminal 106 acquires the BGM effect resource pre-set for the triggered BGM effect, wherein the BGM effect resource includes the associated BGM effect content file and the BGM effect scheduling file. The BGM effect scheduling file is generated based on at least one BGM configuration data set, and the BGM configuration data set includes the associated input animation layer identifier and the matching data identifier. The animation layer identifier is used to identify the animation layer in the BGM effect content file. The animation layer in the BGM effect content file is used to determine the BGM effect style. The matching data identifier is used to identify the BGM effect style associated data matched with the animation layer. The playing terminal 106 applies the video BGM of the current playing video corresponding to the triggered BGM effect to the animation layer corresponding to the corresponding animation layer identifier based on the BGM effect scheduling file and the BGM effect style associated data corresponding to the matching data identifier, to obtain the BGM effect. The playing terminal 106 displays the BGM effect.

[0050] In one embodiment, as shown in Figure 2 , a BGM data processing method is provided, which is applied to a configuration terminal for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is realized through the interaction of the terminal and the server. Referring to Figure 2 , the BGM data processing method includes the following steps:

[0051] Step S202, acquiring a BGM effect content file.

[0052] The BGM effect content file is a file carrying the animation effect content of the BGM. The BGM effect content file includes each animation element constituting the animation effect and the assembly logic between each animation element. For example, the BGM effect content file can be a PAG file realized based on PAG (Portable Animated Graphics). PAG is a complete animation effect workflow solution, and the file product of the solution can be used as the UI element or animation product of the BGM. The PAG file is an animation effect file obtained based on PAG.

[0053] The animation effects for the barrage can be divided into single-barrage effects and area-barrage effects. The single-barrage effect refers to an animation effect for a single barrage. The area-barrage effect refers to an animation effect for each barrage displayed in a single area. For the single-barrage effect, the barrage effect content file includes various animation elements that constitute the single-barrage effect. For example, for a single-barrage upvote effect, the barrage effect content file includes various UI elements that constitute the single-barrage upvote effect and the initial assembly relationship between the various UI elements. The various UI elements that constitute the single-barrage upvote effect can specifically include a background element for determining an effect background, a text element for determining a barrage text content, an icon element for determining a like interaction icon, a text element for determining a like number, and the like. Through the barrage effect content file, a basic single-barrage upvote effect style can be presented. For another example, for a full-screen water ripple effect, the barrage effect content file includes various animation elements required to present the full-screen water ripple effect and the assembly logic between the various animation elements. Through the barrage effect content file, a basic water ripple effect style can be presented.

[0054] Specifically, the user can obtain, through the configuration terminal, a barrage effect content file corresponding to a required barrage effect, configure, through the configuration terminal, a barrage effect scheduling file corresponding to the barrage effect content file, and pack, through the configuration terminal, the associated barrage effect content file and the barrage effect scheduling file into a barrage effect resource. When it is required to trigger the barrage effect corresponding to the barrage effect content file, the barrage effect resource can apply a video barrage that triggers the barrage effect to the barrage effect content file based on the barrage effect scheduling file, so that the video barrage presents a specific barrage effect.

[0055] The user can upload, through the configuration terminal, the barrage effect content file. For example, the configuration terminal displays a barrage effect content file upload control, and in response to a trigger operation on the barrage effect content file upload control, selects a required barrage effect scheduling file from a local folder for uploading. The user can also select, through the configuration terminal, a required barrage effect content file from an existing barrage effect content file set. For example, the configuration terminal displays an existing barrage effect content file set, and in response to a file selection operation on the barrage effect content file set, selects a required barrage effect content file.

[0056] In step S204, at least one barrage configuration data group is displayed in response to a configuration entry operation on the barrage effect content file. The barrage configuration data group includes an associated entry animation layer identifier and a matching data identifier. The animation layer identifier is used to identify an animation layer in the barrage effect content file. The animation layer in the barrage effect content file is used to determine a barrage effect style. The matching data identifier is used to identify barrage effect style associated data that matches the animation layer.

[0057] The configuration entry operation is an operation for entering a barrage configuration data group. For example, the configuration entry operation can be an information input operation; the configuration entry operation can also be an information selection operation; and the like.

[0058] One barrage configuration data group includes an associated entry animation layer identifier and matching data identifier. That is, one barrage configuration data group includes a pair of animation layer identifier and matching data identifier. The animation layer identifier is an identifier for identifying the animation layer in the barrage special effect content file. The barrage special effect content file includes at least one animation layer, and the animation layer carries corresponding animation elements, and the animation layer is used to determine the barrage special effect style. For single barrage special effect, one barrage special effect content file corresponds to one single barrage special effect, and one barrage special effect content file includes multiple animation layers, and different animation layers carry different animation elements, for example, for single barrage high praise special effect, animation layer 1 is a special effect background layer, animation layer 2 is a barrage text content layer, animation layer 3 is a barrage image content layer, animation layer 4 is a like icon layer, and animation layer 5 is a like number layer. For regional barrage special effect, one barrage special effect content file corresponds to at least one regional barrage special effect, for example, for the most basic full-screen water ripple effect, there is only one animation layer, which is a water ripple effect layer; for a slightly more complex full-screen water ripple effect, animation layer 1 is a water ripple effect layer, animation layer 2 is a wind scraping effect layer for superimposed on animation layer 1, and animation layer 3 is a rain effect layer for superimposed on animation layer 2, animation layer 1 presents a water ripple effect, animation layer 1+animation layer 2 presents a wind scraping water ripple effect, and animation layer 1+animation layer 2+animation layer 3 presents a water ripple effect with wind scraping and rain.

[0059] The matching data identifier is an identifier for identifying the barrage special effect style associated data. The barrage special effect style associated data refers to the data associated with the barrage special effect style. For the animation layer identifier and the matching data identifier in the same barrage configuration data group, the matching data identifier is used to identify the barrage special effect style associated data matched with the animation layer corresponding to the animation layer identifier. For single barrage special effect, the barrage special effect style associated data is used to determine the sub-data in the complete barrage data of the single barrage that needs to be added to the corresponding animation layer. For regional barrage special effect, the barrage special effect style associated data is used to indicate the regional barrage special effect type presented by the corresponding animation layer.

[0060] Specifically, after determining the barrage special effect content file, the user can configure matching barrage special effect style association data for the animation layer in the barrage special effect content file, so that subsequent adjustment and scheduling of the corresponding animation layer can be based on the barrage special effect style association data, and the dynamic realization of the barrage special effect. The user can enter at least one pair of animation layer identifier and matching data identifier on the configuration terminal, and the configuration terminal displays at least one barrage configuration data group in response to the configuration entry operation for the barrage special effect content file.

[0061] In step S206, in response to the configuration publishing operation for the barrage special effect content file, a barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each barrage configuration data group, and the barrage special effect content file and the barrage special effect scheduling file form a barrage special effect resource; the barrage special effect scheduling file is used to apply the video barrage triggering the barrage special effect to the animation layer corresponding to the animation layer identifier based on the barrage special effect style association data corresponding to the matching data identifier, to obtain the special effect barrage.

[0062] The configuration publishing operation is an operation for publishing the entered data. For example, the configuration publishing operation can be a trigger operation for the configuration publishing control.

[0063] The barrage special effect scheduling file is a script file generated based on the configured barrage configuration data groups. The barrage special effect scheduling file is a script file for applying the video barrage triggering the barrage special effect to the barrage special effect content file, so that the video barrage presents a specific barrage special effect.

[0064] A barrage configuration data group includes a pair of animation layer identifier and matching data identifier. The barrage special effect scheduling file generated based on each barrage configuration data group is used to apply the video barrage triggering the barrage special effect to the animation layer corresponding to the animation layer identifier based on the barrage special effect style association data corresponding to the matching data identifier, so as to obtain the special effect barrage. The special effect barrage refers to the video barrage with the barrage special effect.

[0065] The barrage special effect scheduling file can control the animation layer in the barrage special effect content file, adjust the detail parameters of the animation layer, and realize the customized barrage special effect. For a single barrage special effect, the barrage special effect scheduling file can control the UI element in the barrage special effect content file, realize the dynamic assembly and layout parameter adjustment of the video barrage UI element. For a regional barrage special effect, the barrage special effect scheduling file can control the layer where the video barrage is located, and dynamically load the regional barrage special effect.

[0066] The barrage special effect resource includes the associated barrage special effect content file and the barrage special effect scheduling file. The barrage special effect resource is used to convert the video barrage into the special effect barrage when the barrage special effect is triggered.

[0067] It can be understood that whether the video barrage triggers the barrage special effect can be determined based on a special effect trigger condition configured for the barrage special effect. The special effect trigger condition can be set according to actual needs. For example, the special effect trigger condition can be a time trigger condition, which triggers the corresponding barrage special effect when the video plays to a specific time; the special effect trigger condition can be a barrage publisher trigger condition, which automatically triggers the corresponding barrage special effect when a specific user publishes a barrage; and the like.

[0068] Specifically, after the user enters the barrage configuration data set, the user can trigger the generation of the barrage special effect scheduling file. The configuration terminal generates the barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data set in response to the configuration publishing operation of the barrage special effect content file, and groups the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource. The configuration terminal can upload the barrage special effect resource to the server for storage. The server can download the barrage special effect resource to the playing terminal when the playing terminal plays the video, so that the playing terminal can conveniently realize the barrage special effect based on the barrage special effect resource.

[0069] In one embodiment, the user can perform configuration entry operations and configuration publishing operations on the script configuration platform through the configuration terminal. On the script configuration platform, the user can first determine the barrage special effect content file, and then enter the barrage configuration data set for the barrage special effect content file. The script configuration platform is pre-installed with a script template for generating the barrage special effect scheduling file, and the script template generates the barrage special effect scheduling file corresponding to the barrage special effect content file by combining each barrage configuration data set entered by the user. The script template is a code template with the ability to update the barrage special effect content file. The script configuration platform groups the associated barrage special effect content file and barrage special effect scheduling file into a barrage special effect resource, and uploads the barrage special effect resource to the barrage management platform. The barrage management platform is used to manage related data of the barrage.

[0070] For example, the barrage special effect scheduling file can be a JSY script, which is a script based on the JS (JavaScript) programming language. JS programming language is a weakly typed programming language, a static scope programming language, supports function definition, supports data structure definition, but does not support object-oriented simple script language template, and supports process-oriented simple script language template.

[0071] In the above barrage data processing method, the animation layer in the barrage special effect content file is used to determine the barrage special effect style, a corresponding barrage special effect scheduling file is configured for the barrage special effect content file, and the barrage special effect scheduling file is used to apply the video barrage triggering the barrage special effect to the barrage special effect content file based on the configured barrage configuration data set, so that the video barrage triggering the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby without the need of video application re-release, and the barrage special effect can be flexibly realized based on the barrage special effect resource composed of the associated barrage special effect content file and the barrage special effect scheduling file, and the implementation flexibility of the barrage special effect is effectively improved.

[0072] In one embodiment, in response to a configuration entry operation for the barrage special effect content file, at least one barrage configuration data set is displayed, including:

[0073] At least one entry control set is displayed, and the entry control set includes an associated animation layer entry control and a matching data entry control. The animation layer entry control is used to enter an animation layer identifier, and the matching data entry control is used to enter a matching data identifier. In response to an entry operation for the entry control set, the barrage configuration data set entered for each entry control set is displayed.

[0074] In one embodiment, one entry control set includes a pair of animation layer entry control and matching data entry control. The animation layer entry control is a control used to enter an animation layer identifier. For example, the animation layer entry control can be an animation layer identifier input box. The animation layer entry control can be an animation layer identifier selection box. The matching data entry control is a control used to enter a matching data identifier. For example, the matching data entry control can be a matching data identifier input box.

[0075] Specifically, the configuration terminal displays a barrage special effect scheduling file configuration interface, and at least one entry control set is displayed in the barrage special effect scheduling file configuration interface. The entry control set includes an associated animation layer entry control and a matching data entry control, and a user can enter corresponding data for the corresponding controls in the entry control set. The configuration terminal displays the barrage configuration data set entered for each entry control set in response to an entry operation for the entry control set.

[0076] In one embodiment, a preset number of entry control sets are displayed in the barrage special effect scheduling file configuration interface, and an entry control set increasing control is also displayed in the barrage special effect scheduling file configuration interface. If the number of barrage configuration data sets that a user wants to enter is greater than the preset number, the user can trigger the entry control set increasing control to increase the entry control set, so that the user can continue to enter the barrage configuration data set.

[0077] In an embodiment, the barrage effect scheduling file configuration interface displays a configuration publishing control. After the user completes the entry of all barrage configuration data groups, the user can trigger the configuration publishing control to trigger a configuration publishing operation.

[0078] In an embodiment, the barrage effect scheduling file configuration interface can be a front-end interface of a script configuration platform.

[0079] In the above embodiment, an entry control group is displayed to guide the user to enter the barrage configuration data group. One entry control group includes an associated animation layer entry control and a matching data entry control. One entry control group is used to enter one barrage configuration data group, thereby effectively reducing or avoiding user entry errors and ensuring the correct matching of the animation layer identifier and the matching data identifier in the barrage configuration data group.

[0080] In an embodiment, when each animation layer in the barrage effect content file is used to describe each animation element that constitutes a single barrage effect, the barrage effect style association data is the barrage attribute corresponding to the video barrage.

[0081] Generating a barrage effect scheduling file corresponding to the barrage effect content file based on each barrage configuration data group includes:

[0082] Obtaining an element update script template pre-set for the animation element corresponding to the animation layer identifier in the barrage configuration data group, adding the animation layer identifier and the matching data identifier in the barrage configuration data group to the corresponding element update script template, and obtaining an element update target script corresponding to each barrage configuration data group, respectively. The element update target script is used to add the barrage attribute data corresponding to the matching data identifier of the video barrage that triggers the single barrage effect to the animation layer corresponding to the corresponding animation layer identifier. Based on the element update target script corresponding to each barrage configuration data group, respectively, a barrage effect scheduling file corresponding to the barrage effect content file is obtained.

[0083] For a single barrage special effect, each animation layer in the barrage special effect content file is used to describe each animation element that constitutes the single barrage special effect. For such a barrage special effect content file, the barrage special effect style association data is the barrage attribute corresponding to the video barrage. It can be understood that the complete barrage data of a video barrage involves multiple barrage fields, one barrage field corresponds to one barrage attribute, and the barrage attribute data corresponding to one barrage attribute represents the barrage field value corresponding to one barrage field. For example, the barrage data of a video barrage involves a barrage identifier field, a barrage special effect identifier field, a barrage publisher avatar field, a barrage text content field, a barrage like number field, and the like. The barrage special effect scheduling file is used to bind the animation layers in the barrage special effect content file and the related barrage attributes, control the filling of the barrage attribute data corresponding to a single video barrage on the barrage attribute into the related animation layers, so as to realize the single barrage special effect for a single barrage.

[0084] For the barrage special effect content file corresponding to the single barrage special effect, an element update script template matching the animation elements involved in the barrage special effect content file is set in advance. The element update script template is a script template for animation elements and has the ability to update the content of the animation elements in the animation layer. The barrage data configuration group configured by the user is added to the corresponding element update script template to obtain an element update target script. The element update target script is used to fill the barrage attribute data of the video barrage triggering the single barrage special effect on the corresponding barrage attribute into the associated animation layer, so that the barrage special effect content file has the personalized information of the video barrage and can realize the single barrage special effect for the video barrage.

[0085] For example, the barrage data includes an avatar field representing the member level of the barrage publisher, and the barrage special effect content file includes an animation layer corresponding to a picture element representing the member level of the barrage publisher. In order to enable the subsequent special effect barrage to display the avatar picture representing the member level of the barrage publisher, it is necessary to bind the avatar field and the animation layer. The user enters the avatar field identifier and the corresponding animation layer identifier as a barrage configuration data group. The picture update script template set for the picture element has the ability to update the picture in the animation layer corresponding to the picture element. The avatar field identifier and the corresponding animation layer identifier are added to the picture update script template set for the picture element to obtain a picture update target script. The picture update target script is used to add the avatar picture corresponding to the avatar field identifier to the corresponding animation layer.

[0086] Specifically, for a single barrage special effect, the configuration terminal obtains an element update script template preset for an animation element corresponding to an animation layer identifier in the barrage configuration data group, to obtain an element update script template corresponding to each barrage configuration data group. The configuration terminal adds the animation layer identifier and the matching data identifier in the barrage configuration data group to the corresponding element update script template, to obtain an element update target script corresponding to each barrage configuration data group. The configuration terminal obtains a barrage special effect scheduling file corresponding to the barrage special effect content file based on the element update target script corresponding to each barrage configuration data group. The video barrage triggering the barrage special effect is applied to the barrage special effect content file through the barrage special effect scheduling file. Specifically, the barrage attribute data of the video barrage triggering the single barrage special effect on the corresponding barrage attribute can be filled into the animation image identifier corresponding animation layer associated with the barrage attribute in the barrage special effect content file, so that the filled barrage special effect content file can realize the special effect barrage corresponding to the video barrage triggering the single barrage special effect.

[0087] In the above embodiment, for a single barrage special effect, after obtaining the barrage configuration data group input by the user, the barrage special effect scheduling file can be quickly and conveniently generated based on the preset element update script template and the barrage configuration data group, avoiding the user from editing complex code scripts from scratch.

[0088] In one embodiment, based on the element update target script corresponding to each barrage configuration data group, the barrage special effect scheduling file corresponding to the barrage special effect content file is obtained, including:

[0089] obtaining a preset auxiliary script template; the auxiliary script template includes at least one of a first script template for adjusting animation layer basic attributes and a second script template for responding to a barrage triggering event; based on the element update target script corresponding to each barrage configuration data group and the auxiliary script template, the barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

[0090] The animation layer basic attribute refers to the basic attribute related to the display of the animation layer, for example, the display color of the animation element corresponding to the animation layer, the display interval between the animation layer and other layers, the display border corresponding to the animation layer, etc.

[0091] The barrage triggering event refers to an event triggering the barrage after displaying the barrage. For example, the barrage triggering event can be a barrage click event; the barrage triggering event can be a barrage like event; etc.

[0092] It can be understood that the pre-set script template includes an auxiliary script template in addition to the element update script template. The auxiliary script template includes at least one of a first script template for adjusting the basic properties of the animation layer and a second script template for responding to the bullet screen trigger event. The auxiliary script template is used for the user to edit, so as to increase the function of the bullet screen special effect scheduling file, so that the bullet screen special effect scheduling file can realize more detailed adjustment of the bullet screen special effect content file, and then realize more personalized bullet screen special effect. The first script template is used for adjusting the basic properties of the animation layer. The user can edit the first script template and add the basic property data of the related animation layer in the first script template, so that the bullet screen special effect scheduling file can adjust the basic property data of the related animation layer in the bullet screen special effect content file to the basic property data configured by the user. For example, the first script template is used for adjusting the display color of the animation element corresponding to the animation layer. The user adds the animation layer identifier and the display color of the animation layer which the user wants to adjust to the first script template. Then, the generated bullet screen special effect scheduling file can adjust the display color of the animation element corresponding to the corresponding animation layer from the default color to the color configured by the user. The second script template is used for responding to the bullet screen trigger event. The user can edit the second script template and add the processing mechanism of the bullet screen trigger event in the second script template, so that the bullet screen special effect scheduling file can make the special effect bullet screen have the ability to respond to the bullet screen trigger event. For example, the second script template is used for changing the display state between the animation layers when the bullet screen trigger event occurs. If the user wants to adjust the display state of the invitation like small person to the display state of the successful like small person in the special effect bullet screen after clicking the bullet screen, the user can add the animation layer identifier of the animation layer corresponding to the invitation like small person and the animation layer identifier of the animation layer corresponding to the successful like small person to the corresponding position of the second script template. Then, the generated bullet screen special effect scheduling file can adjust the animation layer corresponding to the invitation like small person from the display state to the hidden state, and adjust the animation layer corresponding to the successful like small person from the hidden state to the display state.

[0093] Specifically, when generating the bullet screen special effect scheduling file, the pre-set auxiliary script template can be further obtained. The terminal is configured based on the element update target script and the auxiliary script template corresponding to each bullet screen configuration data group, respectively, to obtain the bullet screen special effect scheduling file corresponding to the bullet screen special effect content file.

[0094] After generating the bullet screen special effect scheduling file, the user can edit the auxiliary script template in the bullet screen special effect scheduling file to increase the function of the bullet screen special effect scheduling file.

[0095] In the above embodiment, in addition to the element update target script, the barrage special effect scheduling file also includes an auxiliary script template. Through the auxiliary script template, more adjustments for the barrage special effect can be realized, so as to further improve the implementation flexibility of the barrage special effect.

[0096] In one embodiment, with reference to Figure 3 A schematic diagram of a single high-up special effect barrage. The single high-up special effect barrage is composed of a 301 background element (an oval frame), a 302 picture element (a VIP logo), a 303 text element (barrage text content), a 304 like animation element (an invitation like figure), and a 305 text element (barrage like number). The PAG file corresponding to the single high-up special effect barrage includes animation layers corresponding to each animation element. The user-entered barrage configuration data sets include a barrage configuration data set composed of an animation layer identifier corresponding to the 302 picture element and a VIP logo corresponding to an avatar field, a barrage configuration data set composed of an animation layer identifier corresponding to the 303 text element and barrage text content corresponding to a text content field, and a barrage configuration data set composed of an animation layer identifier corresponding to the 305 text element and a like number corresponding to a like number field. The JSY script generated based on each barrage configuration data set is used to fill the specific text content provided by the barrage data into the animation layer corresponding to the 303 text element, fill the specific avatar picture provided by the barrage data into the animation layer corresponding to the 302 picture element, and fill the like number provided by the barrage data into the animation layer corresponding to the 305 text element. If the user additionally configures the text color of the 303 text element, the spacing between multiple animation elements, and other parameters, the JSY script can also be used to modify the text color of the animation layer corresponding to the 303 text element, adjust the spacing between the corresponding animation layers, and stretch and adapt the background element and other elements. For the single high-up special effect barrage, the barrage data corresponding to a single video barrage is loaded into the corresponding PAG file through the JSY script, and finally the high-up special effect barrage as shown in Figure 3 can be presented.

[0097] In one embodiment, in the barrage special effect content file, each animation layer is used to describe each animation element that constitutes a single barrage special effect. When the barrage special effect style association data is the barrage attribute corresponding to the video barrage, the barrage configuration data set further includes an associated layer display state. The layer display state is used to indicate the display state of the animation layer corresponding to the animation layer identifier when the attribute data corresponding to the matching data identifier is the preset data.

[0098] Specifically, for the single barrage special effect, the barrage configuration data group further comprises an associated layer display state, that is, a barrage configuration data group comprises an associated animation layer identifier, a matching data identifier and a layer display state. The layer display state is used to indicate the display state of the animation layer corresponding to the animation layer identifier when the attribute data of the barrage attribute corresponding to the matching data identifier is preset data. The display state is divided into a display state and a hidden state, and the user can select the display state or the hidden state. The preset data can be pre-set according to actual needs. For example, if the preset data is set to represent that the attribute data is empty, the layer display state is used to indicate the display state of the animation layer corresponding to the animation layer identifier when the attribute data of the corresponding barrage attribute is empty.

[0099] In the above embodiment, the user can also configure the layer display state corresponding to the animation layer, so that the barrage special effect scheduling file generated based on the configuration data can control the display state of the corresponding animation layer in the barrage special effect content file at a specific time, thereby further improving the implementation flexibility of the barrage special effect.

[0100] In one embodiment, when each animation layer in the barrage special effect content file is used to describe a different regional barrage special effect, the barrage special effect style association data is a regional barrage special effect type corresponding to the regional barrage special effect.

[0101] Based on each barrage configuration data group, a barrage special effect scheduling file corresponding to the barrage special effect content file is generated, comprising:

[0102] The layer adjustment script template is obtained, and the animation layer identifier and the matching data identifier in the barrage configuration data group are added to the layer adjustment script template to obtain a layer adjustment target script corresponding to each barrage configuration data group. The layer adjustment target script is used to adjust the layer of the video barrage in the special effect effective area corresponding to the regional barrage special effect to the animation layer corresponding to the corresponding animation layer identifier when the regional barrage special effect corresponding to the matching data identifier is triggered. Based on the layer adjustment target script corresponding to each barrage configuration data group, a barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

[0103] For the regional bullet screen special effect, each animation layer in the bullet screen special effect content file is used to describe different regional bullet screen special effects. For such a bullet screen special effect content file, the bullet screen special effect style association data is the regional bullet screen special effect type corresponding to the regional bullet screen special effect. The regional bullet screen special effect type is used to describe the effect of the regional bullet screen special effect. The bullet screen special effect scheduling file is used to bind the animation layer corresponding to the regional bullet screen special effect and the regional bullet screen special effect type, so as to adjust the layer in which the video bullet screen in the special effect effective area corresponding to the regional bullet screen special effect to the corresponding animation layer when the regional bullet screen special effect corresponding to the regional bullet screen special effect type is triggered, so that each bullet screen in the special effect effective area can realize unified bullet screen special effect.

[0104] The bullet screen display area is an area for displaying bullet screens. The special effect effective area refers to a sub-area in the bullet screen display area that needs to present a regional bullet screen special effect. For example, if the special effect effective area is full screen, it means that all bullet screens in the bullet screen display area need to present a specific effect. If the special effect effective area is the left half of the screen, it means that the bullet screen display area is divided into two, left and right areas, and only all bullet screens displayed in the left area need to present a specific effect.

[0105] It can be understood that the video bullet screen that has not triggered the regional bullet screen special effect is in a layer without regional bullet screen special effect. Once the regional bullet screen special effect is triggered, the layer in which the video bullet screen in the special effect effective area corresponding to the regional bullet screen special effect is adjusted to the corresponding animation layer through the corresponding bullet screen special effect scheduling file. Whether the video bullet screen triggers the regional bullet screen special effect and whether the video bullet screen triggers the single bullet screen special effect do not affect each other, that is, the video bullet screen that has not triggered the regional bullet screen special effect can be the video bullet screen that has triggered the single bullet screen special effect.

[0106] The layer adjustment script template is a script template that has the ability to adjust the layer in which the video bullet screen is located. The user-configured bullet screen data configuration group is added to the layer adjustment script template to obtain a layer adjustment target script. The layer adjustment target script is used to adjust the layer in which the video bullet screen in the special effect effective area corresponding to the regional bullet screen special effect is located to the corresponding animation layer when the regional bullet screen special effect corresponding to the matching data identifier is triggered, so that the video bullet screen in the special effect effective area corresponding to the regional bullet screen special effect can realize unified regional bullet screen special effect.

[0107] For example, the animation layer 1 in the barrage special effect content file corresponds to a region barrage special effect, the region barrage special effect type corresponding to the region barrage special effect is a full-screen heartbeat special effect, in order to trigger the full-screen heartbeat special effect, all the barrages in the full screen will execute the heartbeat special effect, the user records the full-screen heartbeat special effect and the animation layer 1 as a barrage configuration data group. The full-screen heartbeat special effect and the animation layer 1 are added to the layer adjustment script template to obtain a layer adjustment target script, which is used to adjust the layers of the video barrages in the full screen to the animation layer 1 when the full-screen heartbeat special effect is triggered.

[0108] Specifically, for the region barrage special effect, the configuration terminal obtains a layer adjustment script template, adds the animation layer identifier and the matching data identifier in the barrage configuration data group to the layer adjustment script template, and respectively obtains a layer adjustment target script corresponding to each barrage configuration data group. The configuration terminal obtains a barrage special effect scheduling file corresponding to the barrage special effect content file based on the layer adjustment target script corresponding to each barrage configuration data group. The video barrage triggering the barrage special effect is applied to the barrage special effect content file through the barrage special effect scheduling file, specifically, through the barrage special effect scheduling file, when the region barrage special effect of the corresponding region barrage special effect type is triggered, the layers of the video barrages in the special effect effective area corresponding to the region barrage special effect are adjusted to the animation layer corresponding to the animation image identifier associated in the barrage special effect content file, so that the video barrages in the special effect effective area can realize unified region barrage special effect.

[0109] In the above embodiment, for the region barrage special effect, after obtaining the barrage configuration data group recorded by the user, based on the pre-set layer adjustment script template and the barrage configuration data group, the barrage special effect scheduling file can be quickly and conveniently generated, avoiding the user to edit the complex code script from scratch.

[0110] In one embodiment, when each animation layer in the barrage special effect content file is used to describe different region barrage special effects, the barrage special effect style association data is the region barrage special effect type corresponding to the region barrage special effect, and the barrage configuration data group further includes the associated special effect effective range, which is used to indicate the effective area of the region barrage special effect corresponding to the matching data identifier in the barrage display area.

[0111] Specifically, for the region barrage special effect, the barrage configuration data group further includes an associated special effect effective range, that is, a barrage configuration data group includes an associated animation layer identifier, a matching data identifier, and a special effect effective range. The special effect effective range is used to indicate the effective area of the region barrage special effect corresponding to the matching data identifier in the barrage display area. The special effect effective range can be a specific effective area directly, for example, the user can directly fill in the special effect effective range. The special effect effective range can also be a validity state of a preset target effective area. The validity state is divided into an effective state and an ineffective state, and the user can select the effective state or the ineffective state. The effective state means adjusting the special effect effective area from the original effective area to the target effective area, and the ineffective state means keeping the original effective area. For example, the special effect effective range is a validity state of the full-screen barrage display area. If the user selects the effective state, the special effect effective area corresponding to the region barrage special effect is the entire barrage display area. If the user selects the ineffective state, the special effect effective area corresponding to the region barrage special effect is the original special effect effective area.

[0112] In one embodiment, for the region barrage special effect, the barrage special effect content file records the corresponding original effective area.

[0113] In the above embodiment, the user can also configure the special effect effective range corresponding to the region barrage special effect, so that the barrage special effect scheduling file generated based on the configuration data can control the special effect effective area corresponding to the corresponding animation layer in the barrage special effect content file, to further improve the implementation flexibility of the barrage special effect.

[0114] In one embodiment, in response to a configuration publishing operation for the barrage special effect content file, a barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each barrage configuration data group, and the barrage special effect content file and the barrage special effect scheduling file are combined into a barrage special effect resource, including:

[0115] In response to a configuration export operation for the barrage special effect content file, an initial barrage special effect scheduling file is generated based on each barrage configuration data group. In response to a configuration upload operation for the barrage special effect content file, a target barrage special effect scheduling file obtained by adjusting the initial barrage special effect scheduling file is acquired. In response to a configuration publishing operation for the barrage special effect content file, the barrage special effect content file and the target barrage special effect scheduling file are combined into a barrage special effect resource.

[0116] The configuration export operation is an operation for exporting an initial bullet screen effect scheduling file. For example, the configuration export operation can be a trigger operation for a configuration export control. The initial bullet screen effect scheduling file is generated based on the respective bullet configuration data sets, and the initial bullet screen effect scheduling file is exported. The user can edit, adjust, and modify the initial bullet screen effect scheduling file. The configuration upload operation is an operation for uploading an adjusted bullet screen effect scheduling file. For example, the configuration upload operation can be a trigger operation for a configuration upload control. The configuration release operation is an operation for releasing a final bullet screen effect scheduling file.

[0117] Specifically, the user can select to directly generate a bullet screen effect scheduling file based on the respective bullet configuration data sets for release. In the generated bullet screen effect scheduling file, in addition to the bullet configuration data sets, other contents adopt default configurations. The user can also select to first generate an initial bullet screen effect scheduling file based on the respective bullet configuration data sets, and then adjust the initial bullet screen effect scheduling file, and release the adjusted bullet screen effect scheduling file.

[0118] If the user wants to additionally adjust the bullet screen effect scheduling file, the user can select to first export the bullet screen effect scheduling file for adjustment. The configuration terminal generates an initial bullet screen effect scheduling file based on the respective bullet configuration data sets in response to a configuration export operation for the bullet screen effect content file. The user can adjust the initial bullet screen effect scheduling file, and then upload the adjusted bullet screen effect scheduling file. The configuration terminal obtains a target bullet screen effect scheduling file obtained by adjusting the initial bullet screen effect scheduling file in response to a configuration upload operation for the bullet screen effect content file. Finally, the user selects to release the adjusted bullet screen effect scheduling file. The configuration terminal groups the bullet screen effect content file and the target bullet screen effect scheduling file into a bullet screen effect resource in response to a configuration release operation for the bullet screen effect content file.

[0119] In the above embodiment, the user can first export an initial bullet screen effect scheduling file, individually adjust the initial bullet screen effect scheduling file, upload a target bullet screen effect scheduling file obtained by adjusting the initial bullet screen effect scheduling file, and finally release a bullet screen effect resource composed of the bullet screen effect content file and the target bullet screen effect scheduling file. In this way, the user can modify the default configurations in the initial bullet screen effect scheduling file or add required configurations, to achieve more adjustments for the bullet screen effect, and to further improve the implementation flexibility of the bullet screen effect.

[0120] In one embodiment, the script configuration interface for a single bullet screen effect is as follows: Figure 4The script configuration interface is shown in FIG. 4. In the script configuration interface, the input control 401 is used to input the layer name of the animation layer, the input control 402 is used to input the attribute name of the bullet screen attribute, and the selection control 403 is used to select the layer display state of the animation layer when the attribute content (i.e., the bullet screen attribute data) corresponding to the bullet screen attribute is empty. The input control 401, the input control 402, and the selection control 403 displayed in the same row are a group of associated controls, which are used to input a bullet screen configuration data group. In the script configuration interface, the new control 404 is used to add a group of associated controls on the interface, the export control 405 is used to export the JSY script generated based on the bullet screen configuration data group on the interface, the upload control 406 is used to upload the adjusted JSY script, and the release control 407 is used to directly release the JSY script generated based on the bullet screen configuration data group on the interface or release the adjusted JSY script.

[0121] The UI elements and effects of the bullet screen are carried by the PAG file, and the JSY script corresponding to the PAG file binds different layers (animation layers) of the PAG file with corresponding bullet screen attributes to control the display and content filling. For example, for the setting of the bullet screen avatar, the layer corresponding to the avatar in the PAG file is bound with the avatar field in the bullet screen data. If the field content is empty, the avatar is hidden. If the field content is not empty, the corresponding picture resource is loaded and set to the layer corresponding to the avatar. The user first selects the PAG file for a single bullet screen effect, and then inputs the layer and the bullet screen attribute to be bound and the display state of the layer when the field content corresponding to the bullet screen attribute is empty in the script configuration interface. If the user directly triggers the release control 407, the JSY script is generated based on the bullet screen configuration data group on the interface, the PAG file and the JSY script are packaged as a bullet screen effect resource, and the bullet screen effect resource is released to the bullet screen configuration platform. If the user triggers the export control 405, the JSY script is generated based on the bullet screen configuration data group on the interface, and the JSY script is exported. The user can edit, adjust, and modify the exported JSY script. Then the user triggers the upload control 406 to upload the adjusted JSY script, and triggers the release control 407 to package the PAG file and the adjusted JSY script as a bullet screen effect resource, and release the bullet screen effect resource to the bullet screen configuration platform.

[0122] The script configuration platform (also referred to as a low-code script generation platform) has some commonly used code templates (i.e., element update script templates) built in, for example, a text template has the ability to update the text in a TextLayer (text layer) in a PAG file, and a picture template has the ability to update the picture in an ImageLayer (picture layer) in a PAG file. When generating a JSY script, the code template is used to generate the JSY script according to the data input on the script configuration platform.

[0123] In addition to directly generating JSY scripts, the script configuration platform also allows users to export, modify, and re-upload JSY scripts to handle special configurations, such as dynamically adjusting the position, width, and height of UI elements. For special attributes that cannot be directly controlled by inputting or selecting on the platform, users can first export the JSY script, then modify it using a text editor, and finally upload and publish the modified JSY script. The generated JSY scripts also include some built-in templates for users to edit (i.e., auxiliary script templates), such as code templates for adjusting UI element colors, borders, and spacing, and code templates for controlling navigation between UI elements based on user actions. Users can modify these templates using a text editor. Alternatively, users can choose to add code for special configurations directly into the JSY script.

[0124] In one embodiment, the script configuration interface for full-screen bullet screen effects is as follows: Figure 5 As shown. In the script configuration interface, input control 501 is used to input the layer name of the animation layer, input control 502 is used to input the type name of the bullet screen effect, and selection control 503 is used to select whether to adjust the effect's effective area to full screen. Input control 501, input control 502, and selection control 503 displayed on the same line are associated control groups used to input a bullet screen configuration data group. In the script configuration interface, add control 504 is used to add an associated control group to the interface, export control 505 is used to export the JSY script generated based on the bullet screen configuration data group on the interface, upload control 506 is used to upload the adjusted JSY script, and publish control 507 is used to directly publish the JSY script generated based on the bullet screen configuration data group on the interface or publish the adjusted JSY script.

[0125] Full-screen bullet screen effects are also carried by PAG files. The JSY script corresponding to the PAG file dynamically controls the layer where the bullet screen is located (i.e., the layer where the bullet screen is located) and the area where the effect is applied. For example, for the full-screen heartbeat effect, when the full-screen heartbeat effect is triggered, the JSY script adjusts the layer where the bullet screen is located to the heartbeat effect layer, so that all bullet screens will execute the heartbeat effect. It can be understood that multiple full-screen bullet screen effects can be effective simultaneously.

[0126] The user first selects the PAG file for the full-screen barrage special effect, and then enters the layer to be bound, the barrage special effect type, and whether to adjust the special effect effective area to full screen in the script configuration interface. If the user directly triggers the release control 507, a JSY script is generated based on the barrage configuration data set on the interface, the PAG file and the JSY script are packaged into a barrage special effect resource, and the barrage special effect resource is released to the barrage configuration platform. If the user triggers the export control 505, a JSY script is generated based on the barrage configuration data set on the interface, and the JSY script is exported. The user can edit, adjust, and modify the exported JSY script. Then the user triggers the upload control 506 to upload the adjusted JSY script, and triggers the release control 507 again to package the PAG file and the adjusted JSY script into a barrage special effect resource, and release the barrage special effect resource to the barrage configuration platform.

[0127] The script configuration platform (also referred to as a low-code script generation platform) has some code templates for adjusting the layer of the barrage. When generating a JSY script, a code template is applied to generate a JSY script according to the data entered on the script configuration platform. In addition to directly generating a JSY script, the script configuration platform can also handle some special configurations, such as adjusting the special effect play interval, by exporting a JSY script, modifying it, and uploading it again. Adjusting the special effect play interval refers to adjusting the special effect play progress. For example, for a full-screen water ripple special effect, the water ripple progress includes 0 to 100%, 0 indicating no water ripple and 100% indicating intense water ripple. The user can set the full-screen water ripple special effect to first present a slight water ripple and then present an intense water ripple according to needs.

[0128] In one embodiment, the barrage data processing method further comprises:

[0129] obtaining a special effect trigger condition configured for the barrage special effect resource; the special effect trigger condition includes at least one of a basic trigger condition and a recommended trigger condition; and associating and uploading the barrage special effect resource and the special effect trigger condition to the barrage management platform, so that the barrage management platform stores the special effect trigger condition and uploads the barrage special effect resource to the resource management platform storage. The resource management platform is used to issue the barrage special effect resource in response to a request of a playback terminal.

[0130] The special effect trigger condition refers to a condition for triggering a special effect. The special effect trigger condition can be configured according to actual needs. The special effect trigger condition includes at least one of a basic trigger condition and a recommended trigger condition. The basic trigger condition refers to a condition for directly triggering a bullet screen special effect according to bullet screen content or video content. For example, the basic trigger condition includes a time trigger condition, and the time trigger condition includes a start time and an end time. When the video plays to the set start time, the bullet screen special effect is triggered. When the video plays to the set end time, the bullet screen special effect is cancelled. The basic trigger condition includes a bullet screen publisher trigger condition, and the bullet screen publisher trigger condition includes a bullet screen triggerer identifier. When the bullet screen triggerer identifier of the video bullet screen corresponds to the set bullet screen triggerer identifier, the bullet screen special effect is triggered. The recommended trigger condition refers to a condition for triggering a bullet screen special effect according to algorithmic semantic analysis of bullet screen content or video content. For example, for a high-vote style bullet screen special effect, the recommended trigger condition can be a high-quality bullet screen identified by an algorithm. When the video bullet screen is identified as a high-quality bullet screen, the high-vote bullet screen special effect is triggered. For a science popularization style bullet screen special effect, the recommended trigger condition can be a science popularization nature bullet screen identified by an algorithm. When the video bullet screen is identified as a science popularization nature bullet screen, the science popularization style bullet screen special effect is triggered.

[0131] The bullet screen management platform is a platform for managing bullet screen data. The bullet screen management platform can be used to manage video bullet screens and bullet screen special effects. The resource management platform is a platform for storing bullet screen special effect resources. The playback terminal can obtain and download bullet screen special effect resources from the resource management platform on demand.

[0132] Specifically, a user can configure a terminal to configure a corresponding special effect trigger condition for a barrage special effect resource. The terminal configured to obtain the special effect trigger condition configured for the barrage special effect resource, and upload the barrage special effect resource and the special effect trigger condition to a barrage management platform. The barrage management platform stores the received special effect trigger condition, and uploads the barrage special effect resource to a resource management platform, and the resource management platform stores the barrage special effect resource. Subsequently, the barrage management platform can distribute the special effect trigger condition to a playing terminal, and the playing terminal triggers the barrage special effect based on the special effect trigger condition. For example, the basic trigger condition is distributed to the playing terminal, and the playing terminal triggers the barrage special effect based on the basic trigger condition during video playing. The barrage management platform can also determine the video barrage that needs to trigger the barrage special effect based on the special effect trigger condition, modify the special effect identifier in the barrage data of the video barrage to the resource identifier corresponding to the corresponding barrage special effect resource, and then distribute the barrage data of the video barrage to the terminal, so that the terminal identifies the barrage special effect triggered by the video barrage based on the special effect identifier. For example, the barrage management platform determines the video barrage that needs to trigger the barrage special effect based on the recommended trigger condition from the known video barrage, modifies the special effect identifier in the barrage data of the video barrage to the resource identifier corresponding to the corresponding barrage special effect resource, and then distributes the barrage data of the video barrage to the terminal. When determining to trigger the barrage special effect, the playing terminal can obtain the corresponding barrage special effect resource from the resource management platform.

[0133] In the above embodiment, the corresponding special effect trigger condition is configured for the barrage special effect resource, the barrage special effect resource and the special effect trigger condition are associated and uploaded to the barrage management platform, the barrage management platform stores the special effect trigger condition, and the barrage management platform uploads the barrage special effect resource to the resource management platform for storage. The special effect trigger condition and the barrage special effect resource are stored for subsequent on-demand distribution or on-demand acquisition.

[0134] In one embodiment, the barrage management platform is further configured to, after receiving the barrage special effect resource, generate a special effect record corresponding to the barrage special effect resource, and set a special effect record state corresponding to the special effect record to a prohibited trigger state; and the barrage management platform is further configured to, in a case where the barrage special effect resource is successfully uploaded to the resource management platform, update the special effect record state corresponding to the special effect record to an allowed trigger state.

[0135] The special effect record is a record of the barrage special effect resource in the barrage management platform. One special effect record corresponds to one barrage special effect resource. The special effect record has a corresponding special effect record state, and the special effect record state is divided into a prohibited trigger state and an allowed trigger state. The prohibited trigger state is used to indicate that the barrage special effect resource is in a usable state, and the allowed trigger state is used to indicate that the barrage special effect resource is in a non-usable state.

[0136] Specifically, after receiving the barrage special effect resource, the barrage management platform generates a special effect record corresponding to the barrage special effect resource, and sets the special effect record state corresponding to the special effect record to the prohibited triggering state. The barrage management platform uploads the barrage special effect resource to the resource management platform, and if the uploading is successful, the barrage management platform updates the special effect record state corresponding to the special effect record from the prohibited triggering state to the allowed triggering state. When the special effect record state corresponding to the special effect record is in the allowed triggering state, the barrage management platform can determine the video barrage that needs to be triggered based on the special effect triggering condition or issue the special effect triggering condition to the playing terminal, so as to avoid that the playing terminal cannot download the corresponding barrage special effect resource from the resource management platform.

[0137] In the above embodiment, the barrage management platform updates the special effect record state of the special effect record corresponding to the barrage special effect resource from the prohibited triggering state to the allowed triggering state when the barrage special effect resource is successfully uploaded to the resource management platform, so as to avoid that the playing terminal cannot download the corresponding barrage special effect resource from the resource management platform when it is determined based on the special effect triggering condition that the video barrage triggers the barrage special effect.

[0138] In one embodiment, the publishing function of the low-code script generation platform is used to generate a JSY script corresponding to the PAG file based on the barrage configuration data group entered by the user, package the PAG file and the JSY script as a barrage special effect resource, and upload the barrage special effect resource to the barrage management platform (also referred to as a barrage operation management platform). Referring to Figure 6 The barrage management platform is responsible for special effect management of the barrage, and the special effect management includes special effect generation and special effect deletion. For the special effect generation, after receiving the barrage special effect resource, the barrage management platform first generates a special effect record corresponding to the barrage special effect resource, and the initial special effect record state of the special effect record is the unavailable state (i.e., the prohibited triggering state). Meanwhile, the barrage management platform transmits the barrage special effect resource to the resource management platform (ResHub, Resource Hub, resource center), and updates the special effect record state to the available state (i.e., the allowed triggering state) after successful uploading. The barrage management platform is also responsible for special effect configuration of the barrage. The special effect configuration specifically refers to configuration of the triggering condition of the special effect. The special effect triggering condition includes the barrage special effect type, the start time, the end time, and the level attribute. The barrage special effect type in the special effect triggering condition is used to identify the barrage special effect corresponding to the special effect triggering condition. For example, the barrage special effect type can record the resource identifier corresponding to the barrage special effect resource. The start time and the end time in the special effect triggering condition are used to represent the start time and the end time of the barrage special effect in the video playing process. The level attribute in the special effect triggering condition is used to record the animation layer corresponding to the barrage special effect that needs to be overlaid on which animation layer, that is, the barrage special effect that needs to be overlaid on which special effect. The user can configure the special effect triggering condition through the interface, and then upload the special effect triggering condition to the barrage management platform.

[0139] The ResHub platform is a terminal basic general configuration system. The system provides configuration and switch publishing, resource publishing, full-link publishing of Android and iOS dual terminals from gray scale to official publishing channels / application markets, and other services.

[0140] In one embodiment, the barrage management platform is further configured to generate a special effect resource identifier corresponding to the barrage special effect resource according to a special effect record identifier corresponding to the special effect record, and upload the barrage special effect resource and the special effect resource identifier to the resource management platform for storage. The special effect resource identifier is used to obtain the barrage special effect resource from the resource management platform. The barrage management platform is further configured to, when receiving a barrage special effect resource upload success message returned by the resource management platform and carrying the special effect resource identifier, obtain a special effect record state of a special effect record corresponding to the special effect record identifier, and update the obtained special effect record state to an allowed triggering state.

[0141] The special effect record has a corresponding special effect record identifier. The special effect record identifier is a kind of identifier used to uniquely identify the special effect record. The special effect record identifier has a corresponding special effect resource identifier. The special effect resource identifier is a kind of identifier used to uniquely identify the barrage special effect resource.

[0142] Specifically, after receiving the barrage special effect resource, the barrage management platform generates a special effect record and a special effect record identifier corresponding to the barrage special effect resource, and sets a special effect record state corresponding to the special effect record to a prohibited triggering state. The barrage management platform uploads the barrage special effect resource and the special effect resource identifier to the resource management platform for storage. Subsequently, a playing terminal can obtain the barrage special effect resource from the resource management platform based on the special effect resource identifier. The resource management platform can return a barrage special effect resource upload response message to the barrage management platform, so that the barrage management platform knows the uploading situation of the barrage special effect resource. If the barrage special effect resource upload response message is a barrage special effect resource upload success message, the barrage special effect resource upload success message carries the special effect resource identifier corresponding to the barrage special effect resource, and the barrage management platform receives the barrage special effect resource upload success message, finds a special effect record identifier corresponding to the special effect resource identifier, finds a special effect record state of a special effect record corresponding to the special effect record identifier, and updates the special effect record state to an allowed triggering state.

[0143] In the above embodiments, the special effect resource identifier corresponding to the barrage special effect resource and the special effect record identifier of the special effect record corresponding to the barrage special effect resource can conveniently associate the barrage special effect record on the barrage management platform with the barrage special effect resource on the resource management platform, so as to facilitate data processing of related data.

[0144] In one embodiment, the low-code script generation platform can compress the PAG file and the corresponding JSY script into a special effect product, and upload the special effect product (i.e., the barrage special effect resource) to the barrage management platform.Figure 7 The barrage management platform first checks the special effect product, which can specifically be decompressing the special effect product, checking the integrity of the data, and confirming whether it meets the requirements. If it does not meet the requirements, the barrage management platform can not process or notify the low-code script generation platform. If it meets the requirements, the barrage management platform generates a special effect record, the special effect record corresponding to the special effect record state is an unusable state, and generates a special effect resource ID according to the special effect record ID of the special effect record. The special effect record ID and the special effect resource ID correspond one-to-one. The barrage management platform calls the upload interface of the resource management platform to upload the special effect resource ID and the special effect product to the resource management platform. If the upload is successful, the barrage management platform reverses the special effect record ID through the callback special effect resource ID, and updates the corresponding special effect record state to an available state according to the special effect record ID. If the upload fails, the barrage management platform can not process or notify the operation and maintenance personnel.

[0145] In one embodiment, as shown in Figure 8 , a barrage data processing method is provided, which is taken as an example applied to a playing terminal. Referring to Figure 8 , the barrage data processing method includes the following steps:

[0146] Step S802, in the case that the current playing video triggers a barrage special effect, a barrage special effect resource pre-set for the triggered barrage special effect is obtained; the barrage special effect resource includes an associated barrage special effect content file and a barrage special effect scheduling file; the barrage special effect scheduling file is generated based on at least one barrage configuration data group, the barrage configuration data group includes an associated input animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; and the matching data identifier is used to identify barrage special effect style associated data matched with the animation layer.

[0147] Wherein, the current playing video refers to the video that the playing terminal is currently playing. Whether the current playing terminal triggers a barrage special effect can be determined based on a special effect triggering condition. For example, the current playing terminal plays to a specific scene, then a corresponding barrage special effect is triggered; the publishing user of the video barrage of the current playing video is a specific user, then a corresponding barrage special effect is triggered; the current playing video plays to a specific time, then a corresponding barrage special effect is triggered.

[0148] It can be understood that the specific generation process of the barrage special effect resource can refer to the content of the foregoing various embodiments, which will not be described here again.

[0149] At step S804, the video barrage corresponding to the triggered video barrage special effect of the current playing video is applied to the animation layer corresponding to the animation layer identifier based on the matched special effect barrage style associated data through the barrage special effect scheduling file, and the special effect barrage is obtained.

[0150] At step S806, the special effect barrage is displayed.

[0151] Specifically, the user can watch the video through the playing terminal. Once the video barrage special effect is triggered during the video playing process, the playing terminal can convert the video special effect into the special effect barrage and play the special effect barrage. If the current playing video of the playing terminal triggers the video barrage special effect, the playing terminal acquires the barrage special effect resource pre-set for the triggered video barrage special effect. The barrage special effect resource includes the associated barrage special effect content file and the barrage special effect scheduling file. The playing terminal can apply the video barrage corresponding to the triggered video barrage special effect of the current playing video to the barrage special effect content file through loading the barrage special effect scheduling file, so as to obtain the special effect barrage. The playing terminal displays the video barrage special effect by playing the special effect barrage.

[0152] It can be understood that the specific generation process of the special effect barrage can refer to the content of the foregoing embodiments, which will not be described here.

[0153] The above barrage data processing method, the barrage special effect resource includes the associated barrage special effect content file and the barrage special effect scheduling file, the animation layer in the barrage special effect content file is used to determine the barrage special effect style, and the barrage special effect scheduling file is used to apply the video barrage triggering the barrage special effect to the barrage special effect content file based on the configured barrage configuration data set, so that the video barrage triggering the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby realizing the barrage special effect flexibly by acquiring the pre-configured barrage special effect resource when the barrage special effect is triggered, and effectively improving the implementation flexibility of the barrage special effect.

[0154] In one embodiment, the manner of determining the video barrage triggering the barrage special effect corresponding to the current playing video includes at least one of the following:

[0155] The video barrage set corresponding to the current playing video issued by the barrage management platform is acquired. When the video barrage carrying the special effect resource identifier exists in the video barrage set, the video barrage carrying the special effect resource identifier is determined to trigger the barrage special effect corresponding to the special effect resource identifier. The video barrage carrying the special effect resource identifier is determined based on the special effect triggering condition set corresponding to the current playing video.

[0156] The special effect trigger condition set corresponding to the current playing video is acquired, and when the current playing progress of the current playing video satisfies any special effect trigger condition in the special effect trigger condition set, the video bullet screen trigger corresponding to the current playing progress is determined to satisfy the special effect trigger condition corresponding to the bullet screen special effect.

[0157] The video bullet screen set corresponding to the current playing video includes each video bullet screen published for the current playing video.

[0158] The special effect trigger condition set corresponding to the current playing video includes the special effect trigger condition corresponding to each bullet screen special effect applicable to the current playing video. It can be understood that the bullet screen special effect applicable to the current playing video can include a bullet screen special effect applicable only to the current playing video and a bullet screen special effect applicable to all videos. For example, if the video identifier of a specific video is recorded in the special effect trigger condition configured for the bullet screen special effect resource corresponding to a kind of bullet screen special effect, the bullet screen special effect is applicable only to the specific video; if no video identifier is recorded in the special effect trigger condition configured for the bullet screen special effect resource corresponding to a kind of bullet screen special effect, the bullet screen special effect is applicable to all videos. The special effect trigger condition corresponding to a kind of bullet screen special effect includes at least one of a basic trigger condition and a recommended trigger condition.

[0159] The current playing progress of the current playing video refers to the real-time playing progress of the current playing video. The current playing progress can indicate the current playing duration, for example, the current playing progress indicates that the current playing is at the 30th minute, and if the corresponding bullet screen special effect is set for the 30th minute, the corresponding bullet screen special effect can be triggered. The current playing progress can also indicate the video scene currently played, for example, the current playing progress indicates that the current playing is at the ocean scene, and if the corresponding bullet screen special effect is set for the ocean scene, the corresponding bullet screen special effect can be triggered. The current playing progress can also indicate the video bullet screen newly published by the playing terminal, for example, the current playing progress indicates that a user A newly publishes a bullet screen, and if the corresponding bullet screen special effect is set for the user A, the corresponding bullet screen special effect can be triggered.

[0160] Specifically, whether the video bullet screen corresponding to the currently played video triggers the bullet screen special effect can be determined by the bullet screen management platform. The bullet screen management platform stores a set of video bullet screens corresponding to the currently played video and a set of special effect triggering conditions corresponding to the currently played video. The bullet screen management platform determines, based on the set of special effect triggering conditions, the video bullet screen in the set of video bullet screens that needs to trigger the bullet screen special effect, causes the video bullet screen to carry a special effect resource identifier corresponding to the triggered bullet screen special effect, and then distributes the set of video bullet screens to the playing terminal. For example, for the video bullet screen that triggers the bullet screen special effect, the field content of the special effect identifier field in the video bullet screen data corresponding to the video bullet screen is filled with the special effect resource identifier corresponding to the triggered bullet screen special effect, and the playing terminal can identify whether the video bullet screen triggers the bullet screen special effect based on the field content of the special effect identifier field in the video bullet screen data. After the playing terminal receives the set of video bullet screens corresponding to the currently played video, if there is a video bullet screen carrying a special effect resource identifier in the set of video bullet screens, the playing terminal determines that the video bullet screen carrying the special effect resource identifier triggers the bullet screen special effect corresponding to the special effect resource identifier.

[0161] Whether the video bullet screen corresponding to the currently played video triggers the bullet screen special effect can be determined by the playing terminal. The bullet screen management platform can distribute the set of special effect triggering conditions corresponding to the currently played video to the playing terminal. During the playing of the currently played video, the playing terminal matches the real-time playing progress of the currently played video with the set of special effect triggering conditions in real time, and determines in real time whether there is a video bullet screen that triggers the bullet screen special effect in the currently played video. When the current playing progress of the currently played video meets any special effect triggering condition in the set of special effect triggering conditions, the playing terminal determines that the video bullet screen corresponding to the current playing progress triggers the bullet screen special effect corresponding to the met special effect triggering condition.

[0162] In the above embodiments, the video bullet screen that triggers the bullet screen special effect corresponding to the currently played video can be determined by the bullet screen management platform, or the video bullet screen that triggers the bullet screen special effect corresponding to the currently played video can be determined by the playing terminal, which has high flexibility.

[0163] In one embodiment, the bullet screen background service refers to a service related to bullet screens provided by a server. The data interaction between the bullet screen management platform and the playing terminal is controlled through the bullet screen background service. For reference Figure 9The barrage background service reads the barrage related data stored in the barrage management platform, and is delivered to the playing terminal through two paths of a barrage reading interface and a rich media interface. The barrage reading interface is used to update the field content of the special effect ID field of the barrage to the special effect resource ID configured by the barrage management platform. For example, the special effect resource ID is associated with the algorithm recommendation strategy. When it is determined based on the algorithm recommendation strategy that a certain barrage needs to trigger a specific barrage special effect, the field content of the special effect ID field in the barrage data of the barrage is updated to the special effect resource ID corresponding to the specific barrage special effect through the barrage reading interface, and the updated barrage data is delivered to the playing terminal. The rich media interface is used to deliver rich media data to the playing terminal, and the rich media data includes a special effect trigger condition, so that the playing terminal can determine in real time the barrage that needs to trigger the barrage special effect based on the special effect trigger condition.

[0164] In one embodiment, the barrage special effect resource pre-set for the triggered barrage special effect is obtained, including:

[0165] The special effect resource identifier corresponding to the triggered barrage special effect is obtained; the barrage special effect resource corresponding to the special effect resource identifier is queried from the locally cached barrage special effect resource set; when the query fails, the barrage special effect resource corresponding to the special effect resource identifier is obtained from the resource management platform, and the barrage special effect resource is added to the locally cached barrage special effect resource set.

[0166] Specifically, in the case that the current playing video triggers the barrage special effect, the playing terminal obtains the special effect resource identifier corresponding to the triggered barrage special effect, and obtains the corresponding barrage special effect resource based on the special effect resource identifier. The playing terminal first queries whether the barrage special effect resource corresponding to the special effect resource identifier exists from the locally cached barrage special effect resource set. If the barrage special effect resource is queried from the locally cached barrage special effect resource set, that is, the query is successful, the playing terminal quickly loads the barrage special effect resource to obtain the special effect barrage. If the barrage special effect resource is not queried from the locally cached barrage special effect resource set, that is, the query fails, the corresponding barrage special effect resource is obtained from the resource management platform based on the special effect resource identifier, and then the barrage special effect resource is loaded to obtain the special effect barrage. After the playing terminal obtains the barrage special effect resource corresponding to the special effect resource identifier from the resource management platform, the barrage special effect resource can be added to the locally cached barrage special effect resource set, so that the special effect barrage can be quickly generated when the same barrage special effect is triggered subsequently.

[0167] It can be understood that the playing terminal can obtain the special effect resource identifier corresponding to the special effect triggered by the video barrage triggering the special effect from the video barrage set issued by the barrage management platform. For example, the video barrage carrying the special effect resource identifier is used to obtain the special effect resource identifier corresponding to the triggered special effect from the special effect identifier field in the video barrage data. The playing terminal can also obtain the special effect resource identifier corresponding to the special effect triggered by the video barrage triggering the special effect from the special effect trigger condition set issued by the barrage management platform. For example, the special effect resource identifier corresponding to the triggered special effect is obtained from the satisfied special effect trigger condition.

[0168] In one embodiment, the locally cached special effect resource set of the barrage can be updated regularly. For example, the barrage special effect resource corresponding to the barrage special effect that has not been triggered for a long time is cleaned up.

[0169] In the above embodiment, the corresponding barrage special effect resource is first queried from the locally cached barrage special effect resource set based on the special effect resource identifier. If the query is successful, the barrage special effect can be quickly displayed based on the queried barrage special effect resource. If the query fails, the corresponding barrage special effect resource is obtained from the resource management platform based on the special effect resource identifier, and the obtained barrage special effect resource is added to the locally cached barrage special effect resource set, which can ensure that the barrage special effect can be quickly displayed next time the same barrage special effect is triggered.

[0170] In one embodiment, the video barrage is applied to the animation layer corresponding to the animation layer identifier based on the corresponding barrage special effect style associated data matched by the data identifier, to obtain the special effect barrage, including:

[0171] When each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect, and the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, the attribute data of the barrage attribute matched by the data identifier is added to the animation layer corresponding to the animation layer identifier for the video barrage triggering the single barrage special effect of the currently played video, to obtain the special effect barrage.

[0172] When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, and the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, the layer of the video barrage of the currently played video in the special effect effective area is adjusted to the animation layer corresponding to the animation layer identifier for the special effect effective area triggering the regional barrage special effect corresponding to the data identifier, to obtain the special effect barrage.

[0173] Specifically, for a single barrage special effect, each animation layer in the barrage special effect content file is used to describe each animation element constituting the single barrage special effect, the matching data in the barrage configuration data group is used to identify the barrage special effect style associated data corresponding to the video barrage, and the barrage special effect scheduling file is used to dynamically assemble the barrage UI elements. For the video barrage triggering the single barrage special effect of the currently played video, the attribute data of the video barrage on the configured barrage attribute is added to the corresponding animation layer in the barrage special effect content file by executing the barrage special effect scheduling file, so as to obtain the special effect barrage with the single barrage special effect.

[0174] For a regional barrage special effect, each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, the matching data in the barrage configuration data group is used to identify the barrage special effect style associated data corresponding to the regional barrage special effect type of the regional barrage special effect, and the barrage special effect scheduling file is used to dynamically schedule the layer where the barrage is located. When the regional barrage special effect corresponding to the regional barrage special effect type is triggered by the currently played video, the layer where the video barrage in the special effect effective area corresponding to the regional barrage special effect is located is adjusted to the corresponding animation layer in the barrage special effect content file by executing the barrage special effect scheduling file, so that each video barrage in the special effect effective area has the regional barrage special effect.

[0175] In one specific embodiment, the method of the present application can be applied in a full-screen barrage special effect scenario.

[0176] On the low-code script generation platform, a PAG file corresponding to a full-screen barrage special effect is selected as a processing target, and a JSY script corresponding to the PAG file is generated by using a code template corresponding to the low-code script generation platform according to the data entered on a related configuration interface of the low-code script generation platform. The PAG file and the JSY script are packaged as a barrage special effect resource and uploaded to a barrage management platform. The barrage special effect resource corresponding to the special effect trigger condition can also be configured and uploaded to the barrage management platform. The barrage management platform uploads the barrage special effect resource to a resource management platform for storage.

[0177] The barrage background service reads the special effect trigger condition in the barrage management platform through a rich media interface and sends the special effect trigger condition to a playing terminal.

[0178] The data processing process of the playing terminal can refer to Figure 10The screening of the barrage is driven by the player heartbeat. The player heartbeat is used to indicate the playing progress of the video. For example, on a playing terminal, the player heartbeats once every second when the video is played for one second. The playing terminal obtains the rich media data including the special effect trigger condition delivered. The full-screen special effect scheduler reads from the rich media data whether there is a special effect trigger condition that matches the current playing time. If there is a special effect trigger condition that matches the current playing time, it is checked whether the barrage special effect resource corresponding to the special effect trigger condition exists locally. The special effect resource ID representing the barrage special effect type is obtained from the special effect trigger condition. Whether the corresponding barrage special effect resource exists is queried from the locally stored barrage special effect resource set based on the special effect resource ID. If it does not exist locally, the corresponding barrage special effect resource is updated from the resource management platform. After obtaining the corresponding barrage special effect resource, the JSY script in the barrage special effect resource is loaded, and the layer where the barrage is located is dynamically controlled in cooperation with the track management. The layer where the barrage is located is adjusted to the corresponding animation layer in the PAG file, so as to control the barrage in the full screen to realize the full-screen barrage special effect. The track management is used to control the screening of the barrage.

[0179] For example, when the video is played to the special effect interval, the full-screen special effect scheduler finds that a full-screen special effect with a special effect resource ID pag_full_8888 needs to be played. The corresponding barrage special effect resource is read from the local cache or the resource management platform. After the read barrage special effect resource is decompressed, a pair of JSY script and PAG file is obtained. The JSY script is loaded, and the full-screen barrage is added to the corresponding animation layer in the PAG file in cooperation with the track management. Referring to Figure 11 The full-screen special effect with the special effect resource ID pag_full_8888 is a full-screen water ripple effect, Figure 11 (a) in FIG. 1 indicates a video playing interface without full-screen special effect, Figure 11 (b) in FIG. 1 indicates a video playing interface with full-screen water ripple effect. In the video playing interface with full-screen water ripple effect, the video barrage presents a water ripple shape. It can be understood that after the full-screen water ripple effect is triggered, the video barrage moves in a wave shape on the video playing interface.

[0180] In a specific embodiment, the method of the present application can be applied to a single-barrage special effect scenario.

[0181] On the low-code script generation platform, a PAG file corresponding to a single bullet screen effect is selected as a processing target, and a JSY script corresponding to the PAG file is generated by using a code template corresponding to the low-code script generation platform according to data entered on a related configuration interface of the low-code script generation platform. The PAG file and the JSY script are packaged as a bullet screen effect resource and uploaded to the bullet management platform. The bullet screen effect resource corresponding to the effect trigger condition can also be configured and uploaded to the bullet management platform. The bullet management platform uploads the bullet screen effect resource to the resource management platform for storage.

[0182] The bullet background service reads the bullet data in the bullet management platform through the bullet reading interface and sends the bullet data to the playback terminal. The bullet background service reads the effect trigger condition in the bullet management platform through the rich media interface and sends the effect trigger condition to the playback terminal.

[0183] The data processing process of the playback terminal can refer to Figure 12 The assembly of the bullet UI element is performed before the bullet is drawn on the track. The bullet data corresponding to each bullet of the video is included in the bullet data obtained by the playback terminal. If the field content of the effect ID field in the bullet data of a certain bullet includes the effect resource ID, it is determined that the bullet triggers the bullet screen effect corresponding to the effect resource ID. The effect trigger condition sent by the playback terminal is included in the rich media data obtained by the playback terminal, and whether there is a bullet triggering the bullet screen effect can also be determined according to the effect trigger condition. If there is, the field content of the effect ID field in the bullet data of the bullet is updated to the effect resource ID corresponding to the triggered bullet screen effect, so as to complete the assembly of the bullet data. For a single bullet, the effect resource ID is obtained from the effect ID field in the bullet data, one effect resource ID corresponds to one type of bullet screen effect, and whether the bullet screen effect resource corresponding to the effect resource ID exists locally is determined. If not, the corresponding bullet screen effect resource is updated from the resource management platform. After the corresponding bullet screen effect resource is obtained, the JSY script is loaded, the UI element in the PAG file is controlled through the JSY script, the assembly of the bullet UI element, the measurement of the length of the bullet, and the binding of the bullet trigger event are completed, and then the bullet is drawn on the track in cooperation with the track management. It can be understood that for the bullet without triggering the bullet screen effect, the bullet is drawn on the track by using the default PAG file without the bullet screen effect. The animation layer in the default PAG file is the default layer.

[0184] For example, if the field content of the special effect ID field of a certain barrage is updated to pag_single_666, pag_single_666 represents the special effect resource ID corresponding to the bleeding special effect. When the barrage is ready to be put on the track, the corresponding barrage special effect resource is read from the local cache or the resource management platform. After decompression of the read barrage special effect resource, a pair of JSY script and PAG file is obtained. By loading the JSY script, the barrage text in the barrage data of the barrage is updated to the animation layer corresponding to the text element in the PAG file, the font is adjusted to red, the bleeding floating layer in the PAG file is displayed, the floating layer is dynamically stretched to keep the same width as the barrage text, the user avatar in the barrage data of the barrage is updated to the animation layer corresponding to the avatar element in the PAG file, and if the user avatar does not exist in the barrage data of the barrage, the animation layer corresponding to the avatar element in the PAG file is hidden. The single-barrage bleeding special effect can refer to 1301 in Figure 13

[0185] In the above specific embodiments, the barrage UI elements and the barrage special effects are controlled by dynamic JSY scripts, and new styles, new special effects, and new play methods can be published without video application release, which effectively improves the research and development and operation efficiency. Moreover, the barrage special effects support multiple effect enabling approaches such as algorithm recommendation, user publishing, and operation configuration, and have strong flexibility. The algorithm recommendation refers to that the special effect triggering condition includes a recommended triggering condition, the user publishing refers to that the user can select a barrage special effect when publishing a barrage, and the operation configuration refers to that a specific user can publish a barrage to trigger a specific special effect.

[0186] It should be understood that although each step in the flowchart involved in each embodiment as described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless explicitly stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.

[0187] Based on the same inventive concept, the embodiments of the present application also provide a barrage data processing apparatus for implementing the barrage data processing method as described above. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, and therefore the specific limitations in one or more barrage data processing apparatus embodiments provided below can refer to the limitations of the barrage data processing method described above, which will not be described here again. ​

[0188] In one embodiment, as shown in Figure 14 A barrage data processing apparatus 1400 is provided, comprising a file acquisition module 1402, a configuration entry module 1404, and a configuration publishing module 1406, wherein:

[0189] The file acquisition module 1402 is configured to acquire a barrage special effect content file.

[0190] The configuration entry module 1404 is configured to, in response to a configuration entry operation on the barrage special effect content file, display at least one barrage configuration data group; the barrage configuration data group comprises an associated animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; and the matching data identifier is used to identify barrage special effect style associated data matching the animation layer.

[0191] The configuration publishing module 1406 is configured to, in response to a configuration publishing operation on the barrage special effect content file, generate a barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data group, and group the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource; the barrage special effect scheduling file is used to apply a video barrage triggering a barrage special effect to an animation layer corresponding to the corresponding animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, to obtain a special effect barrage.

[0192] In one embodiment, the configuration entry module 1404 is further configured to:

[0193] Display at least one entry control group; the entry control group comprises an associated animation layer entry control and a matching data entry control; the animation layer entry control is used to enter the animation layer identifier, and the matching data entry control is used to enter the matching data identifier.

[0194] In response to an entry operation on the entry control group, display the barrage configuration data group entered for each entry control group.

[0195] In one embodiment, when each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect, the barrage special effect style associated data is a barrage attribute corresponding to a video barrage. The configuration publishing module 1406 is further configured to:

[0196] obtain an element update script template pre-set for an animation element corresponding to the animation layer identifier in the barrage configuration data group, add the animation layer identifier and the matching data identifier in the barrage configuration data group into the corresponding element update script template, and obtain an element update target script corresponding to each barrage configuration data group respectively; the element update target script is used for adding the barrage attribute data corresponding to the video barrage triggering a single-barrage special effect on the matching data identifier into the animation layer corresponding to the corresponding animation layer identifier;

[0197] obtain a barrage special effect scheduling file corresponding to the barrage special effect content file based on the element update target scripts corresponding to each barrage configuration data group respectively.

[0198] In an embodiment, the configuration publishing module 1406 is further configured to:

[0199] obtain a pre-set auxiliary script template; the auxiliary script template includes at least one of a first script template used for adjusting animation layer basic attributes and a second script template used for responding to a barrage triggering event;

[0200] obtain a barrage special effect scheduling file corresponding to the barrage special effect content file based on the element update target scripts corresponding to each barrage configuration data group respectively and the auxiliary script template.

[0201] In an embodiment, when each animation layer in the barrage special effect content file is used for describing each animation element constituting a single-barrage special effect, and the barrage special effect style association data is the barrage attribute corresponding to the video barrage, the barrage configuration data group further includes an associated layer display state; the layer display state is used for indicating a display state of the animation layer corresponding to the animation layer identifier when the attribute data of the barrage attribute corresponding to the matching data identifier is preset data.

[0202] In an embodiment, when each animation layer in the barrage special effect content file is used for describing different regional barrage special effects, and the barrage special effect style association data is the regional barrage special effect type corresponding to the regional barrage special effect, the configuration publishing module 1406 is further configured to:

[0203] obtain a layer adjustment script template, add the animation layer identifier and the matching data identifier in the barrage configuration data group into the layer adjustment script template, and obtain a layer adjustment target script corresponding to each barrage configuration data group respectively; the layer adjustment target script is used for adjusting the layer of the video barrage in the special effect effective region corresponding to the regional barrage special effect to the animation layer corresponding to the corresponding animation layer identifier when the regional barrage special effect corresponding to the matching data identifier is triggered;

[0204] obtain a barrage special effect scheduling file corresponding to the barrage special effect content file based on the layer adjustment target scripts corresponding to each barrage configuration data group respectively.

[0205] In an embodiment, when each animation layer in the barrage special effect content file is respectively used to describe different regional barrage special effects, the barrage special effect style association data is a regional barrage special effect type corresponding to the regional barrage special effect, and the barrage configuration data group further comprises an associated special effect effective range, and the special effect effective range is used to indicate an effective area of the regional barrage special effect corresponding to the matching data in the barrage display area.

[0206] In an embodiment, the configuration publishing module 1406 is further configured to:

[0207] In response to a configuration export operation on the barrage special effect content file, generate an initial barrage special effect scheduling file based on each barrage configuration data group;

[0208] In response to a configuration upload operation on the barrage special effect content file, obtain a target barrage special effect scheduling file obtained by adjusting the initial barrage special effect scheduling file;

[0209] In response to a configuration publishing operation on the barrage special effect content file, group the barrage special effect content file and the target barrage special effect scheduling file into a barrage special effect resource.

[0210] In an embodiment, the barrage data processing apparatus 1400 is further configured to:

[0211] Obtain a special effect trigger condition configured for the barrage special effect resource; the special effect trigger condition comprises at least one of a basic trigger condition and a recommended trigger condition;

[0212] Associate and upload the barrage special effect resource and the special effect trigger condition to a barrage management platform, so that the barrage management platform stores the special effect trigger condition, and uploads the barrage special effect resource to a resource management platform storage, and the resource management platform is used to issue the barrage special effect resource in response to a request of a playing terminal.

[0213] In an embodiment, the barrage management platform is further configured to, after receiving the barrage special effect resource, generate a special effect record corresponding to the barrage special effect resource, and set a special effect record state corresponding to the special effect record to a prohibited trigger state;

[0214] The barrage management platform is further configured to, in a case that the barrage special effect resource is successfully uploaded to the resource management platform, update the special effect record state corresponding to the special effect record to an allowed trigger state.

[0215] In an embodiment, the barrage management platform is further configured to generate a special effect resource identifier corresponding to the barrage special effect resource according to a special effect record identifier corresponding to the special effect record, and upload the barrage special effect resource and the special effect resource identifier to the resource management platform storage;

[0216] The special effect resource identifier is used to obtain the barrage special effect resource from the resource management platform.

[0217] The bullet screen management platform is also used to obtain the effect record status of the effect record corresponding to the effect record identifier when it receives a message from the resource management platform indicating that the bullet screen effect resource carrying the effect resource identifier has been successfully uploaded, and to update the obtained effect record status to the allowed triggering status.

[0218] The aforementioned bullet screen data processing device uses animation layers in the bullet screen effect content file to determine the bullet screen effect style and configures a corresponding bullet screen effect scheduling file for the bullet screen effect content file. The bullet screen effect scheduling file is used to apply the video bullet screen that triggers the bullet screen effect to the bullet screen effect content file based on the configured bullet screen configuration data group, so that the video bullet screen that triggers the bullet screen effect can display the bullet screen effect corresponding to the bullet screen effect content file, thus eliminating the need for video application re-release. Based on the bullet screen effect resources composed of associated bullet screen effect content files and bullet screen effect scheduling files, bullet screen effects can be flexibly implemented, effectively improving the flexibility of bullet screen effect implementation.

[0219] In one embodiment, such as Figure 15 As shown, a bullet screen data processing device 1500 is provided, including: a resource acquisition module 1502, a special effects generation module 1504, and a special effects display module 1506, wherein:

[0220] The resource acquisition module 1502 is used to acquire pre-set bullet screen effect resources for the triggered bullet screen effect when the currently playing video triggers a bullet screen effect. The bullet screen effect resources include associated bullet screen effect content files and bullet screen effect scheduling files. The bullet screen effect scheduling file is generated based on at least one bullet screen configuration data group, which includes associated input animation layer identifiers and matching data identifiers. The animation layer identifier is used to identify the animation layer in the bullet screen effect content file. The animation layer in the bullet screen effect content file is used to determine the bullet screen effect style. The matching data identifier is used to identify the bullet screen effect style associated data that matches the animation layer.

[0221] The special effects generation module 1504 is used to apply the video bullet comments that trigger bullet comments to the corresponding animation layer based on the matching data identifier and the bullet comment style association data through the bullet comment effect scheduling file, thereby obtaining the special effects bullet comments.

[0222] Special effects display module 1506 is used to display special effects bullet comments.

[0223] In one embodiment, the bullet screen data processing device 1500 is further configured to:

[0224] The video barrage set corresponding to the currently played video issued by the barrage management platform is acquired, and when the video barrage carrying the special effect resource identifier exists in the video barrage set, it is determined that the video barrage carrying the special effect resource identifier triggers the barrage special effect corresponding to the special effect resource identifier; the video barrage carrying the special effect resource identifier is determined based on the special effect trigger condition set corresponding to the currently played video;

[0225] The special effect trigger condition set corresponding to the currently played video issued by the barrage management platform is acquired, and when the current playing progress corresponding to the currently played video satisfies the special effect trigger condition in the special effect trigger condition set, it is determined that the video barrage corresponding to the current playing progress triggers the barrage special effect corresponding to the special effect trigger condition.

[0226] In one embodiment, the resource acquisition module 1502 is further configured to:

[0227] Acquire the special effect resource identifier corresponding to the triggered barrage special effect;

[0228] Query the barrage special effect resource corresponding to the special effect resource identifier from the locally cached barrage special effect resource set;

[0229] When the query fails, acquire the barrage special effect resource corresponding to the special effect resource identifier from the resource management platform, and add the barrage special effect resource to the locally cached barrage special effect resource set.

[0230] In one embodiment, the special effect generation module 1504 is further configured to:

[0231] When each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect, and the barrage special effect style association data is the barrage attribute corresponding to the video barrage, for the video barrage triggering the single barrage special effect corresponding to the currently played video, add the attribute data of the barrage attribute corresponding to the matching data identifier to the animation layer corresponding to the corresponding animation layer identifier, to obtain the special effect barrage.

[0232] When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, and the barrage special effect style association data is the regional barrage special effect type corresponding to the regional barrage special effect, for the special effect effective region triggering the regional barrage special effect corresponding to the matching data identifier, adjust the layer of the video barrage of the currently played video in the special effect effective region to the animation layer corresponding to the corresponding animation layer identifier, to obtain the special effect barrage.

[0233] The aforementioned bullet screen data processing device includes bullet screen effect resources such as associated bullet screen effect content files and bullet screen effect scheduling files. The animation layers in the bullet screen effect content files are used to determine the bullet screen effect style. The bullet screen effect scheduling file is used to apply the video bullet screen that triggers the bullet screen effect to the bullet screen effect content file based on the configured bullet screen configuration data group. This allows the video bullet screen that triggers the bullet screen effect to display the bullet screen effect corresponding to the bullet screen effect content file, thus eliminating the need for video application re-release. When the bullet screen effect is triggered, the pre-configured bullet screen effect resources can be obtained to flexibly implement the bullet screen effect, effectively improving the flexibility of bullet screen effect implementation.

[0234] Each module in the aforementioned bullet screen data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0235] In one embodiment, a computer device is provided, the computer device may be... Figure 1 The terminal shown, such as a configuration terminal or a playback terminal, can also be a computer device. Figure 1 The server shown in this embodiment is illustrated using a terminal as an example. The internal structure diagram of the terminal can be as follows: Figure 16 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a bullet screen data processing method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0236] Those skilled in the art can understand that Figure 16 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0237] In one embodiment, a computer device is also provided, including a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method embodiments when executing the computer program.

[0238] In one embodiment, a computer readable storage medium is provided, storing a computer program, and the computer program implements the steps in the above method embodiments when executed by a processor.

[0239] In one embodiment, a computer program product is provided, including a computer program, and the computer program implements the steps in the above method embodiments when executed by a processor.

[0240] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0241] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0242] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.

[0243] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A method for processing barrage data, characterized in that, The method comprises: acquiring a barrage special effect content file; in response to a configuration entry operation for the barrage special effect content file, displaying at least one barrage configuration data group; the barrage configuration data group comprises an associated animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; the matching data identifier is used to identify barrage special effect style associated data matching the animation layer; in response to a configuration publishing operation for the barrage special effect content file, generating a barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data group, and grouping the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource; the barrage special effect scheduling file is used to apply a video barrage triggering a barrage special effect to a corresponding animation layer corresponding to the animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, to obtain a special effect barrage.

2. The method of claim 1, wherein, The response to the configuration entry operation for the barrage special effect content file comprises: displaying at least one entry control group; the entry control group comprises an associated animation layer entry control and a matching data entry control; the animation layer entry control is used to enter an animation layer identifier, and the matching data entry control is used to enter a matching data identifier; in response to an entry operation for the entry control group, displaying a barrage configuration data group entered for each entry control group.

3. The method of claim 1, wherein, When each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect, the barrage special effect style associated data is a barrage attribute corresponding to a video barrage; The generation of the barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data group comprises: obtaining an element update script template pre-set for an animation element corresponding to the animation layer identifier in the barrage configuration data group, adding the animation layer identifier and the matching data identifier in the barrage configuration data group to the corresponding element update script template, and respectively obtaining an element update target script corresponding to each barrage configuration data group; the element update target script is used to add a barrage attribute data corresponding to a video barrage triggering a single barrage special effect on the matching data identifier to a corresponding animation layer corresponding to the animation layer identifier; based on the element update target script corresponding to each barrage configuration data group, obtaining the barrage special effect scheduling file corresponding to the barrage special effect content file.

4. The method of claim 3, wherein, The generation of the barrage special effect scheduling file corresponding to the barrage special effect content file based on the element update target script corresponding to each barrage configuration data group comprises: obtaining a pre-set auxiliary script template; the auxiliary script template comprises at least one of a first script template used to adjust a basic attribute of an animation layer and a second script template used to respond to a barrage triggering event; The target script corresponding to each of the barrage configuration data sets is updated based on an element corresponding to the target script and the auxiliary script template, and a barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

5. The method of claim 1, wherein, When each animation layer in the barrage special effect content file is used to describe each animation element of a single barrage special effect, and the barrage special effect style association data is a barrage attribute corresponding to a video barrage, the barrage configuration data set further includes an associated layer display state, and the layer display state is used to indicate a display state of an animation layer corresponding to the animation layer identifier when attribute data of the barrage attribute corresponding to the matching data identifier is preset data.

6. The method of claim 1, wherein, When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, the barrage special effect style association data is a regional barrage special effect type corresponding to a regional barrage special effect; The barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each of the barrage configuration data sets, including: An animation layer adjustment script template is obtained, and the animation layer identifier and the matching data identifier in the barrage configuration data set are added to the animation layer adjustment script template to obtain a layer adjustment target script corresponding to each of the barrage configuration data sets; the layer adjustment target script is used to adjust a layer of a video barrage in an effect effective area corresponding to a regional barrage special effect to a corresponding animation layer corresponding to the animation layer identifier when the regional barrage special effect corresponding to the matching data identifier is triggered; The barrage special effect scheduling file corresponding to the barrage special effect content file is obtained based on the layer adjustment target script corresponding to each of the barrage configuration data sets.

7. The method of claim 1, wherein, When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, the barrage special effect style association data is a regional barrage special effect type corresponding to a regional barrage special effect, and the barrage configuration data set further includes an associated effect effective range, and the effect effective range is used to indicate an effective area of the regional barrage special effect corresponding to the matching data identifier in a barrage display area.

8. The method of claim 1, wherein, The barrage special effect scheduling file corresponding to the barrage special effect content file is generated based on each of the barrage configuration data sets in response to a configuration publishing operation for the barrage special effect content file, and the barrage special effect content file and the barrage special effect scheduling file form a barrage special effect resource, including: An initial barrage special effect scheduling file is generated based on each of the barrage configuration data sets in response to a configuration export operation for the barrage special effect content file; A target barrage special effect scheduling file is obtained by adjusting the initial barrage special effect scheduling file in response to a configuration upload operation for the barrage special effect content file; The barrage special effect content file and the target barrage special effect scheduling file form a barrage special effect resource in response to a configuration publishing operation for the barrage special effect content file.

9. The method of claim 1, wherein, The method further includes: An effect trigger condition configured for the barrage special effect resource is obtained; the effect trigger condition includes at least one of a basic trigger condition and a recommended trigger condition; Correlate and upload the barrage special effect resource and the special effect trigger condition to a barrage management platform, so that the barrage management platform stores the special effect trigger condition, and uploads the barrage special effect resource to a resource management platform storage, and the resource management platform is used to issue the barrage special effect resource in response to a request of a playing terminal.

10. The method of claim 9, wherein, The barrage management platform is further configured to, after receiving the barrage special effect resource, generate a special effect record corresponding to the barrage special effect resource, and set a special effect record state corresponding to the special effect record to a prohibited trigger state; The barrage management platform is further configured to, in a case where the barrage special effect resource is successfully uploaded to the resource management platform, update the special effect record state corresponding to the special effect record to an allowed trigger state.

11. The method of claim 10, wherein, The barrage management platform is further configured to generate a special effect resource identifier corresponding to the barrage special effect resource according to a special effect record identifier corresponding to the special effect record, and upload the barrage special effect resource and the special effect resource identifier to a resource management platform storage; The special effect resource identifier is used to obtain the barrage special effect resource from the resource management platform; The barrage management platform is further configured to, when receiving a barrage special effect resource upload success message returned by the resource management platform and carrying the special effect resource identifier, obtain a special effect record state of a special effect record corresponding to the special effect record identifier, and update the obtained special effect record state to an allowed trigger state.

12. A method for processing barrage data, characterized in that, The method comprises: In a case where a barrage special effect is triggered in a currently played video, a barrage special effect resource pre-set for the triggered barrage special effect is obtained; the barrage special effect resource comprises an associated barrage special effect content file and a barrage special effect scheduling file; the barrage special effect scheduling file is generated based on at least one barrage configuration data group; the barrage configuration data group comprises an associated input animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; and the matching data identifier is used to identify barrage special effect style associated data matched with the animation layer; According to the barrage special effect scheduling file, the video barrage of the triggered barrage special effect corresponding to the currently played video is applied to an animation layer corresponding to the corresponding animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, to obtain a special effect barrage; The special effect barrage is displayed.

13. The method of claim 12, wherein, The manner of determining the video barrage of the triggered barrage special effect corresponding to the currently played video comprises at least one of the following: The video barrage set corresponding to the currently played video issued by a barrage management platform is obtained; when there is a video barrage carrying a special effect resource identifier in the video barrage set, it is determined that the video barrage carrying the special effect resource identifier triggers the barrage special effect corresponding to the special effect resource identifier; The video barrage carrying the special effect resource identifier is determined based on a special effect trigger condition set corresponding to the currently played video; The current playing video corresponding to the special effect trigger condition set issued by the barrage management platform is acquired, and when the current playing progress corresponding to the current playing video satisfies any special effect trigger condition in the special effect trigger condition set, a special effect trigger condition corresponding to a video barrage trigger satisfying the current playing progress is determined.

14. The method of claim 12, wherein, The special effect resource corresponding to the triggered barrage special effect is acquired, including: The special effect resource identifier corresponding to the triggered barrage special effect is acquired; The barrage special effect resource corresponding to the special effect resource identifier is queried from the locally cached barrage special effect resource set; When the query fails, the barrage special effect resource corresponding to the special effect resource identifier is acquired from the resource management platform, and the barrage special effect resource is added to the locally cached barrage special effect resource set.

15. The method of claim 12, wherein, The video barrage is applied to the animation layer corresponding to the animation layer identifier based on the barrage special effect style associated data corresponding to the matching data identifier, and the special effect barrage is obtained, including: When each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect, and the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, the attribute data of the barrage attribute corresponding to the matching data identifier is added to the animation layer corresponding to the animation layer identifier for the video barrage of the triggered single barrage special effect corresponding to the current playing video, and the special effect barrage is obtained; When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, and the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, the layer of the video barrage of the current playing video in the special effect effective area is adjusted to the animation layer corresponding to the animation layer identifier for the special effect effective area corresponding to the triggered regional barrage special effect corresponding to the matching data identifier, and the special effect barrage is obtained.

16. A barrage data processing apparatus, comprising: The device includes: A file acquisition module is configured to acquire a barrage special effect content file; A configuration entry module is configured to, in response to a configuration entry operation for the barrage special effect content file, display at least one barrage configuration data group; the barrage configuration data group includes an associated entry animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the barrage special effect content file; the animation layer in the barrage special effect content file is used to determine a barrage special effect style; and the matching data identifier is used to identify barrage special effect style associated data matched with the animation layer; A configuration publishing module is configured to, in response to a configuration publishing operation for the barrage special effect content file, generate a barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data group, and group the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource; the barrage special effect scheduling file is used to apply a video barrage triggering a barrage special effect to an animation layer corresponding to an animation layer identifier based on barrage special effect style associated data corresponding to a matching data identifier, and obtain a special effect barrage.

17. The barrage data processing apparatus of claim 16, wherein, The configuration entry module is further configured to display at least one entry control group; the entry control group comprises an associated animation layer entry control and a matching data entry control; the animation layer entry control is configured to enter an animation layer identifier, and the matching data entry control is configured to enter a matching data identifier; In response to an entry operation on the entry control group, a group of bullet screen configuration data respectively entered for each of the entry control groups is displayed.

18. The barrage data processing apparatus of claim 16, wherein, When each animation layer in the bullet screen special effect content file is configured to describe each animation element constituting a single bullet screen special effect, the bullet screen special effect style association data is a bullet screen attribute corresponding to a video bullet screen; the configuration publishing module is further configured to obtain an element update script template pre-set for an animation layer identifier in the bullet screen configuration data group, add the animation layer identifier and the matching data identifier in the bullet screen configuration data group to the corresponding element update script template, and obtain an element update target script corresponding to each of the bullet screen configuration data groups respectively; The element update target script is configured to add, to a corresponding animation layer corresponding to an animation layer identifier, a bullet screen attribute data corresponding to a video bullet screen on the matching data identifier triggering a single bullet screen special effect; Based on the element update target script corresponding to each of the bullet screen configuration data groups respectively, a bullet screen special effect scheduling file corresponding to the bullet screen special effect content file is obtained.

19. The barrage data processing apparatus of claim 18, wherein, The configuration publishing module is further configured to obtain a pre-set auxiliary script template; the auxiliary script template comprises at least one of a first script template configured to adjust a basic attribute of an animation layer and a second script template configured to respond to a bullet screen triggering event; Based on the element update target script corresponding to each of the bullet screen configuration data groups respectively and the auxiliary script template, a bullet screen special effect scheduling file corresponding to the bullet screen special effect content file is obtained.

20. The barrage data processing apparatus of claim 16, wherein, When each animation layer in the bullet screen special effect content file is configured to describe each animation element constituting a single bullet screen special effect, the bullet screen special effect style association data is a bullet screen attribute corresponding to a video bullet screen, and the bullet screen configuration data group further comprises an associated layer display state entered, the layer display state is configured to indicate a display state of an animation layer corresponding to the animation layer identifier when attribute data of the bullet screen attribute corresponding to the matching data identifier is preset data.

21. The barrage data processing apparatus of claim 16, wherein, When each animation layer in the bullet screen special effect content file is configured to describe different regional bullet screen special effects, the bullet screen special effect style association data is a regional bullet screen special effect type corresponding to a regional bullet screen special effect; The configuration publishing module is further configured to obtain a layer adjustment script template, add the animation layer identifier and the matching data identifier in the bullet screen configuration data group to the layer adjustment script template, and obtain a layer adjustment target script corresponding to each of the bullet screen configuration data groups respectively; The layer adjustment target script is configured to adjust a layer of a video bullet screen in an effect valid region corresponding to a regional bullet screen special effect to a corresponding animation layer corresponding to the animation layer identifier when the regional bullet screen special effect corresponding to the matching data identifier is triggered. The script adjustment target is obtained based on each of the barrage configuration data sets corresponding to a layer, and a barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

22. The barrage data processing apparatus of claim 16, wherein, When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects, the barrage special effect style association data is a regional barrage special effect type corresponding to a regional barrage special effect, and the barrage configuration data set further includes an association-entered special effect effective range. The special effect effective range is used to indicate an effective area of the regional barrage special effect corresponding to the matching data identifier in a barrage display area.

23. The barrage data processing apparatus of claim 16, wherein, The configuration publishing module is further configured to, in response to a configuration export operation on the barrage special effect content file, generate an initial barrage special effect scheduling file based on each of the barrage configuration data sets; in response to a configuration upload operation on the barrage special effect content file, obtain a target barrage special effect scheduling file obtained by adjusting the initial barrage special effect scheduling file; and in response to a configuration publishing operation on the barrage special effect content file, group the barrage special effect content file and the target barrage special effect scheduling file into a barrage special effect resource.

24. The barrage data processing apparatus of claim 16, wherein, The device is further configured to obtain a special effect trigger condition configured for the barrage special effect resource; the special effect trigger condition includes at least one of a basic trigger condition and a recommended trigger condition; and upload the barrage special effect resource and the special effect trigger condition to a barrage management platform to enable the barrage management platform to store the special effect trigger condition and upload the barrage special effect resource to a resource management platform storage. The resource management platform is configured to issue the barrage special effect resource in response to a request of a playing terminal.

25. The barrage data processing apparatus of claim 24, wherein, The barrage management platform is further configured to, after receiving the barrage special effect resource, generate a special effect record corresponding to the barrage special effect resource, and set a special effect record state corresponding to the special effect record to a prohibited trigger state; and the barrage management platform is further configured to, in a case where the barrage special effect resource is successfully uploaded to the resource management platform, update the special effect record state corresponding to the special effect record to an allowed trigger state.

26. The barrage data processing apparatus of claim 25, wherein, The barrage management platform is further configured to generate a special effect resource identifier corresponding to the barrage special effect resource according to a special effect record identifier corresponding to the special effect record, and upload the barrage special effect resource and the special effect resource identifier to a resource management platform storage. The special effect resource identifier is used to obtain the barrage special effect resource from the resource management platform. The barrage management platform is further configured to, when receiving a barrage special effect resource upload success message carrying the special effect resource identifier returned by the resource management platform, obtain a special effect record state of a special effect record corresponding to a special effect record identifier corresponding to the special effect record, and update the obtained special effect record state to an allowed trigger state.

27. A barrage data processing apparatus, comprising: The device comprises: The resource acquisition module is configured to acquire a bullet screen effect resource pre-set for a triggered bullet screen effect when the current playing video triggers the bullet screen effect; the bullet screen effect resource comprises an associated bullet screen effect content file and a bullet screen effect scheduling file; the bullet screen effect scheduling file is generated based on at least one bullet configuration data set, the bullet configuration data set comprises an associated input animation layer identifier and a matching data identifier; the animation layer identifier is used to identify an animation layer in the bullet screen effect content file; the animation layer in the bullet screen effect content file is used to determine a bullet screen effect style; and the matching data identifier is used to identify bullet screen effect style associated data matched with the animation layer. The special effect generation module is configured to apply a video bullet screen corresponding to the triggered bullet screen effect of the current playing video to an animation layer corresponding to a corresponding animation layer identifier based on the bullet screen effect scheduling file and bullet screen effect style associated data corresponding to the matching data identifier, to obtain a special effect bullet screen. The special effect display module is configured to display the special effect bullet screen.

28. The barrage data processing apparatus of claim 27, wherein, The device is also configured to acquire a video bullet screen set corresponding to the current playing video issued by a bullet screen management platform, and determine that a video bullet screen carrying a special effect resource identifier triggers a bullet screen effect corresponding to the special effect resource identifier when the video bullet screen carrying the special effect resource identifier exists in the video bullet screen set. The video bullet screen carrying the special effect resource identifier is determined based on a special effect trigger condition set corresponding to the current playing video; the special effect trigger condition set corresponding to the current playing video issued by the bullet screen management platform is acquired, and a video bullet screen corresponding to a current playing progress triggers a bullet screen effect corresponding to a special effect trigger condition satisfied by the video bullet screen when the current playing progress satisfies any special effect trigger condition in the special effect trigger condition set.

29. The barrage data processing apparatus of claim 27, wherein, The resource acquisition module is also configured to acquire a special effect resource identifier corresponding to the triggered bullet screen effect; and query a bullet screen effect resource corresponding to the special effect resource identifier from a locally cached bullet screen effect resource set. When the query fails, the bullet screen effect resource corresponding to the special effect resource identifier is acquired from a resource management platform, and the bullet screen effect resource is added to the locally cached bullet screen effect resource set.

30. The barrage data processing apparatus of claim 27, wherein, The special effect generation module is also configured to use each animation layer in the bullet screen effect content file to respectively describe each animation element constituting a single bullet screen effect, and when the bullet screen effect style associated data is a bullet screen attribute corresponding to a video bullet screen, add attribute data of a bullet screen attribute corresponding to the matching data identifier to an animation layer corresponding to a corresponding animation layer identifier for a video bullet screen triggering a single bullet screen effect corresponding to the current playing video, to obtain a special effect bullet screen. In the barrage effect content file, each animation layer is used to describe different regional barrage effects, and when the barrage effect style association data is a regional barrage effect type corresponding to a regional barrage effect, for a special effect effective area corresponding to a regional barrage effect triggered by matching data identification, the layer of a video barrage in the special effect effective area of the current playing video is adjusted to a corresponding animation layer corresponding to an animation layer identification, and a special effect barrage is obtained. 31.A computer device, comprising a memory and a processor, wherein the memory stores a computer program. The computer program is executed by the processor to implement the method of any one of claims 1-15.

32. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method of any one of claims 1-15.

33. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method of any one of claims 1-15. The computer program is executed by the processor to implement the method of any one of claims 1-15.

Citation Information

Patent Citations

  • Bullet screen rendering method and device, computer readable storage medium and computer equipment

    CN111083551A

  • Page display method and device, electronic equipment, storage medium and product

    CN114463474A