Barrage display method and device

By switching the text style of the bullet comments, the problem of insufficient interactivity and playability in the existing bullet comment display is solved, thus improving the user experience.

CN119767092BActive Publication Date: 2026-02-24SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411973583.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-28
Publication Date
2026-02-24
Estimated Expiration
2044-12-28

AI Technical Summary

Technical Problem

Existing bullet screen display solutions lack interactivity and playability, resulting in a poor user experience.

Method used

By responding to the text style switching command, the text style of multiple candidate bullet comments is switched from the first text style to the second text style, and then displayed in the multimedia display area as bullet comments, thus realizing the change of bullet comment text style.

Benefits of technology

It enhances the interactivity and playability of bullet comments, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767092B_ABST
    Figure CN119767092B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a method and device for displaying a barrage, and relate to the technical field of barrage. The method comprises: displaying a multimedia display area, the multimedia display area being used to display multimedia content; obtaining a plurality of candidate barrages corresponding to the multimedia content; in response to a text style switching instruction, switching the text style of the plurality of candidate barrages from a first text style to a second text style; and displaying the plurality of candidate barrages in the form of a barrage in the multimedia display area in the second text style. The technical solution of the embodiments of the present application can improve the interactivity and playability of the barrage and enhance the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of bullet screen technology, and in particular to a bullet screen display method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Technology

[0002] With the rapid development of video technology, more and more users can watch various video programs online. While watching these programs, users can interact with the broadcaster or other users by sending bullet comments (danmu). These bullet comments refer to comments, messages, or interactive content that appear in video or live streaming media in the form of swiping, scrolling, or pop-ups.

[0003] However, 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] This application provides a method, apparatus, computer device, computer-readable storage medium, and computer program product for displaying bullet comments, in order to solve or alleviate one or more of the technical problems mentioned above.

[0006] One aspect of this application provides a method for displaying bullet comments, the method comprising:

[0007] A multimedia display area is displayed, which is used to display multimedia content;

[0008] Obtain multiple candidate bullet comments corresponding to the multimedia content;

[0009] In response to a text style switching command, the text style of the multiple candidate bullet comments is switched from a first text style to a second text style;

[0010] Using the second text style, multiple candidate bullet comments are displayed in the multimedia display area in the form of bullet comments.

[0011] Optionally, the text style switching instruction is obtained through the following operation:

[0012] Display text style toggle control;

[0013] In response to a trigger operation on the text style switching control, a text style switching instruction is generated.

[0014] Optionally, the text style switching control is pre-configured with a display time range;

[0015] Correspondingly, the text style toggle control includes:

[0016] If the current time is within the specified display time interval, the text style switching control will pop up at a preset position.

[0017] Optionally, the method further includes:

[0018] If the current time exceeds the display time interval, hide the text style switching control.

[0019] Optionally, the method further includes:

[0020] When the text style switching control has been triggered, the display state of the text style switching control is switched from the first state to the second state.

[0021] Optionally, the multimedia content is live video; the text style switching instruction is obtained through the following operations:

[0022] When the live video reaches the preset live time point, the text style switching instruction is generated.

[0023] Optionally, the multimedia content is on-demand video; the text style switching instruction is obtained through the following operations:

[0024] When the playback progress of the on-demand video reaches a preset playback time point, the text style switching instruction is generated; or

[0025] When the playback progress of the on-demand video is adjusted to within a preset playback progress range, the text style switching instruction is generated.

[0026] Optionally, the first text style is the default text style, and the second text style is a variant text style.

[0027] Another aspect of this application provides a bullet screen display device, the device comprising:

[0028] The first display module is used to display a multimedia display area, which is used to display multimedia content.

[0029] The acquisition module is used to acquire multiple candidate bullet comments corresponding to the multimedia content;

[0030] The response module is used to switch the text style of the multiple candidate bullet comments from the first text style to the second text style in response to the text style switching command;

[0031] The second display module is used to display multiple candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style.

[0032] Another aspect of this application provides a computer device, including:

[0033] At least one processor; and

[0034] A memory that is communicatively connected to the at least one processor;

[0035] Wherein: the memory stores instructions that can be executed by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0036] Another aspect of this application provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the method described above.

[0037] Another aspect of this application provides a computer program product including a computer program that, when executed by a processor, implements the method described above.

[0038] The embodiments of this application employing the above technical solution may include the following advantages: by responding to a text style switching command, the text style of multiple candidate bullet comments is switched from a first text style to a second text style. Using the second text style, the multiple candidate bullet comments are displayed in the multimedia display area as bullet comments, thereby creating a display effect where the text style of the bullet comments changes, enhancing the interactivity and playability of the bullet comments, and improving the user experience. Attached Figure Description

[0039] The accompanying drawings exemplify embodiments and form part of the specification, serving together with the textual description to explain exemplary implementations of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0040] Figure 1 The diagram illustrates the operating environment of the bullet screen display method according to Embodiment 1 of this application;

[0041] Figure 2 A flowchart illustrating a bullet screen display method according to Embodiment 1 of this application is shown schematically;

[0042] Figure 3 The diagram illustrates the addition of a flowchart to the bullet screen display method according to Embodiment 1 of this application;

[0043] Figure 4This illustration shows a screenshot of a bullet screen display without clicking the text style switching control according to Embodiment 1 of this application.

[0044] Figure 5 This illustration schematically shows a bullet screen display after clicking the text style switching control according to Embodiment 1 of this application;

[0045] Figure 6 This is an application example diagram of the bullet screen display method according to Embodiment 1 of this application;

[0046] Figure 7 A block diagram schematically illustrates a bullet screen display device according to Embodiment 2 of this application; and

[0047] Figure 8 A schematic diagram of the hardware architecture of a computer device according to Embodiment 3 of this application is shown. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0049] It should be noted that the descriptions involving "first," "second," etc., in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

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

[0051] First, a definition of the terminology used in this application is provided:

[0052] Bullet comments (or danmaku) are text, emoticons, images, animations, etc., that pop up and move in a predetermined direction when watching videos online. There isn't a fixed English term for bullet comments; they are usually referred to as comments, danmaku, barrage, bullet screen, or bullet-screen comment. Bullet comments allow viewers to post comments or thoughts, but unlike regular video sharing websites where comments are only displayed in a dedicated comment section below the player, they appear in real-time as sliding subtitles on the video screen, ensuring all viewers can see them.

[0053] For example, the data structure for bullet comments can be as follows:

[0054] {

[0055] The time unit for transmission in the video is seconds;

[0056] Types of bullet comments;

[0057] The size of the bullet screen text;

[0058] The color of the bullet screen text;

[0059] The date the bullet comments were created;

[0060] The class name for the bullet comments;

[0061] Bullet comments (e.g., text, images, controls);

[0062] Do bullet comments have borders?

[0063] The color of the bullet screen border;

[0064] The line spacing style of bullet comments;

[0065] }

[0066] Candidate bullet comments: Bullet comments sent by viewers while watching multimedia content.

[0067] Martian language: refers to a script that is incomprehensible to Earthlings, composed of symbols, obscure characters, or fragments of Chinese characters, among other non-standard writing systems. Martian language originated among young netizens who, seeking to express their individuality, began using a large number of homophones, near-homophones, and special symbols to represent sounds. Because this script differs significantly from everyday writing and has a rather unusual grammar, it is called Martian language.

[0068] This application provides a bullet screen display technology solution. In this solution, by switching text styles, multiple candidate bullet screens are displayed in the multimedia display area in the form of bullet screens, thereby creating a display effect where the text style of the bullet screens changes, enhancing the interactivity and playability of the bullet screens, and improving the user experience. See below for details.

[0069] Finally, for ease of understanding, an exemplary operating environment is provided below.

[0070] like Figure 1 As shown, the runtime environment diagram includes: service platform 2 and client.

[0071] Service platform 2 can connect to clients (4A, 4B, ..., 4N) via the network.

[0072] Service platform 2 can provide clients with various content and bullet screen services. For example, it can send videos and bullet screens to clients 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 also include wireless links, such as cellular links, satellite links, and Wi-Fi links.

[0073] Service platform 2 can be a single server, a server cluster, or a cloud computing service center, used to provide various services. For example:

[0074] Service platform 2 can provide content services. These content services can be configured to provide content such as video, audio, text data, and combinations thereof. 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.

[0075] Service platform 2 can be configured to receive multiple messages. The multiple messages may include multiple bullet comments associated with the content.

[0076] Service platform 2 can provide a bullet screen service, which can be configured to allow users to comment and / or share comments (i.e., bullet screens) related to the content. Bullet screens are displayed on the same screen along with the content. They can be displayed as an overlay above the content and can have animation effects. For example, bullet screens can scroll (e.g., from right to left, from left to right, from top to bottom, etc.), and this animation effect can be implemented based on the CSS3 transition property.

[0077] Clients (4A, 4B, ... 4N) can be configured to access the content and services of service platform 2. Clients (4A, 4B, ... 4N) may include electronic devices with built-in or external display panels, such as mobile devices, tablets, laptops, workstations, virtual reality devices, gaming devices, digital streaming media devices, vehicle clients, smart TVs, set-top boxes, etc., and may also include virtualized computing examples. Virtualized computing examples may include virtual machines, such as simulations of computer systems, operating systems, servers, etc.

[0078] The client (4A, 4B, ... 4N) may include multiple client programs, such as video apps, live streaming apps, or mini-programs with built-in bullet screen systems. In this embodiment, the client programs can present the video and other content provided by the service platform 2, and the bullet screen content can be presented in a specific way through the bullet screen system.

[0079] The client (4A, 4B, ... 4N) may include an interface, which may include a touchpad, touchscreen, mouse, keyboard, or other sensing elements. For example, the input element may be configured to accept user commands that enable the client (4A, 4B, ... 4N) to perform various operations, such as inputting comments.

[0080] It should be noted that the above-described devices are exemplary, and the number and type of devices can be adjusted in different scenarios or according to different needs. It should also be understood that these embodiments can be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein.

[0081] The technical solutions of this application are described below using a client (such as 4A) as the execution entity through multiple embodiments. It should be understood that these embodiments can be implemented in many different forms and should not be construed as being limited to the embodiments described herein.

[0082] Example 1

[0083] Figure 2 A flowchart illustrating a bullet screen display method according to Embodiment 1 of this application is shown schematically.

[0084] like Figure 2 As shown, the bullet screen display method may include steps S200~S206, wherein:

[0085] Step S200: Display the multimedia display area, which is used to display multimedia content.

[0086] Step S202: Obtain multiple candidate bullet comments corresponding to the multimedia content.

[0087] Step S204: In response to the text style switching instruction, the text style of the multiple candidate bullet comments is switched from the first text style to the second text style.

[0088] Step S206: Display multiple candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style.

[0089] By switching the text style of multiple candidate bullet comments from a first text style to a second text style, and displaying the multiple candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style, a display effect of changing bullet comment text style is produced, thereby enhancing the interactivity and playability of bullet comments and improving the user experience.

[0090] The following details steps S200 to S206 and other optional steps.

[0091] Step S200 The multimedia display area is used to display multimedia content.

[0092] 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.).

[0093] The multimedia content can include live video, on-demand video, images, various types of text (such as news, novels, etc.), music, etc.

[0094] Step S202 , and obtain multiple candidate bullet comments corresponding to the multimedia content.

[0095] Multimedia content is associated with comments, messages, or interactions posted by viewers while watching the content (candidate bullet comments). Candidate bullet comments can be all bullet comments in the relevant bullet comment pool, or a subset of bullet comments selected from the pool. Selection criteria may include random selection, viewer level, bullet comment type, blocked words, and posting time.

[0096] Step S204 In response to a text style switching command, the text style of the multiple candidate bullet comments is switched from a first text style to a second text style.

[0097] The style switching command is used to trigger the switching of the text style of candidate bullet comments from the first text style to the second text style. This style switching command can be triggered by the user actively clicking the text style switching control (such as a button) displayed in the multimedia display area, or it can be automatically triggered by a preset automated control program clicking the text style switching control displayed in the multimedia display area, or it can be directly generated by a preset control program, etc.

[0098] The text style refers to the visual representation of text characters in candidate bullet comments when displayed in the multimedia display area, including attributes such as language, font, size, color, alignment, line spacing, character spacing, and variant font transformation.

[0099] In an optional embodiment, the first text style is the default text style, and the second text style is a variant text style, such as Martian text.

[0100] The default text style refers to the pre-defined text characters, such as SimSun font, size 5, and black Chinese characters.

[0101] Variant script styles refer to variant characters derived from Chinese characters. These variant characters are special characters / symbols that have a pre-defined correspondence with Chinese characters, such as Martian script. In some embodiments, they can also be transformed Eskimo characters, oracle bone script, etc.

[0102] In this embodiment, the Martian text display effect is achieved by switching the text style of the candidate bullet comments from the first text style to a style such as Martian text.

[0103] In an optional embodiment, see [link to relevant documentation] Figure 3 The text style switching instruction is obtained through the following operation:

[0104] Step S300: Display the text style switching control.

[0105] Step S302: In response to the triggering operation of the text style switching control, generate the text style switching instruction.

[0106] The text style toggle control can be displayed in any area of ​​the multimedia display area, such as in the middle of the multimedia display area, in the upper right corner of the multimedia display area, or outside the multimedia display area.

[0107] The text style toggle control can be a single text style toggle icon, or it can consist of a text style toggle icon and a descriptive phrase. The text style toggle icon can be any icon, such as the Mars icon. The descriptive phrase can also be any phrase; for example, the descriptive phrase could be "Go to Mars".

[0108] See Figure 4 and Figure 5 The text style switching icon and its description can change in response to the user's click. For example, the text style switching icon initially appears as a Mars icon, and the initial description reads "Go to Mars." When the user clicks the text style switching control, the icon changes from a Mars icon to an Earth icon, and the description changes from "Go to Mars" to "Return to Earth."

[0109] The triggering operation can be a single click, a double click, a swipe, etc.

[0110] In this embodiment, a text style switching control is provided to allow users to flexibly control the display style of the bullet screen text.

[0111] In an optional embodiment, the text style switching control is pre-configured with a display time range.

[0112] The display time interval is a pre-configured time interval that triggers the text style switching control to be displayed. As an example, if the display time interval is 14:00-16:00 on December 18, 2024, then the text style switching control will only be displayed within this time interval and will not be displayed outside of this time interval.

[0113] Step S300 may include: if the current time is within the display time interval, popping up the text style switching control at a preset position.

[0114] In practical applications, during multimedia content playback, it is determined whether the current time falls within the specified display time interval. If it is determined that the current time falls within the specified display time interval, a text style switching control will pop up at a preset location. The preset location can be located within the multimedia display area or outside the multimedia display area.

[0115] In this embodiment, the text style switching control is displayed only during the specified time period, which avoids the control occupying the display interface for extended periods and improves the user experience. It should be noted that the text style switching control can also be triggered based on other conditions. For example, it can pop up in real time based on the user's voice (including keywords).

[0116] In an optional embodiment, the method further includes:

[0117] If the current time exceeds the display time interval, hide the text style switching control.

[0118] In this embodiment, by hiding the text style switching control, the control can be prevented from occupying the display interface during non-specific periods.

[0119] In an optional embodiment, the method further includes:

[0120] When the text style switching control has been triggered, the display state of the text style switching control is switched from the first state to the second state.

[0121] The first state and the second state are two different display states. The difference between these two states can be that the color of the text style switching control is different, the text style switching icon contained in the text style switching control is different, the descriptive text of the switching icon contained in the text style switching control is different, or both the text style switching icon and the switching icon descriptive text contained in the text style switching control are different.

[0122] In this embodiment, by using two display states to represent the state before and after triggering the text style switching control, it is easier for users to distinguish whether the text style switching control has been triggered.

[0123] In an optional embodiment, the multimedia content is a live video; the text style switching instruction is obtained through the following operation: when the live video reaches a preset live time point, the text style switching instruction is generated.

[0124] The live broadcast time can be set and modified in advance according to the actual situation.

[0125] As an example, if the live stream time is 20:00 on December 18, 2024, then during the playback of the live video, the system will detect whether the current live stream time has reached 20:00 on December 18, 2024. When the live stream time reaches 20:00 on December 18, 2024, the text style switching instruction will be automatically generated. After that, all candidate bullet comments sent after that time will be displayed in the multimedia display area as bullet comments using the second text style.

[0126] In an optional embodiment, the multimedia content is on-demand video; the text style switching instruction is obtained through the following operations:

[0127] When the playback progress of the on-demand video reaches a preset playback time point, the text style switching instruction is generated; or

[0128] When the playback progress of the on-demand video is adjusted to within a preset playback progress range, the text style switching instruction is generated.

[0129] The preset playback time points and preset playback progress intervals can be set and modified in advance according to the actual situation.

[0130] As an example, if the preset playback time is the 20th minute of the multimedia content playback, the system will detect whether the current playback progress has reached the 20th minute during the playback of the on-demand video. When the current playback progress reaches the 20th minute, the text style switching instruction will be automatically generated. Subsequently, all candidate bullet comments associated with this playback progress will be displayed in the multimedia display area in the form of bullet comments using the second text style.

[0131] As an example, if the preset playback progress interval is 30-50 minutes of multimedia content playback, then during the playback of the on-demand video, if the playback progress is dragged to the 40-minute mark, it will be determined whether the adjusted playback progress is within the preset playback progress interval. Since the 40-minute mark is within the 30-50 minute interval, it can be determined that the adjusted playback progress is within the preset playback progress interval. At this time, the text style switching instruction will be automatically generated. Subsequently, for candidate bullet comments associated within 40-50 minutes, the second text style will be used to display them as bullet comments in the multimedia display area. For candidate bullet comments associated after 50 minutes, the default setting will restore normal display, that is, the first text style will be used to display the candidate bullet comments associated after 50 minutes as bullet comments in the multimedia display area.

[0132] In this embodiment, by configuring the corresponding text style switching instruction generation timing for live video and on-demand video, the text style switching instruction can be automatically generated in both live video and on-demand video, improving applicability.

[0133] Step S206 In the second text style, multiple candidate bullet comments are displayed in the multimedia display area in the form of bullet comments.

[0134] In practical applications, when multiple candidate bullet comments are displayed in the multimedia display area in the form of bullet comments using the second text style, the text style of the candidate bullet comments that are currently displayed in the multimedia display area can be changed without changing the text style. Only the multiple candidate bullet comments that are not yet displayed can be displayed using the second text style.

[0135] In other embodiments, candidate bullet comments that are already displayed in the multimedia display area may also continue to be displayed in the multimedia display area in the second text style until they slide out of the multimedia display area.

[0136] In summary, by switching the text style of multiple candidate bullet comments from a first text style to a second text style, and displaying the multiple candidate bullet comments in the form of bullet comments in the multimedia display area using the second text style, a display effect of changing the text style of the bullet comments is generated, thereby improving the interactivity and playability of the bullet comments and enhancing the user experience.

[0137] To make this application easier to understand, the following is combined with... Figure 6 An example application is provided.

[0138] Step S600: Display the multimedia display area, which is used to display multimedia content.

[0139] Step S602: When the multimedia content reaches a preset first playback progress, the text style switching control is displayed. The first playback progress is used as the progress at which the text style switching control is displayed, and the first preset progress is 10 minutes.

[0140] Step S604: In response to a text style switching instruction, the text style of the multiple candidate bullet comments is switched from a first text style to a second text style. For example, Chinese sentences are converted into Martian language sentences or oracle bone script sentences.

[0141] Step S606: Display multiple candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style.

[0142] Step S608: When the multimedia content reaches the preset second playback progress, the text style switching control is no longer displayed. Simultaneously, the candidate comments following the multimedia content are displayed normally again in the multimedia display area. The second playback progress serves as the end point for displaying the text style switching control; the second preset progress is 20 minutes.

[0143] Example 2

[0144] 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, an acquisition module 720, a response module 730, and a second display module 740, wherein:

[0145] The first display module 710 is used to display a multimedia display area, which is used to display multimedia content.

[0146] The acquisition module 720 is used to acquire multiple candidate bullet comments corresponding to the multimedia content;

[0147] The response module 730 is used to switch the text style of the multiple candidate bullet comments from a first text style to a second text style in response to a text style switching instruction.

[0148] The second display module 740 is used to display a plurality of the candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style.

[0149] As an optional embodiment, the text style switching instruction is obtained through the following operation:

[0150] Display text style toggle control;

[0151] In response to a trigger operation on the text style switching control, a text style switching instruction is generated.

[0152] As an optional embodiment, the text style switching control is pre-configured with a display time range;

[0153] Correspondingly, the text style toggle control includes:

[0154] If the current time is within the specified display time interval, the text style switching control will pop up at a preset position.

[0155] As an optional embodiment, the device 700 further includes a hidden module for:

[0156] If the current time exceeds the display time interval, hide the text style switching control.

[0157] As an optional embodiment, the device 700 further includes a switching module for:

[0158] When the text style switching control has been triggered, the display state of the text style switching control is switched from the first state to the second state.

[0159] As an optional embodiment, the multimedia content is live video;

[0160] The text style switching instruction is obtained through the following operation:

[0161] When the live video reaches a preset live time point, the text style switching instruction is generated; or

[0162] The multimedia content is on-demand video;

[0163] Correspondingly, the text style switching instruction is obtained through the following operation:

[0164] When the playback progress of the on-demand video reaches a preset playback time point, the text style switching instruction is generated; or

[0165] When the playback progress of the on-demand video is adjusted to within a preset playback progress range, the text style switching instruction is generated.

[0166] As an optional embodiment, the first text style is the default text style, and the second text style is a variant text style.

[0167] Example 3

[0168] 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 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 and be linked with each other via a system bus. Wherein:

[0169] 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.

[0170] 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.

[0171] 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.

[0172] 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.

[0173] 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.

[0174] Example 4

[0175] 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.

[0176] 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.

[0177] Example 5

[0178] 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.

[0179] 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.

[0180] 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; Obtain multiple candidate bullet comments corresponding to the multimedia content; In response to a text style switching command, the text style of the multiple candidate bullet comments is switched from a first text style to a second text style; Using the second text style, multiple candidate bullet comments are displayed in the multimedia display area in the form of bullet comments; The text style switching instruction is obtained through the following operation: Display text style toggle control; In response to a trigger operation on the text style switching control, a text style switching instruction is generated; The text style switching control is pre-configured with a display time interval, which is the playback time interval of the multimedia content; Correspondingly, the text style toggle control includes: If the current time is within the specified display time interval, the text style switching control will pop up at a preset position.

2. The method according to claim 1, characterized in that, The method further includes: If the current time exceeds the display time interval, hide the text style switching control.

3. The method according to any one of claims 1 to 2, characterized in that, The method further includes: When the text style switching control has been triggered, the display state of the text style switching control is switched from the first state to the second state.

4. The method according to claim 1, characterized in that, The multimedia content is live video; the text style switching instruction is obtained through the following operations: When the live video reaches a preset live time point, the text style switching instruction is generated; or The multimedia content is on-demand video; the text style switching instruction is obtained through the following operations: When the playback progress of the on-demand video reaches a preset playback time point, the text style switching instruction is generated; or When the playback progress of the on-demand video is adjusted to within a preset playback progress range, the text style switching instruction is generated.

5. The method according to any one of claims 1 to 2, characterized in that, The first text style is the default text style, and the second text style is the variant text style.

6. 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 acquisition module is used to acquire multiple candidate bullet comments corresponding to the multimedia content; The response module is used to switch the text style of the multiple candidate bullet comments from the first text style to the second text style in response to the text style switching command; The second display module is used to display multiple candidate bullet comments in the multimedia display area in the form of bullet comments using the second text style; The text style switching instruction is obtained through the following operation: Display text style toggle control; In response to a trigger operation on the text style switching control, a text style switching instruction is generated; The text style switching control is pre-configured with a display time interval, which is the playback time interval of the multimedia content; Correspondingly, the text style toggle control includes: If the current time is within the specified display time interval, the text style switching control will pop up at a preset position.

7. 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 5.

8. 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 5.

9. 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 5.