Bullet screen sending method and device
By displaying the target controls on the multimedia content playback interface and responding to user operations, displaying the barrage selection area and preset animation, the problem of insufficient playability of the existing barrage sending solution is solved, and the function of users sending random barrages is realized, which improves the user experience.
Patent Information
- Application Number
- CN202510122355.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-02
AI Technical Summary
The existing barrage sending solution is insufficient playability, resulting in poor user experience.
By displaying the target control on the multimedia content playback interface, in response to the user's trigger operation, display the barrage selection area and play a preset animation, extract one of the target candidate barrage content from multiple candidate barrage content, display the content after the animation is over, and send the target barrage in response to the user's sending operation.
The function of users sending random barrages is realized, making users more interested in participating in sending barrages, improving the playability and fun of barrage sending, and enhancing the user experience.
Smart Images

Figure CN119922367A_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 sending method, apparatus, 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 sending solutions are not playable enough, 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 sending 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 method for sending a bullet screen, the method comprising: Displaying a multimedia content playback interface, wherein the multimedia content playback interface displays a target control; In response to a trigger operation on a target control, a bullet screen selection area is displayed; Playing a preset animation in the barrage selection area, the preset animation is used to represent the extraction of a candidate barrage content from multiple candidate barrage contents as a target candidate barrage content; When the preset animation is finished playing, displaying the target candidate bullet screen content in the bullet screen selection area; In response to a barrage sending operation for a target candidate barrage content, a target barrage generated based on the target candidate barrage content is sent.
[0007] Optionally, when the preset animation is played, displaying the target candidate bullet screen content in the bullet screen selection area includes: When the preset animation is finished playing, the target candidate bullet screen content is displayed in the bullet screen selection area in the form of a pop-up window.
[0008] Optionally, the method further comprises: When the preset animation is finished playing, at least one candidate bullet screen content is displayed statically or in motion in the bullet screen selection area.
[0009] Optionally, the method further comprises: When the preset animation is finished playing, a bullet screen sending control is displayed in the bullet screen selection area in the form of a pop-up window; Correspondingly, in response to a barrage sending operation for a target candidate barrage content, sending a target barrage generated based on the target candidate barrage content includes: In response to a trigger operation on the barrage sending control, a target barrage generated based on the target candidate barrage content is sent.
[0010] Optionally, the method further comprises: When the preset animation is finished playing, a change control is displayed in the bullet screen selection area in the form of a pop-up window; In response to the triggering operation of the change control, a candidate barrage content is re-extracted from the multiple candidate barrage contents as a new target candidate barrage content, and the new target candidate barrage content is displayed in the barrage selection area.
[0011] Optionally, the bullet screen selection area includes a tab control of a first category and at least one tab control of a second category. Correspondingly, in response to the triggering operation on the target control, displaying the bullet screen selection area includes: In response to a trigger operation on a target control, the tab control of the first category is selected, and the bullet screen selection area is displayed.
[0012] Optionally, the method further comprises: In response to a selection operation on any one of the second category tab controls, switching to display a list of candidate barrage content in the barrage selection area; In response to a barrage sending operation for any candidate barrage content in the candidate barrage content list, a barrage generated based on the any candidate barrage content is sent.
[0013] Optionally, the multimedia content playback interface includes a multimedia content playback area and a bullet screen function area, and the target control is displayed in the bullet screen function area.
[0014] Another aspect of an embodiment of the present application provides a bullet screen sending device, the device comprising: A first display module, used to display a multimedia content playback interface, wherein the multimedia content playback interface displays a target control; A response module, used for displaying a bullet screen selection area in response to a trigger operation on a target control; A playing module, used for playing a preset animation in the barrage selection area, wherein the preset animation is used for representing that a candidate barrage content is extracted from a plurality of candidate barrage contents as a target candidate barrage content; A second display module is used to display the target candidate bullet screen content in the bullet screen selection area when the preset animation is played; The sending module is used to send a target barrage generated based on the target candidate barrage content in response to a barrage sending operation for the target candidate barrage content.
[0015] 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.
[0016] 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.
[0017] 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.
[0018] The embodiments of the present application using the above technical solution may include the following advantages: by responding to a trigger operation on a target control (such as a barrage control), a barrage selection area is displayed, and a preset animation is played in the barrage selection area, wherein the preset animation is used to represent the extraction of a candidate barrage content from multiple candidate barrage contents as the target candidate barrage content. When the preset animation is played, the target candidate barrage content is displayed in the barrage selection area, and in response to a barrage sending operation on the target candidate barrage content, a target barrage generated based on the target candidate barrage content is sent. The above barrage sending method enables users to send random barrages, making users more interested in participating in sending barrages, improving the playability and fun of barrage sending, and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS 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.
[0019] Figure 1 The following schematically shows an operating environment diagram of the bullet screen sending method according to the first embodiment of the present application; Figure 2 The flowchart of the method for sending a bullet screen according to the first embodiment of the present application is schematically shown; Figure 3 A schematic diagram schematically shows a multimedia content playback interface; Figure 4 A schematic diagram schematically shows one frame of an animation in a preset animation; Figure 5 The newly added flow chart of the bullet screen sending method according to the first embodiment of the present application is schematically shown; Figure 6 A schematic diagram of a barrage selection area including a change control, the target candidate barrage content and a barrage sending control is schematically shown; Figure 7 The newly added flow chart of the bullet screen sending method according to the first embodiment of the present application is schematically shown; Figure 8 A schematic diagram schematically shows a bullet discussion selection area including a list of candidate bullet discussion contents; Fig. 9 A block diagram of a barrage sending device according to Embodiment 2 of the present application is schematically shown; and Fig.10 The hardware architecture diagram of the computer device according to the third embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0020] 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.
[0021] 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.
[0022] 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.
[0023] First, the following terms are explained: Danmu: text, emoticons, pictures, animations, etc. that pop up and move in a predetermined direction when watching a video on the Internet. Danmu does not have a fixed word in English yet, and is usually called: comment, danmaku, barrage, bullet screen, bullet-screen comment, etc. Danmu allows viewers to post comments or thoughts, but unlike ordinary video sharing websites that only display comments in the dedicated comment area under the player, it will appear on the video screen in real time in the form of sliding subtitles to ensure that all viewers can notice it.
[0024] 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; } Secondly, to facilitate those skilled in the art to understand the technical solution provided by the embodiments of the present application, the following is an explanation of the related technology: The inventors understand that the existing bullet screen sending solution is generally that the user customizes the text and then sends the edited text as the bullet screen content. The playability of sending bullet screens is insufficient, resulting in a poor user experience.
[0025] The embodiment of the present application provides a technical solution for sending barrages. In this technical solution, random barrages are sent, which makes users more interested in participating in sending barrages, improves the playability and fun of sending barrages, and enhances user experience. See below for details.
[0026] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0027] like Figure 1 As shown, the operating environment diagram includes: a service platform 2 and a client.
[0028] The service platform 2 can be connected to the client terminals ( 4A, 4B, ..., 4N) via the network.
[0029] The service platform 2 can provide various content and bullet screen services for the client. For example, the video and bullet screen are 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.
[0030] 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.
[0031] The service platform 2 may be configured to receive a plurality of messages. The plurality of messages may include a plurality of bullet comments associated with the content.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] 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. It should be noted that these embodiments can be implemented in many different forms and should not be construed as being limited to the embodiments described here.
[0037] 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.
[0038] Embodiment 1 Figure 2 The flowchart of the barrage sending method according to the first embodiment of the present application is schematically shown.
[0039] like Figure 2 As shown, the bullet screen sending method may include steps S200 to S208, wherein: Step S200: displaying a multimedia content playback interface, wherein a target control is displayed on the multimedia content playback interface.
[0040] Step S202, in response to a trigger operation on a target control, a bullet screen selection area is displayed.
[0041] Step S204, playing a preset animation in the barrage selection area, wherein the preset animation is used to represent the extraction of a candidate barrage content from multiple candidate barrage contents as the target candidate barrage content.
[0042] Step S206, when the preset animation is finished playing, display the target candidate bullet screen content in the bullet screen selection area.
[0043] Step S208, in response to the barrage sending operation for the target candidate barrage content, sending the target barrage generated based on the target candidate barrage content.
[0044] In response to a trigger operation on a target control (such as a barrage control), a barrage selection area is displayed, and a preset animation is played in the barrage selection area, wherein the preset animation is used to represent the extraction of a candidate barrage content from multiple candidate barrage contents as the target candidate barrage content. When the preset animation is finished playing, the target candidate barrage content is displayed in the barrage selection area, and in response to a barrage sending operation on the target candidate barrage content, a target barrage generated based on the target candidate barrage content is sent. The above-mentioned barrage sending method enables users to send random barrages, making users more interested in participating in sending barrages, improving the playability and fun of barrage sending, and enhancing user experience.
[0045] Steps S200 to S208 and other optional steps are described in detail below.
[0046] Step S200: displaying a multimedia content playback interface, wherein a target control is displayed on the multimedia content playback interface.
[0047] The multimedia content playback interface is an interface on the device screen for playing multimedia content. In actual applications, the multimedia content playback interface includes not only a multimedia content playback area, but also a bullet screen function area, a bullet screen display area, etc.
[0048] The multimedia content playback area is used to play multimedia content. The multimedia content playback area may include a player, controls and / or other display elements, such as play / pause, volume control, speed, progress bar and / or bullet screen settings. The multimedia content playback area may be full screen, 1 / 4 screen, 1 / 2 screen, 3 / 4 screen, etc. Among them, the player may support various video types, such as live broadcast, on-demand (such as movies, TV shows, user-uploaded videos, animations, etc.).
[0049] The bullet screen function area is used to implement the relevant interactive functions of the bullet screen. The bullet screen function area may include a bullet screen input area, and other spaces or display elements related to the bullet screen function, such as the target control, gift control, etc.
[0050] The bullet comment display area is used to display the bullet comments sent by users.
[0051] It should be noted that the display positions of the multimedia content playback area, the bullet screen function area, and the bullet screen display area in the multimedia content playback interface may be pre-set, and this is not limited in the present embodiment of the application.
[0052] The multimedia content may be live video, on-demand video, pictures, various types of text (such as news, novels, etc.), music, etc.
[0053] The target control (such as a button) serves as a function entry for starting the activity of participating in sending target barrage. For example, the activity of sending target barrage is an activity of sending random barrage whose first word of the barrage content is "receive". In practical applications, users can start the activity of participating in sending target barrage by clicking or swiping the target control. When the user clicks or swipes the target control again, the function entry for the activity of participating in sending target barrage can be closed.
[0054] In this embodiment, by displaying the target control on the multimedia content playback interface, users can be guided to participate in the activity of sending target barrage.
[0055] In an alternative embodiment, the multimedia content playback interface includes a multimedia content playback area and a barrage function area, and the target control is displayed on the barrage function area.
[0056] Among them, the target control can be displayed at any position on the barrage function area.
[0057] As an example, refer to Figure 3 , the multimedia content playback interface includes a multimedia content playback area a, a barrage display area b, and a barrage function area c, and the target control ("receive" control) is displayed on the right side of the barrage input area in the barrage function area c.
[0058] In other embodiments, the target control can also be directly displayed on the multimedia content playback area, and the specific position displayed on the multimedia content playback area can be set according to actual situations.
[0059] Step S202, in response to a trigger operation on the target control, display a barrage selection area.
[0060] The trigger operation can be a click operation, a double-click operation, a swipe operation, etc.
[0061] The barrage selection area is used for users to randomly or independently select candidate barrage content to be sent, and for playing a preset animation, displaying candidate barrage content, etc.
[0062] In this embodiment, after the user performs a trigger operation on the target control, the barrage selection area will be displayed on the multimedia content playback interface for subsequent playing of a preset animation in the barrage selection area, and when the preset animation is played, the target candidate barrage content will be displayed in the barrage selection area.
[0063] Among them, the barrage selection area can occupy 1 / 4 screen, 1 / 2 screen, 3 / 4 screen, etc. of the entire multimedia content playback interface.
[0064] Step S204, play a preset animation in the bullet screen selection area, where the preset animation is used to represent extracting one candidate bullet screen content from multiple candidate bullet screen contents as the target candidate bullet screen content.
[0065] The animation content in the preset animation can be set according to the actual situation and is not limited in this embodiment.
[0066] As an example, the animation content of the preset animation may include a special effect display (such as a scrolling display) of multiple candidate bullet screen contents, and finally a screen of randomly extracting one candidate bullet screen content from multiple candidate bullet screen contents. In addition, the animation content of some animation frames in the preset animation may also include an icon for reflecting the theme of the candidate bullet screen content.
[0067] It should be noted that, in order to enhance the atmosphere, the preset animation may also include an entrance atmosphere screen. For example, a screen of fireworks blooming is used as the entrance atmosphere screen.
[0068] As an example, one of the animation frames in the preset animation is as Figure 4 shown, which includes multiple candidate bullet screen contents and an icon for reflecting the theme of the candidate bullet screen content, that is, the icon of the character "receive".
[0069] The multiple candidate bullet screen contents are pre-configured. Each candidate bullet screen content may consist of a bullet screen copywriting and an icon matching the theme of the bullet screen copywriting. The target candidate bullet screen content can be randomly extracted from multiple candidate bullet screen contents, or extracted from multiple candidate bullet screen contents according to a pre-set algorithm.
[0070] It should be noted that the candidate bullet screen content may also be picture information, text information, audio information, etc. Among them, the candidate bullet screen content may also include one or more of the above information at the same time. For example, the candidate bullet screen content may include pictures and corresponding texts at the same time.
[0071] Step S206, when the preset animation is played out, display the target candidate bullet screen content in the bullet screen selection area.
[0072] In this embodiment, after the preset animation is played out, the target candidate bullet screen content will be promptly displayed in the bullet screen selection area so that the user can intuitively understand the bullet screen content currently extracted by him / her.
[0073] In an optional embodiment, step S206 may include: When the preset animation is played out, display the target candidate bullet screen content in a pop-up window form in the bullet screen selection area.
[0074] In this embodiment, when the preset animation is finished playing, the target candidate barrage content can be highlighted by displaying the target candidate barrage content in the barrage selection area in the form of a pop-up window.
[0075] In other embodiments, when the preset animation is played, other methods may be used to display the target candidate barrage content on the barrage selection area. For example, the target candidate barrage content may be highlighted by changing the display style of the target candidate barrage content on the barrage selection area. The display style may be changed by amplifying the target candidate barrage content, changing the color of the target candidate barrage content, etc.
[0076] Step S208, in response to the barrage sending operation for the target candidate barrage content, sending the target barrage generated based on the target candidate barrage content.
[0077] The bullet screen sending operation may be a single click operation, a double click operation, a sliding operation, etc. on the target candidate bullet screen content. The bullet screen sending operation may also be a single click operation, a double click operation, a sliding operation, etc. triggered by a bullet screen sending control (button) displayed on the bullet screen selection area.
[0078] The target barrage may include the target candidate barrage content, the nickname of the sender of the target barrage, the sending time of the target barrage, etc.
[0079] In summary, by extracting a candidate barrage content from multiple candidate barrage contents as the target candidate barrage content; when the preset animation is played, the target candidate barrage content is displayed in the barrage selection area; in response to the barrage sending operation for the target candidate barrage content, the target barrage generated based on the target candidate barrage content is sent, thereby realizing the function of users sending random barrages, making users more interested in participating in sending barrages, improving the playability and fun of barrage sending, and enhancing user experience.
[0080] In an optional embodiment, the method further comprises: When the preset animation is finished playing, at least one candidate bullet screen content is displayed statically or in motion in the bullet screen selection area.
[0081] In this embodiment, when the preset animation is played, at least one candidate bullet screen content will be displayed statically or movingly in the bullet screen selection area as a background to highlight the target candidate bullet screen content.
[0082] Among them, at least one candidate barrage content can be moved in the barrage selection area from the right side of the screen along the horizontal direction to the left side of the screen, and at least one candidate barrage content can also be moved in the barrage selection area from the left side of the screen along the horizontal direction to the right side of the screen.
[0083] In an optional embodiment, the method further comprises: When the preset animation is finished playing, a bullet screen sending control is displayed in the bullet screen selection area in the form of a pop-up window.
[0084] The barrage sending control is a control (button) used to trigger the generation of a barrage sending instruction. When the user performs a single-click operation, a double-click operation, a sliding operation, etc. on the barrage sending control, the barrage sending instruction will be generated. After detecting the barrage sending instruction, the client will generate a target barrage based on the target candidate barrage content and send the target barrage out so that the target barrage can be displayed in the playback interface of the multimedia content later.
[0085] It can be understood that the barrage sending control can be displayed at any position on the barrage selection area.
[0086] In this embodiment, the barrage sending control can be displayed in an independent pop-up window, that is, the target candidate barrage content is displayed through a first pop-up window, and the barrage sending control is displayed through a second pop-up window different from the first pop-up window.
[0087] In other implementations, the barrage sending control may also be displayed in the same pop-up window as the target candidate barrage content.
[0088] In other implementations, the barrage sending control may also be directly embedded in the barrage selection area.
[0089] Correspondingly, in response to a barrage sending operation for a target candidate barrage content, sending a target barrage generated based on the target candidate barrage content includes: In response to a trigger operation on the barrage sending control, a target barrage generated based on the target candidate barrage content is sent.
[0090] The triggering operation for the bullet screen sending control may be a single-click operation, a double-click operation, a sliding operation, etc.
[0091] In this embodiment, the target barrage generated based on the target candidate barrage content will be sent only after the user triggers the barrage sending control, so that the user can conveniently control whether to send the target barrage.
[0092] In an alternative embodiment, see Figure 5 , the method further comprises: Step S500, when the preset animation is finished playing, a change control is displayed in the bullet screen selection area in the form of a pop-up window.
[0093] Step S502, in response to the triggering operation of the change control, re-extract a candidate barrage content from multiple candidate barrage contents as a new target candidate barrage content, and display the new target candidate barrage content in the barrage selection area.
[0094] The switch control is a control (button) for triggering the generation of a bullet screen re-extraction instruction. When the user triggers the switch control, the bullet screen re-extraction instruction is generated. After detecting the bullet screen re-extraction instruction, the client re-extracts a candidate bullet screen content from multiple candidate bullet screen contents as a new target candidate bullet screen content, and displays the new target candidate bullet screen content in the bullet screen selection area.
[0095] In this embodiment, the change control can also be displayed in an independent pop-up window, that is, the target candidate bullet content is displayed in the first pop-up window, the bullet sending control is displayed in the second pop-up window, and the change control is displayed in the third pop-up window. The first pop-up window, the second pop-up window and the third pop-up window are different pop-up windows.
[0096] For example, see Figure 6 The change control, the target candidate barrage content and the barrage sending control are displayed in different pop-up windows respectively.
[0097] In other implementations, the switch control may also be displayed in the same pop-up window as the target candidate barrage content, or may be displayed in the same pop-up window as the barrage sending control.
[0098] In other implementations, the switch control may also be directly embedded into the bullet screen selection area.
[0099] In this embodiment, a change control is provided so that the user can re-extract new candidate barrage content when the user is not satisfied with the currently extracted candidate barrage content, thereby improving the user experience.
[0100] In an optional embodiment, in order to improve the diversity of bullet screen selection, the bullet screen selection area may include a tab control of a first category and at least one tab control of a second category.
[0101] Among them, the tab control (Tab bar) is a very common interactive component in UI (user interface) design, which is used to display multiple different content modules or functional areas in a limited space. Users can switch to view different content by clicking different Tab bars without frequently jumping to other pages.
[0102] Correspondingly, in response to the triggering operation on the target control, displaying the bullet screen selection area includes: In response to a trigger operation on a target control, the tab control of the first category is selected, and the bullet screen selection area is displayed.
[0103] In this embodiment, after detecting a trigger operation on a target control, the tab control of the first category is automatically selected so that the content associated with the tab control of the first category can be displayed in the barrage selection area subsequently, that is, a preset animation is played in the barrage selection area.
[0104] In an alternative embodiment, see Figure 7 , the method further comprises: Step S700, in response to a selection operation on any one of the second category tab controls, switching to display a list of candidate barrage content in the barrage selection area.
[0105] Step S702, in response to a barrage sending operation for any candidate barrage content in the candidate barrage content list, a barrage generated based on the any candidate barrage content is sent.
[0106] The candidate barrage content list includes multiple candidate barrage contents that can be selected by the user.
[0107] As an example, the candidate bullet comment content list is as follows: Figure 8 As shown, it displays multiple candidate barrage contents.
[0108] In this embodiment, the barrage sending operation of the candidate barrage content may also be a single-click operation, a double-click operation, a sliding operation, etc. for the candidate barrage content. The barrage sending operation of the candidate barrage content may also be a single-click operation, a double-click operation, a sliding operation, etc. triggered by a barrage sending control (button) displayed in the barrage selection area.
[0109] In this embodiment, after the user switches to the second category of tab controls, multiple candidate bullet-screen contents can be displayed for the user to actively select, and after the user selects, the bullet-screen generated based on the selected candidate bullet-screen content can be sent. In this way, more diverse candidate bullet-screen contents are provided for the user to send, thereby improving the user experience.
[0110] Embodiment 2 Fig. 9 The block diagram of the bullet screen sending 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. Fig. 9 As shown, the bullet screen sending device 900 may include: a first display module 910, a response module 920, a play module 930, a second display module 940 and a sending module 950, wherein: A first display module 910, configured to display a multimedia content playback interface, wherein the multimedia content playback interface displays a target control; A response module 920, configured to display a bullet screen selection area in response to a trigger operation on a target control; A playing module 930 is used to play a preset animation in the bullet screen selection area, where the preset animation is used to represent the extraction of a candidate bullet screen content from multiple candidate bullet screen contents as a target candidate bullet screen content; The second display module 940 is used to display the target candidate bullet screen content in the bullet screen selection area when the preset animation is played; The sending module 950 is used to send a target barrage generated based on the target candidate barrage content in response to a barrage sending operation for the target candidate barrage content.
[0111] As an optional embodiment, when the preset animation is played, displaying the target candidate bullet screen content in the bullet screen selection area includes: When the preset animation is finished playing, the target candidate bullet screen content is displayed in the bullet screen selection area in the form of a pop-up window.
[0112] As an optional embodiment, the barrage sending device 900 also includes: a third display module.
[0113] The third display module is used for: When the preset animation is finished playing, at least one candidate bullet screen content is displayed statically or in motion in the bullet screen selection area.
[0114] As an optional embodiment, the barrage sending device 900 also includes: a fourth display module.
[0115] The fourth display module is used for: When the preset animation is finished playing, a bullet screen sending control is displayed in the bullet screen selection area in the form of a pop-up window.
[0116] The sending module 950 is further used for: In response to a trigger operation on the barrage sending control, a target barrage generated based on the target candidate barrage content is sent.
[0117] As an optional embodiment, the barrage sending device 900 also includes: a fifth display module.
[0118] The fifth display module is used for: When the preset animation is finished playing, a change control is displayed in the bullet screen selection area in the form of a pop-up window.
[0119] The response module 920 is further configured to: In response to the triggering operation of the change control, a candidate barrage content is re-extracted from the multiple candidate barrage contents as a new target candidate barrage content, and the new target candidate barrage content is displayed in the barrage selection area.
[0120] As an optional embodiment, the bullet screen selection area includes a tab control of a first category and at least one tab control of a second category.
[0121] The response module 920 is further configured to: In response to a trigger operation on a target control, the tab control of the first category is selected, and the bullet screen selection area is displayed.
[0122] As an optional embodiment, the barrage sending device 900 also includes: a sixth display module.
[0123] The sixth display module is used for: In response to a selection operation on any one of the second category tab controls, a candidate bullet-screen content list is switched and displayed in the bullet-screen selection area.
[0124] The sending module 950 is further used for: In response to a barrage sending operation for any candidate barrage content in the candidate barrage content list, a barrage generated based on the any candidate barrage content is sent.
[0125] As an optional embodiment, the multimedia content playback interface includes a multimedia content playback area and a bullet screen function area, and the target control is displayed in the bullet screen function area.
[0126] Embodiment 3 Fig.10The schematic diagram of the hardware architecture of a computer device 1000 suitable for implementing the bullet screen sending method according to the third embodiment of the present application is shown. In some embodiments, the computer device 1000 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 1000 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. Fig.10 As shown, the computer device 1000 includes but is not limited to: a memory 1010, a processor 1020, and a network interface 1030 which can communicate with each other through a system bus. Among them: The memory 1010 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 1010 may be an internal storage module of the computer device 1000, such as a hard disk or a memory of the computer device 1000. In other embodiments, the memory 1010 may also be an external storage device of the computer device 1000, 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 1000. Of course, the memory 1010 may also include both the internal storage module of the computer device 1000 and its external storage device. In this embodiment, the memory 1010 is generally used to store an operating system and various application software installed on the computer device 1000, such as program codes of a bullet screen sending method, etc. In addition, the memory 1010 can also be used to temporarily store various data that have been output or are to be output.
[0127] In some embodiments, the processor 1020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 1020 is generally used to control the overall operation of the computer device 1000, such as performing control and processing related to data interaction or communication with the computer device 1000. In this embodiment, the processor 1020 is used to run the program code stored in the memory 1010 or process data.
[0128] The network interface 1030 may include a wireless network interface or a wired network interface, and the network interface 1030 is generally used to establish a communication link between the computer device 1000 and other computer devices. For example, the network interface 1030 is used to connect the computer device 1000 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 1000 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 Fig.10 Only a computer device having components 1010 - 1030 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 barrage sending method stored in the memory 1010 can also be divided into one or more program modules and executed by one or more processors (such as processor 1020) 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 sending 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 sending method in the embodiment. 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 method for sending a bullet screen, characterized in that: The method comprises: Displaying a multimedia content playback interface, wherein a target control is displayed on the multimedia content playback interface; In response to a trigger operation on a target control, a bullet screen selection area is displayed; Playing a preset animation in the barrage selection area, the preset animation is used to represent the extraction of a candidate barrage content from multiple candidate barrage contents as a target candidate barrage content; When the preset animation is finished playing, displaying the target candidate bullet screen content in the bullet screen selection area; In response to a barrage sending operation for a target candidate barrage content, a target barrage generated based on the target candidate barrage content is sent.
2. The method according to claim 1, characterized in that When the preset animation is played, displaying the target candidate bullet screen content in the bullet screen selection area includes: When the preset animation is finished playing, the target candidate bullet screen content is displayed in the bullet screen selection area in the form of a pop-up window.
3. The method according to claim 2, characterized in that The method further comprises: When the preset animation is finished playing, at least one candidate bullet screen content is displayed statically or in motion in the bullet screen selection area.
4. The method according to claim 2, characterized in that: The method further comprises: When the preset animation is finished playing, a bullet screen sending control is displayed in the bullet screen selection area in the form of a pop-up window; Correspondingly, in response to a barrage sending operation for a target candidate barrage content, sending a target barrage generated based on the target candidate barrage content includes: In response to a trigger operation on the barrage sending control, a target barrage generated based on the target candidate barrage content is sent.
5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: When the preset animation is finished playing, a change control is displayed in the bullet screen selection area in the form of a pop-up window; In response to the triggering operation of the change control, a candidate barrage content is re-extracted from the multiple candidate barrage contents as a new target candidate barrage content, and the new target candidate barrage content is displayed in the barrage selection area.
6. The method according to any one of claims 1 to 4, characterized in that: The bullet screen selection area includes a first category tab control and at least one second category tab control, Correspondingly, in response to the triggering operation on the target control, displaying the bullet screen selection area includes: In response to a trigger operation on a target control, the tab control of the first category is selected, and the bullet screen selection area is displayed.
7. The method according to claim 6, characterized in that The method further comprises: In response to a selection operation on any one of the second category tab controls, switching to display a list of candidate barrage content in the barrage selection area; In response to a barrage sending operation for any candidate barrage content in the candidate barrage content list, a barrage generated based on the any candidate barrage content is sent.
8. The method according to claim 1, characterized in that The multimedia content playback interface includes a multimedia content playback area and a bullet screen function area, and the target control is displayed in the bullet screen function area.
9. A barrage sending device, characterized in that: The device comprises: A first display module, used to display a multimedia content playback interface, wherein the multimedia content playback interface displays a target control; A response module, used for displaying a bullet screen selection area in response to a trigger operation on a target control; A playing module, used for playing a preset animation in the barrage selection area, wherein the preset animation is used for representing that a candidate barrage content is extracted from a plurality of candidate barrage contents as a target candidate barrage content; A second display module is used to display the target candidate bullet screen content in the bullet screen selection area when the preset animation is played; The sending module is used to respond to the barrage sending operation for the target candidate barrage content and send the target barrage generated based on the target candidate barrage content.
10. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, 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 8.
11. 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 8 is implemented.
12. 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 8 are implemented.