Bullet screen data processing method and device, computer equipment and storage medium

By generating and using barrage special effects scheduling files, the problem of cumbersome update of barrage special effects in traditional technology is solved, and the flexible configuration and release of barrage special effects is realized, and the implementation flexibility is improved.

CN119496941AActive Publication Date: 2025-02-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

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

Smart Images

  • Figure CN119496941A_ABST
    Figure CN119496941A_ABST
Patent Text Reader

Abstract

The invention relates to a bullet screen data processing method and device, computer equipment, a storage medium and a computer program product. The method comprises the steps of displaying at least one bullet screen configuration data set in response to a configuration input operation for a bullet screen special effect content file; the bullet screen configuration data set comprises an animation layer identifier and a matched data identifier which are recorded in an associated manner; in response to a configuration release 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 set, and forming a bullet screen special effect resource by the bullet screen special effect content file and the bullet screen special effect scheduling file; and the bullet screen special effect scheduling file is used for applying the video bullet screen triggering the bullet screen special effect to the animation layer corresponding to the corresponding animation layer identifier based on the bullet screen special effect style association data corresponding to the matching data identifier, thereby obtaining the special effect bullet screen. By adopting the method, the implementation flexibility of the bullet screen special effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a bullet commentary data processing method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of computer technology, video bullet screens have emerged. Video bullet screens refer to the commentary content that pops up when watching videos on the Internet. Video bullet screens can be displayed in a specific bullet screen special effect way, thereby enhancing the expressiveness of the video, enriching the interactive ability of the video, and improving user participation and stickiness.

[0003] In traditional technology, every time a new barrage special effect is added, a new barrage special effect style needs to be built into the installation package of the video application, and a new video application version needs to be released. The operation is cumbersome and the barrage special effect cannot be flexibly implemented. Summary of the invention

[0004] Based on this, it is necessary to provide a barrage data processing method, device, computer equipment, computer-readable storage medium and computer program product that can improve the flexibility of implementing barrage special effects in response to the above-mentioned technical problems.

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

[0006] Get the barrage special effects content file;

[0007] In response to the configuration entry operation for the barrage special effect content file, at least one barrage configuration data group is displayed; the barrage configuration data group includes an animation layer identifier and a matching data identifier associated with the entry; 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;

[0008] In response to the configuration and publishing operation of 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 of the barrage configuration data groups, and the barrage special effect content file and the barrage special effect scheduling file are combined into a barrage special effect resource; the barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding 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.

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

[0010] File acquisition module, used to obtain bullet screen special effects content files;

[0011] A configuration entry module, for displaying at least one barrage configuration data group in response to a configuration entry operation for the barrage special effect content file; the barrage configuration data group includes an animation layer identifier and a matching data identifier associated with the entry; 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;

[0012] A configuration and release module is used to respond to the configuration and release 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 of the barrage configuration data groups, and combine 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 the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding 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.

[0013] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps described in the above-mentioned barrage data processing method when executing the computer program.

[0014] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned barrage data processing method when executed by a processor.

[0015] A computer program product includes a computer program, and when the computer program is executed by a processor, the steps described in the above-mentioned barrage data processing method are implemented.

[0016] The above-mentioned barrage data processing method, device, computer equipment, storage medium and computer program product obtain a barrage special effect content file; in response to a configuration entry operation for a barrage special effect content file, display at least one barrage configuration data group; the barrage configuration data group includes an associated entered animation layer identifier and a matching data identifier; 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; in response to a configuration release operation for a 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; the barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect 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 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, and 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 that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for the video application to be re-released. The barrage special effect can be flexibly realized based on the barrage special effect resources composed of the associated barrage special effect content file and the barrage special effect scheduling file, effectively improving the flexibility of realizing the barrage special effect.

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

[0018] In the case where the currently playing video triggers the barrage special effect, obtain the barrage special effect resources pre-set for the triggered barrage special effect; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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] Through the bullet screen special effect scheduling file, based on the bullet screen special effect style association data corresponding to the matching data identifier, the video bullet screen that triggers the bullet screen special effect corresponding to the currently playing video is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect bullet screen;

[0020] Display the special effect barrage.

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

[0022] A resource acquisition module, used to obtain the pre-set barrage special effect resources for the triggered barrage special effect when the barrage special effect is triggered by the currently playing video; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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;

[0023] A special effect generation module, for applying the video bullet screen that triggers the bullet screen special effect corresponding to the currently played video to the animation layer corresponding to the corresponding animation layer identifier through the bullet screen special effect scheduling file and based on the bullet screen special effect style association data corresponding to the matching data identifier, to obtain the special effect bullet screen;

[0024] The special effect display module is used to display the special effect barrage.

[0025] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps described in the above-mentioned barrage data processing method when executing the computer program.

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

[0027] A computer program product includes a computer program, and when the computer program is executed by a processor, the steps described in the above-mentioned barrage data processing method are implemented.

[0028] The above-mentioned barrage data processing method, device, computer equipment, storage medium and computer program product, when the barrage special effect is triggered by the currently playing video, obtains the barrage special effect resources pre-set for the triggered barrage special effect; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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; through the barrage special effect scheduling file, based on the barrage special effect style associated data corresponding to the matching data identifier, the video barrage that triggers the barrage special effect corresponding to the currently playing video is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage; and the special effect barrage is displayed. In this way, the barrage special effect resources include 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. The barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for the video application to be re-released. When the barrage special effect is triggered, the barrage special effect can be flexibly realized by obtaining the pre-configured barrage special effect resources, thereby effectively improving the flexibility of realizing the barrage special effect. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0030] Figure 2 A schematic diagram of a process of processing bullet screen data in one embodiment;

[0031] Figure 3 A schematic diagram of a single highly praised special effect bullet screen in one embodiment;

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

[0033] Figure 5 This is a schematic diagram of an interface for a script configuration interface for a full-screen bullet screen special effect in one embodiment;

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

[0035] Figure 7 A schematic diagram of a process of data processing performed by a bullet screen management platform in one embodiment;

[0036] Figure 8 A schematic diagram of a flow chart of a bullet screen data processing method in another embodiment;

[0037] Fig. 9 A schematic diagram of a bullet screen background service reading data in one embodiment;

[0038] Fig.10 A schematic diagram of a process for a playback terminal to achieve full-screen bullet screen special effects in one embodiment;

[0039] Fig.11 A schematic diagram of a full-screen water ripple special effect in an embodiment;

[0040] Fig.12 A schematic diagram of a process for a playback terminal to implement a single bullet screen special effect in one embodiment;

[0041] Fig.13 A schematic diagram of a single bullet screen bleeding special effect in an embodiment;

[0042] Fig.14 It is a structural block diagram of a bullet screen data processing device in one embodiment;

[0043] Fig.15 It is a structural block diagram of a bullet screen data processing device in another embodiment;

[0044] Fig.16 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] The bullet screen data processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the configuration terminal 102 communicates with the server 104 through the network, and the server 104 communicates with the playback terminal 106 through the network. The configuration terminal 102 is a terminal for configuring the barrage special effects. The playback terminal 106 is a terminal for playing videos and displaying barrage special effects. The server 104 is a server for storing and managing barrage special effects. It can be understood that the configuration terminal 102 and the playback terminal 106 can be the same terminal or different terminals. The terminal can be, but is not limited to, various desktop computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster or cloud server consisting of multiple servers.

[0047] Specifically, the configuration terminal 102 obtains the bullet screen special effect content file, and the configuration terminal 102 displays at least one bullet screen configuration data group in response to the configuration entry operation for the bullet screen special effect content file. Among them, the bullet screen configuration data group includes the animation layer identifier and the matching data identifier that are associated and entered; the animation layer identifier is used to identify the 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 the bullet screen special effect style; the matching data identifier is used to identify the bullet screen special effect style associated data that matches the animation layer. In response to the configuration release operation for the bullet screen special effect content file, the configuration terminal 102 generates 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 forms a bullet screen special effect resource with the bullet screen special effect content file and the bullet screen special effect scheduling file. Among them, the bullet screen special effect scheduling file is used to apply the video bullet screen that triggers the bullet screen special effect to the animation layer corresponding to the corresponding animation layer identifier based on the bullet screen special effect style associated data corresponding to the matching data identifier, so as to obtain a special effect bullet screen.

[0048] The configuration terminal 102 may send the bullet screen special effect resource to the server 104 for storage. The server 104 may subsequently send the bullet screen special effect resource to the playback terminal 106 so that the playback terminal 106 displays the video bullet screen according to the bullet screen special effect resource.

[0049] In the case where the currently playing video triggers the barrage special effect, the playback terminal 106 obtains the barrage special effect resources pre-set for the triggered barrage special effect, wherein the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated input animation layer identifier and matching data identifier; 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 association data matching the animation layer. The playback terminal 106 applies the video barrage that triggers the barrage special effect corresponding to the currently playing video to the animation layer corresponding to the corresponding animation layer identifier through the barrage special effect scheduling file based on the barrage special effect style association data corresponding to the matching data identifier to obtain the special effect barrage. The playback terminal 106 displays the special effect barrage.

[0050] In one embodiment, Figure 2 As shown, a method for processing bullet screen data is provided, and the method is applied to a configuration terminal as an example. 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 implemented through the interaction between the terminal and the server. Figure 2 , the bullet screen data processing method includes the following steps:

[0051] Step S202, obtaining the bullet screen special effects content file.

[0052] Among them, the barrage special effects content file is a file that carries the animation special effects content for the barrage. The barrage special effects content file includes the various animation elements that make up the animation special effects and the assembly logic between the various animation elements. For example, the barrage special effects content file can be a PAG file implemented based on PAG (Portable Animated Graphics). PAG is a complete set of dynamic effect workflow solutions, and the file products of this solution can be used as UI elements or animation products of the barrage. PAG files are animation special effects files obtained based on PAG.

[0053] Animation effects for barrage can be divided into single barrage effects and regional barrage effects. Single barrage effects refer to animation effects for a single barrage. Regional barrage effects refer to animation effects for each barrage displayed in a single area. For single barrage effects, the barrage effects content file includes the various animation elements that make up the single barrage effects. For example, for a single barrage high-like effect, the barrage effects content file includes the various UI elements that make up the single barrage high-like effect and the initial assembly relationship between the various UI elements. The various UI elements that make up the single barrage high-like effect can specifically include background elements for determining the special effect background, text elements for determining the barrage text content, icon elements for determining the like interactive icon, text elements for determining the number of likes, etc. The basic single barrage high-like effect style can be presented through the barrage effects content file. For another example, for a full-screen water ripple special effect, the barrage special effect content file includes various animation elements required to present the full-screen water ripple special effect and the assembly logic between the various animation elements. The basic water ripple special effect style can be presented through the barrage special effect content file.

[0054] Specifically, the user can obtain the barrage special effect content file corresponding to the required barrage special effect by configuring the terminal, configure the barrage special effect scheduling file corresponding to the barrage special effect content file by configuring the terminal, and package the associated barrage special effect content file and barrage special effect scheduling file into a barrage special effect resource by configuring the terminal. When the barrage special effect corresponding to the barrage special effect content file needs to be triggered, the barrage special effect resource can apply the video barrage that triggers the barrage special effect to the barrage special effect content file based on the barrage special effect scheduling file, so that the video barrage presents a specific barrage special effect.

[0055] The user can upload the barrage special effect content file by configuring the terminal, for example, configuring the terminal to display the barrage special effect content file upload control, and in response to the trigger operation of the barrage special effect content file upload control, select the required barrage special effect scheduling file from the local folder for upload. The user can also select the required barrage special effect content file from the existing barrage special effect content file set by configuring the terminal. For example, the terminal is configured to display the existing barrage special effect content file set, and in response to the file selection operation for the barrage special effect content file set, the required barrage special effect content file is selected.

[0056] Step S204, in response to the configuration entry operation for the barrage special effect content file, display at least one barrage configuration data group; the barrage configuration data group includes the associated entered animation layer identifier and matching data identifier; 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.

[0057] The configuration entry operation is an operation for entering a bullet screen configuration data group. For example, the configuration entry operation may be an information input operation; the configuration entry operation may also be an information selection operation; and so on.

[0058] A barrage configuration data group includes an animation layer identifier and a matching data identifier that are associated and entered. That is, a barrage configuration data group includes a pair of animation layer identifiers and matching data identifiers. The animation layer identifier is an identifier used to identify 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. The animation layer is used to determine the barrage special effect style. For a single barrage special effect, a barrage special effect content file corresponds to a single barrage special effect, and a barrage special effect content file includes multiple animation layers. Different animation layers carry different animation elements. For example, for a single barrage high-like special effect, animation layer 1 is the special effect background layer, animation layer 2 is the barrage text content layer, animation layer 3 is the barrage image content layer, animation layer 4 is the like icon layer, animation layer 5 is the like quantity layer, etc. For regional barrage special effects, 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 special effect, there is only one animation layer, which is the water ripple special effect layer; for a slightly more complex full-screen water ripple special effect, animation layer 1 is the water ripple special effect layer, animation layer 2 is a windy special effects layer superimposed on animation layer 1, and animation layer 3 is a rainy special effects layer superimposed on animation layer 2. Animation layer 1 presents a water ripple special effect, animation layer 1 + animation layer 2 presents a windy water ripple special effect, and animation layer 1 + animation layer 2 + animation layer 3 presents a water ripple special effect with both wind and rain.

[0059] The matching data identifier is an identifier used to identify 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 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 that matches the animation layer corresponding to the animation layer identifier. For a single barrage special effect, the barrage special effect style associated data is used to determine the sub-data that needs to be added to the corresponding animation layer in the complete barrage data of a single barrage. For regional barrage special effects, the barrage special effect style associated data is used to indicate the type of regional barrage special effect presented by the corresponding animation layer.

[0060] Specifically, after determining the bullet screen special effect content file, the user can configure the matching bullet screen special effect style association data for the animation layer in the bullet screen special effect content file, so that the corresponding animation layer can be adjusted and scheduled based on the bullet screen special effect style association data to dynamically realize the bullet screen special effect. The user can enter at least one pair of animation layer identifiers and matching data identifiers on the configuration terminal, and the configuration terminal displays at least one bullet screen configuration data group in response to the configuration entry operation for the bullet screen special effect content file.

[0061] Step S206, in response to the configuration and 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; the barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding 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 input data. For example, the configuration publishing operation may be a trigger operation for a configuration publishing control.

[0063] The bullet screen special effect scheduling file is a script file generated based on the configured bullet screen configuration data groups. The bullet screen special effect scheduling file is a script file that applies the video bullet screen that triggers the bullet screen special effect to the bullet screen special effect content file, so that the video bullet screen presents a specific bullet screen special effect.

[0064] A bullet screen configuration data group includes a pair of animation layer identifiers and matching data identifiers. The bullet screen special effect scheduling file generated based on each bullet screen configuration data group is used to apply the video bullet screen that triggers the bullet screen special effect to the animation layer corresponding to the corresponding animation layer identifier based on the bullet screen special effect style association data corresponding to the matching data identifier, thereby obtaining a special effect bullet screen. Special effect bullet screen refers to a video bullet screen with bullet screen special effects.

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

[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 a special effect barrage when the barrage special effect is triggered.

[0067] It can be understood that whether the video bullet screen triggers the bullet screen special effect can be determined based on the special effect triggering conditions configured for the bullet screen special effect. The special effect triggering conditions can be set according to actual needs. For example, the special effect triggering condition can be a time triggering condition, and the corresponding bullet screen special effect is triggered when the video is played to a specific time; the special effect triggering condition can be a bullet screen publisher triggering condition, and the corresponding bullet screen special effect is automatically triggered when a specific user publishes a bullet screen; and so on.

[0068] Specifically, after the user enters the barrage configuration data group, the user can trigger the generation of a barrage special effect scheduling file. The configuration terminal responds to the configuration release operation for the barrage special effect content file, generates a barrage special effect scheduling file corresponding to the barrage special effect content file based on each barrage configuration data group, and forms a barrage special effect resource with the barrage special effect content file and the barrage special effect scheduling file. The configuration terminal can upload the barrage special effect resource to the server for storage, and the server can send the barrage special effect resource to the playback terminal when the playback terminal plays the video, so that the playback terminal can conveniently implement 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 group for the barrage special effect content file. The script configuration platform is pre-set with a script template for generating a barrage special effect scheduling file, and the barrage special effect scheduling file corresponding to the barrage special effect content file is generated by combining each barrage configuration data group entered by the user with the script template. The script template is a code template that has the ability to update the barrage special effect content file. The script configuration platform combines the associated barrage special effect content file and the 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 the relevant data of the barrage.

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

[0071] In the above-mentioned barrage data processing method, the animation layer in the barrage special effect content file is used to determine the barrage special effect style, and 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 that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for video application re-release. The barrage special effect can be flexibly realized based on the barrage special effect resources composed of the associated barrage special effect content file and the barrage special effect scheduling file, effectively improving the flexibility of realizing the barrage special effect.

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

[0073] At least one input control group is displayed; the input control group includes associated animation layer input controls and matching data entry controls; the animation layer input control is used to enter the animation layer identifier, and the matching data entry control is used to enter the matching data identifier; in response to the input operation for the input control group, the barrage configuration data groups entered for each input control group are displayed.

[0074] Among them, an input control group includes a pair of animation layer input controls and matching data input controls. The animation layer input control is a control for inputting animation layer identifiers. For example, the animation layer input control can be an animation layer identifier input box; the animation layer input control can be an animation layer identifier selection box. The matching data input control is a control for inputting matching data identifiers. For example, the matching data input control can be a matching data identifier input box.

[0075] Specifically, the configuration terminal displays a bullet screen special effect scheduling file configuration interface, in which at least one input control group is displayed, and the input control group includes an associated animation layer input control and a matching data input control, and the user can enter corresponding data for the corresponding control in the input control group. In response to the input operation for the input control group, the configuration terminal displays the bullet screen configuration data group entered for each input control group.

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

[0077] In one embodiment, a configuration publishing control is displayed in the bullet screen special effect scheduling file configuration interface. After the user completes the entry of all bullet screen configuration data groups, the user can trigger the configuration publishing control to trigger the configuration publishing operation.

[0078] In one embodiment, the bullet screen special effect scheduling file configuration interface may be a front-end interface of a script configuration platform.

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

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

[0081] Generate a bullet screen special effect scheduling file corresponding to the bullet screen special effect content file based on each bullet screen configuration data group, including:

[0082] Get the element update script template pre-set for the animation element corresponding to the animation layer identifier in the barrage configuration data group, add the animation layer identifier and matching data identifier in the barrage configuration data group to the corresponding element update script template, and obtain the element update target scripts corresponding to each barrage configuration data group respectively; the element update target script is used to add the barrage attribute data corresponding to the video barrage that triggers the single barrage special effect on the matching data identifier to the animation layer corresponding to the corresponding animation layer identifier; based on the element update target scripts corresponding to each barrage configuration data group, obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

[0083] Among them, 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-related 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, a barrage field corresponds to a barrage attribute, and the barrage attribute data corresponding to a barrage attribute represents the barrage field value corresponding to a barrage field. For example, the barrage data of a video barrage involves a barrage identification field, a barrage special effect identification field, a barrage publisher avatar field, a barrage text content field, a barrage likes number field, etc. The barrage special effect scheduling file is used to bind the animation layer in the barrage special effect content file and the related barrage attributes, and control the barrage attribute data corresponding to a single video barrage on the barrage attribute to be filled into the related animation layer, so as to achieve a single barrage special effect for a single barrage.

[0084] For the bullet screen special effect content file corresponding to the single bullet screen special effect, an element update script template that matches the animation elements involved in the bullet screen special effect content file is pre-set. The element update script template is a script template for animation elements and has the ability to update the animation element content in the animation layer. Add the user-configured bullet screen data configuration group to the corresponding element update script template to obtain the element update target script. The element update target script is used to fill the bullet screen attribute data of the video bullet screen that triggers the single bullet screen special effect on the corresponding bullet screen attribute into the associated bound animation layer, so that the bullet screen special effect content file has personalized information of the video bullet screen, and can realize the single bullet screen special effect for the video bullet screen.

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

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

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

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

[0089] Get a pre-set auxiliary 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 a barrage trigger event; based on the elements corresponding to each barrage configuration data group, update the target script and the auxiliary script template to obtain a barrage special effect scheduling file corresponding to the barrage special effect content file.

[0090] The basic properties of the animation layer refer to the basic properties of the animation layer related to display, such as the display color of the animation element corresponding to the animation layer, the display spacing between the animation layer and other layers, and the display border corresponding to the animation layer.

[0091] The bullet chat trigger event refers to the event that triggers the bullet chat after the bullet chat is displayed. For example, the bullet chat trigger event can be a bullet chat click event; the bullet chat trigger event can be a bullet chat like event; and so on.

[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 users to edit to increase the function of the bullet screen special effect scheduling file, so that the bullet screen special effect scheduling file can achieve more detailed adjustments to the bullet screen special effect content file, thereby achieving a more personalized bullet screen special effect. The first script template is used to adjust the basic properties of the animation layer. The user can edit the first script template and add the basic property data desired for the relevant animation layer in the first script template, so that the bullet screen special effect scheduling file can adjust the basic property data of the relevant 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 to adjust the display color of the animation element corresponding to the animation layer. The user adds the animation layer identifier and display color of the animation layer to be adjusted to the first script template, and 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 user-configured color. The second script template is used to respond to the bullet screen trigger event. The user can edit the second script template and add a processing mechanism for the bullet screen trigger event in the second script template, so that the bullet screen special effect scheduling file can enable the special effect bullet screen to respond to the bullet screen trigger event. For example, the second script template is used to change the display status between animation layers when a bullet screen trigger event occurs. If you want to adjust the likes man in the special effect bullet screen from displaying "Invite Like Man" to displaying "Successful Like Man" after clicking the bullet screen, the user can add the animation layer identifier of the animation layer corresponding to the "Invite Like Man" and the animation layer identifier of the animation layer corresponding to the "Successful Like Man" to the corresponding position in the second script template. Then, the generated bullet screen special effect scheduling file can adjust the animation layer corresponding to the "Invite Like Man" from the display state to the hidden state after clicking the bullet screen, and adjust the animation layer corresponding to the "Successful Like Man" from the hidden state to the display state.

[0093] Specifically, when generating a barrage special effect scheduling file, you can further obtain a pre-set auxiliary script template, configure the terminal to update the target script and auxiliary script template based on the elements corresponding to each barrage configuration data group, and obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

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

[0095] In the above embodiment, the barrage special effect scheduling file includes not only the element update target script but also an auxiliary script template. Through the auxiliary script template, more adjustments for the barrage special effects can be implemented to further improve the flexibility of implementing the barrage special effects.

[0096] In one embodiment, reference Figure 3 , which is a schematic diagram of a single high-liked special effect bullet screen. A single high-liked special effect bullet screen consists of 301 background elements (elliptical borders), 302 picture elements (VIP logo), 303 text elements (bullet screen text content), 304 like animation elements (invitation to like characters), and 305 text elements (bullet screen likes). The PAG file corresponding to the single bullet screen high-liked special effect includes animation layers corresponding to each animation element. Each bullet screen configuration data group entered by the user includes a bullet screen configuration data group consisting of the animation layer logo corresponding to the 302 picture element and the avatar field corresponding to the VIP logo, a bullet screen configuration data group consisting of the animation layer logo corresponding to the 303 text element and the text content field corresponding to the bullet screen text content, and a bullet screen configuration data group consisting of the animation layer logo corresponding to the 305 text element and the number of likes field corresponding to the bullet screen likes. The JSY script generated based on each barrage configuration data group 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 image provided by the barrage data into the animation layer corresponding to the 302 image element, and fill the number of likes provided by the barrage data into the animation layer corresponding to the 305 text element. If the user also configures additional parameters such as the text color of the 303 text element, the spacing between multiple animation elements, the JSY script can also be used to modify the text color in the animation layer corresponding to the 303 text element, adjust the spacing between the corresponding animation layers, and stretch and adapt the background elements and other elements. For the high-like special effects of a single barrage, the barrage data corresponding to a single video barrage is loaded into the corresponding PAG file through the JSY script, and finally it can be presented as follows Figure 3 The highly praised special effects barrage shown.

[0097] In one embodiment, each animation layer in the barrage special effect content file is respectively used to describe the various animation elements that constitute a single barrage special effect. When the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, the barrage configuration data group also includes the associated entered layer display status. The layer display status is used to indicate the display status 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.

[0098] Specifically, for a single barrage special effect, the barrage configuration data group also includes the associated entered layer display status, that is, a barrage configuration data group includes the associated animation layer identifier, matching data identifier and layer display status. The layer display status is used to indicate the display status 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 status is divided into a display state and a hidden state, and the user can choose 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 status is used to indicate the display status of the animation layer corresponding to the corresponding 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 status corresponding to the animation layer, so that the barrage special effect scheduling file generated based on the configuration data can control the display status of the corresponding animation layer in the barrage special effect content file at a specific time, so as to further improve the flexibility of implementing the barrage special effects.

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

[0101] Generate a bullet screen special effect scheduling file corresponding to the bullet screen special effect content file based on each bullet screen configuration data group, including:

[0102] Get the layer adjustment script template, add the animation layer identifier and matching data identifier in the barrage configuration data group to the layer adjustment script template, and obtain the layer adjustment target scripts corresponding to each barrage configuration data group respectively; the layer adjustment target script is used to adjust the layer where the video barrage in the special effect effective area corresponding to the regional barrage special effect is located 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 scripts corresponding to each barrage configuration data group, obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

[0103] Among them, for regional barrage special effects, each animation layer in the barrage special effect content file is used to describe different regional barrage special effects. For such barrage special effect content files, the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect. The regional barrage special effect type is used to describe the effect presented by the regional barrage special effect. The barrage special effect scheduling file is used to bind the animation layer corresponding to the regional barrage special effect and the regional barrage special effect type, so that when the regional barrage special effect corresponding to the regional barrage special effect type is triggered, 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, so that each barrage in the special effect effective area can achieve a unified barrage special effect.

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

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

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

[0107] For example, in the bullet screen special effect content file, animation layer 1 corresponds to a regional bullet screen special effect, and the regional bullet screen special effect type corresponding to the regional bullet screen special effect is a full-screen heartbeat special effect. In order to trigger the full-screen heartbeat special effect in the future, all bullet screens in the full screen will execute the heartbeat special effect. The user enters the full-screen heartbeat special effect and animation layer 1 as a bullet screen configuration data group. Add the full-screen heartbeat special effect and animation layer 1 to the layer adjustment script template to obtain the layer adjustment target script. The layer adjustment target script is used to adjust the layer where each video bullet screen in the full screen is located to the animation layer 1 when the full-screen heartbeat special effect is triggered.

[0108] Specifically, for regional barrage special effects, the terminal is configured to obtain a layer adjustment script template, and the animation layer identifier and matching data identifier in the barrage configuration data group are added to the layer adjustment script template, and the layer adjustment target scripts corresponding to each barrage configuration data group are obtained respectively. The terminal is configured to 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. The video barrage that triggers the barrage special effect is applied to the barrage special effect content file through the barrage special effect scheduling file. Specifically, it can be through the barrage special effect scheduling file that when the regional barrage special effect of the corresponding regional barrage special effect type is triggered, the layer where each video barrage is located in the special effect effective area corresponding to the regional barrage special effect is adjusted to the animation layer corresponding to the animation image identifier associated with the barrage special effect content file, so that each video barrage in the special effect effective area can achieve a unified regional barrage special effect.

[0109] In the above embodiment, for regional barrage special effects, after obtaining the barrage configuration data group entered by the user, a barrage special effect scheduling file can be quickly and conveniently generated based on the pre-set layer adjustment script template and the barrage configuration data group, avoiding users from editing complex code scripts from scratch.

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

[0111] Specifically, for regional bullet screen special effects, the bullet screen configuration data group also includes the associated input special effect effective range, that is, a bullet screen configuration data group includes the associated animation layer identifier, matching data identifier and special effect effective range. Special effect effective range is used to indicate the effective area of ​​the regional bullet screen special effect corresponding to the matching data identifier in the bullet screen display area. The special effect effective range can be directly a specific effective area, for example, the user can directly fill in the special effect effective interval. The special effect effective range can also be the effectiveness state for the preset target effective area. The effectiveness state is divided into effective state and ineffective state. The user can choose effective state or ineffective state. The effective state refers to adjusting the special effect effective area from the original effective area to the target effective area, and the ineffective state refers to keeping the original effective area. For example, the special effect effective range is the effectiveness state for the full-screen bullet screen display area. If the user selects the effective state, the special effect effective area corresponding to the regional bullet screen special effect is the entire bullet screen display area. If the user selects the ineffective state, the special effect effective area corresponding to the regional bullet screen special effect is the original special effect effective area.

[0112] In one embodiment, for regional bullet screen special effects, the corresponding original effective area is recorded in the bullet screen special effects content file.

[0113] In the above embodiment, the user can also configure the special effect effective range corresponding to the regional 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, so as to further improve the implementation flexibility of the barrage special effect.

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

[0115] In response to the 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 the configuration upload operation for the barrage special effect content file, the target barrage special effect scheduling file is obtained by adjusting the initial barrage special effect scheduling file; in response to the 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] Among them, the configuration export operation is an operation for exporting the initial barrage special effects scheduling file. For example, the configuration export operation can be a trigger operation for the configuration export control. Generate an initial barrage special effects scheduling file based on each barrage configuration data group, and export the initial barrage special effects scheduling file. The user can edit, adjust, and modify the initial barrage special effects scheduling file. The configuration upload operation is an operation for uploading the adjusted barrage special effects scheduling file. For example, the configuration upload operation can be a trigger operation for the configuration upload control. The configuration publishing operation is an operation for publishing the final barrage special effects scheduling file.

[0117] Specifically, users can choose to directly generate a bullet screen special effect scheduling file based on each bullet screen configuration data group for publication. In the generated bullet screen special effect scheduling file, except for the bullet screen configuration data group, other contents adopt the default configuration. Users can also choose to generate an initial bullet screen special effect scheduling file based on each bullet screen configuration data group, and then adjust the initial bullet screen special effect scheduling file, and publish the adjusted bullet screen special effect scheduling file.

[0118] If the user wants to make additional adjustments to the bullet screen special effects scheduling file, the user can choose to export the bullet screen special effects scheduling file for adjustment first, and the configuration terminal generates an initial bullet screen special effects scheduling file based on each bullet screen configuration data group in response to the configuration export operation for the bullet screen special effects content file. The user can adjust the initial bullet screen special effects scheduling file, and then upload the adjusted bullet screen special effects scheduling file. The configuration terminal responds to the configuration upload operation for the bullet screen special effects content file, and obtains the target bullet screen special effects scheduling file obtained by adjusting the initial bullet screen special effects scheduling file. Finally, the user chooses to publish the adjusted bullet screen special effects scheduling file, and the configuration terminal responds to the configuration publishing operation for the bullet screen special effects content file, and combines the bullet screen special effects content file and the target bullet screen special effects scheduling file into a bullet screen special effects resource.

[0119] In the above embodiment, the user can first export the initial barrage special effects scheduling file, personalize the initial barrage special effects scheduling file, and then upload the target barrage special effects scheduling file obtained by adjusting the initial barrage special effects scheduling file, and finally publish the barrage special effects resources composed of the barrage special effects content file and the target barrage special effects scheduling file. In this way, the user can modify the default configuration in the initial barrage special effects scheduling file or add the required configuration to achieve more adjustments to the barrage special effects, so as to further improve the flexibility of the implementation of the barrage special effects.

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

[0121] The UI elements and special effects of the bullet screen are carried by the PAG file. The JSY script corresponding to the PAG file binds the different layers (animation layers) of the PAG file to the corresponding bullet screen attributes to control their visibility 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 to 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 image resource is loaded and set to the layer corresponding to the avatar. The user first selects the PAG file for the single bullet screen special effect, and then enters the layer and bullet screen attributes to be bound in the script configuration interface, as well as the display state of the layer when the field content corresponding to the bullet screen attribute is empty. If the user directly triggers the release control 407, a JSY script is generated based on the bullet screen configuration data group on the interface, and the PAG file and JSY script are packaged as bullet screen special effect resources, and the bullet screen special effect resources are published on the bullet screen configuration platform. If the user triggers the export control 405, a 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 then triggers the publish control 407 to package the PAG file and the adjusted JSY script into a bullet screen special effect resource, and publish the bullet screen special effect resource to the bullet screen configuration platform.

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

[0123] In addition to directly generating JSY scripts, the script configuration platform can also handle some special configurations by exporting JSY scripts, modifying them, and then uploading them, such as dynamically adjusting the position, width, and height of UI elements. For special properties that cannot be directly controlled by typing or clicking on the script configuration platform, you can first export the JSY script, then use a text editor to assist in modifying it, and then upload the modified JSY script and publish it. The generated JSY script will also have some other templates (i.e., auxiliary script templates) built in for users to edit, such as code templates for adjusting the color, border, spacing and other attributes of UI elements, and code templates for controlling the jump between UI elements based on user operations. Users can use a text editor to assist in modifying these templates. Of course, users can also choose to directly add code for special configurations in the JSY script.

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

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

[0126] The user first selects the PAG file for the full-screen barrage special effect, and then enters the layer and barrage special effect type to be bound in the script configuration interface, as well as whether to adjust the special effect effective area to full screen. If the user directly triggers the publishing control 507, a JSY script is generated based on the barrage configuration data group on the interface, and the PAG file and the JSY script are packaged as barrage special effect resources, and the barrage special effect resources are published on the barrage configuration platform. If the user triggers the export control 505, a JSY script is generated based on the barrage 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 506, uploads the adjusted JSY script, and then triggers the publishing control 507, packages the PAG file and the adjusted JSY script as barrage special effect resources, and publishes the barrage special effect resources on the barrage configuration platform.

[0127] The script configuration platform (also known as the low-code script generation platform) has built-in code templates for adjusting the level of the barrage. When generating a JSY script, the code template is applied to generate the JSY script according to the data entered on the script configuration platform. In addition to directly generating JSY scripts, the script configuration platform can also handle some special configurations by exporting JSY scripts, modifying them, and then uploading them, such as adjusting the special effects playback interval. Adjusting the special effects playback interval means adjusting the special effects playback progress. For example, for the full-screen water ripple special effect, the water ripple progress includes 0 to 100%, 0 means no water ripples, and 100% means severe water ripples. Users can set the full-screen water ripple special effect to first show slight water ripples and then severe water ripples as needed.

[0128] In one embodiment, the bullet screen data processing method further includes:

[0129] Obtain special effect trigger conditions configured for barrage special effect resources; the special effect trigger conditions include at least one of the basic trigger conditions and the recommended trigger conditions; the barrage special effect resources and the special effect trigger conditions are associated and uploaded to the barrage management platform, so that the barrage management platform stores the special effect trigger conditions, and uploads the barrage special effect resources to the resource management platform for storage. The resource management platform is used to respond to the request of the playback terminal and send the barrage special effect resources.

[0130] Among them, the special effect triggering condition refers to the condition for triggering the special effect. The special effect triggering condition can be configured according to actual needs. The special effect triggering condition includes at least one of the basic triggering condition and the recommended triggering condition. The basic triggering condition refers to the condition for directly triggering the barrage special effect according to the barrage content or the video content. For example, the basic triggering condition includes the time triggering condition, and the time triggering condition includes the start time and the end time. When the video is played to the set start time, the barrage special effect is triggered, and when the video is played to the set end time, the barrage special effect is canceled. The basic triggering condition includes the barrage publisher triggering condition, and the barrage publisher triggering condition includes the barrage triggering identifier. When the barrage triggering identifier corresponding to the video barrage is the set barrage triggering identifier, the barrage special effect is triggered. The recommended triggering condition refers to the condition for triggering the barrage special effect by performing semantic analysis on the barrage content or the video content according to the algorithm. For example, for the highly praised style barrage special effects, the recommended trigger condition may be the high-quality barrage identified according to the algorithm. When the video barrage is identified as a high-quality barrage, the highly praised barrage special effects are triggered; for the popular science style barrage special effects, the recommended trigger condition may be the popular science barrage identified according to the algorithm. When the video barrage is identified as a popular science barrage, the popular science style barrage special effects are triggered.

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

[0132] Specifically, the user can configure the corresponding special effect trigger conditions for the barrage special effect resources by configuring the terminal. The configuration terminal obtains the special effect trigger conditions configured for the barrage special effect resources, and associates the barrage special effect resources and the special effect trigger conditions and uploads them to the barrage management platform. The barrage management platform stores the received special effect trigger conditions, and uploads the barrage special effect resources to the resource management platform, which stores the barrage special effect resources. Subsequently, the barrage management platform can send the special effect trigger conditions to the playback terminal, and the playback terminal triggers the barrage special effects based on the special effect trigger conditions. For example, the basic trigger conditions are sent to the playback terminal, and the playback terminal triggers the barrage special effects based on the basic trigger conditions during video playback. The barrage management platform can also determine the video barrage that needs to trigger the barrage special effects based on the special effect trigger conditions, 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 send the barrage data of the video barrage to the terminal, so that the terminal can identify the barrage special effects 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 from the known video barrage based on the recommended trigger conditions, 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 sends the barrage data of the video barrage to the terminal. When determining to trigger the barrage special effect, the playback terminal can obtain the corresponding barrage special effect resource from the resource management platform.

[0133] In the above embodiment, the corresponding special effect triggering conditions are configured for the bullet screen special effect resources, the bullet screen special effect resources and the special effect triggering conditions are associated and uploaded to the bullet screen management platform, the bullet screen management platform stores the special effect triggering conditions, and the bullet screen management platform uploads the bullet screen special effect resources to the resource management platform for storage. The special effect triggering conditions and the bullet screen special effect resources are stored so that they can be subsequently issued or obtained on demand.

[0134] In one embodiment, the barrage management platform is also used to generate a special effect record corresponding to the barrage special effect resource after receiving the barrage special effect resource, and set the special effect record status corresponding to the special effect record to a prohibited triggering state; the barrage management platform is also used to update the special effect record status corresponding to the special effect record to a allowed triggering state when the barrage special effect resource is successfully uploaded to the resource management platform.

[0135] Among them, 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, which 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 resources, the barrage management platform generates a special effect record corresponding to the barrage special effect resources, and sets the special effect record status corresponding to the special effect record to a prohibited trigger state. The barrage management platform uploads the barrage special effect resources to the resource management platform. If the upload is successful, the barrage management platform updates the special effect record status corresponding to the special effect record from a prohibited trigger state to a permitted trigger state. When the special effect record status corresponding to the special effect record is a permitted trigger state, the barrage management platform can determine the video barrage that needs to be triggered based on the special effect trigger conditions or send the special effect trigger conditions to the playback terminal to avoid the playback terminal being unable to download the corresponding barrage special effect resources from the resource management platform.

[0137] In the above embodiment, when the barrage special effect resources are successfully uploaded to the resource management platform, the barrage management platform updates the special effect record status of the special effect record corresponding to the barrage special effect resources from the prohibited triggering state to the allowed triggering state. This can avoid the situation where the playback terminal is unable to download the corresponding barrage special effect resources from the resource management platform when it is determined that a video barrage has triggered the barrage special effect based on the special effect triggering conditions.

[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 bullet screen configuration data group entered by the user, package the PAG file and the JSY script into a bullet screen special effect resource, and upload the bullet screen special effect resource to the bullet screen management platform (also known as the bullet screen operation management platform). Figure 6 , the barrage management platform is responsible for the special effects management of the barrage, which includes special effects generation and special effects deletion. For special effects generation, after receiving the barrage special effects resources, the barrage management platform first generates a special effects record corresponding to the barrage special effects resources. The initial special effects record status is unavailable (i.e., triggering prohibited), and the barrage special effects resources are transparently transmitted to the resource management platform (ResHub, Resource Hub, resource center). After the upload is successful, the barrage management platform updates the special effects record status to available (i.e., triggering allowed). The barrage management platform is also responsible for the special effects configuration of the barrage. Special effects configuration specifically refers to configuring the trigger conditions of special effects. Special effects triggering conditions include barrage special effects type, start time, end time, and hierarchical attributes. The barrage special effects type in the special effects triggering conditions is used to identify the barrage special effects corresponding to the special effects triggering conditions. For example, the barrage special effects type can record the resource identifier corresponding to the barrage special effects resource. The start time and end time in the special effects triggering conditions are used to characterize the start time and end time of the barrage special effects during video playback. The hierarchical attribute in the special effect trigger condition is used to record which animation layer the corresponding animation layer of the bullet screen special effect needs to cover on top of, that is, which special effect the bullet screen special effect needs to cover on top of. Users can configure the special effect trigger condition through the interface, and then upload the special effect trigger condition to the bullet screen management platform.

[0139] Among them, the ResHub platform is a terminal basic general configuration system. The system provides services such as configuration and switch release, resource release, and full-link release from grayscale to official release channels / application markets on both Android and iOS.

[0140] In one embodiment, the barrage management platform is also used to generate a special effect resource identifier corresponding to the barrage special effect resource according to the 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 also used to obtain the special effect record status of the special effect record corresponding to the special effect record identifier corresponding to the special effect resource identifier when receiving the barrage special effect resource upload success message returned by the resource management platform carrying the special effect resource identifier, and update the obtained special effect record status to the trigger-allowed state.

[0141] Among them, the special effect record has a corresponding special effect record identifier. The special effect record identifier is an 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 an identifier used to uniquely identify the bullet screen special effect resource.

[0142] Specifically, after receiving the barrage special effect resources, the barrage management platform generates a special effect record and a special effect record identifier corresponding to the barrage special effect resources, and sets the special effect record status corresponding to the special effect record to a prohibited triggering state. The barrage management platform uploads the barrage special effect resources and the special effect resource identifier to the resource management platform for storage. Subsequently, the playback terminal can obtain the barrage special effect resources 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 can be informed of the upload status of the barrage special effect resources. 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. If the barrage management platform receives a barrage special effect resource upload success message, it searches for the special effect record identifier corresponding to the special effect resource identifier, searches for the special effect record status of the special effect record corresponding to the special effect record identifier, and updates the special effect record status to a triggering allowed state.

[0143] In the above embodiment, through 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, the barrage special effect record on the barrage management platform and the barrage special effect resources on the resource management platform can be conveniently linked together 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 bullet screen special effect resource) to the bullet screen management platform. Figure 7 , the bullet screen management platform first verifies the special effect product, specifically, it can decompress the special effect product, verify the integrity of the data, and confirm whether it meets the requirements. If it does not meet the requirements, the bullet screen management platform can not process it or notify the low-code script generation platform. If it meets the requirements, the bullet screen management platform generates a special effect record, and the special effect record status corresponding to the special effect record is unavailable, and generates a special effect resource ID based on the special effect record ID of the special effect record, and the special effect record ID corresponds to the special effect resource ID one by one. The bullet screen management platform calls the upload interface of the resource management platform to upload the special effect resource ID and special effect product to the resource management platform. If the upload is successful, the bullet screen management platform reverses the special effect record ID through the callback special effect resource ID, and updates the corresponding special effect record status to available status according to the special effect record ID. If the upload fails, the bullet screen management platform can not process it or notify the operation and maintenance personnel.

[0145] In one embodiment, Figure 8 As shown, a method for processing bullet screen data is provided, and the method is applied to a playback terminal as an example. Figure 8 , the bullet screen data processing method includes the following steps:

[0146] Step S802, when the currently playing video triggers the barrage special effect, obtain the barrage special effect resources pre-set for the triggered barrage special effect; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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.

[0147] Among them, the currently playing video refers to the video currently being played by the playback terminal. Whether the current playback terminal triggers the barrage special effect can be determined based on the special effect triggering condition. For example, if the current playback terminal plays to a specific scene, the corresponding barrage special effect is triggered; if the user who publishes the video barrage of the currently playing video is a specific user, the corresponding barrage special effect is triggered; if the currently playing video plays to a specific time, the corresponding barrage special effect is triggered.

[0148] It can be understood that the specific generation process of the barrage special effect resources can refer to the contents of the aforementioned embodiments and will not be repeated here.

[0149] Step S804, through the barrage special effect scheduling file, based on the barrage special effect style association data corresponding to the matching data identifier, the video barrage that triggers the barrage special effect corresponding to the currently playing video is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage.

[0150] Step S806, display special effect bullet screen.

[0151] Specifically, the user can watch the video through the playback terminal. During the video playback process, once the barrage special effect is triggered, the playback terminal can convert the video special effect into a special effect barrage and play the special effect barrage. If the currently played video of the playback terminal triggers the barrage special effect, the playback terminal obtains the barrage special effect resources pre-set for the triggered barrage special effect. The barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file. The playback terminal can apply the video barrage that triggers the barrage special effect corresponding to the currently played video to the barrage special effect content file by loading the barrage special effect scheduling file, thereby obtaining the special effect barrage. The playback terminal displays the 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 contents of the aforementioned embodiments, and will not be repeated here.

[0153] In the above-mentioned barrage data processing method, the barrage special effect resources include associated barrage special effect content files and barrage special effect scheduling files. The animation layer in the barrage special effect content file is used to determine the barrage special effect style. The barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for video application re-release. When the barrage special effect is triggered, the barrage special effect can be flexibly realized by obtaining the pre-configured barrage special effect resources, thereby effectively improving the flexibility of realizing the barrage special effect.

[0154] In one embodiment, the method of determining the video bullet screen that triggers the bullet screen special effect corresponding to the currently playing video includes at least one of the following:

[0155] Get the video barrage set corresponding to the currently playing video issued by the barrage management platform. When there is a video barrage with a special effect resource identifier in the video barrage set, determine that the video barrage with the special effect resource identifier triggers the barrage special effect corresponding to the special effect resource identifier; the video barrage with the special effect resource identifier is determined based on the special effect trigger condition set corresponding to the currently playing video.

[0156] Get the special effect trigger condition set corresponding to the currently playing video issued by the barrage management platform. When the current playing progress of the currently playing video meets any special effect trigger condition in the special effect trigger condition set, determine the barrage special effect corresponding to the special effect trigger condition met by the video barrage trigger corresponding to the current playing progress.

[0157] Among them, the video barrage set corresponding to the currently playing video includes each video barrage that has been published for the currently playing video.

[0158] The set of special effect trigger conditions corresponding to the currently playing video includes special effect trigger conditions corresponding to each barrage special effect applicable to the currently playing video. It can be understood that the barrage special effects applicable to the currently playing video may include barrage special effects that are only applicable to the currently playing video and barrage special effects that are applicable to all videos. For example, if the video identifier of a specific video is recorded in the special effect trigger conditions of the barrage special effect resource configuration corresponding to a barrage special effect, then the barrage special effect is only applicable to the specific video; if the video identifier is not recorded in the special effect trigger conditions of the barrage special effect resource configuration corresponding to a barrage special effect, then the barrage special effect is applicable to all videos. The special effect trigger conditions corresponding to a barrage special effect include at least one of the basic trigger conditions and the recommended trigger conditions.

[0159] The current playback progress of the currently playing video refers to the real-time playback progress of the currently playing video. The current playback progress can indicate the current playback time. For example, the current playback progress indicates that the current playback is up to the 30th minute. If a corresponding barrage special effect is set for the 30th minute, the corresponding barrage special effect can be triggered. The current playback progress can also indicate the video scene currently being played. For example, the current playback progress indicates that the current playback is to the ocean scene. If a corresponding barrage special effect is set for the ocean scene, the corresponding barrage special effect can be triggered. The current playback progress can also indicate the video barrage that is currently being newly released through the playback terminal. For example, the current playback progress indicates that user A has newly released a barrage. If a corresponding barrage special effect is set for user A, the corresponding barrage special effect can be triggered.

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

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

[0162] In the above embodiment, the video bullet screen that triggers the bullet screen special effects corresponding to the currently playing video can be determined through the bullet screen management platform, and the video bullet screen that triggers the bullet screen special effects corresponding to the currently playing video can also be determined through the playback terminal, which has high flexibility.

[0163] In one embodiment, the bullet screen background service refers to the bullet screen related service provided by the server. The bullet screen background service controls the data interaction between the bullet screen management platform and the playback terminal. Fig. 9, the barrage background service reads the barrage related data stored in the barrage management platform, and sends it to the playback terminal through two paths: the barrage reading interface and the 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 sent to the playback terminal. The rich media interface is used to send rich media data to the playback terminal. The rich media data includes special effect triggering conditions, so that the playback terminal can determine the barrage that needs to trigger the barrage special effect in real time based on the special effect triggering conditions.

[0164] In one embodiment, obtaining a pre-set bullet screen special effect resource for a triggered bullet screen special effect includes:

[0165] Get the special effect resource identifier corresponding to the triggered barrage special effect; query the barrage special effect resource corresponding to the special effect resource identifier from the locally cached barrage special effect resource set; when the query fails, get 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.

[0166] Specifically, when the currently playing video triggers the barrage special effect, the playback 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 playback terminal first queries whether there is a barrage special effect resource corresponding to the special effect resource identifier 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 playback 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 playback 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 later.

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

[0168] In one embodiment, the locally cached bullet screen special effect resource set can be updated regularly, for example, to clear the bullet screen special effect resources corresponding to the bullet screen special effect that has not been triggered for a long time.

[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 is quickly displayed the next time the same barrage special effect is triggered.

[0170] In one embodiment, based on the bullet screen special effect style association data corresponding to the matching data identifier, the video bullet screen is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect bullet screen, including:

[0171] Each animation layer in the barrage special effect content file is used to describe the various animation elements that make up a single barrage special effect. When the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, for the video barrage that triggers the single barrage special effect corresponding to the currently playing video, the attribute data of the barrage attribute corresponding to the matching data identifier is added to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage.

[0172] Each animation layer in the barrage special effect content file is used to describe different regional barrage special effects. When the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, for the special effect effective area of ​​the regional barrage special effect corresponding to the trigger matching data identifier, the layer where the video barrage of the currently playing video in the special effect effective area is located is adjusted to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage.

[0173] Specifically, for single bullet screen special effects, each animation layer in the bullet screen special effects content file is used to describe each animation element that constitutes the single bullet screen special effect. The matching data identifier in the bullet screen configuration data group is used to identify the bullet screen special effect style associated data as the bullet screen attribute corresponding to the video bullet screen. The bullet screen special effect scheduling file is used to dynamically assemble the bullet screen UI elements. For the video bullet screen that triggers the single bullet screen special effect corresponding to the currently playing video, by executing the bullet screen special effect scheduling file, the attribute data of the video bullet screen on the configured bullet screen attribute is added to the corresponding animation layer in the bullet screen special effect content file, thereby obtaining a special effect bullet screen with a single bullet screen special effect.

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

[0175] In a specific embodiment, the method of the present application can be applied to a full-screen bullet screen special effects scenario.

[0176] On the low-code script generation platform, select a PAG file corresponding to a full-screen bullet screen special effect as the processing target. According to the data entered on the relevant configuration interface of the low-code script generation platform, apply the code template corresponding to the low-code script generation platform to generate the JSY script corresponding to the PAG file. Package the PAG file and JSY script as a bullet screen special effect resource and upload it to the bullet screen management platform. You can also configure the special effect trigger conditions corresponding to the bullet screen special effect resource and upload it to the bullet screen management platform. The bullet screen management platform uploads the bullet screen special effect resources to the resource management platform for storage.

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

[0178] The data processing process of the playback terminal can be referred to Fig.10. The upper screen of the barrage is driven by the player heartbeat, which is used to indicate the playback progress of the video. For example, on the playback terminal, the player heartbeats once for every second the video is played. The rich media data obtained by the playback terminal includes the special effect trigger conditions issued. The full-screen special effect scheduler reads from the rich media data whether there is a special effect trigger condition that is hit at the current playback time. If there is a special effect trigger condition that is hit at the current playback time, it checks 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, and based on the special effect resource ID, it is queried from the locally stored barrage special effect resource set whether there is a corresponding barrage special effect resource. 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 coordination with the track management, and the layer where the barrage is located is adjusted to the corresponding animation layer in the PAG file, thereby controlling the barrage in the full screen to achieve the full-screen barrage special effect. Track management is used to control the display of bullet screens.

[0179] For example, when the video is playing to the special effects section, the full-screen special effects scheduler finds that a full-screen special effect with a special effects resource ID of pag_full_8888 needs to be played, so it reads the corresponding bullet screen special effects resource from the local cache or resource management platform, decompresses the read bullet screen special effects resource, and obtains a pair of JSY scripts and PAG files. The JSY script is loaded, and the JSY script cooperates with the track management to add the full-screen bullet screen to the corresponding animation layer in the PAG file. Fig.11 The full-screen special effect with the special effect resource ID pag_full_8888 is a full-screen water ripple special effect. Fig.11 (a) in the figure indicates the video playback interface without full-screen effects. Fig.11 (b) in the figure shows a video playback interface with a full-screen water ripple special effect. In the video playback interface with the full-screen water ripple special effect, the video bullet screen presents a water ripple shape. It can be understood that after the full-screen water ripple special effect is triggered, the video bullet screen moves in a water ripple shape on the video playback interface.

[0180] In a specific embodiment, the method of the present application can be applied to a single bullet screen special effects scenario.

[0181] On the low-code script generation platform, select a PAG file corresponding to a single bullet screen effect as the processing target. According to the data entered on the relevant configuration interface of the low-code script generation platform, apply the code template corresponding to the low-code script generation platform to generate the JSY script corresponding to the PAG file. Package the PAG file and JSY script as a bullet screen effect resource and upload it to the bullet screen management platform. You can also configure the special effect trigger conditions corresponding to the bullet screen effect resource and upload it to the bullet screen management platform. The bullet screen management platform uploads the bullet screen effect resource to the resource management platform for storage.

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

[0183] The data processing process of the playback terminal can be referred to Fig.12 . The assembly of the barrage UI elements is performed before the barrage is put on the track. The barrage data obtained by the playback terminal includes the barrage data of each barrage corresponding to the video. If the field content of the special effect ID field in the barrage data of a barrage includes the special effect resource ID, the barrage special effect corresponding to the special effect resource ID triggered by the barrage is determined. The rich media data obtained by the playback terminal includes the issued special effect triggering conditions, and it can also be determined whether there is a barrage that triggers the barrage special effect based on the special effect triggering conditions. If so, the playback terminal updates the field content of the special effect ID field in the barrage data of the barrage to the special effect resource ID corresponding to the triggered barrage special effect to complete the assembly of the barrage data. For a single barrage, the special effect resource ID is obtained from the special effect ID field in the barrage data. One special effect resource ID corresponds to one type of barrage special effect. It is determined whether the barrage special effect resource corresponding to the special effect resource ID exists locally. If not, the corresponding barrage special effect resource is updated from the resource management platform. After obtaining the corresponding bullet screen special effect resources, load the JSY script, control the UI elements in the PAG file through the JSY script, complete the assembly of the bullet screen UI elements, measure the length of the bullet screen, bind the bullet screen trigger event, and then coordinate with the track management to draw the bullet screen on the track. It can be understood that for bullet screens that do not trigger bullet screen special effects, the default PAG file without bullet screen special effects is used to draw the bullet screen on the track. 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 go online, the corresponding barrage special effect resources are read from the local cache or resource management platform. After the read barrage special effect resources are decompressed, a pair of JSY scripts and PAG files are 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. At the same time, the font is adjusted to red, the bleeding floating layer in the PAG file is displayed, and the floating layer is dynamically stretched to keep it consistent with the width of 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. 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. For the bleeding special effect of a single barrage, please refer to Fig.13 1301 of them.

[0185] In the above specific embodiments, the barrage UI elements and barrage special effects are controlled by dynamic JSY scripts, and new styles, new special effects, and new gameplay can be released without the need for video application releases, effectively improving R&D and operational efficiency. In addition, barrage special effects support multiple activation methods such as algorithm recommendation, user release, and operational configuration, and are highly flexible. Algorithm recommendation means that the special effect trigger conditions include recommendation trigger conditions, user release means that users can choose barrage special effects when releasing barrages, and operational configuration means that barrages released by specific users can be pre-configured to trigger specific special effects.

[0186] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0187] Based on the same inventive concept, the embodiment of the present application also provides a barrage data processing device for implementing the barrage data processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more barrage data processing device embodiments provided below can refer to the limitations of the barrage data processing method above, and will not be repeated here.

[0188] In one embodiment, Fig.14 As shown, a bullet comment data processing device 1400 is provided, including: a file acquisition module 1402, a configuration entry module 1404 and a configuration publishing module 1406, wherein:

[0189] The file acquisition module 1402 is used to obtain the bullet screen special effect content file.

[0190] Configuration entry module 1404 is used to display at least one barrage configuration data group in response to a configuration entry operation for a barrage special effect content file; the barrage configuration data group includes an associated entered animation layer identifier and a matching data identifier; 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.

[0191] The configuration and release module 1406 is used to respond to the configuration and release 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 combine 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 the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding animation layer identifier based on the barrage special effect style association data corresponding to the matching data identifier, to obtain the special effect barrage.

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

[0193] At least one input control group is displayed; the input control group includes an associated animation layer input control and a matching data input control; the animation layer input control is used to input the animation layer identifier, and the matching data input control is used to input the matching data identifier;

[0194] In response to the input operation for the input control group, the bullet screen configuration data groups entered respectively for each input control group are displayed.

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

[0196] Obtain an element update script template pre-set for the animation element corresponding to the 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 the element update target script corresponding to each bullet screen configuration data group respectively; the element update target script is used to add the bullet screen attribute data corresponding to the video bullet screen that triggers the single bullet screen special effect on the matching data identifier to the animation layer corresponding to the corresponding animation layer identifier;

[0197] The target script is updated based on the elements corresponding to each barrage configuration data group to obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

[0198] In one embodiment, the configuration publishing module 1406 is further used to:

[0199] Obtaining a preset auxiliary script template; the auxiliary script template includes at least one of a first script template for adjusting basic properties of an animation layer and a second script template for responding to a bullet screen triggering event;

[0200] The target script and auxiliary script template are updated based on the elements corresponding to each barrage configuration data group, and the barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

[0201] In one embodiment, each animation layer in the barrage special effect content file is respectively used to describe the various animation elements that constitute a single barrage special effect. When the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, the barrage configuration data group also includes the associated entered layer display status. The layer display status is used to indicate the display status 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 one embodiment, when each animation layer in the bullet screen special effect content file is used to describe different regional bullet screen special effects, the bullet screen special effect style associated data is the regional bullet screen special effect type corresponding to the regional bullet screen special effect. The configuration publishing module 1406 is also used to:

[0203] Get the layer adjustment script template, add the animation layer identifier and matching data identifier in the bullet screen configuration data group to the layer adjustment script template, and obtain the layer adjustment target scripts corresponding to each bullet screen configuration data group respectively; the layer adjustment target script is used to adjust the layer where the video bullet screen in the special effect effective area corresponding to the regional bullet screen special effect is located to the animation layer corresponding to the corresponding animation layer identifier when the regional bullet screen special effect corresponding to the matching data identifier is triggered;

[0204] Based on the layers corresponding to each barrage configuration data group, the target script is adjusted to obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

[0205] In one embodiment, when each animation layer in the barrage special effect content file is used to describe different regional barrage special effects respectively, the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, and the barrage configuration data group also includes the associated entered special effect effective range, and the special effect effective range is used to indicate the effective area of ​​the regional barrage special effect corresponding to the matching data identifier in the barrage display area.

[0206] In one embodiment, the configuration publishing module 1406 is further used to:

[0207] In response to a configuration export operation for a bullet screen special effect content file, an initial bullet screen special effect scheduling file is generated based on each bullet screen configuration data group;

[0208] In response to a configuration upload operation for a bullet screen special effect content file, obtaining a target bullet screen special effect scheduling file obtained by adjusting an initial bullet screen special effect scheduling file;

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

[0210] In one embodiment, the bullet screen data processing device 1400 is further used for:

[0211] Obtaining special effect trigger conditions configured for bullet screen special effect resources; the special effect trigger conditions include at least one of basic trigger conditions and recommended trigger conditions;

[0212] The barrage special effect resources and special effect trigger conditions are associated and uploaded to the barrage management platform so that the barrage management platform stores the special effect trigger conditions, and the barrage special effect resources are uploaded to the resource management platform for storage. The resource management platform is used to respond to the request of the playback terminal and send the barrage special effect resources.

[0213] In one embodiment, the bullet screen management platform is further used to generate a special effect record corresponding to the bullet screen special effect resource after receiving the bullet screen special effect resource, and set the special effect record state corresponding to the special effect record to a disabled trigger state;

[0214] The barrage management platform is also used to update the special effect record status corresponding to the special effect record to a triggering allowed status when the barrage special effect resource is successfully uploaded to the resource management platform.

[0215] In one embodiment, the barrage management platform is further used to generate a special effect resource identifier corresponding to the barrage special effect resource according to the 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;

[0216] The special effect resource identifier is used to obtain the bullet screen special effect resources from the resource management platform;

[0217] The barrage management platform is also used to obtain the special effect record status of the special effect record corresponding to the special effect record identifier corresponding to the special effect resource identifier when receiving the barrage special effect resource upload success message carrying the special effect resource identifier returned by the resource management platform, and update the obtained special effect record status to a triggering allowed state.

[0218] In the above-mentioned barrage data processing device, the animation layer in the barrage special effect content file is used to determine the barrage special effect style, and 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 that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for video application re-release. The barrage special effect can be flexibly realized based on the barrage special effect resources composed of the associated barrage special effect content file and the barrage special effect scheduling file, effectively improving the flexibility of realizing the barrage special effect.

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

[0220] Resource acquisition module 1502 is used to obtain the pre-set barrage special effect resources for the triggered barrage special effect when the barrage special effect is triggered by the currently playing video; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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.

[0221] The special effect generation module 1504 is used to apply the video barrage that triggers the barrage special effect corresponding to the currently playing video to the animation layer corresponding to the corresponding animation layer identifier through the barrage special effect scheduling file, based on the barrage special effect style association data corresponding to the matching data identifier, to obtain the special effect barrage.

[0222] The special effect display module 1506 is used to display special effect bullet screens.

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

[0224] Obtain the video barrage set corresponding to the currently playing video issued by the barrage management platform. When there is a video barrage carrying a special effect resource identifier in the video barrage set, determine 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 playing video;

[0225] Get the special effect trigger condition set corresponding to the currently playing video issued by the barrage management platform. When the current playing progress corresponding to the currently playing video meets any special effect trigger condition in the special effect trigger condition set, determine the barrage special effect corresponding to the special effect trigger condition met by the video barrage trigger corresponding to the current playing progress.

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

[0227] Get the special effect resource identifier corresponding to the triggered bullet screen special effect;

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

[0229] 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 barrage special effect resource set cached locally.

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

[0231] Each animation layer in the bullet screen special effect content file is used to describe each animation element that constitutes a single bullet screen special effect. When the bullet screen special effect style associated data is the bullet screen attribute corresponding to the video bullet screen, for the video bullet screen that triggers the single bullet screen special effect corresponding to the currently playing video, the attribute data of the bullet screen attribute corresponding to the matching data identifier is added to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect bullet screen;

[0232] Each animation layer in the barrage special effect content file is used to describe different regional barrage special effects. When the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, for the special effect effective area of ​​the regional barrage special effect corresponding to the trigger matching data identifier, the layer where the video barrage of the currently playing video in the special effect effective area is located is adjusted to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage.

[0233] The above-mentioned barrage data processing device, the barrage special effect resources include associated barrage special effect content files and barrage special effect scheduling files, 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 that triggers the barrage special effect to the barrage special effect content file based on the configured barrage configuration data group, so that the video barrage that triggers the barrage special effect can present the barrage special effect corresponding to the barrage special effect content file, thereby eliminating the need for video application re-release. When the barrage special effect is triggered, the barrage special effect can be flexibly realized by obtaining the pre-configured barrage special effect resources, thereby effectively improving the flexibility of realizing the barrage special effect.

[0234] Each module in the above-mentioned bullet screen data processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0235] In one embodiment, a computer device is provided, which may be Figure 1 The terminal shown, such as a configuration terminal or a playback terminal, the computer device can also be Figure 1 In this embodiment, the computer device is a terminal. The internal structure diagram of the terminal can be as follows: Fig.16 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for processing barrage data is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0236] Those skilled in the art will understand that Fig.16 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may 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 further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements 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, which implements the steps in the above method embodiments when executed by a processor.

[0239] In one embodiment, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must 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, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the 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 (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0242] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0243] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for processing barrage data, characterized in that: The method comprises: Get the barrage special effects content file; In response to the configuration entry operation for the barrage special effect content file, at least one barrage configuration data group is displayed; the barrage configuration data group includes an animation layer identifier and a matching data identifier associated with the entry; 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; In response to the configuration and publishing operation of 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 of the barrage configuration data groups, and the barrage special effect content file and the barrage special effect scheduling file are combined into a barrage special effect resource; the barrage special effect scheduling file is used to apply the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding 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.

2. The method according to claim 1, characterized in that The displaying of at least one bullet screen configuration data group in response to the configuration entry operation for the bullet screen special effect content file includes: At least one input control group is displayed; the input control group includes an associated animation layer input control and a matching data input control; the animation layer input control is used to input an animation layer identifier, and the matching data input control is used to input a matching data identifier; In response to the input operation for the input control group, the bullet screen configuration data group entered respectively for each of the input control groups is displayed.

3. The method according to claim 1, characterized in that 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 the barrage attribute corresponding to the video barrage; The generating the barrage special effect scheduling file corresponding to the barrage special effect content file based on each of the barrage configuration data groups includes: Obtain an element update script template pre-set for the 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 to the corresponding element update script template, and obtain the element update target scripts corresponding to each barrage configuration data group respectively; the element update target script is used to add the barrage attribute data corresponding to the video barrage that triggers the single barrage special effect on the matching data identifier to the animation layer corresponding to the corresponding animation layer identifier; Based on the elements corresponding to each of the barrage configuration data groups, the target script is updated to obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

4. The method according to claim 3, characterized in that The updating target script based on the elements corresponding to each of the barrage configuration data groups to obtain the barrage special effect scheduling file corresponding to the barrage special effect content file includes: Obtaining a preset auxiliary script template; the auxiliary script template includes at least one of a first script template for adjusting basic properties of an animation layer and a second script template for responding to a bullet screen triggering event; Based on the elements corresponding to each barrage configuration data group, the target script and the auxiliary script template are updated to obtain the barrage special effect scheduling file corresponding to the barrage special effect content file.

5. The method according to claim 1, characterized in that Each animation layer in the barrage special effect content file is respectively used to describe the various animation elements that constitute a single barrage special effect. When the barrage special effect style associated data is the barrage attribute corresponding to the video barrage, the barrage configuration data group also includes an associated entered layer display status. The layer display status is used to indicate the display status 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.

6. The method according to claim 1, characterized in that When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects respectively, the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect; The generating the barrage special effect scheduling file corresponding to the barrage special effect content file based on each of the barrage configuration data groups includes: Obtain a layer adjustment script template, add the animation layer identifier and the matching data identifier in the barrage configuration data group to the layer adjustment script template, and obtain the layer adjustment target scripts corresponding to each barrage configuration data group respectively; the layer adjustment target script is used to adjust the layer where the video barrage in the special effect effective area corresponding to the regional barrage special effect is located 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 scripts corresponding to each of the barrage configuration data groups, a barrage special effect scheduling file corresponding to the barrage special effect content file is obtained.

7. The method according to claim 1, characterized in that When each animation layer in the barrage special effect content file is used to describe different regional barrage special effects respectively, the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, and the barrage configuration data group also includes an associated entered special effect effective range, and the special effect effective range is used to indicate the effective area of ​​the regional barrage special effect corresponding to the matching data identifier in the barrage display area.

8. The method according to claim 1, characterized in that In response to the 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 of the barrage configuration data groups, and combining the barrage special effect content file and the barrage special effect scheduling file into a barrage special effect resource, including: In response to a configuration export operation for the barrage special effect content file, generating an initial barrage special effect scheduling file based on each of the barrage configuration data groups; In response to a configuration upload operation for the barrage special effect content file, obtaining a target barrage special effect scheduling file obtained by adjusting the initial barrage special effect scheduling file; In response to a configuration and publishing operation on the barrage special effect content file, the barrage special effect content file and the barrage special effect scheduling file of the target are combined into a barrage special effect resource.

9. The method according to claim 1, characterized in that: The method further comprises: Acquire a special effect trigger condition configured for the bullet screen special effect resource; the special effect trigger condition includes at least one of a basic trigger condition and a recommended trigger condition; The barrage special effect resource and the special effect trigger condition are associated and uploaded to the barrage management platform so that the barrage management platform stores the special effect trigger condition, and the barrage special effect resource is uploaded to the resource management platform for storage. The resource management platform is used to respond to the request of the playback terminal and send the barrage special effect resource.

10. The method according to claim 9, characterized in that The barrage management platform is also used to generate a special effect record corresponding to the barrage special effect resource after receiving the barrage special effect resource, and set the special effect record state corresponding to the special effect record to a disabled trigger state; The barrage management platform is also used to update the special effect record status corresponding to the special effect record to a triggering allowed status when the barrage special effect resource is successfully uploaded to the resource management platform.

11. The method according to claim 9, characterized in that The barrage management platform is also used to generate a special effect resource identifier corresponding to the barrage special effect resource according to the 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 also used to obtain the special effect record status of the special effect record corresponding to the special effect record identifier corresponding to the special effect resource identifier when receiving the barrage special effect resource upload success message carried by the special effect resource identifier returned by the resource management platform, and update the obtained special effect record status to a triggering allowed state.

12. A method for processing barrage data, characterized in that: The method comprises: In the case where the currently playing video triggers the barrage special effect, obtain the barrage special effect resources pre-set for the triggered barrage special effect; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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; Through the bullet screen special effect scheduling file, based on the bullet screen special effect style association data corresponding to the matching data identifier, the video bullet screen that triggers the bullet screen special effect corresponding to the currently playing video is applied to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect bullet screen; Display the special effect barrage.

13. The method according to claim 12, characterized in that The method of determining the video bullet screen that triggers the bullet screen special effect corresponding to the currently playing video includes at least one of the following: Obtain a video bullet screen set corresponding to the currently playing video issued by the bullet screen management platform, and when a video bullet screen carrying a special effect resource identifier exists in the video bullet screen set, determine that the video bullet screen carrying the special effect resource identifier triggers the bullet screen special effect corresponding to the special effect resource identifier; The video bullet screen carrying the special effect resource identifier is determined based on the special effect trigger condition set corresponding to the currently playing video; Obtain the special effect trigger condition set corresponding to the currently playing video issued by the barrage management platform. When the current playback progress corresponding to the currently playing video meets any special effect trigger condition in the special effect trigger condition set, determine the barrage special effect corresponding to the special effect trigger condition met by the video barrage trigger corresponding to the current playback progress.

14. The method according to claim 12, characterized in that The obtaining of the pre-set bullet screen special effect resource for the triggered bullet screen special effect includes: Get the special effect resource identifier corresponding to the triggered bullet screen special effect; Query the barrage special effect resource corresponding to the special effect resource identifier 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 barrage special effect resource set in the local cache.

15. The method according to claim 12, characterized in that The method of applying the video bullet screen to the animation layer corresponding to the corresponding animation layer identifier based on the bullet screen special effect style association data corresponding to the matching data identifier to obtain the special effect bullet screen includes: Each animation layer in the barrage special effect content file is used to describe each animation element constituting a single barrage special effect. When the barrage special effect style associated data is a barrage attribute corresponding to a video barrage, for the video barrage that triggers the single barrage special effect corresponding to the currently playing video, the attribute data of the barrage attribute corresponding to the matching data identifier is added to the animation layer corresponding to the corresponding animation layer identifier to obtain a special effect barrage; Each animation layer in the barrage special effect content file is used to describe different regional barrage special effects. When the barrage special effect style associated data is the regional barrage special effect type corresponding to the regional barrage special effect, for the special effect effective area of ​​the regional barrage special effect corresponding to the trigger matching data identifier, the layer where the video barrage of the currently playing video in the special effect effective area is located is adjusted to the animation layer corresponding to the corresponding animation layer identifier to obtain the special effect barrage.

16. A bullet comment data processing device, characterized in that: The device comprises: File acquisition module, used to obtain bullet screen special effects content files; A configuration entry module, for displaying at least one barrage configuration data group in response to a configuration entry operation for the barrage special effect content file; the barrage configuration data group includes an animation layer identifier and a matching data identifier associated with the entry; 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; A configuration and release module is used to respond to the configuration and release 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 of the barrage configuration data groups, and combine 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 the video barrage that triggers the barrage special effect to the animation layer corresponding to the corresponding 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.

17. A bullet comment data processing device, characterized in that: The device comprises: A resource acquisition module, used to obtain the pre-set barrage special effect resources for the triggered barrage special effect when the barrage special effect is triggered by the currently playing video; the barrage special effect resources include the associated barrage special effect content file and the barrage special effect scheduling file; 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 associated entered animation layer identifier and matching data identifier; 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; A special effect generation module, for applying the video bullet screen that triggers the bullet screen special effect corresponding to the currently played video to the animation layer corresponding to the corresponding animation layer identifier through the bullet screen special effect scheduling file and based on the bullet screen special effect style association data corresponding to the matching data identifier, to obtain the special effect bullet screen; The special effect display module is used to display the special effect barrage.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.

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

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.

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

  • Special effect processing method and device, processing equipment and storage medium

    CN116471438A

  • Bullet screen editing method, smart terminal, and storage medium

    WO2021082668A1

Cited By

  • Data processing method, device and equipment and readable storage medium

    CN120455759A

  • Data processing method, device, apparatus and readable storage medium

    CN120455759B