Display control method and apparatus for on-screen comment data

By receiving and displaying preset bullet screen resource data, switching display styles and displaying the page in a floating layer, the problems of monotonous bullet screen display and high development costs are solved, personalized interaction and traffic diversion for activities are realized, and development costs are reduced.

WO2026007598A1PCT designated stage Publication Date: 2026-01-08SHANGHAI BILIBILI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/099213
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-03
Filing Date
2025-06-05
Publication Date
2026-01-08

AI Technical Summary

Technical Problem

The current method of displaying bullet comments in video playback is monotonous and cannot meet the personalized needs of users. The development cost of special bullet comments that bring up activity pages is high and cannot be adapted to different terminal devices and floating containers.

Method used

By receiving preset bullet screen resource data from the server, the preset bullet screen is displayed in the video playback interface, and the display style is switched in response to user operations. The preset page is displayed using an overlay, realizing the interaction between the bullet screen and the activity page, avoiding the need for development to adapt to different terminal devices and overlay containers.

Benefits of technology

It enables personalized interactive features with bullet screen style, reduces development costs, supports traffic redirection and gameplay functions for event business, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025099213_08012026_PF_FP_ABST
    Figure CN2025099213_08012026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a display control method and apparatus for on-screen comment data. The method comprises: when a first video is played in a video playback interface, receiving resource data related to a preset on-screen comment and sent by a server; displaying the preset on-screen comment in the video playback interface on the basis of the resource data; and in response to a trigger operation for the preset on-screen comment, switching the display style of the preset on-screen comment, and displaying a preset page on the video playback interface as an overlay on the basis of the resource data. By issuing a preset on-screen comment on the basis of a submission dimension, switching a display style before and after a user triggers the preset on-screen comment, and launching preset pages across various playback scenarios on the basis of overlay containers, development does not need to adapt to the sizes of different terminal devices or overlay containers, thereby effectively reducing development costs; moreover, by configuring different resource data for the preset on-screen comment, the internal logic of an active page can be controlled by using the preset on-screen comment, thereby preventing the active page from failing to communicate with the on-screen comment.
Need to check novelty before this filing date? Find Prior Art

Description

Display control method and device of barrage data

[0001] The present application claims priority to the Chinese patent application No.CN202410890251.5, filed on July 03, 2024, and entitled "Display control method and device of barrage data", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] Embodiments of the present application relate to the technical field of Internet, and in particular, relate to a display control method and device of barrage data, a computer device and a computer readable storage medium. BACKGROUND

[0003] Barrage refers to the comment text floating in the video player. The comment text is formed by the user publishing comments during the process of watching the video. Therefore, the barrage propagation phenomenon can also be said to be a typical group propagation case. At present, in the process of video playing, the server can obtain the barrage information published by each user on the video, and then add the barrage information to different time periods of the video. The video playing terminal will display the barrage for the user in the process of video playing according to the default barrage display mode. However, this barrage display mode is relatively single, and it is difficult to meet the needs of personalized barrage display and interaction of users.

[0004] In order to enrich the display style and interaction mode of barrage, some video playing platforms provide a barrage display mode that can pull up an activity page through special barrage. The inventors realize that the activity page called up after triggering the barrage cannot communicate with the barrage, only has ordinary jump ability, and the activity page needs to adapt to the size of different terminal devices and floating containers, greatly increasing the development cost. SUMMARY

[0005] An embodiment of the present application provides a display control method and device of barrage data, a computer device and a computer readable storage medium, which are used to solve the following problem: the activity page pulled up by special barrage communicates with the barrage, and the activity page needs to adapt to the size of different terminal devices and floating containers, so the development cost is high.

[0006] One aspect of an embodiment of the present application provides a display control method of barrage data, comprising:

[0007] In the case of playing a first video in a video playing interface, receiving resource data related to a preset barrage sent by a server end;

[0008] According to the resource data, displaying the preset barrage in the video playing interface;

[0009] In response to a triggering operation on the preset barrage, a display style of the preset barrage is switched, and a preset page is displayed on the video playing interface in a floating layer manner according to the resource data.

[0010] Optionally, the method further comprises:

[0011] In a case where the preset barrage is displayed, in response to an adjustment operation on a canvas parameter corresponding to the video playing interface, a current display position of the preset barrage is obtained;

[0012] A target display position is determined according to the current display position, and the preset barrage is displayed in the video playing interface after the adjustment of the canvas parameter according to the target display position.

[0013] Optionally, before the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises:

[0014] In response to a first operation on the preset barrage, an uninterested label is added to the preset barrage; wherein the server end is configured to stop sending the resource data to the client based on the uninterested label.

[0015] Optionally, the displaying of the preset page in a floating layer manner on the video playing interface according to the resource data comprises:

[0016] In a case where the preset barrage is not triggered, the preset page is displayed in a floating layer manner on the video playing interface according to the resource data.

[0017] Optionally, after the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises:

[0018] A movement Action is created for the preset barrage;

[0019] The preset barrage is controlled to move through the movement Action.

[0020] Optionally, after the step of displaying the preset barrage, the method further comprises:

[0021] A sequence frame animation corresponding to the preset barrage is displayed in the video playing interface according to the resource data.

[0022] Optionally, after the step of displaying the sequence frame animation corresponding to the preset barrage, the method further comprises:

[0023] An animation Action is created for the preset barrage;

[0024] The preset bullet screen corresponding sequence frame animation is played by the animation Action.

[0025] Optionally, the method further comprises:

[0026] In the case of playing the preset bullet screen corresponding sequence frame animation, in response to a pause operation for the first video, stopping moving the preset bullet screen, and continuing to play the preset bullet screen corresponding sequence frame animation.

[0027] Optionally, the response to the pause operation for the first video, stopping moving the preset bullet screen, comprises:

[0028] In response to a pause operation for the first video, deleting the moving Action to control the preset bullet screen to stop moving.

[0029] Optionally, the method further comprises:

[0030] In response to a resume playing operation for the first video, creating a moving Action for the preset bullet screen;

[0031] The preset bullet screen continues to move by the moving Action.

[0032] Optionally, the receiving server-side sent resource data related to the preset bullet screen comprises:

[0033] The server-side judges whether the first video contains the preset bullet screen; in the case that the first video contains the preset bullet screen and the exposure times of the preset bullet screen in the first video does not exceed a preset number, the server-side sends resource data related to the preset bullet screen to the client.

[0034] Optionally, the preset bullet screen is displayed in the video playing interface according to the resource data, comprising:

[0035] The current playing time of the first video is obtained;

[0036] In the case that the current playing time meets the display time and the preset bullet screen has not been displayed in the first video, the preset bullet screen is displayed in the video playing interface according to the display position and exposure duration.

[0037] Optionally, the preset bullet screen corresponding sequence frame animation is displayed in the video playing interface according to the resource data, comprising:

[0038] The preset bullet screen corresponding sequence frame animation is displayed in the video playing interface according to the animation resource link and animation frame rate.

[0039] Optionally, the preset page is displayed on the video playing interface in a floating manner according to the resource data, and the preset page includes:

[0040] The preset page is displayed on the video playing interface in a floating manner according to the activity jump link and the link jump manner.

[0041] An aspect of an embodiment of the present application further provides a display control device of a barrage data, which comprises:

[0042] A resource data receiving module is configured to receive resource data related to a preset barrage sent by a server side in a case that a first video is played in a video playing interface;

[0043] A preset barrage display module is configured to display the preset barrage in the video playing interface according to the resource data;

[0044] A preset page display module is configured to switch a display style of the preset barrage in response to a triggering operation on the preset barrage, and display a preset page on the video playing interface in a floating manner according to the resource data.

[0045] An aspect of an embodiment of the present application further provides a computer device, which comprises a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, and the processor is configured to implement the following steps when executing the computer readable instructions:

[0046] In a case that a first video is played in a video playing interface, resource data related to a preset barrage sent by a server side is received;

[0047] The preset barrage is displayed in the video playing interface according to the resource data;

[0048] In response to a triggering operation on the preset barrage, a display style of the preset barrage is switched, and a preset page is displayed on the video playing interface in a floating manner according to the resource data.

[0049] An aspect of an embodiment of the present application further provides a computer readable storage medium, which stores computer readable instructions, and the computer readable instructions are executable by at least one processor to make the at least one processor execute the following steps:

[0050] In a case that a first video is played in a video playing interface, resource data related to a preset barrage sent by a server side is received;

[0051] The preset barrage is displayed in the video playing interface according to the resource data;

[0052] In response to a triggering operation for the preset barrage, a display style of the preset barrage is switched, and a preset page is displayed in a floating layer manner on the video playing interface according to the resource data.

[0053] An aspect of an embodiment of the present application further provides a computer program product, comprising computer readable instructions which, when executed by a processor, are used to implement the following steps:

[0054] In a case where a first video is played in a video playing interface, resource data related to a preset barrage sent by a server is received;

[0055] The preset barrage is displayed in the video playing interface according to the resource data;

[0056] In response to a triggering operation for the preset barrage, a display style of the preset barrage is switched, and a preset page is displayed in a floating layer manner on the video playing interface according to the resource data.

[0057] The display control method, device and equipment of the present application provide a display control method, device, equipment and computer readable storage medium of the barrage data, which can be used to issue a preset barrage based on a manuscript dimension, the preset barrage can be a barrage related to an active service, and a display style is switched before and after a user triggers the preset barrage. A preset page in various playing scenes is pulled up based on a floating layer container, a new barrage display and interaction mode of the active service diversion barrage is realized, the active page is displayed in a floating layer manner, and development of different terminal devices and the size of the floating layer container is not needed, so that the development cost can be effectively reduced. Different resource data is configured for the preset barrage, the internal logic of the active page is controlled by using the preset barrage, and the active page cannot communicate with the barrage. BRIEF DESCRIPTION OF DRAWINGS

[0058] Fig. 1 schematically shows an application environment diagram of the display control method of the barrage data according to an embodiment of the present application;

[0059] Fig. 2 schematically shows a flow chart of the display control method of the barrage data according to an embodiment of the present application;

[0060] Fig. 3 schematically shows a step flow chart of another display control method of the barrage data;

[0061] Fig. 4 schematically shows a schematic diagram of a display style before an active barrage is clicked;

[0062] Fig. 5 schematically shows a schematic diagram of a display style after an active barrage is clicked;

[0063] Fig. 6 schematically shows a schematic diagram of a closing control corresponding to an active page;

[0064] FIG. 7 schematically shows a diagram of displaying a result of a lucky draw triggered by a rewarding scene;

[0065] FIG. 8 schematically shows a diagram of triggering a game guide by a non-rewarding scene;

[0066] FIG. 9 schematically shows a block diagram of a display control device of the special bullet screen data according to Embodiment Two of the present application; and

[0067] FIG. 10 schematically shows a hardware architecture diagram of a computer device suitable for implementing the display control method of the special bullet screen data according to Embodiment Three of the present application. Embodiments of the present application

[0068] In order to make the purposes, technical solutions and advantages of the present application more clear, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.

[0069] It should be noted that the description of "first", "second", etc. in the embodiments of the present application is only for the purpose of description and cannot be understood as indicating or implying the relative importance of the indicated technical features or implicitly indicating the number of the indicated technical features. Therefore, the features with "first" and "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions of various embodiments can be combined with each other, but it must be based on the fact that a person of ordinary skill in the art can realize it, and when the combination of technical solutions appears to be contradictory or unachievable, it should be considered that the combination of technical solutions does not exist and is not within the scope of protection claimed by the present application.

[0070] At present, for the active services in large C-end nodes (such as various holiday activities, etc.), in the aspect of user reach, an activity entrance that can appear in the process of the user watching the video and does not interrupt the current watching behavior of the user is needed, which needs to appear in the current video playing page. The special bullet screen can be used as the activity entrance, and the activity page is carried in a semi-floating container. On this basis, the user needs a more observable and more interesting click bullet screen interaction effect, so it is hoped that the single style of the current bullet screen display can be broken, the same presentation mode of the bullet screen style before and after the click bullet screen, and the bullet screen style can be changed from

before clicking

after clicking

[0071] Reusability: In other similar content scenarios, the interaction effect before and after the click of the special bullet screen can be reused by simply replacing the materials.

[0072] In addition to the user touch requirement in the active service, the special barrage also needs to carry certain game functions. It is hoped that the single function of the current barrage as an activity page entrance can be broken through, and the barrage can carry the game function of the activity at the same time; for example, "finding the activity barrage in the video and clicking" can be used as the activity game / task, and after the user clicks the barrage, the activity page can be pulled up, and the activity card / reward can be randomly obtained to complete the activity task.

[0073] Multiplexing: the behavior of "clicking the special barrage" as the game function of the activity can be reused in other C-end activity services.

[0074] Card collection and lottery are common gameplays in large C-end activity services, and it is hoped that the game can be combined with the barrage and settled down, that is, a card and a reward are drawn from the activity page for each click of the barrage, and the delivery and collection logic of the card and the reward are constructed in the activity page.

[0075] The existing various barrages will be repeatedly displayed on the screen when the progress is dragged and the canvas size is changed, and the interaction mode during the movement is single, so a new barrage display and interaction mode needs to be implemented. When implementing, the scalability needs to be considered to facilitate subsequent reuse. The activity page called after the user clicks the barrage cannot communicate with the barrage, only has ordinary jumping ability, and the activity page needs to adapt to the size of different mobile phones and floating layers, which has a high development cost.

[0076] Therefore, the present application aims to provide a display control method of barrage data, comprising: in the case of playing a first video in a video playing interface, receiving resource data related to a preset barrage sent by a server; displaying the preset barrage in the video playing interface according to the resource data; in response to a triggering operation on the preset barrage, switching the display style of the preset barrage, and displaying a preset page in the form of a floating layer on the video playing interface according to the resource data. Thus, by issuing the preset barrage based on the article dimension, the preset barrage can be an activity business related barrage, the display style is switched before and after the user triggers the preset barrage, and the preset page in various playing scenes is pulled up based on the floating layer container, realizing a new barrage display and interaction mode of the activity business diversion barrage. The activity page is displayed in the form of a floating layer, and does not need to be developed to adapt to the size of different terminal devices and floating layer containers, which can effectively reduce the development cost. By configuring different resource data for the preset barrage, the internal logic of the activity page is controlled by using the preset barrage, avoiding the situation that the activity page cannot communicate with the barrage, for example, whether to display the activity page navigation bar and whether to display the activity page close button are controlled by the activity link parameter in the resource data, and the lottery is triggered after the activity page is opened.

[0077] The present application provides a plurality of embodiments to further introduce the display control scheme of barrage data, which is specifically described below.

[0078] In the description of the present application, it should be understood that the reference numerals before the steps do not identify the order of execution of the steps, but are only used for the convenience of describing the present application and distinguishing each step, and therefore cannot be understood as a limitation of the present application.

[0079] The following is the explanation of the terms of the present application:

[0080] C end: Client or user end, refers to the server corresponding to the local service for the client program.

[0081] Bullet screen: network language, refers to the comment subtitle popped up in the play window when watching video on the network.

[0082] Special bullet screen: refers to the bullet screen with animation effect and / or interactive ability (such as can click).

[0083] Activity page: refers to a web page opened in the APP, the page has a unique link address, has highly customized content and the ability to communicate with the bullet screen.

[0084] Half-floating layer container: refers to a window that appears on the current video playing page, which is used as a container for activity page after clicking the bullet screen, to display the activity page and not to interrupt the video playing.

[0085] Figure 1 schematically shows an environmental application diagram according to an embodiment of the present application. As shown in Figure 1:

[0086] The computer device 10000 can connect the client 30000 through the network 20000.

[0087] The computer device 10000 can provide services, such as network debugging, or return the display control result data of the bullet screen data to the client 30000, etc.

[0088] The computer device 10000 can be located in a data center such as a single site, or distributed in different geographical locations (for example, in multiple sites). The computer device 10000 can provide services via one or more networks 20000. The network 20000 includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices and / or the like. The network 20000 can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, combinations thereof, etc. The network 20000 can include wireless links, such as cellular links, satellite links, Wi-Fi links, etc.

[0089] The computer device 10000 can be implemented by one or more computing nodes. The one or more computing nodes can include virtualized computing instances. The virtualized computing instances can include virtual machines, e.g., emulations of computer systems, operating systems, servers, etc. The computing nodes can load the virtual machines based on virtual images and / or other data defining specific software (e.g., operating systems, specialized applications, servers) for emulation. Different virtual machines can be loaded and / or terminated on the one or more computing nodes as demand for different types of processing services changes. A hypervisor can be implemented to manage use of different virtual machines on the same computing node.

[0090] The client 30000 can be configured to access content and services of the computer device 10000. The client 30000 can include any type of electronic device, such as a mobile device, a tablet device, a laptop computer, a workstation, a virtual reality device, a gaming device, a set-top box, a digital streaming media device, a vehicle terminal, a smart television, a set-top box, etc.

[0091] The client 30000 can output (e.g., display, render, present) display control result data of the barrage data, etc. to a user.

[0092] A network debugging scheme will be introduced below through multiple embodiments. The scheme can be implemented by the computer device 10000.

[0093] Embodiment One

[0094] FIG. 2 schematically shows a flowchart of a display control method of barrage data according to Embodiment One of the present application. It includes steps S202-S206, wherein,

[0095] Step S202, in the case of playing a first video in a video playing interface, receiving resource data related to a preset barrage sent by a server end;

[0096] The preset barrage is a preset barrage related to an activity service, used for diverting traffic for the activity service. The activity service can be a card game card drawing activity, or a game prize drawing activity, etc. The preset barrage carries the play function of various activity services.

[0097] In the present embodiment, the preset barrage can be issued based on the dimension of a video article. The preset barrage is bound with the first video, which can be any article in the video platform associated with the preset barrage. When the server end detects that a user plays the first video, it issues resource data related to the preset barrage to the client.

[0098] The resource data is used to define a display condition, a display mode of the preset barrage, and internal logic related to a business activity associated with the barrage. Specifically, the resource data can include a barrage special effect identifier, a display time, a display position, an exposure frequency, an exposure duration, an animation resource link, an animation frame rate, an activity jump link, and / or a link jump mode.

[0099] The barrage special effect identifier is used to uniquely identify the barrage. The display condition of the preset barrage is defined by the display time and the exposure frequency fields. The display mode is defined by the display position and the exposure duration fields. The internal logic related to the business activity associated with the barrage is defined by the animation resource link, the animation frame rate, the activity jump link, and / or the link jump mode fields. In addition, the resource data supports autonomous setting, and can be individually configured according to the needs of the activity business in implementation. The embodiment of the present application does not make a specific limitation in this regard.

[0100] In step S204, the preset barrage is displayed in the video playing interface according to the resource data.

[0101] Specifically, when the first video is played, whether the display condition of the preset barrage configured in the resource data is met is detected in real time. If the display condition of the preset barrage is met, the preset barrage can be displayed in the video playing interface according to the resource data. For example, the display time is limited to the 30th second of the video playing by the display time field in the resource data. When the first video is played to the 30th second, the preset barrage is displayed in the video playing interface.

[0102] In step S206, in response to a trigger operation for the preset barrage, the display style of the preset barrage is switched, and a preset page is displayed in the form of a floating layer on the video playing interface according to the resource data.

[0103] In the embodiment, the user can switch the barrage style and pull up the preset page by performing a trigger operation on the preset barrage. The trigger operation can include clicking, double-clicking, or long pressing, and the embodiment does not make a specific limitation in this regard. After receiving the trigger operation for the preset barrage, the client switches the display style of the preset barrage by responding to the trigger operation, and displays the preset page in the form of a floating layer on the video playing interface according to the resource data. The preset page is a pre-set activity page related to the activity business.

[0104] In a specific implementation, the preset barrage in the resource data is configured with two display styles, one is a display style before the barrage is triggered, and the other is a display style after the barrage is triggered, and the preset barrage is switched from the display style before being triggered to the display style after being triggered in response to a triggering operation on the preset barrage. In addition, after the display style of the preset barrage is switched, the preset page can also be displayed in the form of a floating layer on the video playing interface according to the resource data through a semi-floating layer container, so that development is not required to adapt to the sizes of different terminal devices and floating layer containers, and development cost can be effectively reduced.

[0105] The following provides several optional embodiments to optimize the display control method of the barrage data, as follows:

[0106] In a preferred embodiment of the present application, the method can further include the following steps:

[0107] In the case of displaying the preset barrage, in response to an adjustment operation on the canvas parameter corresponding to the video playing interface, the current display position of the preset barrage is obtained; the target display position is determined according to the current display position, and the preset barrage is displayed in the video playing interface after the canvas parameter is adjusted according to the target display position.

[0108] In the present embodiment, in the case of displaying the preset barrage, the user can adjust the canvas parameter corresponding to the video playing interface, for example, the canvas of the video playing interface is in a vertical screen state initially, and the user can adjust the canvas of the video playing interface to a horizontal screen state. After receiving the adjustment operation of the user on the canvas parameter corresponding to the video playing interface, the client obtains the current display position of the preset barrage in response to the adjustment operation on the canvas parameter corresponding to the video playing interface, and then determines the target display position according to the current display position, and displays the preset barrage in the video playing interface after the canvas parameter is adjusted according to the target display position.

[0109] In a preferred embodiment of the present application, before step S204, the method can further include the following steps:

[0110] In response to a first operation on the preset barrage, an uninterested label is added to the preset barrage; wherein the server end is configured to stop sending the resource data to the client based on the uninterested label.

[0111] The first operation can be an operation of setting the preset barrage as uninterested. For example, the user can display a setting control related to the preset barrage by long pressing the preset barrage, and the preset barrage can be set as "uninterested" through the setting control. The client adds an uninterested label to the preset barrage after detecting the first operation on the preset barrage. In a specific implementation, the server side can record the "uninterested" state set by the user, and no longer issue preset barrage related resource data to the client, so that the client no longer displays the preset barrage.

[0112] In a preferred embodiment of the present application, the step S206 can include the following steps:

[0113] In the case where the preset barrage has not been triggered, the preset page is displayed on the video playing interface in a floating manner according to the resource data.

[0114] In the present embodiment, the user appears only once in each video with the preset page associated with the preset barrage. After the preset barrage is displayed, whether the preset barrage has been triggered is judged. In the case where the preset barrage has not been triggered, the preset page is displayed on the video playing interface in a floating manner according to the resource data. In the case where the preset barrage has been triggered, the display of the preset page is cancelled.

[0115] In a preferred embodiment of the present application, the preset page includes a closing control, and the method can further include the following steps:

[0116] In response to a second operation acting on the closing control, the display of the preset page is cancelled.

[0117] In the present embodiment, the preset page can include a closing control for closing the preset page displayed in a floating manner. The user can perform a second operation on the closing control, where the second operation can include clicking, double-clicking, or long pressing, and the present embodiment does not make specific limitations thereon. After receiving the second operation acting on the closing control, the client responds to the second operation to cancel the display of the preset page.

[0118] In a preferred embodiment of the present application, the preset barrage has a corresponding activity prize, and the method can further include the following steps:

[0119] After the preset page is displayed, the activity prize is issued to the account of the user.

[0120] In the present embodiment, the preset barrage can carry the function of an activity play, such as a card game draw play or a draw play of various games, etc. In order to make the card collection and draw play in a large-scale activity. Specifically, the play rules when the user triggers the preset barrage are as follows:

[0121] The user finds and triggers the preset barrage in the first video, pulls up the semi-floating activity page, and immediately obtains an activity prize, for example, the activity prize can be a reward / a card, etc. The user has X opportunities (following the upper limit of the number of exposures of the barrage, for example, 8 times) per day to trigger the preset barrage and obtain the activity prize, and the drawing rule follows the activity play.

[0122] In a preferred embodiment of the present application, after the step S202, the method can further include the following steps:

[0123] Creating a barrage view corresponding to the preset barrage.

[0124] The barrage view is used to realize the display of the preset barrage in the video playing interface.

[0125] In a preferred embodiment of the present application, after the step S202, the method can further include the following steps:

[0126] Creating a moving Action for the preset barrage; and controlling the movement of the preset barrage through the moving Action.

[0127] In the embodiment, since the sequence frame animation is set for the preset barrage, in order to facilitate the control of the preset barrage and the sequence frame animation respectively, after the display of the preset barrage, a moving Action can be created for the preset barrage, and the movement of the preset barrage is controlled through the moving Action. The Action class is a bridge between user requests and business logic, and each Action acts as a business agent of a client. The moving Action is an Action class used to control the movement of the barrage.

[0128] In a preferred embodiment of the present application, after the step S202, the method further includes:

[0129] Displaying a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data.

[0130] In the embodiment, while the preset barrage is displayed, a sequence frame animation corresponding to the preset barrage can also be displayed in the video playing interface according to the resource data, for example, the activity business carried by the preset barrage is a dragon egg activity, and the sequence frame animation is designed as a dragon egg style animation.

[0131] In a preferred embodiment of the present application, after the step of displaying the sequence frame animation corresponding to the preset barrage, the method further includes:

[0132] create an animation Action for the preset barrage; and control the sequence frame animation corresponding to the preset barrage to play through the animation Action.

[0133] In this embodiment, after the sequence frame animation corresponding to the preset barrage is displayed, an animation Action can be created for the preset barrage, and the sequence frame animation corresponding to the preset barrage is controlled to play through the animation Action. The animation Action is an Action class used to control the sequence frame animation to play.

[0134] In a preferred embodiment of the present application, the method can further include the following steps:

[0135] In the case where the sequence frame animation corresponding to the preset barrage is played, in response to a pause operation for the first video, the preset barrage is stopped from moving, and the sequence frame animation corresponding to the preset barrage continues to play.

[0136] In this embodiment, in the case where the sequence frame animation corresponding to the preset barrage is played, if the user pauses the first video, the preset barrage stops moving, and the sequence frame animation continues to play. Through the client, after receiving the pause operation for the first video, the pause operation is responded to, the preset barrage is stopped from moving, and the sequence frame animation corresponding to the preset barrage continues to play.

[0137] In a preferred embodiment of the present application, the step of stopping the preset barrage from moving in response to the pause operation for the first video can include the following steps:

[0138] In response to the pause operation for the first video, the moving Action is deleted to control the preset barrage to stop moving.

[0139] In this embodiment, through the client, after receiving the pause operation for the first video, the pause operation is responded to, the moving Action is deleted to control the preset barrage to stop moving. The animation Action is normally executed to continue to control the sequence frame animation to play.

[0140] It can be understood that, since the sequence frame animation is set for the preset barrage, if the speed of the barrage view is directly set to 0 when the first video is paused, the preset barrage stops moving, and the sequence frame animation also stops playing, which does not meet the expectation. In order to facilitate the control of the preset barrage and the sequence frame animation respectively, two Actions, i.e., the moving Action and the animation Action, are created for the preset barrage. When the first video is paused, the moving Action is deleted, and the sequence frame Action is normally executed.

[0141] In a preferred embodiment of the present application, the method can further include the following steps:

[0142] In response to the resuming play operation for the first video, a moving Action is created for the preset BGM; and the moving Action is used to control the preset BGM to continue moving.

[0143] In the embodiment, when the first video resumes playing, the client creates a moving Action for the preset BGM in response to the resuming play operation for the first video, from the previous playing position of the preset BGM; and the moving Action is used to control the preset BGM to continue moving.

[0144] In a preferred embodiment of the present application, the resource data related to the preset BGM sent by the server includes:

[0145] The server determines whether the preset BGM exists in the first video; and if the preset BGM exists in the first video and the number of exposures of the preset BGM in the first video does not exceed a preset number, the server sends the resource data related to the preset BGM to the client.

[0146] In the embodiment, the number of exposures of the preset BGM is controlled by the server, and after the client displays (exposes) the preset BGM, the client sends a message to the server to inform the server that the number of exposures of the corresponding user is increased by 1. When the user watches the first video by using the client, the server determines whether the preset BGM exists in the first video; and if the preset BGM exists in the first video and the number of exposures of the preset BGM in the first video does not exceed a preset number, the server sends the resource data related to the preset BGM to the client.

[0147] The preset number is used to limit the number of exposures of the preset BGM to the user. For example, if the preset number is 8, as long as the server determines that the number of exposures of the preset BGM in the first video does not exceed 8, the server automatically sends the resource data related to the preset BGM to the client. In a specific implementation, the number of exposures of the preset BGM to the user within a period of time can be further designed, that is, the number of exposures of the preset BGM in the first video within a period of time is counted, for example, the number of exposures within 00:00 to 23:59 every day is counted, and if the number of exposures within the day exceeds the preset number, the server no longer sends the resource data related to the preset BGM to the client.

[0148] In a preferred embodiment of the present application, the resource data includes: a BGM special effect identifier, a display time, a display position, a number of exposures, an exposure duration, an animation resource link, an animation frame rate, an activity jump link, and a link jump manner.

[0149] In a preferred embodiment of the present application, the step S204 can include the following steps:

[0150] obtaining a current playing time of the first video; and in a case where the current playing time meets the display time and the preset barrage has not been displayed in the first video, displaying the preset barrage in the video playing interface according to the display position and the exposure time length.

[0151] In this embodiment, the display of the preset barrage is limited by the display position and the exposure time length in the resource data. When the preset barrage needs to be displayed, the current playing time of the first video is obtained; and in a case where the current playing time meets the display time and the preset barrage has not been displayed in the first video, the preset barrage is displayed in the video playing interface according to the display position and the exposure time length.

[0152] In a preferred embodiment of the present application, the displaying the sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data comprises:

[0153] displaying the sequence frame animation corresponding to the preset barrage in the video playing interface according to the animation resource link and the animation frame rate.

[0154] In this embodiment, the display of the sequence frame animation corresponding to the preset barrage is limited by the animation resource link and the animation frame rate in the resource data. When the sequence frame animation corresponding to the preset barrage needs to be displayed, the sequence frame animation corresponding to the preset barrage is displayed in the video playing interface according to the animation resource link and the animation frame rate.

[0155] In a preferred embodiment of the present application, the displaying the preset page in the video playing interface in the form of a floating layer according to the resource data comprises:

[0156] displaying the preset page in the video playing interface in the form of a floating layer according to the activity jump link and the link jump mode.

[0157] In this embodiment, the display of the preset page corresponding to the preset barrage is limited by the activity jump link and the link jump mode in the resource data. When the preset page needs to be displayed, the preset page is displayed in the video playing interface in the form of a floating layer according to the activity jump link and the link jump mode.

[0158] In order to further explain the display control method of the barrage data of the present embodiment, the preset barrage is taken as the barrage related to the Long Egg activity, and as shown in FIG. 3, a step flow chart of another display control method of barrage data is shown, which can specifically include the following steps:

[0159] In this embodiment, when the user starts watching the video, the server side discovers that the video has active BGM and issues resource data related to the active BGM to the client side. When the user plays to the time point (i.e. display time) at which the active BGM should appear, and when the active BGM has not been displayed in the currently played video, a sequence frame BGM floats from right to left at a fixed height. Thereafter, the user returns to the time again and the active BGM is no longer displayed. During the display of the active BGM:

[0160] After the user clicks the active BGM, the sequence frame style is immediately switched, and the active page floating layer is pulled up, and then the active BGM is no longer responsive to the click;

[0161] When the user actively pauses the video, the active BGM no longer moves, but the sequence frame animation continues to play;

[0162] When the user rotates the screen, the new display position is calculated according to the current BGM position, so that the transition is natural.

[0163] When the video is paused, if the speed of the active BGM view (View) is directly set to 0, the sequence frame animation will also be paused, which is not expected. To achieve this, two Actions need to be created for this BGM view: a moving Action and an animation Action. When the video is paused, the moving Action is deleted, and the animation Action is normally executed. After the video is resumed, the moving Action is recreated for the BGM view from the current position.

[0164] In the specific implementation, in order to improve the user's active participation and at the same time protect the user's viewing experience, the exposure and return rules of the BGM are designed as follows:

[0165] ■The active BGM is exposed at the 5s of the target video (this time point can be configured).

[0166] ■After the user exits and enters the same video, as long as the exposure limit has not been reached, the active BGM will still be exposed.

[0167] ■The active BGM appears only once in each video, and the active BGM does not appear repeatedly when the progress bar is sought back.

[0168] ■BGM exit: for each user identifier MID, the daily exposure limit of the BGM is 8 times (the counting time is 00:00 every day); this exposure limit can be configured and is associated with the active play; at the same time, if the user sets "not interested" in the active, the active BGM will no longer be exposed to the user.

[0169] In addition, in order to make the active BGM carry the function of the active play, and to make the play of the active prize sink in large-scale activities, the play rules of clicking the BGM are designed as follows:

[0170] ■The user finds and clicks the active BGM in the video, pulls up the semi-floating active page, and immediately gets an active prize, such as a reward / a card. The user has X opportunities (following the upper limit of the exposure of the active BGM) to click the active BGM every day and get the active BGM, and the drawing rules follow the design of the active play.

[0171] As shown in FIG. 4, a schematic diagram of the display style of an active BGM before being clicked is shown. As shown in FIG. 5, a schematic diagram of the display style of an active BGM after being clicked is shown. As can be seen by comparing FIG. 4 and FIG. 5, after clicking the active BGM, the semi-floating active page is immediately pulled up, and the BGM style changes from

before clicking

after clicking

[0172] In addition, as shown in FIG. 6, it can also be controlled by parameters whether to show the closing ability of the semi-screen container itself. Clicking the closing control will close the current semi-screen container. The active page can obtain the link parameter configured by the active BGM to read the parameter control whether to display the active page navigation and control whether to draw the prize. As shown in FIG. 7, a schematic diagram of showing the drawing result when the prize scene triggers the drawing logic is shown. As shown in FIG. 8, a schematic diagram of showing the play guide when there is no prize scene is shown.

[0173] Embodiment Two

[0174] FIG. 9 schematically shows a block diagram of a BGM data display control device according to Embodiment Two of the present application. The BGM data display control device can be divided into one or more program modules, which are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application are a series of computer readable instruction segments capable of completing a specific function. The functions of the program modules in the embodiments of the present application will be specifically described below.

[0175] As shown in FIG. 9, the BGM data display control device 900 can include the following modules:

[0176] The resource data receiving module 910 is configured to receive resource data related to a preset BGM sent by a server side in a case where a first video is played in a video playing interface.

[0177] The preset BGM display module 920 is configured to display the preset BGM in the video playing interface according to the resource data.

[0178] The preset page display module 930 is configured to switch the display style of the preset BGM in response to a triggering operation on the preset BGM, and display a preset page in the form of a floating layer on the video playing interface according to the resource data.

[0179] In a preferred embodiment of the present application, the device further comprises:

[0180] The current display position acquisition module is configured to, in a case where the preset barrage is displayed, acquire a current display position of the preset barrage in response to an adjustment operation on a canvas parameter corresponding to the video playing interface.

[0181] The barrage position adjustment module is configured to determine a target display position according to the current display position, and display the preset barrage in the video playing interface after the canvas parameter is adjusted according to the target display position.

[0182] In an embodiment of the present application, the device further comprises:

[0183] The uninterested label adding module is configured to add an uninterested label to the preset barrage in response to a first operation on the preset barrage, and the server is configured to stop sending the resource data to the client based on the uninterested label.

[0184] In an embodiment of the present application, the preset page display module 930 comprises:

[0185] The preset page display sub-module is configured to display a preset page on a video playing interface in a floating manner according to the resource data in a case where the preset barrage is not triggered.

[0186] In an embodiment of the present application, the preset page comprises a closing control, and the device further comprises:

[0187] The preset page display canceling module is configured to cancel the display of the preset page in response to a second operation on the closing control.

[0188] In an embodiment of the present application, the preset barrage has a corresponding activity prize, and the device further comprises:

[0189] The activity prize issuing module is configured to issue the activity prize to an account of a user after the preset page is displayed.

[0190] In an embodiment of the present application, the device further comprises:

[0191] The mobile Action creating module is configured to create a mobile Action for the preset barrage.

[0192] The barrage moving control module is configured to control the preset barrage to move through the mobile Action.

[0193] In an embodiment of the present application, the device further comprises:

[0194] The sequence frame animation display module is configured to display a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data.

[0195] In a preferred embodiment of the present application, the device further comprises:

[0196] The animation Action creation module is configured to create an animation Action for the preset barrage.

[0197] The animation playing control module is configured to control playing of the sequence frame animation corresponding to the preset barrage through the animation Action.

[0198] In a preferred embodiment of the present application, the device further comprises:

[0199] The control barrage stop moving module is configured to, in a case where the sequence frame animation corresponding to the preset barrage is played, stop moving the preset barrage and continue playing the sequence frame animation corresponding to the preset barrage in response to a pause operation for the first video.

[0200] In a preferred embodiment of the present application, the control barrage stop moving module comprises:

[0201] The control barrage stop moving submodule is configured to delete the moving Action in response to the pause operation for the first video, so as to control the preset barrage to stop moving.

[0202] In a preferred embodiment of the present application, the device further comprises:

[0203] The moving Action creation module is configured to create a moving Action for the preset barrage in response to a resume playing operation for the first video.

[0204] The control barrage continue moving module is configured to control the preset barrage to continue moving through the moving Action.

[0205] In a preferred embodiment of the present application, the resource data comprises a barrage special effect identifier, a display time, a display position, an exposure frequency, an exposure time length, an animation resource link, an animation frame rate, an activity jump link, and a link jump manner.

[0206] In a preferred embodiment of the present application, the receiving of the resource data related to the preset barrage sent by the server side comprises:

[0207] judging, by the server, whether the preset bullet screen exists in the first video; in a case where the preset bullet screen exists in the first video and the number of exposures of the preset bullet screen in the first video does not exceed a preset number, sending, to the client, resource data related to the preset bullet screen.

[0208] In an embodiment of the present application, the preset bullet screen display module 920 comprises:

[0209] a video playing time obtaining sub-module, configured to obtain a current playing time of the first video;

[0210] a preset bullet screen display sub-module, configured to, in a case where the current playing time meets the display time and the preset bullet screen has not been displayed in the first video, display the preset bullet screen in the video playing interface according to the display position and the exposure time length.

[0211] In an embodiment of the present application, the sequence frame animation display module comprises:

[0212] a sequence frame animation display sub-module, configured to display the sequence frame animation corresponding to the preset bullet screen in the video playing interface according to the animation resource link and the animation frame rate.

[0213] In an embodiment of the present application, the preset page display module 930 comprises:

[0214] a preset page display sub-module, configured to display the preset page in the video playing interface in the form of a floating layer according to the activity jump link and the link jump mode.

[0215] Embodiment Three

[0216] FIG. 10 schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing the display control method of the bullet screen data according to Embodiment Three of the present application. In the present embodiment, the computer device 10000 is a device capable of automatically performing numerical calculation and / or information processing according to pre-set or stored instructions. For example, it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server or a rack-mounted server (including a FEN independent server or a server cluster composed of multiple servers), etc. As shown in FIG. 10, the computer device 10000 at least includes but is not limited to a memory 10010, a processor 10020 and a network interface 10030 which can be linked and communicated through a system bus. Among them:

[0217] The memory 10010 includes at least one type of computer-readable storage media, such as a flash memory, a hard disk, a multimedia card (e.g., SD or DX memory, and the like), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the memory 10010 can be an internal memory module of the computer device 10000, such as a hard disk or a memory of the computer device 10000. In other embodiments, the memory 10010 can also be an external memory device of the computer device 10000, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Of course, the memory 10010 can include both an internal memory module and an external memory device of the computer device 10000. In this embodiment, the memory 10010 is generally used to store an operating system and various application programs installed in the computer device 10000, such as program codes of the display control method of the barrage data, and the like. In addition, the memory 10010 can also be used to temporarily store various data that have been output or will be output.

[0218] The processor 10020 can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication of the computer device 10000, and the like. In this embodiment, the processor 10020 is used to run program codes or process data stored in the memory 10010.

[0219] The network interface 10030 can include a wireless network interface or a wired network interface, which is usually used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 with an external terminal through a network, establish a data transmission channel and a communication link between the computer device 10000 and the external terminal, and the like. The network can be an Intranet, the Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, Wi-Fi, and the like wireless or wired network.

[0220] It should be noted that FIG. 10 only shows the computer device with components 10010-10030, but it should be understood that all the shown components are not required to be implemented, and more or fewer components can be alternatively implemented.

[0221] In the embodiment, the display control method of the barrage data stored in the memory 10010 can also be divided into one or more program modules, and executed by one or more processors (the processor 10020 in the embodiment) to complete the embodiments of the present application.

[0222] Embodiment Four

[0223] The embodiments of the present application also provide a computer readable storage medium, which stores computer readable instructions, and the computer readable instructions can be executed by at least one processor to make the at least one processor execute the following steps:

[0224] In the case of playing a first video in a video playing interface, receiving resource data related to a preset barrage sent by a server end;

[0225] According to the resource data, the preset barrage is displayed in the video playing interface;

[0226] In response to a triggering operation on the preset barrage, the display style of the preset barrage is switched, and a preset page is displayed in a floating manner on the video playing interface according to the resource data.

[0227] In this embodiment, the computer readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read only memory (ROM), an electrically erasable programmable read only memory (EEPROM), a programmable read only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the computer readable storage medium can be an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium can also be an external storage device of the computer device, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Of course, the computer readable storage medium can also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer readable storage medium is usually used to store an operating system and various application software installed on the computer device, for example, program codes of the display control method of the barrage data in the embodiments, etc. In addition, the computer readable storage medium can also be used to temporarily store various data that have been output or will be output.

[0228] Embodiment five

[0229] The embodiments of the present application also provide a computer program product, comprising computer readable instructions for implementing the following steps when executed by a processor:

[0230] In the case of playing a first video in a video playing interface, receiving resource data related to a preset barrage sent by a server;

[0231] According to the resource data, displaying the preset barrage in the video playing interface;

[0232] In response to a triggering operation on the preset barrage, switching a display style of the preset barrage, and displaying a preset page in a floating layer manner on the video playing interface according to the resource data.

[0233] Obviously, those skilled in the art should understand that each module or each step of the above-mentioned embodiments of the present application can be realized by a general computing device, which can be centralized on a single computing device or distributed on a network composed of multiple computing devices, and optionally, each module or each step can be realized by program codes executable by a computing device, so that each module or each step can be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described can be executed in different order, or each module or each step can be manufactured into an individual integrated circuit module, or multiple modules or steps can be manufactured into a single integrated circuit module. Therefore, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0234] The above is only the preferred embodiments of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation using the content of the specification and drawings of the present application, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for displaying and controlling a barrage data, comprising: receiving resource data related to a preset barrage sent by a server in a case of playing a first video in a video playing interface; displaying the preset barrage in the video playing interface according to the resource data; switching a display style of the preset barrage and displaying a preset page in a floating manner on the video playing interface according to the resource data in response to a triggering operation on the preset barrage. 2.The method of claim 1, further comprising: in a case of displaying the preset barrage, obtaining a current display position of the preset barrage in response to an adjusting operation on a canvas parameter corresponding to the video playing interface; and determining a target display position according to the current display position and displaying the preset barrage in the video playing interface after adjusting the canvas parameter according to the target display position. 3.The method of claim 1, before the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises: adding an uninterested label to the preset barrage in response to a first operation on the preset barrage; wherein the server is configured to stop sending the resource data to the client based on the uninterested label. 4.The method of claim 1, wherein the displaying a preset page in a floating manner on the video playing interface according to the resource data comprises: displaying a preset page in a floating manner on the video playing interface according to the resource data in a case that the preset barrage is not triggered. 5.The method of claim 1, after the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises: creating a moving action for the preset barrage; and controlling the preset barrage to move through the moving action. 6.The method of claim 5, after the step of displaying the preset barrage, the method further comprises: displaying a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data. 7.The method of claim 6, after the step of displaying the sequence frame animation corresponding to the preset barrage, the method further comprises: creating an animation action for the preset barrage; and controlling the sequence frame animation corresponding to the preset barrage to play through the animation action. 8.The method of claim 7, further comprising: stopping moving the preset barrage and continuing to play the sequence frame animation corresponding to the preset barrage in response to a pause operation on the first video in a case of playing the sequence frame animation corresponding to the preset barrage. 9.The method of claim 8, wherein the stopping moving the preset barrage in response to the pause operation on the first video comprises: ​ In response to a pause operation for the first video, the mobile Action is deleted to control the preset barrage to stop moving.

10. The display control method of the barrage data according to claim 9, further comprising: In response to a resume play operation for the first video, a mobile Action is created for the preset barrage; The preset barrage is controlled to continue moving through the mobile Action.

11. The display control method of the barrage data according to claim 1, wherein the resource data related to the preset barrage sent by the server side comprises: The server side determines whether the preset barrage exists in the first video; When the preset barrage exists in the first video and the exposure times of the preset barrage in the first video do not exceed a preset number of times, the resource data related to the preset barrage is sent to the client.

12. The display control method of the barrage data according to claim 1, wherein the preset barrage is displayed in the video playing interface according to the resource data, comprising: The current playing time of the first video is obtained; When the current playing time meets the display time and the preset barrage has not been displayed in the first video, the preset barrage is displayed in the video playing interface according to the display position and the exposure time length.

13. The display control method of the barrage data according to claim 1, wherein the sequence frame animation corresponding to the preset barrage is displayed in the video playing interface according to the resource data, comprising: The sequence frame animation corresponding to the preset barrage is displayed in the video playing interface according to the animation resource link and the animation frame rate.

14. The display control method of the barrage data according to claim 1, wherein the preset page is displayed in the video playing interface in a floating layer manner according to the resource data, comprising: The preset page is displayed in the video playing interface in a floating layer manner according to the activity jump link and the link jump manner.

15. A display control device of barrage data, comprising: a resource data receiving module, configured to receive resource data related to a preset barrage sent by a server side when a first video is played in a video playing interface; a preset barrage display module, configured to display the preset barrage in the video playing interface according to the resource data; a preset page display module, configured to switch a display style of the preset barrage in response to a trigger operation for the preset barrage, and display a preset page in a floating layer manner on the video playing interface according to the resource data.

16. The display control device of barrage data according to claim 15, further comprising: a current display position obtaining module, configured to obtain a current display position of the preset barrage in response to an adjustment operation for a canvas parameter corresponding to the video playing interface when the preset barrage is displayed; a barrage position adjustment module, configured to determine a target display position according to the current display position, and display the preset barrage in the video playing interface after the canvas parameter is adjusted according to the target display position.

17. The device according to claim 15, further comprising: a tag-not-interested adding module, configured to add a tag-not-interested to the preset barrage in response to a first operation on the preset barrage; and wherein the server is configured to stop sending the resource data to the client based on the tag-not-interested.

18. The device according to claim 15, wherein the preset page display module comprises: a preset page display sub-module, configured to display a preset page on a video playing interface in a floating manner according to the resource data when the preset barrage is not triggered.

19. The device according to claim 15, further comprising: a mobile Action creating module, configured to create a mobile Action for the preset barrage; and a barrage moving control module, configured to control the preset barrage to move through the mobile Action.

20. The device according to claim 19, further comprising: a sequence frame animation display module, configured to display a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data.

21. The device according to claim 20, further comprising: an animation Action creating module, configured to create an animation Action for the preset barrage; and an animation playing control module, configured to control the sequence frame animation corresponding to the preset barrage to play through the animation Action.

22. The device according to claim 21, further comprising: a control barrage stopping moving module, configured to stop the preset barrage from moving and continue to play the sequence frame animation corresponding to the preset barrage in response to a pause operation on the first video when the sequence frame animation corresponding to the preset barrage is played.

23. The device according to claim 22, wherein the control barrage stopping moving module comprises: a control barrage stopping moving sub-module, configured to delete the mobile Action to control the preset barrage to stop moving in response to the pause operation on the first video.

24. The device according to claim 23, further comprising: a mobile Action creating module, configured to create a mobile Action for the preset barrage in response to a resume playing operation on the first video; and a control barrage continuing moving module, configured to control the preset barrage to continue to move through the mobile Action.

25. The device according to claim 15, wherein the resource data receiving module is specifically configured to: determine whether the preset barrage exists in the first video through the server; and send resource data related to the preset barrage to the client when the preset barrage exists in the first video and the number of exposures of the preset barrage in the first video does not exceed a preset number.

26. The display control apparatus of bullet screen data according to claim 15, wherein the preset bullet screen display module comprises: a video playing time obtaining sub-module, configured to obtain a current playing time of the first video; a preset bullet screen display sub-module, configured to display the preset bullet screen in the video playing interface according to the display position and the exposure time length, in a case that the current playing time meets the display time and the preset bullet screen has not been displayed in the first video.

27. The display control apparatus of bullet screen data according to claim 15, wherein the sequence frame animation display module comprises: a sequence frame animation display sub-module, configured to display a sequence frame animation corresponding to the preset bullet screen in the video playing interface according to the animation resource link and the animation frame rate.

28. The display control apparatus of bullet screen data according to claim 15, wherein the preset page display module comprises: a preset page display sub-module, configured to display a preset page in a floating manner on the video playing interface according to the activity jump link and the link jump mode.

29. A computer device, comprising a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, wherein the processor is configured to implement the following steps when executing the computer readable instructions: in a case that a first video is played in a video playing interface, receiving resource data related to a preset bullet screen sent by a server; displaying the preset bullet screen in the video playing interface according to the resource data; in response to a triggering operation on the preset bullet screen, switching a display style of the preset bullet screen, and displaying a preset page in a floating manner on the video playing interface according to the resource data.

30. The computer device according to claim 29, wherein the method further comprises: in a case that the preset bullet screen is displayed, in response to an adjustment operation on a canvas parameter corresponding to the video playing interface, obtaining a current display position of the preset bullet screen; determining a target display position according to the current display position, and displaying the preset bullet screen in the video playing interface after the adjustment of the canvas parameter according to the target display position.

31. The computer device according to claim 29, wherein before the step of displaying the preset bullet screen in the video playing interface according to the resource data, the method further comprises: in response to a first operation on the preset bullet screen, adding an uninterested label to the preset bullet screen; wherein the server is configured to stop sending the resource data to the client based on the uninterested label.

32. The computer device according to claim 29, wherein the displaying a preset page in a floating manner on the video playing interface according to the resource data comprises: in a case that the preset bullet screen has not been triggered, displaying a preset page in a floating manner on the video playing interface according to the resource data.

33. The computer device according to claim 29, wherein after the step of displaying the preset bullet screen in the video playing interface according to the resource data, the method further comprises: create a moving action for the preset barrage; control the preset barrage to move through the moving action.

34. The computer device of claim 33, after the step of displaying the preset barrage, the method further comprises: displaying a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data.

35. The computer device of claim 34, after the step of displaying the sequence frame animation corresponding to the preset barrage, the method further comprises: creating an animation action for the preset barrage; controlling the sequence frame animation corresponding to the preset barrage to play through the animation action.

36. The computer device of claim 35, the method further comprises: in the case of playing the sequence frame animation corresponding to the preset barrage, in response to a pause operation for the first video, stopping the preset barrage from moving and continuing to play the sequence frame animation corresponding to the preset barrage.

37. The computer device of claim 36, the step of stopping the preset barrage from moving in response to the pause operation for the first video comprises: in response to the pause operation for the first video, deleting the moving action to control the preset barrage to stop moving.

38. The computer device of claim 37, the method further comprises: in response to a resume playing operation for the first video, creating a moving action for the preset barrage; controlling the preset barrage to continue moving through the moving action.

39. The computer device of claim 29, the step of receiving the resource data related to the preset barrage sent by the server side comprises: determining whether the preset barrage exists in the first video through the server side; in the case that the preset barrage exists in the first video and the exposure times of the preset barrage in the first video does not exceed a preset number, sending the resource data related to the preset barrage to the client.

40. The computer device of claim 29, the step of displaying the preset barrage in the video playing interface according to the resource data comprises: obtaining a current playing time of the first video; in the case that the current playing time meets the display time and the preset barrage has not been displayed in the first video, displaying the preset barrage in the video playing interface according to the display position and the exposure time length.

41. The computer device of claim 29, the step of displaying the sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data comprises: displaying the sequence frame animation corresponding to the preset barrage in the video playing interface according to the animation resource link and the animation frame rate.

42. The computer device of claim 29, the step of displaying the preset page in the form of a floating layer on the video playing interface according to the resource data comprises: displaying the preset page in the form of a floating layer on the video playing interface according to the activity jump link and the link jump mode. 43.A computer readable storage medium having computer readable instructions stored therein, the computer readable instructions executable by at least one processor to cause the at least one processor to perform the steps of: receiving resource data related to a preset bullet screen sent by a server in a case that a first video is played in a video playing interface; displaying the preset bullet screen in the video playing interface according to the resource data; and switching a display style of the preset bullet screen and displaying a preset page in a floating manner in the video playing interface according to the resource data in response to a triggering operation on the preset bullet screen. 44.The computer readable storage medium of claim 43, the method further comprising: in a case that the preset bullet screen is displayed, obtaining a current display position of the preset bullet screen in response to an adjustment operation on a canvas parameter corresponding to the video playing interface; determining a target display position according to the current display position, and displaying the preset bullet screen in the video playing interface after the canvas parameter is adjusted according to the target display position. 45.The computer readable storage medium of claim 43, before the step of displaying the preset bullet screen in the video playing interface according to the resource data, the method further comprising: adding an uninterested label to the preset bullet screen in response to a first operation on the preset bullet screen; wherein the server is configured to stop sending the resource data to the client based on the uninterested label. 46.The computer readable storage medium of claim 43, the step of displaying a preset page in a floating manner in the video playing interface according to the resource data comprises: displaying a preset page in a floating manner in the video playing interface according to the resource data in a case that the preset bullet screen is not triggered. 47.The computer readable storage medium of claim 43, after the step of displaying the preset bullet screen in the video playing interface according to the resource data, the method further comprising: creating a moving action for the preset bullet screen; and controlling the preset bullet screen to move through the moving action. 48.The computer readable storage medium of claim 47, after the step of displaying the preset bullet screen, the method further comprising: displaying a sequence frame animation corresponding to the preset bullet screen in the video playing interface according to the resource data. 49.The computer readable storage medium of claim 48, after the step of displaying the sequence frame animation corresponding to the preset bullet screen, the method further comprising: creating an animation action for the preset bullet screen; and controlling the sequence frame animation corresponding to the preset bullet screen to play through the animation action. 50.The computer readable storage medium of claim 49, the method further comprising: in a case that the sequence frame animation corresponding to the preset bullet screen is played, stopping the preset bullet screen from moving and continuing to play the sequence frame animation corresponding to the preset bullet screen in response to a pause operation on the first video. ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ 51.The computer-readable storage medium of claim 50, wherein the stopping the preset BGM from moving in response to a pause operation for the first video comprises: deleting the moving Action in response to a pause operation for the first video to control the preset BGM to stop moving. 52.The computer-readable storage medium of claim 51, wherein the method further comprises: creating a moving Action for the preset BGM in response to a resume play operation for the first video; controlling the preset BGM to continue moving by the moving Action. 53.The computer-readable storage medium of claim 43, wherein the receiving resource data related to the preset BGM sent by a server comprises: determining whether the preset BGM exists in the first video by the server; sending resource data related to the preset BGM to the client in the case that the preset BGM exists in the first video and the exposure times of the preset BGM in the first video does not exceed a preset number. 54.The computer-readable storage medium of claim 43, wherein the displaying the preset BGM in the video playing interface according to the resource data comprises: obtaining a current playing time of the first video; displaying the preset BGM in the video playing interface according to the display position and exposure duration in the case that the current playing time meets the display time and the preset BGM has not been displayed in the first video. 55.The computer-readable storage medium of claim 43, wherein the displaying the sequence frame animation corresponding to the preset BGM in the video playing interface according to the resource data comprises: displaying the sequence frame animation corresponding to the preset BGM in the video playing interface according to the animation resource link and animation frame rate. 56.The computer-readable storage medium of claim 43, wherein the displaying the preset page in the video playing interface in the form of a floating layer according to the resource data comprises: displaying the preset page in the video playing interface in the form of a floating layer according to the activity jump link and link jump mode. 57.A computer program product comprising computer readable instructions, which when executed by a processor, implement the following steps: receiving resource data related to a preset BGM sent by a server in the case that a first video is played in a video playing interface; displaying the preset BGM in the video playing interface according to the resource data; switching the display style of the preset BGM and displaying a preset page in the video playing interface in the form of a floating layer according to the resource data in response to a trigger operation for the preset BGM. 58.The computer program product of claim 57, wherein the method further comprises: in the case that the preset BGM is displayed, obtaining a current display position of the preset BGM in response to an adjustment operation for a canvas parameter corresponding to the video playing interface. determining a target display position according to the current display position, and displaying the preset barrage in the video playing interface after adjusting the canvas parameter according to the target display position.

59. The computer program product of claim 57, before the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises: adding an uninterested label to the preset barrage in response to a first operation on the preset barrage; wherein the server end is configured to stop sending the resource data to the client end based on the uninterested label.

60. The computer program product of claim 57, the step of displaying the preset page in a floating layer on the video playing interface according to the resource data comprises: displaying the preset page in a floating layer on the video playing interface according to the resource data without the preset barrage being triggered.

61. The computer program product of claim 57, after the step of displaying the preset barrage in the video playing interface according to the resource data, the method further comprises: creating a moving Action for the preset barrage; controlling the preset barrage to move through the moving Action.

62. The computer program product of claim 61, after the step of displaying the preset barrage, the method further comprises: displaying a sequence frame animation corresponding to the preset barrage in the video playing interface according to the resource data.

63. The computer program product of claim 62, after the step of displaying the sequence frame animation corresponding to the preset barrage, the method further comprises: creating an animation Action for the preset barrage; controlling the sequence frame animation corresponding to the preset barrage to play through the animation Action.

64. The computer program product of claim 63, the method further comprises: stopping the preset barrage from moving and continuing to play the sequence frame animation corresponding to the preset barrage in response to a pause operation on the first video while the sequence frame animation corresponding to the preset barrage is playing.

65. The computer program product of claim 64, the step of stopping the preset barrage from moving in response to the pause operation on the first video comprises: deleting the moving Action to control the preset barrage to stop moving in response to the pause operation on the first video.

66. The computer program product of claim 65, the method further comprises: creating a moving Action for the preset barrage in response to a resume playing operation on the first video; controlling the preset barrage to continue moving through the moving Action.

67. The computer program product of claim 57, the step of receiving the resource data related to the preset barrage sent by the server end comprises: determining whether the preset barrage exists in the first video through the server end; In a case where preset danmu exists in the first video and the preset danmu has not been exposed in the first video for a preset number of times, resource data related to the preset danmu is sent to the client.

68. The computer program product of claim 57, wherein the displaying the preset danmu in the video playing interface according to the resource data comprises: obtaining a current playing time of the first video; in a case where the current playing time meets the display time and the preset danmu has not been displayed in the first video, displaying the preset danmu in the video playing interface according to the display position and the exposure time length.

69. The computer program product of claim 57, wherein the displaying the preset danmu corresponding sequence frame animation in the video playing interface according to the resource data comprises: displaying the preset danmu corresponding sequence frame animation in the video playing interface according to the animation resource link and the animation frame rate.

70. The computer program product of claim 57, wherein the displaying the preset page in a floating manner on the video playing interface according to the resource data comprises: displaying the preset page in a floating manner on the video playing interface according to the activity jump link and the link jump manner.

Citation Information

Patent Citations

  • Red packet bullet screen playing method and playing system

    CN108401178A

  • Bullet screen key content jumping method and bullet screen jumping method

    CN114615511A

  • Virtual resource processing method and device, equipment and computer readable storage medium

    CN115248651A

  • Information recommendation method and device, electronic equipment and storage medium

    CN116980702A

  • Bullet screen data display control method and device

    CN118764675A