Bullet screen display method and device
By displaying material barrage in the multimedia display area and playing special effects when the target barrage collided with it, the problem of insufficient interactivity and playability of existing barrage display solutions is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202411998900.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-31
AI Technical Summary
The existing barrage display solutions are insufficiently interactive and playable, resulting in poor user experience.
By stationary in the multimedia display area or moving the display material barrage in the first direction, and playing impact effects when the target barrage collides with the material barrage, the interactivity and playability of the barrage can be improved.
By displaying the visual collision effect after the target barrage and the material barrage, the user experience is enhanced and the interactivity and playability of the barrage is improved.
Smart Images

Figure CN119767094A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of barrage technology, and in particular, to a barrage display method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the rapid development of video technology, more and more users can watch various video programs through the Internet. In the process of watching video programs, users can interact with anchors or other users by sending barrages. The barrage refers to comments, messages or interactive content that appear in the form of sliding, scrolling or popping up in media such as videos or live broadcasts.
[0003] However, the existing bullet screen display solutions lack interactivity and playability, resulting in a poor user experience.
[0004] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the invention
[0005] The embodiments of the present application provide a bullet screen display method, apparatus, computer device, computer-readable storage medium, and computer program product to solve or alleviate one or more of the technical problems raised above.
[0006] One aspect of an embodiment of the present application provides a bullet screen display method, the method comprising: Display a multimedia display area, wherein the multimedia display area is used to display multimedia content; Displaying a material bullet screen in the multimedia display area statically or moving in a first direction; Moving and displaying the target bullet screen in the multimedia display area in a second direction; When the target bullet screen collides with the material bullet screen, a first collision special effect is played in the multimedia display area.
[0007] Optionally, the method further comprises: After the target bullet screen collides with the material bullet screen, the target bullet screen disappears or is hidden from the multimedia display area.
[0008] Optionally, the method further comprises: In the case where the material barrage has been collided with a preset number of the target barrages, a second collision special effect is played in the multimedia display area.
[0009] Optionally, the second impact special effect includes: Within a predetermined time, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animation form to form a special effect that the impacted object is destroyed.
[0010] Optionally, the multimedia content is a live video, and the material bullet screen is pre-configured with a first display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically or moving in the first direction includes: When the current moment is within the first display time interval, the display material bullet screen is stationary or moves in a first direction in the multimedia display area; or The multimedia content is a video on demand, and the material bullet screen is pre-configured with a second display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically 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 screen is displayed in the multimedia display area at rest or moves in the first direction.
[0011] Optionally, the material bullet screen includes one or more of the following features: (1) The material bullet screen includes a sequence of frame images, and the sequence of frame images is used to display each frame image in the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the impacted object; (2) The material barrage includes an image of the object being hit; (3) The material barrage includes a video of the object being hit; (4) The number of the material bullet screens is one or more, and multiple material bullet screens can appear in the multimedia display area at the same time.
[0012] Optionally, the target barrage is obtained by combining barrage content and a collision element, and the collision element is located at the head and / or tail of the barrage content; or The head and / or tail of the target barrage carries impact elements.
[0013] Optionally, the method further comprises: Obtaining multiple candidate bullet comments corresponding to the multimedia content; Based on the multiple candidate barrages and preset keywords, the target barrage is selected from the multiple candidate barrages.
[0014] Optionally, the method further comprises: Obtaining multiple candidate bullet comments corresponding to the multimedia content; Based on the plurality of candidate bullet screens and preset keywords, selecting a bullet screen to be combined from the plurality of candidate bullet screens; The barrage to be combined is combined with a preset impact element to obtain the target barrage.
[0015] Another aspect of an embodiment of the present application provides a bullet screen display device, the device comprising: A first display module, used to display a multimedia display area, wherein the multimedia display area is used to display multimedia content; A second display module is used to display the material bullet screen in the multimedia display area statically or moving in a first direction; A third display module is used to display the target bullet screen in a second direction in the multimedia display area; The playing module is used to play a first collision special effect in the multimedia display area when the target bullet screen collides with the material bullet screen.
[0016] Another aspect of an embodiment of the present application provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0017] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.
[0018] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the method described above when executed by a processor.
[0019] The above technical solution adopted in the embodiment of the present application may have the following advantages: By displaying the material bullet screen (as the object of collision, including pictures or animations of the object of collision) in a static or moving manner in a first direction in the multimedia display area, when the target bullet screen (as the collision object) corresponding to the multimedia content is displayed in a moving manner in a second direction, the target bullet screen and the material bullet screen may collide. When the two collide, a first collision special effect will be played in the multimedia display area to show the visual collision effect produced by the collision between the target bullet screen and the material bullet screen, thereby improving the interactivity and playability of the bullet screen and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0021] Figure 1 The following schematically shows an operating environment diagram of the bullet screen display method according to the first embodiment of the present application; Figure 2 The flowchart of the bullet screen display method according to the first embodiment of the present application is schematically shown; Figure 3 A schematic diagram of a bullet screen is shown schematically; Figure 4 The newly added flow chart of the bullet screen display method according to the first embodiment of the present application is schematically shown; Figure 5 The newly added flow chart of the bullet screen display method according to the first embodiment of the present application is schematically shown; Figure 6 This is an application example diagram of the bullet screen display method according to the first embodiment of the present application; Figure 7 A block diagram of a bullet screen display device according to the second embodiment of the present application is schematically shown; and Figure 8 The hardware architecture diagram of the computer device according to the third embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0022] 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.
[0023] 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.
[0024] 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.
[0025] First, the following terms are explained: Bullet comments: refers to comments, messages or interactive content that appear in the form of sliding, scrolling or pop-up in videos or live broadcasts. Bullet comments can include text, emoticons, pictures, animations and other content.
[0026] Exemplarily, the data structure of the bullet comment may be as follows: { The time of emission in the video is in seconds; Types of barrages; The size of the barrage text; The color of the barrage text; Date the comment was created; The class name of the bullet comment; Barrage content (e.g., text, images, controls); Whether the bullet screen has a border; The color of the bullet screen border; The interline style of the bullet comment; } Candidate barrage: barrage sent by audience users when watching multimedia content.
[0027] Secondly, to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present application, the following is an explanation of the related technologies: The inventors understand that the bullet screen display solutions all maintain the feature of gradually moving from one side of the screen / playing area to the other side. The interactivity and playability of the bullet screen are insufficient, resulting in a poor viewing experience for users.
[0028] To this end, the embodiment of the present application provides a barrage display technology solution. In this technical solution: (1) A more special and interesting barrage display method is provided, which can use the target barrage as the impactor and the material barrage as the impactee to achieve the collision of two types of barrages, and after the collision, show a visual collision effect (first collision special effect) generated by the collision between the target barrage and the material barrage, thereby improving the interactivity and playability of the barrage and enhancing the user experience. (2) When the material barrage has been collided with multiple target barrages, another visual collision effect (second collision special effect) generated by the collision between the target barrage and the material barrage will be shown, thereby further improving the interactivity and playability of the barrage and enhancing the user experience. (3) The barrage display method can flexibly set the activation time of the display method as needed. See below for details.
[0029] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0030] like Figure 1 As shown, the operating environment diagram includes: a service platform 2 and a client.
[0031] The service platform 2 can be connected to the client terminals ( 4A, 4B, ..., 4N) via the network.
[0032] The service platform 2 can provide various content and bullet screen services for the client. For example, the bullet screen is sent 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 may include physical links, such as coaxial cable links, twisted pair cable links, optical fiber links and combinations thereof. The network may include wireless links, such as cellular links, satellite links, Wi-Fi links, etc.
[0033] The service platform 2 may be a single server, a server cluster or a cloud computing service center, which is used to provide various services. For example: The service platform 2 may provide content services. The content services may be configured to provide content such as video, audio, text data and combinations thereof. The content may 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.
[0034] The service platform 2 can be configured to manage messages for various contents. Users can browse and access different contents to view comments for specific contents, such as comments posted by other users for the specific contents. Comments from users associated with specific contents can be output to other users viewing the specific contents. For example, all users accessing the contents (e.g., videos) can view comments associated with the contents. The input comments can be output in real time or near real time.
[0035] The service platform 2 may be configured to receive multiple messages. The multiple messages may include multiple bullet comments associated with the content.
[0036] The service platform 2 can be configured to process multiple messages. For example, various processing operations such as message storage, message filtering, and message push. Among them, message storage is used to store multiple messages in a data storage system such as a database. Message filtering can include rejecting or marking messages that match the filtering criteria. Among them, the filtering criteria can specify terms and / or phrases, such as profanity, hate speech, indecent language, etc. The filtering criteria can specify characters, such as symbols, fonts, etc. The filtering criteria can specify languages, computer-readable codes, etc.
[0037] The service platform 2 can perform natural language processing, topic recognition, pattern recognition, artificial intelligence, etc. to automatically determine the characteristics of the message and / or group the message. As an example, frequently occurring phrases or patterns can be identified as topics. As another example, a database of topics associated with the content can be maintained. Topics can include genres (e.g., action, drama, comedy), personalities (e.g., actors, actresses, directors), languages, etc. Messages can be further grouped based on the characteristics of the client device and / or the user sending the message. Demographics, interests, history, and / or the like can be stored for multiple users to determine potential groupings of messages. For example, the bullet screens uploaded by each user can be screened, filtered, sorted, and personalized push, etc.
[0038] The service platform 2 may provide a bullet screen service, which may be configured to allow users to comment and / or share comments (i.e. bullet screens) associated with the content. The bullet screens are presented on the same screen together with the content. The bullet screens may be displayed in an overlay above the content and may have animation effects. For example, the bullet screens may scroll (e.g., from right to left, from left to right, from top to bottom, ...), and the animation effect may be implemented based on the transition property of CSS3.
[0039] The client (4A, 4B, ... 4N) may be configured to access the content and services of the service platform 2. The client (4A, 4B, ... 4N) may include an electronic device carrying or externally connected to a display panel, such as a mobile device, a tablet device, a laptop computer, a workstation, a virtual reality device, a gaming device, a digital streaming device, a vehicle client, a smart TV, a set-top box, etc., and may also include a virtualized computing instance. The virtualized computing instance may include a virtual machine, such as a simulation of a computer system, an operating system, a server, etc.
[0040] The client (4A, 4B, ... 4N) may include multiple client programs, such as a video APP, a live broadcast APP or a mini program with a built-in bullet screen system. In the embodiment of the present application, the video and other content provided by the service platform 2 can be presented through the client program, and the bullet screen system can present the bullet screen content in a specific way.
[0041] The client (4A, 4B, ... 4N) may include an interface, which may include a touch pad, a touch screen, a mouse, a keyboard or other sensing elements. For example, the input element may be configured to receive user instructions, and the user instructions may enable the client (4A, 4B, ... 4N) to perform various operations, such as inputting bullet comments, etc.
[0042] It should be noted that the above devices are exemplary, and the number and type of devices are adjustable in different scenarios or according to different needs.
[0043] The following uses the client (such as 4A) as the execution subject to introduce the technical solution of the present application through multiple embodiments. It should be noted that these embodiments can be implemented in a variety of different forms and should not be interpreted as being limited to the embodiments described here.
[0044] Embodiment 1 Figure 2 The flowchart of the bullet screen display method according to the first embodiment of the present application is schematically shown.
[0045] like Figure 2 As shown, the bullet screen display method may include steps S200 to S206, wherein: Step S200: displaying a multimedia display area, wherein the multimedia display area is used to display multimedia content.
[0046] Step S202, displaying the material bullet screen in the multimedia display area statically or moving in a first direction.
[0047] Step S204, moving the target bullet screen in the multimedia display area in a second direction.
[0048] Step S206, when the target bullet screen collides with the material bullet screen, a first collision special effect is played in the multimedia display area.
[0049] By displaying the material bullet screen (as the object of collision, including pictures or animations of the object of collision) in a static or moving manner in a first direction in the multimedia display area, when the target bullet screen (as the collision object) corresponding to the multimedia content is displayed in a moving manner in a second direction, the target bullet screen and the material bullet screen may collide. When the two collide, a first collision special effect will be played in the multimedia display area to show the visual collision effect produced by the collision between the target bullet screen and the material bullet screen, thereby improving the interactivity and playability of the bullet screen and enhancing the user experience.
[0050] Steps S200 to S206 and other optional steps are described in detail below.
[0051] Step S200 , displaying a multimedia display area, wherein the multimedia display area is used to display multimedia content.
[0052] The multimedia display area can be an area or a combination of areas on the device screen for displaying multimedia content, and can include a player, controls and / or other display elements, such as play / pause, volume control, speed, progress bar and / or bullet screen settings, etc. The multimedia display area can be full screen, 1 / 4 screen, 1 / 2 screen, 3 / 4 screen, etc. Among them, the player can support various video types, such as live broadcast, on-demand (such as movies, TV shows, user-uploaded videos, animations, etc.).
[0053] The multimedia content may be live video, on-demand video, pictures, various types of text (eg, news, novels, etc.), music, etc.
[0054] Step S202 , in the multimedia display area, the material barrage is displayed statically or in a first direction.
[0055] The material bullet screen may be a bullet screen configured by the user based on the material in advance. The type of the material bullet screen may be a picture, an animation, or a video. The material bullet screen may be displayed statically or in a first direction in the multimedia display area. The first direction may be configured according to actual conditions. The first direction may be a direction pointing from the right side of the screen along the horizontal direction to the left side of the screen. The first direction may also be a direction pointing from the left side of the screen along the horizontal direction to the right side of the screen. The first direction may also be a direction pointing from the left side of the screen along an inclined direction to the right side of the screen or a direction pointing from the upper side of the screen along the vertical direction to the lower side of the screen, etc.
[0056] In some embodiments, the moving speed of the material bullet screen, the appearance density of the material bullet screen in the multimedia display area, and the initial appearance position of the material bullet screen in the multimedia display area can also be pre-configured. Among them, the appearance density refers to the number of material bullet screens that appear in the multimedia display area per second. For example, if the appearance density is 3 per second, it means that 3 material bullet screens will be released randomly or simultaneously in the multimedia display area within 1 second. After being released, the material bullet screen will be displayed in the multimedia display area according to the pre-configured rules.
[0057] In some embodiments, the material barrage can be displayed in the multimedia display area at rest or moving in a first direction when the multimedia content starts playing. The material barrage can also be displayed in the multimedia display area at rest or moving in the first direction only within a valid time and not displayed in the multimedia display area outside the valid time.
[0058] In an optional embodiment, the multimedia content is a live video, and the material bullet screen is pre-configured with a first display time interval; Correspondingly, step S202 may include: when the current moment is within the first display time interval, the display material barrage is stationary or moves in the first direction in the multimedia display area.
[0059] The first display time interval is a pre-configured live broadcast time interval for triggering the display of the material bullet screen. Exemplarily, the first display time interval is 14:00-16:00 on December 16, 2024. Then, when the current time is 14:00 on December 16, 2024, the material bullet screen will be displayed in the multimedia display area at rest or in a first direction until the current time reaches 16:00 on December 16, 2024, and the material bullet screen will no longer be displayed in the multimedia display area at rest or in a first direction.
[0060] In an optional embodiment, the multimedia content is a video on demand, and the material bullet screen is pre-configured with a second display time interval; Correspondingly, step S202 may include: when the playback progress of the on-demand video is within the second display time interval, displaying the material bullet screen in the multimedia display area in a stationary manner or moving in the first direction.
[0061] The second display time interval is a pre-configured playback progress interval. Exemplarily, the second display time interval is 20-50 minutes of the on-demand video. When the playback progress of the on-demand video reaches 20 minutes, the material bullet screen starts to be displayed in the multimedia display area in a static or moving manner in the first direction until the playback progress reaches 40 minutes, at which time the material bullet screen will no longer be displayed in the multimedia display area.
[0062] It should be noted that when the user directly jumps the playback progress of the on-demand video to the playback progress interval by dragging the progress bar, the material barrage will also begin to be displayed until the playback progress is no longer in the playback progress interval, and the material barrage will no longer continue to be displayed in the multimedia display area either statically or moving in the first direction.
[0063] In this embodiment, by configuring corresponding display time intervals for live video and on-demand video respectively, the display time of the material barrage can be flexibly controlled.
[0064] In an optional embodiment, the material bullet screen includes one or more of the following features: (1) The material bullet screen includes a sequence of frame images, and the sequence of frame images is used to display each frame image in the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes an impacted object.
[0065] The object to be hit can be a cartoon character, a cartoon animal, an ordinary person or an ordinary animal, etc. For example, the object to be hit is a "zombie" in the game "Plants vs. Zombies", such as Figure 3 For another example, the object being hit is a portrait of person X.
[0066] As an example, the sequence of frame images may form an animation of the movement of the impacted object, for example, an animation of the impacted object walking.
[0067] In this embodiment, by using a sequence of frame images as the material barrage, each frame image in the sequence of frame images can be played in a loop during the display of the material barrage, thereby forming an animation effect and enhancing the user's viewing experience.
[0068] (2) The material barrage includes an image of the object being hit.
[0069] (3) The material barrage includes a video of the object being hit.
[0070] In this embodiment, by using the video of the object being hit as the material barrage, the display effect of the material barrage can be enriched, thereby enhancing the user's viewing experience.
[0071] (4) The number of the material bullet screens is one or more, and multiple material bullet screens can appear in the multimedia display area at the same time.
[0072] In this embodiment, by displaying multiple material bullet screens in the multimedia display area, more target bullet screens can collide with the material bullet screens.
[0073] Step S204 , moving the target bullet screen in the second direction in the multimedia display area.
[0074] The target bullet screen can be displayed in the multimedia display area by moving in a second direction. The second direction can be the same as the first direction, or can be opposite to the first direction, or can intersect with the first direction. The specific direction can be configured according to actual conditions.
[0075] As an example, the second direction may be a direction pointing from the right side of the screen along the horizontal direction to the left side of the screen. The second direction may also be a direction pointing from the left side of the screen along the horizontal direction to the right side of the screen. The second direction may also be a direction pointing from the left side of the screen along an inclined direction to the right side of the screen or a direction pointing from the upper side of the screen along the vertical direction to the lower side of the screen, etc.
[0076] The target barrage, as an impactor of the material barrage, may be a candidate barrage sent by a viewer user when viewing multimedia content, or may be a barrage generated based on the candidate barrage sent by the viewer user.
[0077] In some embodiments, the moving speed and moving trajectory of the target barrage can be pre-configured.
[0078] In an optional embodiment, the target barrage includes the following features: (1) The target barrage is obtained by combining the barrage content and the impact element, and the impact element is located at the head and / or tail of the barrage content.
[0079] The collision element is the material used by the target bullet screen to collide with the material bullet screen during movement. The specific type of the material can be set according to actual conditions. For example, the collision element is the "pea" image spit out by the plant in the game "Plants vs. Zombies", such as Figure 3 As another example, the impact element is a "bullet head" image.
[0080] The candidate barrage is preferably a text barrage sent by an audience user.
[0081] The target barrage obtained by combining the barrage content and the collision elements can make the target barrage more vivid and interesting.
[0082] (2) The head and / or tail of the target barrage carries impact elements.
[0083] Carrying impact elements at the head and / or tail of the target barrage can make the target barrage more vivid and interesting.
[0084] Step S206 When the target bullet screen collides with the material bullet screen, a first collision special effect is played in the multimedia display area.
[0085] The first impact special effect can be an animation video or a dynamic image, and the specific displayed content can be set according to actual conditions and is not limited in this embodiment.
[0086] As an example, the first impact special effect may be a screen showing an explosion of the target barrage in an animated form within a preset time.
[0087] As an example, when the target barrage carries an impact element, the first impact special effect may also be a scene in which an explosion of the impact element in the target barrage is displayed in an animated form within a preset time.
[0088] In summary, by displaying the collision effects between the target barrage and the material barrage, the interactivity and playability of the barrage can be improved.
[0089] Different collisions may trigger different special effects. The following is an example of a single collision effect.
[0090] In an optional embodiment, the method may further include: After the target bullet screen collides with the material bullet screen, the target bullet screen disappears or is hidden from the multimedia display area.
[0091] In this embodiment, after the target bullet screen collides with the material bullet screen, the target bullet screen can be directly disappeared or hidden from the multimedia display area, thereby forming a display effect that the target bullet screen as the collider has been used up. This further enhances the playability and fun of the bullet screen and further enhances the user experience.
[0092] The following are multiple impact effects.
[0093] In an optional embodiment, the method may further include: In the case where the material barrage has been collided with a preset number of the target barrages, a second collision special effect is played in the multimedia display area.
[0094] The preset number can be set and modified according to actual conditions, and the specific number is not limited in this embodiment.
[0095] As an example, the preset number is 5. When the material bullet screen is hit by 5 target bullet screens, the second impact special effect will be played in the multimedia display area. The second impact special effect can be an animation video or a dynamic image. The specific content displayed can be set according to actual conditions and is not limited in this embodiment.
[0096] In an optional embodiment, the second impact special effect includes: within a predetermined time, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animation form to form a special effect that the impacted object is destroyed.
[0097] The preset time can be set and modified according to actual conditions, and its specific value is not limited in this embodiment. For example, the preset time is 2 seconds.
[0098] For example, after the same material barrage is hit multiple times in a row, the hit object in the material barrage will gradually disappear or hide in the form of animation (such as falling to the ground first and then disappearing), so as to form a special effect of the hit object being destroyed, thereby improving playability.
[0099] The above introduces the different special effects of single impact and multiple impact. Other trigger conditions and special effects can also be added according to actual needs.
[0100] It should be noted that the target bullet comment may be a bullet comment among the multiple bullet comments associated with the video. An example of obtaining the target bullet comment is provided below.
[0101] In an alternative embodiment, see Figure 4 , the method may further include: Step S400, obtaining a plurality of candidate bullet comments corresponding to the multimedia content; Step S402: based on the plurality of candidate bullet screens and preset keywords, select the target bullet screen from the plurality of candidate bullet screens.
[0102] In practical applications, in order to avoid using too many candidate bullet comments as target bullet comments, candidate bullet comments containing keywords can be selected from all candidate bullet comments according to pre-set keywords, and these candidate bullet comments containing keywords can be used as the target bullet comments. Candidate bullet comments that do not contain keywords can no longer be displayed in the multimedia display area, or can be displayed in the form of ordinary bullet comments (without interactive special effects with the material bullet comments).
[0103] The keywords may be pre-set or obtained by analyzing a plurality of candidate bullet comments, and the specific determination method is not limited in this embodiment.
[0104] In this embodiment, the target bullet screen is selected from the plurality of candidate bullet screens based on the plurality of candidate bullet screens and preset keywords. That is, only specific bullet screen content can produce impact effects to guide user participation.
[0105] In an alternative embodiment, see Figure 5 , the method may further include: Step S500, obtaining a plurality of candidate bullet comments corresponding to the multimedia content; Step S502, based on the plurality of candidate bullet comments and preset keywords, selecting a bullet comment to be combined from the plurality of candidate bullet comments; Step S504, combining the barrage to be combined with a preset collision element to obtain the target barrage.
[0106] In practical applications, in order to avoid using too many candidate bullet comments as target bullet comments, we can first select candidate bullet comments containing keywords from all candidate bullet comments according to the preset keywords, and use these candidate bullet comments containing keywords as bullet comments to be combined. After that, we will combine these bullet comments to be combined with the preset collision elements to obtain the following: Figure 3 The target barrage is shown so that the target barrage can be distinguished from the candidate barrages.
[0107] In this embodiment, a barrage to be combined is selected from a plurality of candidate barrages, and then the barrage to be combined is combined with a preset collision element to form a target barrage, so that specific barrage content can produce a collision effect to guide user participation.
[0108] In order to make this application easier to understand, the following Figure 6 An exemplary application is provided.
[0109] Step S600: displaying a multimedia display area, wherein the multimedia display area is used to display multimedia content.
[0110] Step S602, when the multimedia content is played to the preset first playback progress, the material barrage starts to be displayed in the multimedia display area by moving in the first direction (to the left), and at the same time, the target barrage is displayed by moving in the second direction (to the right) in the multimedia display area. Specifically, the head of the target barrage carries an impact element. Specifically, the material barrage is a "zombie" image, and the preset first playback progress is used as the progress for starting to display the material barrage, and the first preset progress is the 10th minute. The head of the target barrage carries an impact element (a "pea" image).
[0111] Step S604: When the target bullet screen collides with the material bullet screen, a first collision special effect is played in the multimedia display area. Specifically, the first collision special effect may be an animation of a "pea" exploding.
[0112] Step S606: When the target bullet screen has been hit by a preset number of the target bullet screens, a second impact special effect is played in the multimedia display area. Specifically, the preset number may be 4. The second impact special effect may be an animation of a "zombie" being eliminated.
[0113] Step S608: When the multimedia content is played to the preset second playback progress, the material bullet screen is no longer displayed in the multimedia display area, and the candidate bullet screen corresponding to the multimedia content is restored to normal display in the multimedia display area. Specifically, the second playback progress is the progress of ending the display of the material bullet screen, and the second preset progress is the 20th minute.
[0114] Embodiment 2 Figure 7 The block diagram of the bullet screen display device according to the second embodiment of the present application is schematically shown. The device 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 complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. 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: A first display module 710, used to display a multimedia display area, wherein the multimedia display area is used to display multimedia content; The second display module 720 is used to display the material bullet screen in the multimedia display area statically or moving in a first direction; The third display module 730 is used to display the target bullet screen in the multimedia display area in a second direction; The playing module 740 is used to play a first collision special effect in the multimedia display area when the target bullet screen collides with the material bullet screen.
[0115] As an optional embodiment, the apparatus 700 further includes a processing module, configured to: The processing module is used to make the target barrage disappear or hide from the multimedia display area after the target barrage collides with the material barrage.
[0116] As an optional embodiment, the playing module 740 is further configured to: In the case where the material barrage has been collided with a preset number of the target barrages, a second collision special effect is played in the multimedia display area.
[0117] As an optional embodiment, the second impact special effect includes: within a predetermined time, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animation form to form a special effect that the impacted object is destroyed.
[0118] As an optional embodiment, the multimedia content is a live video, and the material barrage is pre-configured with a first display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically or moving in the first direction includes: When the current moment is within the first display time interval, the display material bullet screen is stationary or moves in a first direction in the multimedia display area; or The multimedia content is a video on demand, and the material bullet screen is pre-configured with a second display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically 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 screen is displayed in the multimedia display area at rest or moves in the first direction.
[0119] As an optional embodiment, the material bullet screen includes one or more of the following features: (1) The material bullet screen includes a sequence of frame images, and the sequence of frame images is used to display each frame image in the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the impacted object; (2) The material barrage includes an image of the object being hit; (3) The material barrage includes a video of the object being hit; (4) The number of the material bullet screens is one or more, and multiple material bullet screens can appear in the multimedia display area at the same time.
[0120] As an optional embodiment, the target barrage is obtained based on the combination of barrage content and a collision element, and the collision element is located at the head and / or tail of the barrage content; or, the head and / or tail of the target barrage carries the collision element.
[0121] As an optional embodiment, the apparatus 700 further includes a selection module, configured to: Obtain multiple candidate bullet comments corresponding to the multimedia content.
[0122] Based on the multiple candidate barrages and preset keywords, the target barrage is selected from the multiple candidate barrages.
[0123] As an optional embodiment, the device 700 further includes a combination module, which is used to: Obtain multiple candidate bullet comments corresponding to the multimedia content.
[0124] Based on the plurality of candidate barrages and preset keywords, a barrage to be combined is selected from the plurality of candidate barrages.
[0125] The barrage to be combined is combined with a preset impact element to obtain the target barrage.
[0126] Embodiment 3 Figure 8 The schematic diagram of the hardware architecture of a computer device 800 suitable for implementing the bullet screen display method according to the third embodiment of the present application is shown schematically. In some embodiments, the computer device 800 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 800 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 8 As 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 with each other through a system bus. Among them: The memory 810 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as 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, disk, optical disk, etc. In some embodiments, the memory 810 can be an internal storage module of the computer device 800, such as a hard disk or memory of the computer device 800. In other embodiments, the memory 810 can also be an external storage device of the computer device 800, such as a plug-in hard disk equipped on the computer device 800, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 810 can also include both the internal storage module of the computer device 800 and its external storage device. In this embodiment, the memory 810 is generally used to store the operating system and various application software installed on the computer device 800, such as the program code of the bullet screen display method, etc. In addition, the memory 810 can also be used to temporarily store various types of data that have been output or are to be output.
[0127] The processor 820 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips in some embodiments. The processor 820 is generally used to control the overall operation of the computer device 800, such as performing control and processing related to data interaction or communication with the computer device 800. In this embodiment, the processor 820 is used to run the program code stored in the memory 810 or process data.
[0128] The network interface 830 may include a wireless network interface or a wired network interface, and the network interface 830 is generally used to establish a communication link between the computer device 800 and other computer devices. For example, the network interface 830 is used to connect the computer device 800 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 800 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.
[0129] It should be pointed out that Figure 8 Only a computer device having components 810 - 830 is shown, but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0130] In this embodiment, the bullet screen display method stored in the 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 the present application.
[0131] Embodiment 4 An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the barrage display method in the embodiment are implemented.
[0132] 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 may 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 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device. Of course, the computer-readable storage medium may also include both an internal storage unit of a computer device and an external storage device thereof. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on a computer device, such as the program code of the bullet screen display method in the embodiment, etc. In addition, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
[0133] Embodiment 5 An embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.
[0134] 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 general-purpose computer devices, they can be concentrated on a single computer device, or distributed on a network composed of multiple computer devices, optionally, they can be implemented by executable program codes of computer devices, so that they can be stored in a storage device and executed by the computer 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.
[0135] It should be noted that the above are only preferred embodiments of the present application, and the patent protection scope of the present application is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, 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 bullet screen display method, characterized in that: The method comprises: Display a multimedia display area, wherein the multimedia display area is used to display multimedia content; Displaying a material bullet screen in the multimedia display area statically or moving in a first direction; Moving and displaying the target bullet screen in the multimedia display area in a second direction; When the target bullet screen collides with the material bullet screen, a first collision special effect is played in the multimedia display area.
2. The method according to claim 1, characterized in that The method further comprises: After the target bullet screen collides with the material bullet screen, the target bullet screen disappears or is hidden from the multimedia display area.
3. The method according to claim 1, characterized in that The method further comprises: In the case where the material barrage has been collided with a preset number of the target barrages, a second collision special effect is played in the multimedia display area.
4. The method according to claim 3, characterized in that The second impact special effect includes: Within a predetermined time, the impacted object in the material barrage gradually disappears or hides in the multimedia display area in an animation form to form a special effect that the impacted object is destroyed.
5. The method according to claim 1, characterized in that: The multimedia content is a live video, and the material bullet screen is pre-configured with a first display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically or moving in the first direction includes: When the current moment is within the first display time interval, the display material bullet screen is stationary or moves in a first direction in the multimedia display area; or The multimedia content is a video on demand, and the material bullet screen is pre-configured with a second display time interval; Correspondingly, displaying the material bullet screen in the multimedia display area statically 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 screen is displayed in the multimedia display area at rest or moves in the first direction.
6. The method according to any one of claims 1 to 5, characterized in that: The material bullet screen includes one or more of the following features: (1) The material bullet screen includes a sequence of frame images, and the sequence of frame images is used to display each frame image in the sequence of frame images in sequence during the display of the material bullet screen, and each frame image includes the impacted object; (2) The material barrage includes an image of the object being hit; (3) The material barrage includes a video of the object being hit; (4) The number of the material bullet screens is one or more, and multiple material bullet screens can appear in the multimedia display area at the same time.
7. The method according to any one of claims 1 to 5, characterized in that: The target barrage is obtained by combining the barrage content and the impact element, and the impact element is located at the head and / or tail 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 comprises: Obtaining multiple candidate bullet comments corresponding to the multimedia content; Based on the multiple candidate barrages and preset keywords, the target barrage is selected from the multiple candidate barrages.
9. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Obtaining multiple candidate bullet comments corresponding to the multimedia content; Based on the plurality of candidate bullet screens and preset keywords, selecting a bullet screen to be combined from the plurality of candidate bullet screens; The barrage to be combined is combined with a preset impact element to obtain the target barrage.
10. A bullet screen display device, characterized in that: The device comprises: A first display module, used to display a multimedia display area, wherein the multimedia display area is used to display multimedia content; A second display module is used to display the material bullet screen in the multimedia display area statically or moving in a first direction; A third display module is used to display the target bullet screen in a second direction in the multimedia display area; The playing module is used to play a first collision special effect in the multimedia display area when the target bullet screen collides with the material bullet screen.
11. 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, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.
13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Bullet screen information display method and device, storage medium and electronic equipment
CN115120969A
Bullet screen display method and device, electronic equipment and readable medium
CN117082287A
Bullet screen message-based interaction method and device, computer equipment and storage medium
CN117714773A
Bullet screen display method and device
CN117793443A
Bullet screen display method and device in augmented reality space, equipment, medium and program
CN118214912A