Barrage display method and device
By displaying the collision effect between source bullet comments and target bullet comments in the multimedia display area, the problem of insufficient interactivity and playability of bullet comments in existing technologies is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202411998900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-12-31
AI Technical Summary
Existing bullet screen display solutions lack interactivity and playability, resulting in a poor user experience.
By displaying the collision effects of source material bullet comments and target bullet comments in the multimedia display area, and utilizing the movement display in the first and second directions as well as impact effects, the interactivity and playability of the bullet comments are enhanced.
It enhances the interactivity and playability of bullet comments, thus improving the user experience.
Smart Images

Figure CN119767094B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of bullet screen, and in particular to a bullet screen display method and device, computer equipment, computer readable storage medium, and computer program product. BACKGROUND
[0002] With the rapid development of video technology, more and more users can watch various video programs through the network. In the process of watching video programs, users can interact with anchors or other users by sending bullet screens. The bullet screen refers to comments, messages or interactive content in the form of sliding, scrolling or popping up in media such as videos or live broadcasts.
[0003] However, the existing bullet screen display scheme has insufficient interactivity and playability, resulting in poor user experience.
[0004] It should be noted that the above content is not necessarily prior art, and is not used to limit the patent protection scope of the present application. SUMMARY
[0005] Embodiments of the present application provide a bullet screen display method, device, computer equipment, computer readable storage medium, and computer program product to solve or alleviate one or more technical problems mentioned above.
[0006] One aspect of embodiments of the present application provides a bullet screen display method, which comprises:
[0007] displaying a multimedia display area, the multimedia display area being used to display multimedia content;
[0008] displaying material bullet screens in the multimedia display area at rest or in a first direction;
[0009] displaying target bullet screens in the multimedia display area in a second direction;
[0010] playing a first impact special effect in the multimedia display area when the target bullet screens and the material bullet screens collide.
[0011] Optionally, the method further comprises:
[0012] disappearing or hiding the target bullet screens from the multimedia display area after the target bullet screens and the material bullet screens collide.
[0013] Optionally, the method further comprises:
[0014] playing a second impact special effect in the multimedia display area in the case where the material bullet screens have been collided by a preset number of target bullet screens.
[0015] Optionally, the second impact special effect comprises:
[0016] Within a predetermined time, the hit object in the material barrage gradually disappears or hides in the multimedia display area in the form of animation, to form the special effect that the hit object is eliminated.
[0017] Optionally, the multimedia content is a live video, and the material barrage is pre-configured with a first display time interval;
[0018] Correspondingly, the material barrage is displayed in the multimedia display area in a static or first direction movement manner includes:
[0019] In the case that the current time is within the first display time interval, the material barrage is displayed in the multimedia display area in a static or first direction movement manner; or
[0020] The multimedia content is an on-demand video, and the material barrage is pre-configured with a second display time interval;
[0021] Correspondingly, the material barrage is displayed in the multimedia display area in a static or first direction movement manner includes:
[0022] In the case that the play progress of the on-demand video is within the second display time interval, the material barrage is displayed in the multimedia display area in a static or first direction movement manner.
[0023] Optionally, the material barrage comprises one or more of the following features:
[0024] (1) The material barrage comprises a sequence frame image, the sequence frame image is used to display each frame image in the sequence frame image in order during the display of the material barrage, and each frame image comprises a hit object;
[0025] (2) The material barrage comprises an image of a hit object;
[0026] (3) The material barrage comprises a video of a hit object;
[0027] (4) The number of the material barrage is one or more, and multiple material barrages can appear in the multimedia display area at the same time.
[0028] Optionally, the target barrage is obtained according to the combination of the barrage content and the impact element, and the impact element is located at the head and / or tail of the barrage content; or
[0029] The head and / or tail of the target barrage carries an impact element.
[0030] Optionally, the method further comprises:
[0031] obtain a plurality of candidate bullet screens corresponding to the multimedia content;
[0032] select the target bullet screen from the plurality of candidate bullet screens based on the plurality of candidate bullet screens and a preset keyword.
[0033] Optionally, the method further comprises:
[0034] obtain a plurality of candidate bullet screens corresponding to the multimedia content;
[0035] select the target bullet screen from the plurality of candidate bullet screens based on the plurality of candidate bullet screens and a preset keyword.
[0036] combine the target bullet screen with a preset impact element to obtain the target bullet screen.
[0037] Another aspect of the embodiments of the present application provides a bullet screen display device, the device comprising:
[0038] a first display module configured to display a multimedia display area, the multimedia display area being configured to display multimedia content;
[0039] a second display module configured to display a material bullet screen in the multimedia display area at rest or in a first direction;
[0040] a third display module configured to display a target bullet screen in the multimedia display area in a second direction;
[0041] a playing module configured to play a first impact special effect in the multimedia display area when the target bullet screen and the material bullet screen collide.
[0042] Another aspect of the embodiments of the present application provides a computer device, comprising:
[0043] at least one processor; and
[0044] a memory connected to the at least one processor in communication;
[0045] wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method as described above.
[0046] Another aspect of the embodiments of the present application provides a computer readable storage medium, the computer readable storage medium storing computer instructions, and the computer instructions are executed by a processor to implement the method as described above.
[0047] Another aspect of the embodiments of the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
[0048] The technical solutions of the embodiments of the present application can have the following advantages:
[0049] The material bullet screen is displayed in the multimedia display area in a static manner or in a first direction (as a hit object, including a picture or animation of a hit object). Thus, when the target bullet screen (as a hitter) corresponding to the multimedia content is displayed in a second direction, the target bullet screen and the material bullet screen can collide. When the two collide, a first collision special effect is played in the multimedia display area to show the visual collision effect generated after the target bullet screen collides with the material bullet screen, thereby improving the interactivity and playability of the bullet screen and enhancing the user experience. BRIEF DESCRIPTION OF DRAWINGS
[0050] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain exemplary implementations of the application. The illustrated embodiments are exemplary only and not limiting of the scope of the application. In all the drawings, like reference numerals refer to like parts throughout the several views.
[0051] Figure 1 An operating environment diagram of the bullet screen display method according to Embodiment One of the present application is schematically shown;
[0052] Figure 2 A flowchart of the bullet screen display method according to Embodiment One of the present application is schematically shown;
[0053] Figure 3 A bullet screen diagram is schematically shown;
[0054] Figure 4 An added flowchart of the bullet screen display method according to Embodiment One of the present application is schematically shown;
[0055] Figure 5 An added flowchart of the bullet screen display method according to Embodiment One of the present application is schematically shown;
[0056] Figure 6 An application example diagram of the bullet screen display method according to Embodiment One of the present application is schematically shown;
[0057] Figure 7 A block diagram of the bullet screen display device according to Embodiment Two of the present application is schematically shown; and
[0058] Figure 8 A hardware architecture schematic diagram of the computer device according to Embodiment Three of the present application is schematically shown. DETAILED DESCRIPTION
[0059] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to 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 work fall within the scope of protection of the present application.
[0060] It should be noted that the description of "first", "second" and the like in the embodiments of the present application is only for the purpose of description and should not be understood as indicating or implying the relative importance of the technical features indicated or implying the number of technical features indicated. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features. In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the fact that the technical solutions can be realized by those of ordinary skill in the art. When the combination of technical solutions appears 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.
[0061] In the description of the present application, it should be understood that the numerical reference number before the step does not indicate the order of execution of the steps before and after the step, but is only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as limiting the present application.
[0062] First, the terms related to the present application are explained:
[0063] Bullet screen: refers to comments, messages or interactive content in the form of sliding, scrolling or popping up in media such as videos or live broadcasts. The bullet screen can include text, emoticons, pictures, animations and other content.
[0064] Exemplarily, the data structure of the bullet screen can be as follows:
[0065] {
[0066] Time of emission in video, unit: second;
[0067] Type of bullet screen;
[0068] Size of bullet screen text;
[0069] Color of bullet screen text;
[0070] Date of bullet screen creation;
[0071] Class name of bullet screen;
[0072] Bullet screen content (such as text, picture, control);
[0073] Whether the bullet screen has a frame;
[0074] Color of the barrage frame;
[0075] Line spacing style of the barrage;
[0076] }
[0077] Candidate barrage: barrage sent by a viewer user when watching multimedia content.
[0078] Secondly, the related art is described below to facilitate the understanding of the technical solutions provided by the embodiments of the present application: the present inventor understands that the barrage display scheme maintains the feature of gradually moving from one side of the screen / play area to the other side. The barrage is insufficient in interactivity and playability, resulting in poor user viewing experience.
[0079] Therefore, the embodiments of the present application provide a barrage display technical scheme. In the technical scheme: (1) a more special and interesting barrage display mode is provided, which can implement the collision of two types of barrages by taking the target barrage as the striker and the material barrage as the struck, and after the collision, a visual collision effect (first striking special effect) generated after the target barrage collides with the material barrage is exhibited, thereby improving the interactivity and playability of the barrage and enhancing the user experience. (2) In the case where the material barrage has been collided by multiple target barrages, another visual collision effect (second striking special effect) generated after the target barrage collides with the material barrage is exhibited, thereby further improving the interactivity and playability of the barrage and enhancing the user experience. (3) The barrage display mode can flexibly set the opening time of the display mode according to needs. See the following text for details.
[0080] Finally, in order to facilitate understanding, an exemplary running environment is provided below.
[0081] As shown in Figure 1 , the running environment diagram includes a service platform 2 and a client.
[0082] The service platform 2 can connect the client (4A, 4B, …, 4N) through a network.
[0083] The service platform 2 can provide various content and barrage services for the client, etc. For example, sending the barrage to the client via the network. The network includes various network devices, such as routers, switches, multiplexers, hubs, bridges, repeaters, firewalls, proxy devices, and / or similar devices. The network can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, and combinations thereof. The network can include wireless links, such as cellular links, satellite links, Wi-Fi links, etc.
[0084] The service platform 2 can be a single server, a cluster of servers, or a cloud computing service center for providing various services. For example:
[0085] The service platform 2 can provide content services. The content services can be configured to provide content such as video, audio, text data, and combinations thereof. The content can include content streams (e.g., video streams, audio streams, information streams), content files (e.g., video files, audio files, text files), and / or other data.
[0086] The service platform 2 can be configured to manage messages for various content. Users can browse and access different content to view comments for a particular content, such as comments posted by other users for the particular content. Comments from users associated with a particular content can be output to other users viewing the particular content. For example, all users accessing a content (e.g., a video) can view comments associated with the content. Input comments can be output in real-time or near real-time.
[0087] The service platform 2 can be configured to accept multiple messages. The multiple messages can include multiple bulletins associated with content.
[0088] The service platform 2 can be configured to process multiple messages. For example, message storage, message filtering, message pushing, and other processing operations. The message storage can be used to store multiple messages in a data storage system such as a database. The message filtering can include rejecting or flagging messages matching a filtering criteria. The filtering criteria can specify terms and / or phrases, such as profanity, hate speech, inappropriate language, and the like. The filtering criteria can specify characters, such as symbols, fonts, and the like. The filtering criteria can specify languages, computer readable codes, and the like.
[0089] The service platform 2 can perform natural language processing, topic identification, pattern recognition, artificial intelligence, and the like to automatically determine features of messages and / or group messages. As an example, frequently occurring phrases or patterns can be identified as topics. As another example, a database of topics associated with content can be maintained. The topics can include genres (e.g., action, drama, comedy), personalities (e.g., actors, actresses, directors), languages, and the like. Messages can be further grouped based on features of client devices and / or users sending the messages. Demographics, interests, history, and / or the like can be stored for multiple users to determine potential groupings of messages. For example, bulletins uploaded by individual users can be filtered, filtered, sorted, and personalized pushed, and the like.
[0090] The service platform 2 can provide a barrage service, which can be configured to allow users to comment and / or share comments (i.e. barrages) associated with the content. The barrages are presented on the same screen as the content. The barrages can be displayed in an overlay above the content and can have animation effects. For example, the barrages can scroll (e.g. from right to left, from left to right, from top to bottom, …), which can be implemented based on the transition property of CSS3.
[0091] The clients (4A, 4B, … 4N) can be configured to access the content and services of the service platform 2. The clients (4A, 4B, … 4N) can include electronic devices carrying or externally connected with display panels, such as mobile devices, tablet devices, laptop computers, workstations, virtual reality devices, game devices, digital streaming media devices, vehicle clients, smart televisions, set-top boxes, etc., and can also include virtualized computing examples. The virtualized computing examples can include virtual machines, such as simulations of computer systems, operating systems, servers, etc.
[0092] The clients (4A, 4B, … 4N) can include a plurality of client programs, such as video APPs, live broadcast APPs or mini-programs with built-in barrage systems, etc. In the embodiments of the present application, the video content and the like provided by the service platform 2 can be presented through the client programs, and the barrage content can be presented in a specific manner through the barrage system.
[0093] The clients (4A, 4B, … 4N) can include interfaces, which can include touchpads, touchscreens, mice, keyboards or other sensing elements. For example, the input elements can be configured to accept user instructions, which can cause the clients (4A, 4B, … 4N) to perform various operations, such as inputting barrages, etc.
[0094] It should be noted that the above devices are exemplary, and the number and types of devices can be adjusted in different scenarios or according to different needs.
[0095] The following describes the technical solutions of the present application by taking the client (e.g. 4A) as the execution subject through a plurality of embodiments. It should be understood that these embodiments can be implemented in a variety of different forms, and should not be interpreted as being limited to the embodiments set forth herein.
[0096] Embodiment One
[0097] Figure 2 A flowchart of a barrage display method according to Embodiment One of the present application is schematically shown.
[0098] As shown in Figure 2 , the barrage display method can include steps S200-S206, wherein:
[0099] Step S200: Display the multimedia display area, which is used to display multimedia content.
[0100] Step S202: Display material bullet comments in the multimedia display area while it is stationary or moving in the first direction.
[0101] Step S204: The target bullet screen is displayed in the multimedia display area by moving in the second direction.
[0102] Step S206: When the target bullet screen and the material bullet screen collide, a first collision effect is played in the multimedia display area.
[0103] By displaying source material bullet comments (as the object of collision, containing images or animations) in a multimedia display area that are either stationary or moving in a first direction, a collision may occur when the target bullet comment (as the collider) corresponding to the multimedia content moves in a second direction. Upon collision, a first impact effect is played in the multimedia display area to showcase the visual collision effect, thereby enhancing the interactivity and playability of the bullet comments and improving the user experience.
[0104] The following details steps S200 to S206 and other optional steps.
[0105] Step S200 The multimedia display area is used to display multimedia content.
[0106] The multimedia display area can be a region or combination of regions on a device screen used to display multimedia content, and may include a player, controls, and / or other display elements, such as play / pause, volume control, speed adjustment, progress bar, and / or bullet screen settings. The multimedia display area can be full-screen, 1 / 4-screen, 1 / 2-screen, 3 / 4-screen, etc. The player can support various video types, such as live streaming and on-demand (e.g., movies, TV programs, user-uploaded videos, animations, etc.).
[0107] The multimedia content can include live video, on-demand video, images, various types of text (such as news, novels, etc.), music, etc.
[0108] Step S202 The display material bullet screen is stationary or moves in a first direction in the multimedia display area.
[0109] The material-based bullet comments can be bullet comments pre-configured by the user based on provided materials. These bullet comments can be images, animations, or videos. The material-based bullet comments can be displayed statically or moved in a first direction within the multimedia display area. The first direction can be configured according to actual conditions. The first direction can be a horizontal direction from the right side of the screen to the left side. Alternatively, it can be a horizontal direction from the left side of the screen to the right side. It can also be a diagonal direction from the left side of the screen to the right side, or a vertical direction from the top of the screen to the bottom, etc.
[0110] In some embodiments, the movement speed of the content bullet comments, the appearance density of the content bullet comments in the multimedia display area, and the initial appearance position of the content bullet comments in the multimedia display area can also be pre-configured. The appearance density refers to the number of content bullet comments appearing in the multimedia display area per second. For example, an appearance density of 3 bullet comments / second means that 3 content bullet comments will be randomly or simultaneously released in the multimedia display area within 1 second. After being released, the content bullet comments will be displayed in the multimedia display area according to pre-configured rules.
[0111] In some embodiments, the material bullet comments may be displayed statically or moving in a first direction in the multimedia display area when the multimedia content begins to play. Alternatively, the material bullet comments may be displayed statically or moving in a first direction in the multimedia display area only within a valid time period, and not displayed in the multimedia display area outside of that valid time period.
[0112] In an optional embodiment, the multimedia content is a live video, and the bullet comments are pre-configured with a first display time interval;
[0113] Correspondingly, step S202 may include: when the current time is within the first display time interval, displaying material bullet comments in the multimedia display area either stationary or moving in a first direction.
[0114] The first display time interval is a pre-configured live broadcast time interval for triggering the display of material bullet comments. For example, if the first display time interval is 14:00-16:00 on December 16, 2024, then the material bullet comments will only begin to be displayed statically or move in the first direction in the multimedia display area when the current time is 14:00 on December 16, 2024, and will not continue to be displayed statically or move in the first direction in the multimedia display area until the current time reaches 16:00 on December 16, 2024.
[0115] In an optional embodiment, the multimedia content is on-demand video, and the material bullet comments are pre-configured with a second display time interval;
[0116] Correspondingly, step S202 may include: when the playback progress of the on-demand video is within the second display time interval, displaying material bullet comments in the multimedia display area while it is stationary or moving in the first direction.
[0117] The second display time interval is a pre-configured playback progress interval. For example, if the second display time interval is 20-50 minutes of the on-demand video, then when the playback progress of the on-demand video reaches 20 minutes, the display of material bullet comments will begin to be stationary or move in the first direction in the multimedia display area, and will continue to be displayed in the multimedia display area until the playback progress reaches 40 minutes.
[0118] It should be noted that when a user jumps to the playback progress of a video by dragging the progress bar, the material bullet comments will also start to appear. Once the playback progress is no longer in the playback progress range, the material bullet comments will no longer remain stationary or move in the first direction in the multimedia display area.
[0119] In this embodiment, by configuring corresponding display time intervals for live videos and on-demand videos respectively, the display time of the bullet comments on the material can be flexibly controlled.
[0120] In an optional embodiment, the material bullet screen includes one or more of the following features:
[0121] (1) The material bullet screen includes a sequence of frame images, which are used to display each frame of the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the object being hit.
[0122] The object being hit can be a cartoon character, a cartoon animal, an ordinary person, or an ordinary animal. For example, the object being hit could be a "zombie" from the game "Plants vs. Zombies." Figure 3 As shown. For example, the object being hit is a portrait of person X.
[0123] As an example, a sequence of frame images can be used to create an animation of the movement of an object being hit, such as an animation of an object being hit walking.
[0124] In this embodiment, by using sequential frame images as the material bullet comments, each frame of the sequential frame images can be played in a loop during the display of the material bullet comments, thereby forming an animation effect and enhancing the user's viewing experience.
[0125] (2) The material barrage includes images of the objects being hit.
[0126] (3) The material barrage includes the video of the object being hit.
[0127] In this embodiment, by using the video of the object being hit as the source material bullet screen, the display effect of the source material bullet screen can be enriched, thereby enhancing the user's viewing experience.
[0128] (4) The number of material bullet comments is one or more, and multiple material bullet comments can appear simultaneously in the multimedia display area.
[0129] In this embodiment, by displaying multiple material bullet comments in the multimedia display area, more target bullet comments can collide with the material bullet comments.
[0130] Step S204 The target bullet screen is displayed in the multimedia display area by moving in a second direction.
[0131] The target bullet screen can be displayed and moved in a second direction within the multimedia display area. This second direction can be the same as, opposite to, or intersect with the first direction; the specific direction can be configured according to the actual situation.
[0132] As an example, the second direction can be a direction pointing horizontally from the right side of the screen to the left side. The second direction can also be a direction pointing horizontally from the left side of the screen to the right side. The second direction can also be a direction pointing diagonally from the left side of the screen to the right side, or a direction pointing vertically from the top of the screen to the bottom, etc.
[0133] The target bullet comment acts as the one that impacts the material bullet comment. It can be a candidate bullet comment sent by the viewer while watching multimedia content, or a bullet comment generated based on the candidate bullet comments sent by the viewer.
[0134] In some embodiments, the movement speed and trajectory of the target bullets can be pre-configured.
[0135] In an optional embodiment, the target barrage includes the following features:
[0136] (1) The target barrage is obtained by combining barrage content and impact element, wherein the impact element is located at the head and / or tail of the barrage content.
[0137] The impact element is the material used by the target bullet to collide with the material bullet during its movement. The specific type of this material can be set according to the actual situation. For example, the impact element is an image of a "pea" shot out by a plant in the game "Plants vs. Zombies," such as... Figure 3 As shown. For example, the impact element is a "bullet head" image.
[0138] The preferred candidate bullet comments are text bullet comments sent by viewers.
[0139] By combining bullet screen content and collision elements, the resulting target bullet screen can be made more vivid and engaging, increasing its appeal.
[0140] (2) The head and / or tail of the target barrage carries an impact element.
[0141] Adding impact elements to the head and / or tail of the target bullets can make them more vivid and engaging, increasing their appeal.
[0142] Step S206 When the target bullet screen and the material bullet screen collide, a first impact effect is played in the multimedia display area.
[0143] The first impact effect can be an animated video or a dynamic image, and its specific content can be set according to the actual situation. In this embodiment, it is not limited.
[0144] As an example, the first impact effect could be an animated display of the target barrage exploding within a preset time period.
[0145] As an example, when the target barrage contains impact elements, the first impact effect can also be an animated display of the impact elements in the target barrage exploding within a preset time.
[0146] In summary, by displaying collision effects between the target bullet comments and the material bullet comments, the interactivity and playability of the bullet comments can be improved.
[0147] Different impacts may trigger different special effects. The following is an example of a single impact effect.
[0148] In an optional embodiment, the method may further include:
[0149] After the target bullet screen and the material bullet screen collide, the target bullet screen will disappear or be hidden from the multimedia display area.
[0150] In this embodiment, after the target bullet comment and the source bullet comment collide, the target bullet comment can be directly removed or hidden from the multimedia display area, thus creating a display effect indicating that the target bullet comment, as the colliding party, has been used. This further enhances the playability and fun of the bullet comments, and further improves the user experience.
[0151] The following are examples of multiple impact effects.
[0152] In an optional embodiment, the method may further include:
[0153] When the material bullet screen has collided with a preset number of the target bullet screens, a second collision effect is played in the multimedia display area.
[0154] The preset quantity can be set and modified according to the actual situation, and its specific quantity is not limited in this embodiment.
[0155] As an example, if the preset quantity is 5, then when the source barrage is hit by 5 target barrages, a second impact effect will be played in the multimedia display area. The second impact effect can be an animated video or a dynamic image, and its specific content can be set according to the actual situation, which is not limited in this embodiment.
[0156] In an optional embodiment, the second impact effect includes: within a predetermined time period, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animated form, so as to form an effect of the impacted object being destroyed.
[0157] The preset time can be set and modified according to the actual situation. Its specific value is not limited in this embodiment. For example, the preset time is 2 seconds.
[0158] For example, after the same material barrage is hit multiple times in a row, the hit objects in the material barrage gradually disappear or hide in the form of animation (such as falling to the ground first and then disappearing), so as to create the special effect of the hit objects being destroyed, thereby increasing the playability.
[0159] The above describes the different effects of single and multiple impacts. Other triggering conditions and effects can also be added as needed.
[0160] It should be noted that the target bullet comment can be one of many bullet comments associated with the video. The following provides an example of obtaining the target bullet comment.
[0161] In an optional embodiment, see [link to relevant documentation] Figure 4 The method may further include:
[0162] Step S400: Obtain multiple candidate bullet comments corresponding to the multimedia content;
[0163] Step S402: Based on the multiple candidate bullet comments and preset keywords, select the target bullet comment from the multiple candidate bullet comments.
[0164] In practical applications, to avoid using too many candidate bullet comments as target bullet comments, you can first select candidate bullet comments containing the keywords from all candidate bullet comments based on pre-defined keywords, and then use these candidate bullet comments containing the keywords as the target bullet comments. For candidate bullet comments that do not contain keywords, they can be left out of the multimedia display area, or they can be displayed as ordinary bullet comments (without interactive effects with the material bullet comments).
[0165] The keywords can be preset or obtained by analyzing multiple candidate bullet comments. The specific determination method is not limited in this embodiment.
[0166] In this embodiment, the target bullet screen is selected from multiple candidate bullet screens based on a plurality of candidate bullet screens and preset keywords. In other words, only specific bullet screen content can generate a collision effect to guide user participation.
[0167] In an optional embodiment, see [link to relevant documentation] Figure 5 The method may further include:
[0168] Step S500: Obtain multiple candidate bullet comments corresponding to the multimedia content;
[0169] Step S502: Based on the multiple candidate bullet comments and preset keywords, select the bullet comments to be combined from the multiple candidate bullet comments;
[0170] Step S504: Combine the bullet screen to be combined with the preset impact element to obtain the target bullet screen.
[0171] In practical applications, to avoid using too many candidate bullet comments as target bullet comments, you can first select candidate bullet comments containing the pre-defined keywords from all candidate bullet comments, and then use these candidate bullet comments as bullet comments to be combined. Afterwards, these bullet comments to be combined will be combined with preset collision elements to obtain, as shown below. Figure 3 The target bullet screen is shown to distinguish it from the candidate bullet screen.
[0172] In this embodiment, a bullet screen to be combined is selected from multiple candidate bullet screens, and then the bullet screen to be combined is combined with a preset impact element to form a target bullet screen, so that specific bullet screen content can produce impact effects and guide users to participate.
[0173] To make this application easier to understand, the following is combined with... Figure 6 An example application is provided.
[0174] Step S600: Display a multimedia display area, which is used to display multimedia content.
[0175] Step S602: When the multimedia content reaches a preset first playback progress, the display of source material bullet comments begins to move in a first direction (left) within the multimedia display area. Simultaneously, the display of target bullet comments begins to move in a second direction (right) within the multimedia display area. Specifically, the head of the target bullet comment carries an impact element. Specifically, the source material bullet comment is a "zombie" image, and the preset first playback progress is used as the progress to start displaying the source material bullet comments. The first preset progress is 10 minutes. The head of the target bullet comment carries an impact element (a "pea" image).
[0176] Step S604: When the target bullet and the material bullet collide, a first impact effect is played in the multimedia display area. Specifically, the first impact effect can be an animation of a "pea" exploding.
[0177] Step S606: If the target bullet has already collided with a preset number of target bullets, a second impact effect is played in the multimedia display area. Specifically, the preset number can be four. The second impact effect can be an animation of a "zombie" being eliminated.
[0178] Step S608: When the multimedia content reaches the preset second playback progress, the display of material bullet comments in the multimedia display area will cease, and the display of candidate bullet comments corresponding to the multimedia content will resume normal operation in the multimedia display area. Specifically, the second playback progress serves as the progress for ending the display of material bullet comments, and the second preset progress is 20 minutes.
[0179] Example 2
[0180] Figure 7 The diagram schematically illustrates a bullet screen display device according to Embodiment 2 of this application. This device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of this application. The program module referred to in this embodiment is a series of computer program instruction segments capable of performing a specific function. The following description will specifically introduce the function of each program module in this embodiment. For example... Figure 7 As shown, the bullet screen display device 700 may include: a first display module 710, a second display module 720, a third display module 730, and a playback module 740, wherein:
[0181] The first display module 710 is used to display a multimedia display area, which is used to display multimedia content.
[0182] The second display module 720 is used to display material bullet comments either stationary or moving in a first direction in the multimedia display area.
[0183] The third display module 730 is used to move and display the target bullet screen in the multimedia display area in a second direction.
[0184] The playback module 740 is used to play a first impact effect in the multimedia display area when the target bullet screen and the material bullet screen collide.
[0185] As an optional embodiment, the device 700 further includes a processing module for:
[0186] The processing module is used to make the target bullet screen disappear or hide from the multimedia display area after the target bullet screen and the material bullet screen collide.
[0187] As an optional embodiment, the playback module 740 is also used for:
[0188] When the material bullet screen has collided with a preset number of the target bullet screens, a second collision effect is played in the multimedia display area.
[0189] As an optional embodiment, the second impact effect includes: within a predetermined time, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animated form, so as to form an effect of the impacted object being destroyed.
[0190] As an optional embodiment, the multimedia content is live video, and the bullet comments are pre-configured with a first display time interval;
[0191] Correspondingly, displaying bullet comments in the multimedia display area while stationary or moving in the first direction includes:
[0192] If the current moment falls within the first display time interval, the multimedia display area is either stationary or moves in the first direction to display the bullet comments; or
[0193] The multimedia content is on-demand video, and the material bullet comments are pre-configured with a second display time interval;
[0194] Correspondingly, displaying bullet comments in the multimedia display area while stationary or moving in the first direction includes:
[0195] When the playback progress of the on-demand video is within the second display time interval, the material bullet comments are displayed in the multimedia display area either stationary or moving in the first direction.
[0196] As an optional embodiment, the material bullet screen includes one or more of the following features:
[0197] (1) The material bullet screen includes a sequence of frame images, which are used to display each frame of the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the object being hit;
[0198] (2) The material barrage includes images of the objects being hit;
[0199] (3) The material bullet screen includes videos of the object being hit;
[0200] (4) The number of material bullet comments is one or more, and multiple material bullet comments can appear simultaneously in the multimedia display area.
[0201] As an optional embodiment, the target barrage is obtained by combining barrage content and impact elements, wherein the impact elements are located at the head and / or tail of the barrage content; or, the head and / or tail of the target barrage carries impact elements.
[0202] As an optional embodiment, the device 700 further includes a selection module for:
[0203] Obtain multiple candidate bullet comments corresponding to the multimedia content.
[0204] Based on multiple candidate bullet comments and preset keywords, the target bullet comment is selected from the multiple candidate bullet comments.
[0205] As an optional embodiment, the device 700 further includes a combination module for:
[0206] Obtain multiple candidate bullet comments corresponding to the multimedia content.
[0207] Based on multiple candidate bullet comments and preset keywords, select the bullet comments to be combined from the multiple candidate bullet comments.
[0208] The bullet pattern to be combined is combined with a preset impact element to obtain the target bullet pattern.
[0209] Example 3
[0210] Figure 8 This illustration schematically shows a hardware architecture diagram of a computer device 800 suitable for implementing a bullet screen display method according to Embodiment 3 of this application. In some embodiments, the computer device 800 may be a terminal device such as a smartphone, wearable device, tablet computer, personal computer, in-vehicle terminal, game console, virtual device, workbench, digital assistant, set-top box, robot, etc. In other embodiments, the computer device 800 may be a rack server, blade server, tower server, or cabinet server (including independent servers or server clusters composed of multiple servers), etc. Figure 8As shown, the computer device 800 includes, but is not limited to: a memory 810, a processor 820, and a network interface 830 that can communicate and be linked with each other via a system bus. Wherein:
[0211] The memory 810 includes at least one type of computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), 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, magnetic disk, optical disk, etc. In some embodiments, the memory 810 may be an internal storage module of the computer device 800, such as the hard disk or memory of the computer device 800. In other embodiments, the memory 810 may also be an external storage device of the computer device 800, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. Of course, the memory 810 may include both the internal storage module and the external storage device of the computer device 800. In this embodiment, the memory 810 is typically used to store the operating system and various application software installed on the computer device 800, such as the program code for a bullet screen display method. In addition, the memory 810 can also be used to temporarily store various types of data that have been output or will be output.
[0212] In some embodiments, processor 820 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chip. Processor 820 is typically used to control the overall operation of computer device 800, such as performing control and processing related to data interaction or communication with computer device 800. In this embodiment, processor 820 is used to run program code stored in memory 810 or process data.
[0213] Network interface 830 may include a wireless network interface or a wired network interface, which is typically used to establish a communication link between computer device 800 and other computer devices. For example, network interface 830 is used to connect computer device 800 to an external terminal via a network, establishing a data transmission channel and communication link between computer device 800 and the external terminal. The network may be an intranet, the Internet, Global System for Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, or other wireless or wired networks.
[0214] It should be pointed out that, Figure 8 Only computer devices with components 810-830 are shown; however, it should be understood that it is not required to implement all of the shown components, and more or fewer components may be implemented instead.
[0215] In this embodiment, the bullet screen display method stored in memory 810 can also be divided into one or more program modules and executed by one or more processors (such as processor 820) to complete the embodiment of this application.
[0216] Example 4
[0217] This application also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of the bullet screen display method in the embodiments.
[0218] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), 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, magnetic disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, 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 typically used to store the operating system and various application software installed on the computer device, such as the program code of the bullet screen display method in this embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
[0219] Example 5
[0220] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the methods described in the above embodiments.
[0221] Obviously, those skilled in the art should understand that the modules or steps of the embodiments of this application described above can be implemented using general-purpose computer devices. They can be centralized on a single computer device or distributed across a network of multiple computer devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computer device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the embodiments of this application are not limited to any particular combination of hardware and software.
[0222] It should be noted that the above are merely preferred embodiments of this application and do not limit the scope of patent protection of this application. Any equivalent structural or procedural changes made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of this application.
Claims
1. A method for displaying bullet comments, characterized in that, The method includes: A multimedia display area is displayed, which is used to display multimedia content; The multimedia display area is either stationary or moves in a first direction to display material bullet comments; The target bullet screen is displayed in the multimedia display area by moving in a second direction. When the target bullet screen and the material bullet screen collide, a first impact effect is played in the multimedia display area; The method further includes: Obtain multiple candidate bullet comments corresponding to the multimedia content; Based on multiple candidate bullet comments and preset keywords, select bullet comments to be combined from the multiple candidate bullet comments; The bullet pattern to be combined is combined with a preset impact element to obtain the target bullet pattern.
2. The method according to claim 1, characterized in that, The method further includes: After the target bullet screen and the material bullet screen collide, the target bullet screen will disappear or be hidden from the multimedia display area.
3. The method according to claim 1, characterized in that, The method further includes: When the material bullet screen has collided with a preset number of the target bullet screens, a second collision effect is played in the multimedia display area.
4. The method according to claim 3, characterized in that, The second impact effect includes: Within a predetermined time, the objects being hit in the bullet comments gradually disappear or hide in the multimedia display area in the form of animation, so as to create the special effect of the objects being hit being destroyed.
5. The method according to claim 1, characterized in that, The multimedia content is live video, and the bullet comments are pre-configured with a first display time interval; Correspondingly, displaying bullet comments in the multimedia display area while stationary or moving in the first direction includes: If the current moment falls within the first display time interval, the multimedia display area is either stationary or moves in the first direction to display the bullet comments; or The multimedia content is on-demand video, and the material bullet comments are pre-configured with a second display time interval; Correspondingly, displaying bullet comments in the multimedia display area while stationary or moving in the first direction includes: When the playback progress of the on-demand video is within the second display time interval, the material bullet comments are displayed in the multimedia display area either stationary or moving in the first direction.
6. The method according to any one of claims 1 to 5, characterized in that, The material bullet comments include one or more of the following characteristics: (1) The material bullet screen includes a sequence of frame images, which are used to display each frame of the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the object being hit; (2) The material barrage includes images of the objects being hit; (3) The material bullet screen includes videos of the object being hit; (4) The number of material bullet comments is one or more, and multiple material bullet comments can appear simultaneously in the multimedia display area.
7. The method according to any one of claims 1 to 5, characterized in that, The target barrage is obtained by combining barrage content and impact elements, wherein the impact elements are located at the beginning and / or end of the barrage content; or The head and / or tail of the target barrage carries impact elements.
8. The method according to any one of claims 1 to 5, characterized in that, The method further includes: Obtain multiple candidate bullet comments corresponding to the multimedia content; Based on multiple candidate bullet comments and preset keywords, the target bullet comment is selected from the multiple candidate bullet comments.
9. A bullet screen display device, characterized in that, The device includes: The first display module is used to display a multimedia display area, which is used to display multimedia content. The second display module is used to display material bullet comments either stationary or moving in a first direction in the multimedia display area. The third display module is used to move and display the target bullet screen in the multimedia display area in a second direction; The playback module is used to play a first impact effect in the multimedia display area when the target bullet screen and the material bullet screen collide; The combination module is used to acquire multiple candidate bullet comments corresponding to the multimedia content; select bullet comments to be combined from the multiple candidate bullet comments based on the multiple candidate bullet comments and preset keywords; and combine the bullet comments to be combined with preset collision elements to obtain the target bullet comment.
10. A computer device, characterized in that, include: At least one processor; and A memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method as described in any one of claims 1 to 8.
12. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Bullet screen message-based interaction method and device, computer equipment and storage medium
CN117714773A
Bullet screen display method and device in augmented reality space, equipment, medium and program
CN118214912A