Bullet screen data display control method and device

By receiving and processing preset barrage resource data in the video playback interface, it solves the problems of communication between activity pages and barrage and multi-scenario adaptability, reduces development costs, and realizes new barrage display and interaction methods.

CN118764675APending Publication Date: 2024-10-11SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410890251.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing video playback platform, the activity page pulled up by special barrages cannot communicate with the barrages, and needs to adapt to the sizes of different terminal devices and floating containers, resulting in high development costs.

Method used

In the video playback interface, the preset barrage resource data sent by the server is received, the display style is switched according to the trigger operation, and the preset page is displayed in a floating layer to achieve communication between the preset barrage and the active page and multi-scenario adaptability.

Benefits of technology

It reduces development costs, achieves effective communication and multi-scenario adaptability between barrages and event pages, and provides new barrage display and interaction methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764675A_ABST
    Figure CN118764675A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a bullet screen data display control method and device, and the method comprises the steps: receiving resource data which is transmitted by a server and is related to a preset bullet screen under the condition 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 in response to a trigger operation for the preset bullet screen, switching a display style of the preset bullet screen, and displaying a preset page on the video playing interface in a floating layer manner according to the resource data. By issuing the preset bullet screen based on the manuscript dimension, switching the display style before and after the user triggers the preset bullet screen, and pulling up the preset page in various playing scenes based on the floating layer container, the development does not need to adapt to the sizes of different terminal devices and floating layer containers, so that the development cost can be effectively reduced, and the development efficiency is improved. And different resource data are configured for the preset bullet screen, so that the internal logic of the active page can be controlled by using the preset bullet screen, and the situation that the active page cannot communicate with the bullet screen is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Internet technology, and in particular, to a method, device, computer equipment, and computer-readable storage medium for controlling the display of bullet screen data. Background Art

[0002] Danmu refers to the comment text that floats in the video player. The comment text is formed by users posting comments while watching the video. Therefore, it can be said that the Danmu propagation phenomenon is a typical case of group propagation. At present, during the video playback process, the server can obtain the Danmu information posted by each user on the video, and then add the Danmu information to different time periods of the video. The video playback terminal will display the Danmu for the user during the video playback according to the default Danmu display method. However, this method of displaying Danmu is relatively simple and it is difficult to meet the user's personalized Danmu display and interaction needs.

[0003] In order to enrich the display style and interaction method of barrage, some video playback platforms provide a barrage display method that can pull up an activity page through a special barrage. However, this activity page evoked by triggering the barrage cannot communicate with the barrage and has only ordinary jump capabilities. In addition, the activity page needs to adapt to different terminal devices and the size of the floating container, which greatly increases the development cost. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a display control method, device, computer equipment and computer-readable storage medium for barrage data, which are used to solve the following problems: the active page pulled up by a special barrage communicates with the barrage, and the active page needs to adapt to the size of different terminal devices and floating containers, and the development cost is relatively high.

[0005] One aspect of an embodiment of the present application provides a method for controlling display of bullet screen data, including:

[0006] When playing the first video in the video playback interface, receiving resource data related to the preset bullet screen sent by the server;

[0007] Displaying the preset bullet screen in the video playback interface according to the resource data;

[0008] In response to a triggering operation on the preset bullet screen, the display style of the preset bullet screen is switched, and a preset page is displayed in a floating layer on the video playback interface according to the resource data.

[0009] Optionally, the method further comprises:

[0010] When displaying the preset bullet screen, in response to an adjustment operation of a canvas parameter corresponding to the video playback interface, obtaining a current display position of the preset bullet screen;

[0011] A target display position is determined according to the current display position, and the preset bullet screen is displayed in the video playback interface after the canvas parameters are adjusted according to the target display position.

[0012] Optionally, before the step of displaying the preset bullet screen in the video playback interface according to the resource data, the method further includes:

[0013] In response to a first operation on the preset barrage, a non-interest tag is added to the preset barrage; wherein the server is used to stop sending the resource data to the client based on the non-interest tag.

[0014] Optionally, displaying a preset page in a floating layer manner on the video playback interface according to the resource data includes:

[0015] In the case where the preset bullet screen has not been triggered, the preset page is displayed in a floating layer on the video playback interface according to the resource data.

[0016] Optionally, after the step of displaying the preset bullet screen in the video playback interface according to the resource data, the method further includes:

[0017] Create a mobile Action for the preset bullet screen;

[0018] The movement of the preset bullet screen is controlled by the movement Action.

[0019] Optionally, after the step of displaying the preset bullet screen, the method further includes:

[0020] The sequence frame animation corresponding to the preset barrage is displayed in the video playback interface according to the resource data.

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

[0022] Create an animation Action for the preset bullet screen;

[0023] The animation Action is used to control the playback of the sequence frame animation corresponding to the preset bullet screen.

[0024] Optionally, the method further comprises:

[0025] When the sequence frame animation corresponding to the preset barrage is played, in response to a pause operation on the first video, the preset barrage is stopped from being moved, and the sequence frame animation corresponding to the preset barrage is continued to be played.

[0026] Optionally, in response to a pause operation on the first video, stopping moving the preset bullet screen includes:

[0027] In response to a pause operation on the first video, the movement Action is deleted to control the preset bullet screen to stop moving.

[0028] Optionally, the method further comprises:

[0029] In response to the resume playback operation for the first video, creating a move Action for the preset bullet comment;

[0030] The preset bullet screen is controlled to continue moving through the movement Action.

[0031] Optionally, the receiving of resource data related to the preset bullet screen sent by the server includes:

[0032] The server determines whether the preset barrage exists in the first video; if the preset barrage exists in the first video and the exposure times of the preset barrage in the first video do not exceed the preset times, the resource data related to the preset barrage is sent to the client.

[0033] Optionally, displaying the preset bullet screen in the video playback interface according to the resource data includes:

[0034] Obtaining the current playback time of the first video;

[0035] When the current playback 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 playback interface according to the display position and exposure duration.

[0036] Optionally, displaying the sequence frame animation corresponding to the preset barrage in the video playback interface according to the resource data includes:

[0037] According to the animation resource link and the animation frame rate, the sequence frame animation corresponding to the preset barrage is displayed in the video playback interface.

[0038] Optionally, displaying a preset page in a floating layer manner on the video playback interface according to the resource data includes:

[0039] According to the activity jump link and link jump method, the preset page is displayed in a floating layer on the video playback interface.

[0040] One aspect of an embodiment of the present application further provides a display control device for bullet screen data, including:

[0041] A resource data receiving module, used for receiving resource data related to a preset bullet screen sent by a server when playing a first video in a video playing interface;

[0042] A preset bullet screen display module, used to display the preset bullet screen in the video playback interface according to the resource data;

[0043] The preset page display module is used to switch the display style of the preset barrage in response to the trigger operation of the preset barrage, and display the preset page in a floating layer on the video playback interface according to the resource data.

[0044] One aspect of an embodiment of the present application provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the display control method of barrage data as described above are implemented.

[0045] One aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program can be executed by at least one processor so that the at least one processor implements the steps of the display control method of barrage data as described above when executing the computer program.

[0046] One aspect of an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the display control method of barrage data as described above.

[0047] The display control method, device, equipment and computer-readable storage medium of the barrage data provided in the embodiments of the present application, by issuing preset barrages based on the manuscript dimension, the preset barrages can be barrages related to the activity business, switching the display style before and after the user triggers the preset barrages, and pulling up the preset pages in various playback scenarios based on the floating container, realizing the new barrage display and interaction mode of the activity business diversion barrage, the activity page is displayed in a floating way, and does not need to adapt to the size of different terminal devices and floating containers for development, which can effectively reduce the development cost. By configuring different resource data for the preset barrages, it is possible to use the preset barrages to control the internal logic of the activity page, avoiding the inability of the activity page to communicate with the barrage. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A diagram schematically shows an application environment of a method for controlling the display of bullet screen data according to an embodiment of the present application;

[0049] Figure 2 The flowchart schematically shows a method for controlling the display of bullet screen data according to the first embodiment of the present application;

[0050] Figure 3 A flowchart schematically shows another method for controlling the display of bullet screen data;

[0051] Figure 4 A schematic diagram schematically shows a display style of an active bullet screen before being clicked;

[0052] Figure 5 A schematic diagram schematically shows a display style of an active bullet screen after being clicked;

[0053] Figure 6 A schematic diagram schematically shows a close control corresponding to a display activity page;

[0054] Figure 7 A schematic diagram showing a lottery result when a lottery logic is triggered by a reward scenario is shown;

[0055] Figure 8 A schematic diagram of a gameplay guide for triggering a non-reward scenario is schematically shown;

[0056] Fig. 9 A block diagram schematically shows a display control device for bullet screen data according to the second embodiment of the present application; and

[0057] Fig.10 The schematic diagram shows a hardware architecture of a computer device suitable for implementing a display control method for barrage data according to the third embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0059] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0060] At present, for the activity business in large C-end nodes (such as activities of various festivals, etc.), at the level of user reach, an activity entrance is needed that can appear in the process of users watching videos without interrupting the users' current viewing behavior. It needs to appear in the current video playback page. Special barrage can be used as the activity entrance, and the activity page is carried in a semi-floating container; on this basis, users need a more impressive and interesting interactive effect of clicking on the barrage. Therefore, it is hoped that the current single style of barrage display can be broken, and the barrage style can be presented in the same way before and after clicking the barrage. When the user clicks, the barrage style can be changed from [before click] to [after click].

[0061] Reusability : In other similar content scenarios, the interactive effects of this special barrage before and after clicking can be reused by simply replacing the materials.

[0062] In addition to the need to reach users in the event business, this special bullet screen also needs to carry certain gameplay functions. We hope to break through the current single function of bullet screen as the entrance to the event page, and let the bullet screen also carry the gameplay function of the event; for example, "find the event bullet screen in the video and click it" can be used as an event gameplay / task. After the user clicks the bullet screen, the event page can be pulled up and the event card / reward can be obtained randomly to complete the event task.

[0063] Reusability The behavior of "clicking on special bullet screen" can be reused in other C-end activity businesses as a gameplay function of the activity.

[0064] Collecting cards and drawing prizes are common gameplays in large-scale C-end event businesses. We hope to combine this gameplay with barrage and consolidate it, that is, every time the barrage is clicked, the event page draws a card and reward, and the issuance and collection logic of cards and rewards are built inside the event page.

[0065] The existing various types of bullet screens will be repeatedly displayed on the screen when the drag progress is made and the canvas size is changed, and the interaction method during the movement is single. It is necessary to implement a new bullet screen display and interaction method. When implementing it, it is necessary to take into account scalability to facilitate subsequent reuse. The activity page evoked after the user clicks the bullet screen cannot communicate with the bullet screen, and has only ordinary jump capabilities. In addition, the activity page needs to adapt to different mobile phones and the size of the floating layer, and the development cost is high.

[0066] In view of this, the present application aims to propose a display control method for barrage data, including: when playing a first video in a video playback interface, receiving resource data related to a preset barrage sent by a server; displaying the preset barrage in the video playback interface according to the resource data; in response to a trigger operation for the preset barrage, switching the display style of the preset barrage, and displaying the preset page in a floating layer on the video playback interface according to the resource data. Thus, by issuing a preset barrage based on the manuscript dimension, the preset barrage can be a barrage related to the activity business, switching the display style before and after the user triggers the preset barrage, and pulling up the preset page in various playback scenarios based on the floating container, a new barrage display and interaction method of the activity business diversion barrage is realized, and the activity page is displayed in a floating layer, which does not need to be developed to adapt to different terminal devices and the size of the floating container, and can effectively reduce the development cost. By configuring different resource data for the preset barrage, the preset barrage can be used to control the internal logic of the activity page to avoid the activity page being unable to communicate with the barrage. For example, the activity link parameters in the resource data can be used to control whether to display the activity page navigation bar, whether to display the activity page close button, and whether the activity page will trigger a lottery when it is opened.

[0067] The present application provides multiple embodiments to further introduce the display control scheme of barrage data, please refer to the following for details.

[0068] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0069] The following is an explanation of the terms used in this application:

[0070] C-end: Client, also known as user end, refers to the program that corresponds to the server and provides local services to customers.

[0071] Danmu: An internet term that refers to the commentary subtitles that pop up in the playback window when watching videos on the Internet.

[0072] Special barrage: refers to barrage with animation effects and / or interactive capabilities (such as clickability).

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

[0074] Semi-floating container: refers to a window that appears on the current video playing page. After clicking the bullet screen, it serves as a carrier container for the active page to display the active page without interrupting the video playback.

[0075] Figure 1 The following schematic diagram shows an environmental application diagram according to an embodiment of the present application. Figure 1 As shown:

[0076] The computer device 10000 can be connected to the client 30000 via the network 20000 .

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

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

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

[0080] The client 30000 may be configured to access the content and services of the computer device 10000. The client 30000 may 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 device, a vehicle terminal, a smart TV, a set-top box, and the like.

[0081] Client 30000 can output (for example, display, render, present) the display control result data of the barrage data to the user.

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

[0083] Embodiment 1

[0084] Figure 2 The flowchart of the method for controlling the display of bullet screen data according to the first embodiment of the present application is schematically shown. It includes steps S202-S206, wherein:

[0085] Step S202, when playing the first video in the video playback interface, receiving resource data related to the preset bullet screen sent by the server;

[0086] Among them, the preset barrage is a pre-set barrage related to the activity business, which is used to direct the activity business. The business activity can be a card drawing activity for a card game, or a lottery activity for various games, etc. The preset barrage carries the gameplay functions of various business activities.

[0087] In this embodiment, preset barrages can be sent based on the dimension of the video manuscript. By binding the preset barrages to the first video, the first video can be any manuscript in the video platform that is associated with the preset barrages. When the server detects that the user plays the first video, it sends resource data related to the preset barrages to the client.

[0088] Among them, resource data is used to limit the display conditions and display methods of preset barrages and the internal logic related to the business activities associated with the barrages. Specifically, the resource data may include barrage special effect identification, display time, display position, number of exposures, exposure duration, animation resource link, animation frame rate, activity jump link and / or link jump method, etc.

[0089] Among them, the bullet screen special effect identifier is used to uniquely identify the bullet screen; the display conditions of the preset bullet screen are limited by the display time and exposure times fields; the display method is limited by the display position and exposure duration fields; the internal logic related to the business activity associated with the bullet screen is limited by the animation resource link, animation frame rate, activity jump link and / or link jump method and other fields. In addition, resource data supports autonomous settings, and can also be personalized according to the needs of the activity business during implementation, and the embodiments of this application do not impose specific restrictions on this.

[0090] Step S204, displaying the preset bullet screen in the video playback interface according to the resource data;

[0091] Specifically, when playing the first video, whether the display conditions of the preset bullet screen configured in the resource data are met is detected in real time. If the display conditions of the preset bullet screen are met, the preset bullet screen can be displayed in the video playback interface according to the resource data. For example, if the display time field in the resource data limits the display time to the 30th second of the video playback, the preset bullet screen is displayed in the video playback interface when the first video is played to the 30th second.

[0092] Step S206, in response to a triggering operation on the preset bullet screen, switching the display style of the preset bullet screen, and displaying a preset page in a floating layer on the video playback interface according to the resource data.

[0093] In this embodiment, the user can switch the bullet screen style and pull up the preset page by performing a trigger operation on the preset bullet screen, wherein the trigger operation may include a click, a double-click, or a long press, and this embodiment does not impose specific restrictions on this. After receiving the trigger operation on the preset bullet screen, the client responds to the trigger operation, switches the display style of the preset bullet screen, and displays the preset page in a floating layer on the video playback interface according to the resource data, wherein the preset page is a pre-set activity page related to the activity business.

[0094] In the specific implementation, the preset bullet screen configured in the resource data has two display styles, one is the display style before the bullet screen is triggered, and the other is the display style after the bullet screen is triggered. By responding to the trigger operation for the preset bullet screen, the preset bullet screen is switched from the display style before being triggered to the display style after being triggered. In addition, after switching the display style of the preset bullet screen, the preset page can also be displayed in a floating manner on the video playback interface according to the resource data through a semi-floating container, so that there is no need to adapt to different terminal devices and the size of the floating container for development, which can effectively reduce the development cost.

[0095] Several optional embodiments are provided below to optimize the display control method of the bullet screen data, as follows:

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

[0097] When displaying the preset barrage, in response to an adjustment operation of the canvas parameters corresponding to the video playback 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 playback interface after the canvas parameters are adjusted according to the target display position.

[0098] In this embodiment, when displaying the preset bullet screen, the user can adjust the canvas parameters corresponding to the video playback interface. For example, the canvas of the video playback interface is initially in a vertical screen state, and the user can adjust the canvas of the video playback interface to a horizontal screen state. After receiving the user's adjustment operation on the canvas parameters corresponding to the video playback interface, the client obtains the current display position of the preset bullet screen by responding to the adjustment operation on the canvas parameters corresponding to the video playback interface, and then determines the target display position according to the current display position, and displays the preset bullet screen in the video playback interface after adjusting the canvas parameters according to the target display position.

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

[0100] In response to a first operation on the preset barrage, a non-interest tag is added to the preset barrage; wherein the server is used to stop sending the resource data to the client based on the non-interest tag.

[0101] Among them, the first operation can be an operation of setting the preset barrage as not interested. For example, the user can display the setting control related to the preset barrage by long pressing the preset barrage, and the preset barrage can be set to "not interested" through the setting control. After the client detects the first operation on the preset barrage, it adds a not interested label to the preset barrage by performing the first operation. In a specific implementation, the "not interested" status set by the user can be recorded by the server, and the resource data related to the preset barrage will no longer be sent to the client, so that the client will no longer display the preset barrage.

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

[0103] In the case where the preset bullet screen has not been triggered, the preset page is displayed in a floating layer on the video playback interface according to the resource data.

[0104] In this embodiment, the preset page associated with the preset bullet screen appears only once in each video of the user. After the preset bullet screen is displayed, it is determined whether the preset bullet screen has been triggered. If the preset bullet screen has not been triggered, the preset page is displayed in a floating layer on the video playback interface according to the resource data. If the preset bullet screen has been triggered, the preset page is not displayed.

[0105] In a preferred embodiment of the present application, the preset page includes a close control, and the method may further include the following steps:

[0106] In response to a second operation acting on the close control, the preset page is canceled from being displayed.

[0107] In this embodiment, the preset page may include a close control for closing the preset page displayed in a floating layer. The user may perform a second operation on the close control, wherein the second operation may include a click, a double-click, or a long press, etc., which is not specifically limited in this embodiment of the present application. After receiving the second operation acting on the close control, the client cancels the display of the preset page by responding to the second operation.

[0108] In a preferred embodiment of the present application, the preset bullet screen has a corresponding activity prize, and the method may further include the following steps:

[0109] After displaying the preset page, the activity prize is distributed to the user's account.

[0110] In this embodiment, the preset barrage can carry the functions of the activity gameplay, such as the card drawing gameplay of a card game, or the lottery gameplay of various games, etc., in order to make the card collection, lottery and other gameplay precipitate in large-scale activities.

[0111] Specifically, the rules for playing when a user triggers a preset bullet screen are designed as follows:

[0112] The user finds and triggers the preset barrage in the first video, pulls up the semi-floating activity page, and immediately obtains the activity prize. For example, the activity prize can be a reward / a card, etc.; the user has X chances every day (following the upper limit of the barrage exposure, for example, 8 times) to trigger the preset barrage and obtain the activity prize. The drawing rules follow the activity gameplay.

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

[0114] Create a bullet chat view corresponding to the preset bullet chat.

[0115] Among them, the barrage view is used to display preset barrages in the video playback interface.

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

[0117] A movement Action is created for the preset bullet screen; and the movement of the preset bullet screen is controlled by the movement Action.

[0118] In this embodiment, since a sequence frame animation is set for the preset bullet screen, in order to facilitate the control of the preset bullet screen and the sequence frame animation respectively, after displaying the preset bullet screen, a mobile Action can also be created for the preset bullet screen, and the movement of the preset bullet screen can be controlled by the mobile Action. Among them, the Action class is a bridge between user requests and business logic, each Action acts as a business agent of the client, and the mobile Action is the Action class used to control the movement of the bullet screen.

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

[0120] The sequence frame animation corresponding to the preset barrage is displayed in the video playback interface according to the resource data.

[0121] In this embodiment, while displaying the preset barrage, the sequence frame animation corresponding to the preset barrage can also be displayed in the video playback interface according to the resource data. For example, if the activity business carried by the preset barrage is a dragon egg activity, the sequence frame animation is designed to be a dragon egg-style animation.

[0122] 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:

[0123] An animation Action is created for the preset barrage; and the playback of the sequence frame animation corresponding to the preset barrage is controlled by the animation Action.

[0124] In this embodiment, after displaying the sequence frame animation corresponding to the preset barrage, an animation Action can also be created for the preset barrage, and the animation Action is used to control the playback of the sequence frame animation corresponding to the preset barrage. The animation Action is an Action class used to control the playback of the sequence frame animation.

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

[0126] When the sequence frame animation corresponding to the preset barrage is played, in response to a pause operation on the first video, the preset barrage is stopped from being moved, and the sequence frame animation corresponding to the preset barrage is continued to be played.

[0127] In this embodiment, when playing the sequence frame animation corresponding to the preset barrage, if the user pauses the first video, the preset barrage will no longer move, but the sequence frame animation will continue to play. After receiving the pause operation for the first video, the client responds to the pause operation, stops moving the preset barrage, and continues to play the sequence frame animation corresponding to the preset barrage.

[0128] In a preferred embodiment of the present application, in response to a pause operation on the first video, stopping moving the preset bullet screen may include the following steps:

[0129] In response to a pause operation on the first video, the movement Action is deleted to control the preset bullet screen to stop moving.

[0130] In this embodiment, after receiving the pause operation for the first video, the client responds to the pause operation and deletes the movement Action to control the preset bullet screen to stop moving, while the animation Action is executed normally to continue controlling the playback of the sequence frame animation.

[0131] It is understandable that since a 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 is also temporarily played, which is not in line with expectations. In order to facilitate the control of the preset barrage and sequence frame animation separately, two actions are created for the preset barrage: the movement action and the animation action. When the first video is paused, the movement action is deleted and the sequence frame action is executed normally.

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

[0133] In response to the resume playback operation for the first video, a movement Action is created for the preset barrage; and the preset barrage is controlled to continue moving through the movement Action.

[0134] In this embodiment, when the first video resumes playing, the client responds to the resume playing operation for the first video by temporarily setting the previous playing position of the preset barrage and creating a moving Action for the preset barrage; the preset barrage is controlled to continue moving through the moving Action.

[0135] In a preferred embodiment of the present application, the receiving of resource data related to the preset bullet screen sent by the server includes:

[0136] The server determines whether the preset barrage exists in the first video; if the preset barrage exists in the first video and the exposure times of the preset barrage in the first video do not exceed the preset times, the resource data related to the preset barrage is sent to the client.

[0137] In this embodiment, the exposure times of the preset barrage are controlled by the server. After displaying (exposing) the preset barrage, the client sends a message to the server to inform the server that the exposure times of the corresponding user are increased by 1. When the user watches the first video using the client, the server determines whether there is a preset barrage in the first video; if there is a preset barrage in the first video and the exposure times of the preset barrage in the first video do not exceed the preset times, the resource data related to the preset barrage is sent to the client.

[0138] The preset number of times is used to limit the number of times the preset barrage is exposed to the user. For example, if the preset number of times is 8, as long as the server determines that the exposure of the preset barrage in the first video does not exceed 8 times, it will automatically send the resource data related to the preset barrage to the client. In a specific implementation, the number of times the preset barrage can be exposed to the user within a period of time can be further designed, that is, the number of times the preset barrage is exposed in the first video within a period of time is counted, for example, the statistical time is from 00:00 to 23:59 every day. If the exposure number on that day exceeds the preset number, the resource data related to the preset barrage will no longer be sent to the client.

[0139] In a preferred embodiment of the present application, the resource data includes: barrage special effect identification, display time, display position, exposure times, exposure duration, animation resource link, animation frame rate, activity jump link and link jump method.

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

[0141] Obtain the current playback time of the first video; when the current playback time meets the display time and the preset barrage has not been displayed in the first video, display the preset barrage in the video playback interface according to the display position and exposure duration.

[0142] In this embodiment, the display of the preset barrage is limited by the display position and exposure duration in the resource data. When the preset barrage needs to be displayed, the current playback time of the first video is obtained; if the current playback 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 playback interface according to the display position and exposure duration.

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

[0144] According to the animation resource link and the animation frame rate, the sequence frame animation corresponding to the preset barrage is displayed in the video playback interface.

[0145] 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 playback interface according to the animation resource link and the animation frame rate.

[0146] In a preferred embodiment of the present application, displaying a preset page in a floating layer manner on the video playback interface according to the resource data includes:

[0147] According to the activity jump link and link jump method, the preset page is displayed in a floating layer on the video playback interface.

[0148] In this embodiment, the display of the preset page corresponding to the preset bullet screen is limited by the active jump link and link jump mode in the resource data. When the preset page needs to be displayed, the preset page is displayed in a floating layer on the video playback interface according to the active jump link and link jump mode.

[0149] In order to further explain the display control method of the bullet screen data of this embodiment, the preset bullet screen is a bullet screen related to the dragon egg activity, such as Figure 3 A flowchart of another method for controlling the display of bullet screen data is shown, which may specifically include the following steps:

[0150] In this embodiment, when the user starts watching a video, the server finds that the video has an active barrage, and sends the resource data related to the active barrage to the client. When the user plays to the time point where the active barrage should appear (that is, the display time), and the active barrage has not been displayed when the video is played, a sequence of barrages will float from right to left at a fixed height. After that, the user returns to this time again and the active barrage will no longer be displayed. During the display of the active barrage:

[0151] After the user clicks on the activity barrage, the sequence frame style is immediately switched and the activity page floating layer is pulled up. After that, there is no response when clicking again.

[0152] When the user actively pauses the video, the active bullet screen will no longer move, but the sequence frame animation will continue to play;

[0153] When the user rotates the screen, the new display position is calculated based on the current bullet screen position to make the transition natural.

[0154] When pausing the video, if you directly set the speed of the active bullet screen view to 0, the sequence frame animation will also be paused, which is not as expected. To achieve this, you need to create two actions for this bullet screen view: a move action and an animation action. When the video is paused, delete the move action and the animation action will execute normally. After resuming the video, recreate the move action for the bullet screen view from the current position.

[0155] In the specific implementation, in order to improve user participation in activities and ensure the user's viewing experience, the exposure and exit rules of the barrage are designed as follows:

[0156] ■The active barrage is exposed at the 5th second of the target video (this time point is configurable).

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

[0158] ■The active barrage will only appear once in each video. Seek back to the progress bar and the active barrage will not appear repeatedly.

[0159] ■ Exit of barrage: For each user ID MID, the upper limit of the daily exposure of barrage is 8 times (counting time is 00:00 every day); the exposure number can be configured and is related to the activity gameplay; at the same time, if the user sets "not interested" in the activity, the user will no longer be exposed to the activity barrage.

[0160] In addition, in order to make the event bullet screen carry the function of the event gameplay and to make the gameplay of the event prizes settle in large-scale events, the gameplay rules of clicking the bullet screen are designed as follows:

[0161] ■The user finds and clicks on the activity barrage in the video, pulls up the semi-floating activity page, and immediately receives an activity prize, such as a reward / a card; the user has X chances every day (following the upper limit of the number of exposures of the activity barrage) to click on the activity barrage and receive the activity barrage, and the extraction rules follow the activity gameplay design.

[0162] like Figure 4 A schematic diagram showing the display style of an active bullet screen before being clicked is shown. Figure 5 A schematic diagram showing the display style of an active bullet screen after being clicked. Figure 4 and Figure 5 It can be seen that after clicking on the activity barrage, the semi-floating activity page is immediately pulled up, and the barrage style changes from [before click] to [after click].

[0163] In addition, if Figure 6As shown, you can also use parameters to control whether to display the closing function of the half-screen container. Clicking the close control will close the current half-screen container. The activity page can obtain the link parameters configured by the activity barrage, read the parameters to control whether to display the activity page navigation, and control whether to draw rewards, such as Figure 7 As shown in FIG. 1 , it is a schematic diagram showing the lottery results when a reward scenario triggers the lottery logic, such as Figure 8 Shown is a schematic diagram of a gameplay guide triggered by a non-reward scenario.

[0164] Embodiment 2

[0165] Fig. 9 A block diagram of a display control device for bullet screen data according to Embodiment 2 of the present application is schematically shown. The display control device for bullet screen data can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can perform specific functions. The following description will specifically introduce the functions of each program module in the embodiment of the present application.

[0166] like Fig. 9 As shown, the display control device 900 of the bullet screen data may include the following modules:

[0167] The resource data receiving module 910 is used to receive resource data related to the preset bullet screen sent by the server when the first video is played in the video playback interface;

[0168] A preset bullet screen display module 920, configured to display the preset bullet screen in the video playback interface according to the resource data;

[0169] The preset page display module 930 is used to switch the display style of the preset barrage in response to the trigger operation of the preset barrage, and display the preset page in a floating layer on the video playback interface according to the resource data.

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

[0171] A current display position acquisition module, used for acquiring the current display position of the preset barrage in response to an adjustment operation of a canvas parameter corresponding to the video playback interface when displaying the preset barrage;

[0172] The bullet screen position adjustment module is used to determine a target display position according to the current display position, and to display the preset bullet screen in the video playback interface after adjusting the canvas parameters according to the target display position.

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

[0174] A module for adding a tag of "not interested" is used to add a tag of "not interested" to the preset barrage in response to a first operation on the preset barrage; wherein the server is used to stop sending the resource data to the client based on the tag of "not interested".

[0175] In a preferred embodiment of the present application, the preset page display module 930 includes:

[0176] The preset page display submodule is used to display the preset page in a floating layer on the video playback interface according to the resource data when the preset barrage has not been triggered.

[0177] In a preferred embodiment of the present application, the preset page includes a close control, and the device further includes:

[0178] The preset page display cancellation module is used to respond to the second operation acting on the closing control and cancel the display of the preset page.

[0179] In a preferred embodiment of the present application, the preset bullet screen has a corresponding activity prize, and the device further includes:

[0180] The activity prize distribution module is used to distribute the activity prize to the user's account after displaying the preset page.

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

[0182] A mobile action creation module, used to create a mobile action for the preset barrage;

[0183] The bullet screen movement control module is used to control the movement of the preset bullet screen through the movement Action.

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

[0185] A sequence frame animation display module is used to display the sequence frame animation corresponding to the preset barrage in the video playback interface according to the resource data.

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

[0187] Animation Action creation module, used to create animation Action for the preset barrage;

[0188] The animation playback control module is used to control the playback of the sequence frame animation corresponding to the preset barrage through the animation Action.

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

[0190] The module for controlling the barrage to stop moving is used to stop moving the preset barrage in response to a pause operation on the first video while playing the sequence frame animation corresponding to the preset barrage, and continue playing the sequence frame animation corresponding to the preset barrage.

[0191] In a preferred embodiment of the present application, the module for controlling the bullet screen to stop moving includes:

[0192] The submodule for controlling the barrage to stop moving is used to delete the moving Action in response to a pause operation on the first video, so as to control the preset barrage to stop moving.

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

[0194] A mobile Action creation module, configured to create a mobile Action for the preset bullet comment in response to a resume playback operation for the first video;

[0195] The module for controlling the barrage to continue to move is used to control the preset barrage to continue to move through the movement Action.

[0196] In a preferred embodiment of the present application, the resource data includes: barrage special effect identification, display time, display position, exposure times, exposure duration, animation resource link, animation frame rate, activity jump link and link jump method.

[0197] In a preferred embodiment of the present application, the receiving of resource data related to the preset bullet screen sent by the server includes:

[0198] The server determines whether the preset barrage exists in the first video; if the preset barrage exists in the first video and the exposure times of the preset barrage in the first video do not exceed the preset times, the resource data related to the preset barrage is sent to the client.

[0199] In a preferred embodiment of the present application, the preset bullet screen display module 920 includes:

[0200] A video play time acquisition submodule, used to acquire the current play time of the first video;

[0201] The preset barrage display submodule is used to display the preset barrage in the video playback interface according to the display position and exposure duration when the current playback time meets the display time and the preset barrage has not been displayed in the first video.

[0202] In a preferred embodiment of the present application, the sequence frame animation display module includes:

[0203] The sequence frame animation display submodule is used to display the sequence frame animation corresponding to the preset barrage in the video playback interface according to the animation resource link and the animation frame rate.

[0204] In a preferred embodiment of the present application, the preset page display module 930 includes:

[0205] The preset page display submodule is used to display the preset page in a floating layer on the video playback interface according to the activity jump link and link jump mode.

[0206] Embodiment 3

[0207] Fig.10 The schematic diagram of the hardware architecture of a computer device 10000 suitable for implementing the display control method of bullet screen data according to the third embodiment of the present application is shown schematically. In this embodiment, the computer device 10000 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including a FEN independent server, or a server cluster composed of multiple servers), etc. Fig.10 As shown, the computer device 10000 includes at least but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other through a system bus. Among them:

[0208] The memory 10010 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., 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 memory 10010 may be an internal storage 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 may also be an external storage device of the computer device 10000, such as a plug-in hard disk equipped on the computer device 10000, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the memory 10010 may also include both the internal storage module of the computer device 10000 and its external storage device. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed in the computer device 10000, such as the program code of the display control method of the bullet screen data, etc. In addition, the memory 10010 can also be used to temporarily store various data that have been output or will be output.

[0209] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. 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 with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.

[0210] The network interface 10030 may include a wireless network interface or a wired network interface, and the network interface 10030 is generally 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 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0211] It should be pointed out that Fig.10 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may be implemented instead.

[0212] In this 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 (processor 10020 in this embodiment) to complete the embodiment of the present application.

[0213] Embodiment 4

[0214] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the display control method of the barrage data in the embodiment are implemented.

[0215] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card (Flash Card), etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device, such as the program code of the display control method of the bullet screen data in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or are to be output.

[0216] Embodiment 5

[0217] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the display control method of the barrage data in the above embodiment.

[0218] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0219] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for controlling the display of bullet screen data, characterized in that: include: When playing the first video in the video playback interface, receiving resource data related to the preset bullet screen sent by the server; Displaying the preset bullet screen in the video playback interface according to the resource data; In response to a triggering operation on the preset bullet screen, the display style of the preset bullet screen is switched, and a preset page is displayed in a floating layer on the video playback interface according to the resource data.

2. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The method further comprises: When displaying the preset bullet screen, in response to an adjustment operation of a canvas parameter corresponding to the video playback interface, obtaining a current display position of the preset bullet screen; A target display position is determined according to the current display position, and the preset bullet screen is displayed in the video playback interface after the canvas parameters are adjusted according to the target display position.

3. The method for controlling the display of bullet screen data according to claim 1, characterized in that: Before the step of displaying the preset bullet screen in the video playback interface according to the resource data, the method further includes: In response to a first operation on the preset barrage, a non-interest tag is added to the preset barrage; wherein the server is used to stop sending the resource data to the client based on the non-interest tag.

4. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The displaying of a preset page in a floating layer manner on the video playback interface according to the resource data includes: In the case where the preset bullet screen has not been triggered, the preset page is displayed in a floating layer on the video playback interface according to the resource data.

5. The method for controlling the display of bullet screen data according to claim 1, characterized in that: After the step of displaying the preset bullet screen in the video playback interface according to the resource data, the method further includes: Create a mobile Action for the preset bullet screen; The movement of the preset bullet screen is controlled by the movement Action.

6. The method for controlling the display of bullet screen data according to claim 5, characterized in that: After the step of displaying the preset bullet screen, the method further includes: The sequence frame animation corresponding to the preset barrage is displayed in the video playback interface according to the resource data.

7. The method for controlling the display of bullet screen data according to claim 6, characterized in that: After the step of displaying the sequence frame animation corresponding to the preset barrage, the method further includes: Create an animation Action for the preset bullet screen; The animation Action is used to control the playback of the sequence frame animation corresponding to the preset bullet screen.

8. The method for controlling the display of bullet screen data according to claim 7, characterized in that: The method further comprises: When the sequence frame animation corresponding to the preset barrage is played, in response to a pause operation on the first video, the preset barrage is stopped from being moved, and the sequence frame animation corresponding to the preset barrage is continued to be played.

9. The method for controlling the display of bullet screen data according to claim 8, characterized in that: In response to the pause operation on the first video, stopping moving the preset bullet screen includes: In response to a pause operation on the first video, the movement Action is deleted to control the preset bullet screen to stop moving.

10. The method for controlling the display of bullet screen data according to claim 9, characterized in that: The method further comprises: In response to the resume playback operation for the first video, creating a move Action for the preset bullet comment; The preset bullet screen is controlled to continue moving through the movement Action.

11. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The receiving server-side sent resource data related to the preset bullet screen includes: The server determines whether the preset barrage exists in the first video; if the preset barrage exists in the first video and the exposure times of the preset barrage in the first video do not exceed the preset times, the resource data related to the preset barrage is sent to the client.

12. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The displaying the preset bullet screen in the video playback interface according to the resource data includes: Obtaining the current playback time of the first video; When the current playback 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 playback interface according to the display position and exposure duration.

13. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The displaying of the sequence frame animation corresponding to the preset bullet screen in the video playback interface according to the resource data includes: According to the animation resource link and the animation frame rate, the sequence frame animation corresponding to the preset barrage is displayed in the video playback interface.

14. The method for controlling the display of bullet screen data according to claim 1, characterized in that: The displaying of a preset page in a floating layer manner on the video playback interface according to the resource data includes: According to the activity jump link and link jump method, the preset page is displayed in a floating layer on the video playback interface.

15. A display control device for bullet screen data, characterized in that: include: A resource data receiving module, used for receiving resource data related to a preset bullet screen sent by a server when playing a first video in a video playing interface; A preset bullet screen display module, used to display the preset bullet screen in the video playback interface according to the resource data; The preset page display module is used to switch the display style of the preset barrage in response to the trigger operation of the preset barrage, and display the preset page in a floating layer on the video playback interface according to the resource data.

16. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it is used to implement the steps of the display control method of barrage data described in any one of claims 1 to 14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by at least one processor so that the at least one processor performs the steps of the display control method of barrage data described in any one of claims 1 to 14.

18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the display control method of barrage data described in claims 1 to 14 are implemented.

Citation Information

Cited By

  • Display control method and apparatus for on-screen comment data

    WO2026007598A1