Method, device, equipment, storage medium and product for publishing barrage

By previewing and customizing the barrage display style during the barrage editing process, the problem of single barrage display style is solved, diversified barrage content is realized, and user experience is improved.

CN116017015BActive Publication Date: 2025-08-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111223092.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-20
Publication Date
2025-08-26
Estimated Expiration
2041-10-20

AI Technical Summary

Technical Problem

In the prior art, the barrage display style is single, and it is impossible to differentiate the barrage content, which affects the user experience.

Method used

Provide a method of publishing barrage, by previewing multiple display styles during the editing operation, allowing users to customize barrage styles and display custom barrage content in the playback interface, including long pressing and dragging to adjust barrage display graphics.

Benefits of technology

It enriches the diversification of barrage display styles and improves the fun and user experience of sending barrage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017015B_ABST
    Figure CN116017015B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment, storage medium and product for publishing barrage; the method includes: playing media information in a playback interface; in response to a barrage editing operation for the media information, presenting the edited barrage content and a send icon corresponding to the barrage content; in response to a first editing operation of the barrage display style triggered by the send icon, during the execution of the first editing operation, using a preview method to display the barrage content under the edited barrage display style; in response to a release instruction for the first editing operation, publishing the barrage content, and using the edited barrage display style in the playback interface to display the barrage content. Through the present application, it is possible to preview the barrage content under the target barrage display style, enrich the diversity of barrage display styles, and increase the fun of sending barrages and playing media information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method, device, equipment, computer-readable storage medium, and computer program product for publishing barrage comments. Background Art

[0002] With the rise of barrage, more and more users like to send comments while watching videos to express their emotions. Barrage refers to a display method that displays a large number of user comments in the form of scrolling subtitles on the media content being played.

[0003] In related technologies, comments and discussions on video content are usually made by clicking the barrage send button on the screen, and clicking the barrage send button will not affect the sending style of the barrage. The barrage content mostly floats across the screen in the style of a line of text. The barrage display style is single, and it is impossible to make a differentiated display of the barrage content. Summary of the Invention

[0004] The embodiments of the present application provide a method, device, equipment, computer-readable storage medium and computer program product for publishing barrage, which can enrich the diversity of barrage display styles and increase the fun of sending barrage and playing media information.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a method for publishing a bullet comment, including:

[0007] Play media information in the playback interface;

[0008] In response to a bullet screen editing operation on the media information, presenting the edited bullet screen content and a sending icon corresponding to the bullet screen content;

[0009] In response to a first editing operation of the bullet screen display style triggered by the send icon, during the execution of the first editing operation, the bullet screen content under the edited bullet screen display style is displayed in a preview manner;

[0010] In response to a release instruction for the first editing operation, the barrage content is published, and the barrage content is displayed in the playback interface using the edited barrage display style.

[0011] The present invention provides a bullet comment publishing device, including:

[0012] Playback module, used to play media information in the playback interface;

[0013] A presentation module, configured to present the edited barrage content and a sending icon corresponding to the barrage content in response to a barrage editing operation on the media information;

[0014] A preview module, configured to respond to a first editing operation of the bullet screen display style triggered by the send icon, and during the execution of the first editing operation, display the bullet screen content under the edited bullet screen display style in a preview manner;

[0015] A publishing module is used to publish the barrage content in response to a release instruction for the first editing operation, and to display the barrage content in the playback interface using the edited barrage display style.

[0016] In the above solution, the preview module is further configured to, when the first editing operation is a long press operation, obtain the operation parameters of the long press operation and the barrage display graphic corresponding to the barrage content, and display the barrage content through the barrage display graphic in a preview manner;

[0017] During the execution of the long press operation, along with the change of the operation parameters, the image parameters of the barrage display graphic are synchronously adjusted, and the barrage content is displayed through the adjusted barrage display graphic;

[0018] The operation parameters include at least one of the following: operation duration and pressure.

[0019] In the above solution, the preview module is further used to obtain the number of characters corresponding to the barrage content;

[0020] From at least two types of barrage display graphics, a barrage display graphic that matches the number of characters is selected as the barrage display graphic corresponding to the barrage content.

[0021] In the above solution, the preview module is further used to present a setting interface for the barrage display graphics, and to display at least two barrage display graphics options in the setting interface;

[0022] A selection operation for a target barrage display graphic option among the at least two barrage display graphic options is received, and the barrage display graphic corresponding to the target barrage display graphic option is used as the barrage display graphic corresponding to the barrage content.

[0023] In the above solution, the preview module is also used to present a custom editing interface for the bullet screen display graphics, and to display the graphics drawing area in the custom editing interface;

[0024] The barrage display graphic drawn in the graphic drawing area is received, and the drawn barrage display graphic is used as the barrage display graphic corresponding to the barrage content.

[0025] In the above solution, the preview module is further configured to, when the first editing operation is a drag operation, obtain a drag trajectory of the drag operation and a drag graphic corresponding to the drag operation, and display the content of the bullet comment through the drag graphic in a preview manner;

[0026] During the dragging operation, along with the change of the dragging trajectory, the parameters of the dragging graphic are synchronously adjusted so that the adjusted dragging graphic matches the dragging trajectory;

[0027] The adjusted drag graphics are used to display the barrage content.

[0028] In the above solution, the preview module is further configured to present a setting interface corresponding to the dragging graphic, and to display at least two dragging graphic options in the setting interface;

[0029] A selection operation for a target drag graphic option among the at least two drag graphic options is received, and a drag graphic corresponding to the target drag graphic option is used as a drag graphic corresponding to the drag operation.

[0030] In the above solution, the preview module is further used to present a bullet screen preview interface and present a drag area corresponding to the bullet screen in the bullet screen preview interface;

[0031] A dragging track of the dragging operation is received in the dragging area.

[0032] In the above solution, the preview module is further configured to present at least two bullet screen display styles when the first editing operation is a drag operation;

[0033] During the execution of the drag operation, when the send icon is dragged to a target barrage display style among the at least two barrage display styles, the target barrage display style is used as the edited barrage display style, and

[0034] The bullet screen content is displayed in the target bullet screen display style in a preview manner.

[0035] In the above solution, the preview module is further used to display the barrage content in different barrage display styles in a preview manner during the execution of the first editing operation;

[0036] When a release instruction for the first editing operation is received, the barrage display style corresponding to the barrage content is used as the barrage display style obtained by the editing.

[0037] In the above scheme, the publishing module is also used to control the barrage content under the barrage display style, enter the playback interface from one side of the playback interface, and

[0038] Control the barrage content, use a moving speed that matches the barrage display style, move to the other side of the playback interface, and move out of the playback interface from the other side.

[0039] In the above solution, the preview module is further used to synchronously draw the vector graphics corresponding to the edited bullet comment display style during the execution of the first editing operation;

[0040] When a release instruction for the first editing operation is received, a tail graphic is obtained, and the drawn vector graphic is spliced ​​with the tail graphic to obtain a target vector graphic serving as the background of the bullet screen;

[0041] Image rendering is performed based on the target vector graphics to display the barrage content in the edited barrage display style in a preview manner.

[0042] In the above solution, the preview module is further configured to obtain a cancellation condition corresponding to the first editing operation during the execution of the first editing operation;

[0043] When the cancellation condition is met, the display of the bullet screen content in the bullet screen display style is canceled.

[0044] In the above solution, the preview module is further configured to receive a second editing operation of the bullet screen display style triggered by the send icon;

[0045] During the execution of the second editing operation, the content of the barrage in the edited barrage display style is displayed in a preview manner;

[0046] Among them, the barrage display style corresponding to the second editing operation is different from the barrage display style corresponding to the first editing operation.

[0047] In the above solution, the preview module is further configured to obtain the operation duration corresponding to the first editing operation during the execution of the first editing operation;

[0048] When the operation duration reaches a duration threshold, it is determined that the cancellation condition is met.

[0049] In the above solution, the preview module is further configured to obtain position information corresponding to the send icon during the execution of the first editing operation;

[0050] When the position information indicates that the send icon is within the target area, it is determined that the cancellation condition is met.

[0051] An embodiment of the present application provides an electronic device, including:

[0052] a memory for storing executable instructions;

[0053] The processor is used to implement the method for publishing barrage provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0054] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement the method for publishing barrage provided in an embodiment of the present application.

[0055] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the method for publishing barrage provided by the embodiment of the present application is implemented.

[0056] The embodiments of the present application have the following beneficial effects:

[0057] During the process of playing media information, a barrage editing operation for the media information is received, and the barrage content and the barrage sending icon are presented. When the first editing operation is performed on the send icon, the barrage content under the edited barrage display style can be previewed. In this way, when the editing operation is performed on the send icon, a custom barrage style can be set for the barrage content, and the barrage content can be presented in the playback interface according to the custom barrage style, which enriches the expression of the barrage content and improves the fun of the sending barrage function. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 This is a schematic diagram of the architecture of the bullet comment publishing system provided in an embodiment of the present application;

[0059] Figure 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0060] Figure 3 This is a flow chart of a method for publishing a bullet comment provided in an embodiment of the present application;

[0061] Figure 4A Schematic diagram of the display of the media information playback interface provided by the embodiment of the present application;

[0062] Figure 4B This is a schematic diagram of the bullet screen editing interface provided by an embodiment of the present application;

[0063] Figure 5 This is a schematic diagram of the preview of the bullet screen content provided in an embodiment of the present application;

[0064] Figure 6 This is a schematic diagram of the personalized setting of the bullet screen display style provided in the embodiment of the present application;

[0065] Figure 7 This is the barrage display graphic selection interface provided by the embodiment of the present application;

[0066] Figure 8A This is the setting interface for displaying graphics of a single character bullet screen provided in the embodiment of the present application;

[0067] Figure 8B This is a schematic diagram of displaying bullet screen content with a heart-shaped background provided by an embodiment of the present application;

[0068] Figure 9A This is the barrage display graphic setting interface provided by the embodiment of the present application;

[0069] Figure 9B This is a schematic diagram of a bullet screen display graphic provided in an embodiment of the present application;

[0070] Figure 9C This is a schematic diagram of the graphic setting interface for the bullet screen display provided in an embodiment of the present application;

[0071] Figure 9D This is a schematic diagram of the combined display of bullet screen display graphics provided in an embodiment of the present application;

[0072] Figure 9E This is a schematic diagram of a custom editing interface for a bullet screen display graphic provided in an embodiment of the present application;

[0073] Figures 10A-10B This is a schematic diagram of a bullet screen display graphic provided in an embodiment of the present application;

[0074] Figure 11 This is a flow chart of dragging graphics to display bullet screen content according to an embodiment of the present application;

[0075] Figure 12A This is a schematic diagram of the dragging trajectory provided by an embodiment of the present application;

[0076] Figure 12B This is a schematic diagram of the drag graphic setting interface provided by an embodiment of the present application;

[0077] Figure 13 This is a flowchart of the method for selecting a bullet screen display style provided in an embodiment of the present application;

[0078] Figure 14A This is a preview flow chart of the bullet screen display style provided in an embodiment of the present application;

[0079] Figure 14B This is a schematic diagram of switching between bullet screen display graphics provided by an embodiment of the present application;

[0080] Figure 15 This is a schematic diagram of the movement speed of the bullet screen content provided in an embodiment of the present application;

[0081] Figure 16 This is a schematic diagram of a method for generating bullet screen display graphics provided by an embodiment of the present application;

[0082] Figure 17 This is a schematic diagram of the publishing effect of the barrage content provided by the embodiment of the present application;

[0083] Figures 18A-18B This is a schematic diagram of the bullet screen display provided in an embodiment of the present application;

[0084] Figure 19 This is a flow chart of a method for publishing a bullet comment provided in an embodiment of the present application;

[0085] Figure 20A This is a schematic diagram of the bullet screen editing interface provided by an embodiment of the present application;

[0086] Figure 20B This is a schematic diagram of the preview of the bullet screen content provided in an embodiment of the present application;

[0087] Figure 20C This is a schematic diagram of the barrage display style provided in an embodiment of the present application to display barrage content;

[0088] Figure 21 This is a schematic diagram of the barrage display graphics rendering process provided in an embodiment of the present application. DETAILED DESCRIPTION

[0089] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0090] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0091] If similar descriptions of "first / second" appear in the application documents, the following explanation is added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0092] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.

[0093] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0094] 1) Bullet screen: refers to comments that appear directly on media information, and are presented on the playback interface of media information in the form of scrolling, pausing, etc.

[0095] 2) Barrage style: attributes or characteristics related to the visual aspect of the barrage, including at least the shape of the barrage (i.e., the appearance or outline of the barrage).

[0096] The barrage style may also include the arrangement of the barrage content, the size of the barrage content, the color of the barrage content, the special effects of the barrage content, etc. Depending on the type of barrage style (static or dynamic), the barrage style may also include attributes related to the static or dynamic display effect, etc.

[0097] 3) Client: An application running in a terminal to provide various services, such as a video player client, an audio player client, etc.

[0098] 4) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.

[0099] When processing barrage publishing, related technologies usually comment and discuss the video content by clicking the barrage send button on the screen. The barrage content mostly floats across the screen in the style of a line of text. The barrage display style is single, and it is impossible to make differentiated displays of the barrage content sent by users, which affects the user experience.

[0100] The embodiments of the present application provide a method, apparatus, device, and computer-readable storage medium for publishing barrages, which can enrich the diversity of barrage display styles and increase the fun of sending barrages and playing media information.

[0101] The following describes an exemplary application of the bullet screen publishing device provided by the embodiment of the present application. The device provided by the embodiment of the present application can be implemented as various types of user terminals such as laptops, tablet computers, desktop computers, set-top boxes, vehicle-mounted terminals, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), etc., and can also be implemented as a server. The following describes an exemplary application when the device is implemented as a terminal.

[0102] See also Figure 1 , Figure 1 This is an architectural diagram of the barrage publishing system provided in an embodiment of the present application. In order to support a barrage publishing application, the terminal 400 (terminal 400-1 and terminal 400-2 are shown as examples) is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0103] In actual applications, the terminal 400 can be various types of user terminals such as smart phones, tablet computers, laptops, etc., and can also be a desktop computer, a media player, a game console, a television, or a combination of any two or more of these data processing devices; the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms.

[0104] In actual implementation, the terminal 400 is provided with a playback client for media information (playback client 410-1 and playback client 410-2 are shown as examples), such as a video playback client, an audio playback client, etc. When the user opens the playback client 410-1 of the terminal 400-1 to play the media information, the terminal 400-1 is used to play the media information in the playback interface; in response to the barrage editing operation for the media information, the edited barrage content and the sending icon corresponding to the barrage content are presented; in response to the editing operation of the barrage display style triggered by the send icon, during the execution of the editing operation, the barrage content under the edited barrage display style is displayed in a preview manner; in response to the release instruction for the editing operation, the barrage content is published, and the edited barrage display style is used to display the barrage content in the playback interface.

[0105] The server 200 is used to send media information, bullet screen content and bullet screen display style to the terminal 400.

[0106] In some embodiments, as Figure 1 As shown, the playback client 410-1 on the terminal 400-1 sends a media information playback request to the server 200 through the network 300. The types of media information include audio and video, etc. The server 200 sends the requested media information to the playback client 410-1 so that the playback client 410-1 decodes and plays it. In the process of the playback client 410-1 playing the media information, the playback client 410-1 receives the barrage content and barrage display style submitted by user 1, and sends them to the server 200. Subsequently, the server 200 sends the barrage content, barrage display style and media information submitted by user 1 to each playback client (including the playback client 410-1 and the playback client 410-2). When decoding the data stream of the playback media information, the playback client 410-1 and the playback client 410-2 display the barrage content under the barrage display style in the playback interface of the media information in the order in which the barrage content is sent to the server.

[0107] See also Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. In practical applications, the electronic device 500 can be implemented as Figure 1 The terminal 400 or the server 200 in Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not shown in FIG. Figure 2 Various buses are labeled as bus system 540 .

[0108] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0109] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0110] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.

[0111] The memory 550 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0112] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0113] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0114] A network communication module 552 for reaching other computing devices via one or more (wired or wireless) network interfaces 520 , exemplary network interfaces 520 including Bluetooth, WiFi, and USB;

[0115] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., a display screen, a speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripheral devices and displaying content and information);

[0116] The input processing module 554 is configured to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.

[0117] In some embodiments, the apparatus provided in the embodiments of the present application may be implemented in software. Figure 2The device 555 for publishing bullet comments stored in the memory 550 is shown. The device 555 can be software in the form of a program or plug-in, and includes the following software modules: a playback module 5551, a presentation module 5552, a preview module 5553, and a publishing module 5554. These modules are logical and can be arbitrarily combined or further divided according to the functions implemented. The functions of each module will be described below.

[0118] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the method for publishing barrage provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs) or other electronic components.

[0119] Next, the method for publishing the bullet screen provided by the embodiment of the present application is described. In some embodiments, the method for publishing the bullet screen provided by the embodiment of the present application can be implemented by the terminal or the server alone, or by the terminal and the server in collaboration. Taking the terminal implementation as an example, the method for publishing the bullet screen provided by the embodiment of the present application is described. Figure 3 , Figure 3 This is a flow chart of the method for publishing a bullet screen provided by the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0120] In step 101, the terminal plays media information in a play interface.

[0121] In actual applications, a terminal is configured with a media information playback client, such as a video client or an audio playback client. When a user opens the media information client configured on the terminal to play media information, the content of the media information is played on the playback interface. The playback of media information content includes the following two scenarios: playing the media information content and pausing the media information content. In other words, the media information content played on the playback interface can be either the media information content that is currently playing or the media information content that is paused.

[0122] In step 102 , in response to a bullet screen editing operation on media information, the edited bullet screen content and a sending icon corresponding to the bullet screen content are presented.

[0123] In actual applications, when a user is watching media information being played, when the user wants to send a barrage for a certain media information being watched, the barrage editing operation for the media information can be triggered. That is, when the barrage editing operation is triggered, the corresponding media information refers to the content of the media information presented when the barrage editing operation is triggered. For example, the barrage function item for editing the barrage presented in the playback interface can be triggered to trigger the corresponding barrage editing instruction to the terminal. The terminal receives the barrage editing instruction, presents the barrage editing interface corresponding to the media information, and presents the function item for editing the barrage on the barrage editing interface.

[0124] See also Figure 4A , Figure 4A This is a display diagram of the media information playback interface provided by the embodiment of the present application. In the figure, the video content of "Summer xxxx Troubles" is being played in the playback interface. When the content of the media information is presented in the playback interface corresponding to the time 03:20 indicated by number 1 in the figure, if the user wants to send a barrage of media information for the current moment, the barrage function item (shown by number 2 in the figure) can be triggered. The terminal responds to this barrage editing operation and presents the following Figure 4B The barrage editing interface shown, Figure 4B This is a schematic diagram of the bullet screen editing interface provided in an embodiment of the present application. When adding text to media information, the text content can be entered through the text editing box, or it can be obtained by converting the recorded voice into text. Figure 4A In the text editing box (number 1 in the figure), users can enter text content, or record voice by long pressing the voice recording icon (number 2 in the figure) and convert the voice into corresponding text content.

[0125] In step 103, in response to the first editing operation of the bullet screen display style triggered by the send icon, during the execution of the first editing operation, a preview method is used to display the bullet screen content under the edited bullet screen display style.

[0126] In actual implementation, see Figure 5 , Figure 5 This is a schematic diagram of the preview of the barrage content provided in an embodiment of the present application. In the number 1 in the figure, enter the barrage content you want to express. In response to the operation of the barrage sending function item (such as the "Send" button shown by number 3 in the figure), the input barrage content is sent and the barrage content is displayed in the playback interface.

[0127] In some embodiments, from the process of triggering the barrage sending function item to the actual presentation of the barrage content on the playback interface, the barrage display style of the barrage content can also be personalized, and the personalized barrage display style can be previewed until an appropriate barrage display style is selected as the background display of the barrage content on the playback interface. Among them, the personalized setting of the barrage display style can be triggered by responding to the editing operation of the send icon, and the editing operation of the send icon can be a personalized setting operation of the barrage display style triggered by a long press operation on the send icon. When the send icon is long-pressed, the display parameters of the barrage display graphic can be controlled according to the long-press operation parameters such as the operation duration and the pressure, and then the length and width of the barrage display graphic can be controlled. In addition, during the execution of the long-press operation, the barrage content displayed by the barrage display image can be previewed. See. Figure 6 , Figure 6 This is a diagram of personalized settings of the bullet screen display style provided by the embodiment of the present application, based on Figure 3 , step 103 can be implemented through steps 1031a to 1033a.

[0128] Step 1031a, when the first editing operation is a long press operation, the terminal obtains the operation parameters of the long press operation and the barrage display graphic corresponding to the barrage content, and displays the barrage content through the barrage display graphic in a preview manner.

[0129] In actual implementation, the barrage display image can be related to the operating parameters of the long press operation, where the operating parameters may include operation duration, pressing pressure, etc.

[0130] In some embodiments, considering that the display area of ​​the barrage display graphic is generally located in a fixed area of ​​the playback interface, an appropriate barrage display graphic can be selected based on the number of characters corresponding to the barrage content. The method of obtaining an appropriate barrage display graphic based on the number of characters can be implemented as follows: the terminal obtains the number of characters corresponding to the barrage content; and from at least two barrage display graphics, selects a barrage display graphic that is adapted to the number of characters as the barrage display graphic corresponding to the barrage content.

[0131] For example, see Figure 7 , Figure 7This is the barrage display graphic selection interface provided in the embodiment of the present application. The figure provides two barrage display graphics for selection, the water ripple style shown in number 1 and the heart-shaped pattern style shown in number 2. In addition, the water ripple style can be selected as the default barrage display graphic, that is, when the barrage display graphic selection operation is not performed, the barrage display graphic defaults to the water ripple style. Since the heart-shaped pattern occupies a large space, within the appropriate occupied space range, according to the number of characters in the barrage content, a heart-shaped barrage display graphic can be selected. For example, when the number of characters in the barrage content is 5-20, a heart-shaped pattern style can be selected.

[0132] In some embodiments, the barrage editor can also set a background graphic (barrage display graphic) for a single character and select a target barrage display graphic from the barrage display graphic setting interface (manual selection). The selection operation of the target barrage display graphic for a single character can be achieved in the following way: the terminal presents the barrage display graphic setting interface and displays at least two barrage display graphic options in the setting interface; receives the selection operation for the target barrage display graphic option from the at least two barrage display graphic options, and uses the barrage display graphic corresponding to the target barrage display graphic option as the barrage display graphic corresponding to the barrage content.

[0133] For example, see Figure 8A , Figure 8A This is the setting interface of the single character bullet screen display graphics provided by the embodiment of the present application. The four bullet screen display images provided in the figure are heart-shaped (number 1), star-shaped (number 2), diamond-shaped (number 3) and hexagonal (number 4). The bullet screen editor can choose the appropriate bullet screen display according to the actual situation. Figure 8B , Figure 8B This is a schematic diagram showing the content of the bullet screen with a heart-shaped background provided by the embodiment of the present application. Figure 8A In the video, the heart shape (number 1) is selected as the target barrage display graphic, and the barrage content entered is "Like Qiuya". The send icon is long pressed. The barrage display style in the playback interface is as follows: Figure 8B In the style shown in No. 1, the barrage display graphic corresponding to each character in the barrage content is a heart shape.

[0134] In some embodiments, keywords or key words for displaying graphics using barrage can also be set.

[0135] In actual implementation, see Figure 9A , Figure 9A The embodiment of the present application provides a barrage display graphic setting interface, which shows four candidate barrage display graphics (number 1) for single characters, a keyword / word input box (number 2) and other options. Keywords / words refer to the characters and words that appear in the barrage content and can use barrage display graphics. It should be noted that when no keywords or words are set, Figure 9A The functions shown are Figure 8A similar.

[0136] Exemplarily, the bullet screen editor Figure 9A selects a heart shape as the bullet screen display graphic and sets the keyword / words as {love; heart}, see Figure 9B , Figure 9B which is a schematic diagram of the bullet screen display graphic provided by an embodiment of the present application. When the bullet screen editor inputs the bullet screen content "Qiuya and Xia Luo truly love each other" in the bullet screen input box and long-presses the send icon, the Figure 9B bullet screen display style shown as No. 1 in

[0137] In some embodiments, the overall display graphic applied to the bullet screen content can also be combined with the bullet screen display images of each character in the bullet screen content. That is, on the one hand, a bullet screen display style is added to the overall content of the bullet screen content input by the bullet screen editor, and at the same time, a corresponding bullet screen display graphic for a single character is added to each keyword or word in the bullet screen content.

[0138] In actual implementation, see Figure 9C , Figure 9C which is a schematic diagram of the bullet screen display graphic setting interface provided by an embodiment of the present application. In Figure 9C , the bullet screen display graphic for a single character is set in combination with the overall bullet screen display graphic for the bullet screen content. The media information playback client pre-sets the bullet screen display graphic for the overall bullet screen content, such as Figure 7 the water ripple style or heart shape style in Figure 9C . And the bullet screen display graphic for a single character (shown as No. 1) is set in

[0139] Exemplarily, see Figure 9D , Figure 9D which is a schematic diagram of the combined display of the bullet screen display graphic provided by an embodiment of the present application. The default overall bullet screen display graphic in the figure is Figure 7 the water ripple style set in Figure 9C , and "love" is set as the keyword or word, and the function item of whether to use the default graphic in

[0140] In some embodiments, before obtaining the operation parameters of the long press operation, a barrage display graphic can be drawn in the custom editing interface of the barrage display graphic. The drawing operation of the barrage display graphic can be implemented in the following way: the terminal presents the custom editing interface of the barrage display graphic, and displays the graphic drawing area in the custom editing interface; receives the barrage display graphic drawn in the graphic drawing area, and uses the drawn barrage display graphic as the barrage display graphic corresponding to the barrage content.

[0141] During implementation, the media information playback client provides a custom editing interface for the bullet screen display graphics, see Figure 9E , Figure 9E This is a schematic diagram of the custom editing interface of the barrage display graphics provided in an embodiment of the present application. In the figure, the barrage editor can use the various tools in the toolbar (number 1) (such as the pencil corresponding to number a, the color filling function corresponding to number 2, and the clearing tool corresponding to number 3) to customize the drawing of the barrage display graphics in the graphic drawing area shown in number 2.

[0142] Step 1032a: During the long press operation, the terminal adjusts the image parameters of the bullet screen display graphics synchronously with the changes in the operation parameters.

[0143] In actual implementation, the operation parameters corresponding to the long press operation include at least one of the following: operation duration and pressure level.

[0144] For example, Figures 10A-10B This is a schematic diagram of the bullet screen display provided by the embodiment of the present application, see Figure 10A The default barrage display style in the figure is the water ripple style (shown by number 1-a in the figure). The user enters the barrage content "Headphone party, pay attention to the high energy ahead" in the input box and long presses the send icon (shown by number 2 in the figure). The barrage content in the form of water ripples can be previewed in the playback interface (shown by number 1-a in the figure). As the long press operation lasts, the background of the water ripple can cover all the barrage content entered in the input box. In addition, as the pressing pressure increases, the width of the water ripple can also increase. See Figure 10B In the example, as the operation duration of the long press operation increases or the pressing pressure increases, the length or width of the water ripple changes. In practical applications, an operation parameter setting interface can be provided. When performing a long press operation, operation parameters can be provided, and can be used alone or in combination to control the size of the barrage display image. For example, when the barrage display image is a water ripple, the longer the long press operation duration, the longer the water ripple; the greater the pressing pressure during the long press operation, the longer the length or width of the water wave.

[0145] Step 1033a: The terminal displays the content of the bullet screen through the adjusted bullet screen display graphics.

[0146] In actual implementation, the barrage editor previews the barrage content displayed by the barrage display graphic and determines whether it conforms to the final barrage display graphic.

[0147] In some embodiments, when the first editing operation is a drag operation, the drag image corresponding to the drag operation can be controlled according to the dragging track of the drag operation, and during the execution of the drag operation, the content of the bullet comment displayed by the dragging graphic can be previewed. Figure 11 , Figure 11 This is a flow chart of dragging graphics to display bullet content provided by the embodiment of the present application, based on Figure 3 , step 103 can be implemented through steps 1031b to 1033b.

[0148] Step 1031b: When the first editing operation is a drag operation, the terminal obtains the dragging track of the dragging operation and the dragging graphic corresponding to the dragging operation, and displays the bullet screen content through the dragging graphic in a preview manner.

[0149] In some embodiments, the terminal may obtain the dragging track of the dragging operation in the following manner: the terminal presents a bullet screen preview interface, and presents a dragging area corresponding to the bullet screen in the bullet screen preview interface; and receives the dragging track of the dragging operation in the dragging area.

[0150] During implementation, when the send icon is dragged, a drag floating ball describing the drag trajectory can be presented in the playback interface. The drag floating ball is dragged in the drag area, and a drag graphic is drawn in the playback interface as the drag trajectory changes. The drag graphic is then previewed in the playback interface, showing the barrage content displayed by the drag graphic.

[0151] For example, see Figure 12A , Figure 12A This is a schematic diagram of the dragging trajectory provided by an embodiment of the present application. In the figure, when the send icon is dragged, a dragging floating ball (numbered 1-a) is presented in the playback interface. Within the dragging area (numbered 1) in the playback interface, the floating ball is dragged and moved within the dragging area to generate a dragging trajectory (the dragging trajectory shown by numbered 1-b in the figure), and then a dragging graphic is drawn. The input barrage content is then displayed in the dragging graphic, and the barrage content displayed by the dragging graphic is previewed in the playback interface (the dragging graphic shown by numbered 2 in the figure).

[0152] In some embodiments, before obtaining the drag trajectory of the drag operation, a target drag graphic can be selected from the setting interface of the drag graphic. The selection operation of the target drag graphic can be implemented in the following way: the terminal presents the setting interface corresponding to the drag graphic, and displays at least two drag graphic options in the setting interface; upon receiving the selection operation for the target drag graphic option among the at least two drag graphic options, the drag graphic corresponding to the target drag graphic option is used as the drag graphic corresponding to the drag operation.

[0153] In actual implementation, see Figure 12B , Figure 12B This is a schematic diagram of the drag graphic setting interface provided in an embodiment of the present application. In the figure, in the playback interface of the media information, after the barrage editor enters the barrage content, he performs a drag operation on the send icon, and the drag graphic setting interface is presented in the playback interface (shown as number 1 in the figure), and a drag floating ball is presented (shown as number 1-a in the figure). The drag graphic setting interface includes at least two types of drag graphics. The figure exemplarily lists 4 types of drag graphics (heart, star, diamond and hexagon). When the floating ball is dragged to any drag graphic, the barrage content displayed by the drag graphic can be previewed in the playback interface (shown as number 2).

[0154] For example, see Figure 12B The barrage editor enters the barrage content "Qiu Ya is so beautiful ah ah ah" and drags the send icon. The drag graphic setting interface is displayed in the playback interface. Drag the floating ball to the diamond area. In the playback interface, preview the barrage content displayed by the diamond.

[0155] Step 1032b: During the dragging operation, the terminal adjusts the parameters of the dragging graphic synchronously with the change of the dragging trajectory, so that the adjusted dragging graphic matches the dragging trajectory.

[0156] Step 1033b: The terminal uses the adjusted drag graphic to display the bullet screen content.

[0157] In actual implementation, the barrage editor previews the barrage content displayed by the drag graphic and determines whether it conforms to the final drag graphic.

[0158] In some embodiments, during the execution of the first editing operation, the terminal uses a preview method to display the edited bullet screen content in the bullet screen display style. Figure 13 , Figure 13 This is a flow chart of the method for selecting a bullet screen display style provided by the embodiment of the present application, based on Figure 3 , step 103 can be implemented through steps 1031c to 1033c.

[0159] Step 1031c: When the first editing operation is a drag operation, the terminal presents at least two bullet screen display styles.

[0160] Step 1032c: During the drag operation, when the send icon is dragged to a target bullet screen display style among at least two bullet screen display styles, the target bullet screen display style is used as the edited bullet screen display style.

[0161] In step 1033c, the terminal displays the barrage content in the target barrage display style in a preview manner.

[0162] In some embodiments, see Figure 14A , Figure 14A This is a preview flow chart of the bullet screen display style provided by the embodiment of the present application, based on Figure 3 , step 103 can be implemented through steps 1031d to 1032d.

[0163] Step 1031d: During the execution of the first editing operation, the terminal uses a preview method to display the bullet screen contents in different bullet screen display styles in sequence.

[0164] In actual implementation, taking the editing operation of the send icon as a long press operation as an example, the system preset barrage display graphics can be switched in sequence and cycled according to the operation duration of the long press operation and the switching interval time.

[0165] For example, see Figure 14B , Figure 14B This is a schematic diagram of switching the bullet screen display graphics provided by the embodiment of the present application. The bullet screen display image preset by the media information playback client is as follows: Figure 8A The four types of shapes shown in the figure are heart, star, diamond and hexagon, and the switching interval is set to 0.5s. As the long press operation on the send icon is performed, the barrage editor enters the barrage content "I like Qiuya". During the long press operation on the send icon, the barrage content with a heart-shaped background is first previewed (shown by number 1-a). After 0.5s, it switches to the barrage content with a star-shaped background (shown by number 1-b). After another 0.5 seconds, it switches to the barrage content with a diamond-shaped background (shown by number 1-c). After another 0.5s, it switches to the barrage content with a hexagonal background (shown by number 1-d). After another 0.5s, the barrage content with a heart-shaped background is previewed again (shown by number 1-a). If the long press operation duration threshold is not set, the preview will be looped in sequence.

[0166] Step 1032d: When a release instruction for the first editing operation is received, the barrage display style corresponding to the barrage content when the release instruction is received is used as the edited barrage display style.

[0167] In actual implementation, when the editing operation of the send icon is released, the barrage display style corresponding to the barrage content previewed in the playback interface at that time is used as the target barrage display style.

[0168] Continuing with the example in step 1031d, when the long press operation ends, if the barrage display style being previewed in the playback interface is a heart shape, the heart shape will be used as the selected target barrage display graphic.

[0169] In some embodiments, the terminal uses the edited barrage display style in the playback interface to display the barrage content, which can be achieved in the following way: the terminal controls the barrage content under the barrage display style, enters the playback interface from one side of the playback interface, and controls the barrage content, using a moving speed that matches the barrage display style, moves to the other side of the playback interface, and moves out of the playback interface from the other side.

[0170] For example, see Figure 15 , Figure 15 This is a schematic diagram of the movement speed of the barrage content provided in an embodiment of the present application. In the figure, the dragging operation of the send icon is taken as an example. The dragging floating ball corresponding to the send icon is dragged in the drag area (shown in 1-a in the figure) to obtain the corresponding dragging graphic. Then, for the barrage content "It's your god, hahaha...", at the beginning of the preview, enter from the right side of the playback interface (number 2-a). As the dragging trajectory is extended and the dragging time changes (shown in 1-b in the figure), the barrage content moves from the right side of the playback interface to the left side (shown in 2-b in the figure) until the barrage content moves out of the playback interface from the left side (shown in 2-c in the figure).

[0171] In some embodiments, during the execution of the first editing operation, the terminal displays the edited bullet screen content in the bullet screen display style in a preview manner, see Figure 16 , Figure 16 This is a schematic diagram of a method for generating bullet screen graphics provided by an embodiment of the present application, based on Figure 3 , step 103 can be implemented through steps 1031e to 1033e.

[0172] Step 1031e: During the execution of the first editing operation, the terminal synchronously draws the vector graphics corresponding to the edited bullet screen display style.

[0173] In actual implementation, by performing editing operations on the send icon, the editing operations include but are not limited to long pressing and dragging operations. Determine the vector graphics corresponding to the barrage display style, such as Figure 9A The vector graphics corresponding to each bullet comment display style shown in .

[0174] Step 1032e: When a release instruction for the first editing operation is received, the tail graphic is obtained, and the drawn vector graphic is spliced ​​with the tail graphic to obtain a target vector graphic as the background of the bullet screen.

[0175] In actual implementation, when a release instruction for the edit operation of the send icon is received, the tail graphic is determined, and the already drawn vector graphic is spliced ​​with the tail graphic, and finally the target vector graphic as the background of the barrage is determined.

[0176] Step 1033e: perform image rendering based on the target vector graphics to display the edited bullet comment content in the bullet comment display style in a preview manner.

[0177] In actual implementation, the terminal renders the target vector graphics through relevant graphics rendering technology (common front-end image rendering or back-end image rendering). After the rendering is completed, the barrage content in the barrage display style is previewed in the playback interface.

[0178] In some embodiments, during the execution of the first editing operation, a cancel operation can be performed on the first editing operation. The cancel operation of the first editing operation can be implemented in the following way: during the execution of the first editing operation, the terminal obtains the cancellation condition corresponding to the first editing operation; when the cancellation condition is met, the display of the barrage content under the barrage display style is canceled.

[0179] In actual implementation, the cancellation operation of the first editing operation of the send icon can be realized. The cancellation of the first editing operation can be actively canceled by the barrage editor, that is, when the barrage editor performs the first editing operation on the send icon, he actively wants to give up sending the corresponding barrage content, and can directly click on the media information part to directly exit the editing interface corresponding to the barrage display style; it can also be that when the first editing operation meets the cancellation condition, the cancellation operation is performed on the first editing operation, that is, the display of the barrage content under the barrage display style is canceled.

[0180] In some embodiments, the cancellation condition corresponding to the first editing operation can be determined by the operation duration. The operation duration is used to determine whether the cancellation condition corresponding to the first editing operation is met. The implementation that can be adopted is as follows: during the execution of the first editing operation, the terminal obtains the operation duration corresponding to the first editing operation; when the operation duration reaches the duration threshold, it is determined that the cancellation condition is met.

[0181] In actual implementation, the cancellation condition of the first editing operation can be determined based on the relationship between the operation duration corresponding to the first editing operation and the operation duration threshold. That is, when the operation duration is greater than or equal to the duration threshold, it can be considered that the first editing operation meets the cancellation condition and the editing operation of the barrage display style is canceled.

[0182] For example, taking the first editing operation as a long press operation as an example, see Figure 14B The barrage editor performs a long press operation on the send icon and sets the duration threshold to 2s. During the long press process, the barrage content displayed by the barrage display graphic is previewed in sequence according to the switching interval. When the long press duration is 2s, it can be considered that the first editing operation meets the cancellation condition, and the editing operation of the barrage display style is canceled.

[0183] In some embodiments, the cancellation condition corresponding to the first editing operation can be determined based on the relationship between the position information corresponding to the send icon and the target area. The implementation method that can be adopted is as follows: during the execution of the first editing operation, the terminal obtains the position information corresponding to the send icon; when the position information indicates that the send icon is within the target area, it is determined that the cancellation condition is met.

[0184] In actual implementation, the cancellation condition for the first editing operation can be determined based on the relationship between the position information corresponding to the send icon and the target area, that is, when the position corresponding to the send icon is in the target area, the first editing operation is canceled. The target area can be understood as the area in the playback interface (playback of media information) that does not respond to the first editing operation.

[0185] For example, taking the first editing operation as a drag operation as an example, see Figure 12A In the figure, when the send icon is dragged, the corresponding drag floating ball (number 1-a) will be presented in the playback interface, wherein dragging the floating ball in the dragging area (the area shown by number 1 in the figure) can generate a drag trajectory, thereby determining the dragging graphic; during the dragging process, when the drag floating ball is dragged in other areas (target areas) in the playback interface except the dragging area, it can be considered that the first editing operation meets the cancellation condition, and the editing operation of the barrage display style is canceled.

[0186] In some embodiments, after canceling the display of the bullet screen content under the bullet screen display style, the editing operation of the bullet screen display sample can be continued by triggering the send icon. The re-editing operation of the bullet screen display style can be achieved in the following manner: the terminal receives a second editing operation of the bullet screen display style based on the triggering of the send icon; during the execution of the second editing operation, the bullet screen content under the edited bullet screen display style is displayed in a preview manner; wherein the bullet screen display style corresponding to the second editing operation is different from the bullet screen display style corresponding to the first editing operation.

[0187] During actual implementation, in the media information playback interface, the editing operation is re-performed on the send icon so that the barrage display graphics that display the barrage content can be selected again in accordance with the needs of the barrage editor. The second editing operation on the send icon is similar to the first editing operation steps on the send icon and will not be repeated here. In addition, since the second editing operation is performed after the first editing operation is canceled, it is understandable that when the first editing operation is performed on the send icon, all the barrage display graphics that can be previewed may not meet the needs of the barrage editor. After the first editing operation is canceled, the second editing operation is re-performed on the send graphic. At this time, during the execution of the second editing operation, the selected barrage display style is different from the barrage display style corresponding to the first editing operation.

[0188] In step 104, in response to the release instruction for the first editing operation, the barrage content is released, and the edited barrage display style is used in the playback interface to display the barrage content.

[0189] In actual implementation, after receiving the release instruction for the first editing operation, the terminal uses the edited bullet screen display style in the playback interface to display the bullet screen content.

[0190] For example, see Figure 14B The editor of the barrage can preview the barrage content "Like Qiuya" displayed by various barrage display graphics by long pressing the send icon. When the star (☆) is selected as the barrage display graphic, release the long press operation on the send icon. The barrage content formed after the release operation can be seen in Figure 17 , Figure 17 This is a schematic diagram of the effect of publishing the bullet screen content provided by the embodiment of the present application. After releasing the long press operation of the send icon, Figure 17 The barrage content is displayed in a star shape (☆) in the playback interface.

[0191] In the process of editing the send icon, the embodiment of the present application can provide external functions for selecting or customizing the barrage display graphics. In this way, the barrage content that meets the actual needs of the barrage editor can be edited, further enhancing the barrage editor's sense of participation in selecting the barrage display graphics corresponding to the barrage content. In addition, the barrage editor can also preview a variety of barrage content displayed in combination with different barrage display graphics in the media information playback interface. In this way, the needs of heavy barrage users can be better met. At the same time, the barrage presented is diverse, which livens up the viewing atmosphere and improves the user's viewing experience.

[0192] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0193] For related media information playback procedures, see Figure 18A , Figures 18A-18B This is a schematic diagram of the barrage display provided in an embodiment of the present application. When watching a video, click the input box to edit the barrage content you want to send, and after editing is completed, you can send the barrage content by clicking the send icon once, but clicking the "Send" button will not affect the barrage style.

[0194] Or, see Figure 18B , long press the up arrow send button in the input box to call up the special style menu, select and send content with special effects.

[0195] The applicant found that the above-mentioned barrage publishing method is slightly simple in terms of sending barrage content. Generally, the media information playback client only supports users to click the "Send" button to send barrages, and sends out the pre-edited barrages. The user simply clicks the "Send" button and does not change the style of the barrage. At the same time, apart from the characteristics of color and expression characters, the current display styles of barrages are mostly similar, and they all move from right to left in a normal straight line at a uniform speed. Moreover, the style of the barrage has nothing to do with the interactive action of the user clicking the "Send" button. For users who watch videos and barrages, the barrage styles do not show obvious differences, and no other gameplay possibilities for barrages are provided for users.

[0196] Based on this, the embodiment of the present application provides a method for publishing barrage, which is an interactive media information barrage display method. After the user enters the barrage content in the barrage editing box, by long pressing the "Send" button, a special style barrage will enter from the right side of the screen, allowing the user to preview the style of the special barrage effect in advance. When the user is satisfied, the user can release the "Send" button, and the edited barrage will be displayed on the screen in a special style. Figure 19 , Figure 19 This is a flow chart of the method for publishing a bullet screen provided by the embodiment of the present application, combined with Figure 19 The steps shown are explained.

[0197] In step 201, the terminal plays the video information in the playback interface, which includes a bullet screen editing window.

[0198] In actual implementation, the terminal is deployed with a video playback client. When the user watches the video through the video playback client, he can send barrage content for the content he is interested in. The way to send barrage content is to click the barrage editing window below the video playback interface to edit the barrage.

[0199] For example, when the user needs to send a barrage for the played video content, he clicks the barrage editing window to edit the barrage.

[0200] Step 202: The terminal presents a bullet screen editing interface in response to a click operation on the bullet screen editing window.

[0201] For example, see Figure 20A , Figure 20A This is a schematic diagram of the barrage editing interface provided in an embodiment of the present application. After the user clicks the barrage editing window in the playback interface (shown as number 1), the barrage editing interface (number 2) is presented. The barrage editing interface includes at least a barrage editing input box (number 2-a), a send icon (number 2-b), and an input keyboard. The user can use the input keyboard to enter the barrage content in the barrage editing input box.

[0202] Step 203: The terminal presents the edited bullet screen content in response to the bullet screen editing operation on the video information.

[0203] For example, the user (bullet comment editor) Figure 20A Enter the barrage content "Headphone users, pay attention to the high energy ahead" in the barrage editing input box.

[0204] In step 204 , the terminal responds to a long press operation on the send icon, and during the execution of the long press operation, previews the edited bullet screen content in the bullet screen display style in the playback interface.

[0205] In actual implementation, the length of the barrage display style can be associated with the duration of the long press operation.

[0206] For example, see Figure 20B , Figure 20B This is a schematic diagram of the preview of the barrage content provided by an embodiment of the present application. When the barrage content editing input is completed, press and hold the "Send" button (shown as number 1 in the figure) on the upper right side of the keyboard. While long pressing the "Send" button, the barrage edited by the user will appear from the right side of the screen in a special style (shown as number 2 in the figure), and the user can preview the effect of the barrage they want to send in advance. The barrage content in the wavy shape in the figure is a special style of barrage.

[0207] In step 205 , the terminal releases the barrage content in response to the release instruction for the long press operation, and displays the barrage content in the playback interface using the edited barrage display style.

[0208] In actual implementation, when the user is satisfied with the barrage content and barrage display style previewed in the video playback interface, he can release the "Send" button (i.e., release the long press operation), and the edited barrage content will automatically appear in the video playback interface in the selected barrage display style.

[0209] For example, see Figure 20C , Figure 20CThis is a schematic diagram of the barrage display style provided in an embodiment of the present application for displaying the barrage content. After releasing the long press operation of the send button, the edited barrage content is displayed in a wavy (water ripple) form in the video playback interface.

[0210] In actual implementation, see Figure 21 , Figure 21 This is a schematic diagram of the rendering process of the barrage display graphics provided by the embodiment of the present application. The implementation process of the terminal rendering the barrage display graphics (that is, the barrage corresponding to the special style) is as follows: event monitoring and graphics rendering, wherein event monitoring includes triggering the start of a long press event and triggering the end of a long press event. Step 1, monitor the start of the long press event; Step 2, draw the starting vector path of the barrage; Step 3, draw a repeated vector path in a loop; Step 4, monitor the end of the long press event; Step 5, draw the end vector path of the barrage. The detailed rendering process is: when the send button triggers a single click event, the timing starts, and it is determined whether it is triggered again within the specified time range based on the timing. When the send button triggers a long press event, it starts to render a preset vector graphic behind the barrage text. The vector graphic can be a continuous pattern with the beginning and the end connected in a loop. The shape rendering speed is bound to the timing duration, and its own width continues to increase during the long press. When the button triggers the long press end event, a pre-made vector image is spliced ​​at the end of the vector graphic as a finishing touch, thereby forming a complete barrage background.

[0211] The embodiment of the present application provides users with a special innovative way to play barrage. By long pressing the "Send" button, the edited barrage can be formed into a special dynamic effect and combination method, so that the user's experience in "posting barrage comments" and "watching barrage comments" is improved, and the user's interest in watching videos is increased. In addition, for the operation of sending barrage, adding the interactive action of long pressing the button can increase the user's interest in editing and sending barrage, allowing users to experience more possibilities for playing barrage. At the same time, the special barrage styles sent can also enrich the diversity of barrage, allowing barrages to be displayed in different styles, increasing the experience when watching videos.

[0212] The following continues to describe the exemplary structure of the bullet comment publishing device 555 provided in the embodiment of the present application as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the bullet comment publishing device 555 of the memory 550 may include:

[0213] Play module 5551, used to play media information in the playback interface;

[0214] A presentation module 5552 is configured to present the edited bullet comment content and a send icon corresponding to the bullet comment content in response to a bullet comment editing operation on the media information;

[0215] A preview module 5553 is configured to respond to a first editing operation of the bullet chat display style triggered by the send icon, and during the execution of the first editing operation, display the bullet chat content under the edited bullet chat display style in a preview manner;

[0216] The publishing module 5554 is used to publish the barrage content in response to the release instruction for the first editing operation, and display the barrage content in the playback interface using the edited barrage display style.

[0217] In some embodiments, the preview module is also used to obtain the operation parameters of the long press operation and the barrage display graphics corresponding to the barrage content when the first editing operation is a long press operation, and to display the barrage content through the barrage display graphics in a preview manner; during the execution of the long press operation, the image parameters of the barrage display graphics are synchronously adjusted as the operation parameters change, and the barrage content is displayed through the adjusted barrage display graphics; wherein the operation parameters include at least one of the following: operation duration and pressure size.

[0218] In some embodiments, the preview module is further used to obtain the number of characters corresponding to the barrage content; and select a barrage display graphic that matches the number of characters from at least two barrage display graphics as the barrage display graphic corresponding to the barrage content.

[0219] In some embodiments, the preview module is also used to present a setting interface for barrage display graphics, and display at least two barrage display graphics options in the setting interface; upon receiving a selection operation for a target barrage display graphics option among the at least two barrage display graphics options, the barrage display graphic corresponding to the target barrage display graphic option is used as the barrage display graphic corresponding to the barrage content.

[0220] In some embodiments, the preview module is also used to present a custom editing interface for the barrage display graphics, and to display a graphics drawing area in the custom editing interface; and to receive the barrage display graphics drawn in the graphics drawing area, and to use the drawn barrage display graphics as the barrage display graphics corresponding to the barrage content.

[0221] In some embodiments, the preview module is also used to obtain the drag trajectory of the drag operation and the drag graphic corresponding to the drag operation when the first editing operation is a drag operation, and use a preview method to display the barrage content through the drag graphic; during the execution of the drag operation, as the drag trajectory changes, the parameters of the drag graphic are synchronously adjusted to make the adjusted drag graphic match the drag trajectory; and the adjusted drag graphic is used to display the barrage content.

[0222] In some embodiments, the preview module is also used to present a setting interface corresponding to the drag graphic, and display at least two drag graphic options in the setting interface; upon receiving a selection operation for a target drag graphic option among the at least two drag graphic options, the drag graphic corresponding to the target drag graphic option is used as the drag graphic corresponding to the drag operation.

[0223] In some embodiments, the preview module is further used to present a bullet screen preview interface, and present a dragging area corresponding to the bullet screen in the bullet screen preview interface; and receive a dragging track of the dragging operation in the dragging area.

[0224] In some embodiments, the preview module is also used to present at least two barrage display styles when the first editing operation is a drag operation; during the execution of the drag operation, when the send icon is dragged to the target barrage display style among the at least two barrage display styles, the target barrage display style is used as the edited barrage display style, and the barrage content under the target barrage display style is displayed in a preview manner.

[0225] In some embodiments, the preview module is also used to display the barrage content under different barrage display styles in a preview manner during the execution of the first editing operation; when a release instruction for the first editing operation is received, the barrage display style corresponding to the barrage content when the release instruction is received will be used as the barrage display style obtained by the editing.

[0226] In some embodiments, the publishing module is also used to control the barrage content under the barrage display style, enter the playback interface from one side of the playback interface, and control the barrage content, using a moving speed that matches the barrage display style, move to the other side of the playback interface, and move out of the playback interface from the other side.

[0227] In some embodiments, the preview module is also used to synchronously draw the vector graphics corresponding to the edited barrage display style during the execution of the first editing operation; when a release instruction for the first editing operation is received, the tail graphic is obtained, and the drawn vector graphic is spliced ​​with the tail graphic to obtain a target vector graphic as the barrage background; image rendering is performed based on the target vector graphic to display the barrage content under the edited barrage display style in a preview manner.

[0228] In some embodiments, the preview module is further used to obtain a cancellation condition corresponding to the first editing operation during the execution of the first editing operation; when the cancellation condition is met, cancel the display of the barrage content under the barrage display style.

[0229] In some embodiments, the preview module is also used to receive a second editing operation of the barrage display style based on the send icon; during the execution of the second editing operation, a preview method is used to display the barrage content under the edited barrage display style; wherein, the barrage display style corresponding to the second editing operation is different from the barrage display style corresponding to the first editing operation.

[0230] In some embodiments, the preview module is further used to obtain the operation duration corresponding to the first editing operation during the execution of the first editing operation; when the operation duration reaches a duration threshold, it is determined that the cancellation condition is met.

[0231] In some embodiments, the preview module is further used to obtain position information corresponding to the send icon during the execution of the first editing operation; when the position information indicates that the send icon is within the target area, it is determined that the cancellation condition is met.

[0232] The present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for publishing a bullet comment described in the present application.

[0233] The embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the method for publishing the barrage provided by the embodiment of the present application, for example, Figure 3 The method of publishing barrage is shown.

[0234] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.

[0235] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0236] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (for example, files storing one or more modules, subroutines, or code portions).

[0237] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0238] In summary, through the embodiment of the present application, in the process of performing an editing operation on the send icon, a barrage display graphic selection or custom drawing function can be provided externally. In this way, the barrage content that meets the actual needs of the barrage editor can be edited, and the barrage editor's sense of participation in selecting the barrage display graphic corresponding to the barrage content can be improved. In addition, the barrage editor can also preview a variety of barrage contents displayed in combination with different barrage display graphics in the media information playback interface. In this way, the needs of heavy barrage users can be better met, the barrage presented are diverse, the viewing atmosphere is active, and the user's viewing experience is improved.

[0239] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.

Claims

1. A method for publishing a barrage, characterized in that: The method comprises: Play media information in the playback interface; In response to a bullet screen editing operation on the media information, presenting the edited bullet screen content and a sending icon corresponding to the bullet screen content; In response to a first editing operation of the bullet screen display style triggered by the send icon, during the execution of the first editing operation, the bullet screen content under the edited bullet screen display style is displayed in a preview manner; In response to a release instruction for the first editing operation, the barrage content is published, and the barrage content is displayed in the playback interface using the edited barrage display style.

2. The method according to claim 1, wherein During the execution of the first editing operation, the preview method is used to display the edited bullet screen content in the bullet screen display style, including: When the first editing operation is a long press operation, obtaining the operation parameters of the long press operation and the barrage display graphic corresponding to the barrage content, and displaying the barrage content through the barrage display graphic in a preview manner; During the execution of the long press operation, along with the change of the operation parameters, the image parameters of the barrage display graphic are synchronously adjusted, and the barrage content is displayed through the adjusted barrage display graphic; The operation parameters include at least one of the following: operation duration and pressure.

3. The method according to claim 2, wherein The obtaining of the barrage display graphics corresponding to the barrage content includes: Get the number of characters corresponding to the barrage content; From at least two types of barrage display graphics, a barrage display graphic that matches the number of characters is selected as the barrage display graphic corresponding to the barrage content.

4. The method according to claim 2, wherein Before obtaining the operation parameters of the long press operation, the method further includes: Presenting a setting interface for barrage display graphics, and displaying at least two barrage display graphics options in the setting interface; A selection operation for a target barrage display graphic option among the at least two barrage display graphic options is received, and the barrage display graphic corresponding to the target barrage display graphic option is used as the barrage display graphic corresponding to the barrage content.

5. The method according to claim 2, wherein Before obtaining the operation parameters of the long press operation, the method further includes: Presenting a custom editing interface for the bullet screen display graphics, and displaying a graphics drawing area in the custom editing interface; The barrage display graphic drawn in the graphic drawing area is received, and the drawn barrage display graphic is used as the barrage display graphic corresponding to the barrage content.

6. The method according to claim 1, wherein During the execution of the first editing operation, the preview method is used to display the edited bullet screen content in the bullet screen display style, including: When the first editing operation is a drag operation, obtaining a dragging trajectory of the dragging operation and a dragging graphic corresponding to the dragging operation, and displaying the content of the bullet comment through the dragging graphic in a preview manner; During the dragging operation, along with the change of the dragging trajectory, the parameters of the dragging graphic are synchronously adjusted so that the adjusted dragging graphic matches the dragging trajectory; The adjusted drag graphics are used to display the barrage content.

7. The method according to claim 6, wherein Before obtaining the dragging track of the dragging operation, the method further includes: Presenting a setting interface corresponding to the drag graphic, and displaying at least two drag graphic options in the setting interface; A selection operation for a target drag graphic option among the at least two drag graphic options is received, and a drag graphic corresponding to the target drag graphic option is used as a drag graphic corresponding to the drag operation.

8. The method according to claim 6, wherein The obtaining of the dragging track of the dragging operation includes: Presenting a bullet screen preview interface, and presenting a drag area corresponding to the bullet screen in the bullet screen preview interface; A dragging track of the dragging operation is received in the dragging area.

9. The method according to claim 1, wherein During the execution of the first editing operation, the preview method is used to display the edited bullet screen content in the bullet screen display style, including: When the first editing operation is a drag operation, at least two bullet screen display styles are presented; During the execution of the drag operation, when the send icon is dragged to a target barrage display style among the at least two barrage display styles, the target barrage display style is used as the edited barrage display style, and The bullet screen content is displayed in the target bullet screen display style in a preview manner.

10. The method according to claim 1, wherein During the execution of the first editing operation, the preview method is used to display the edited bullet screen content in the bullet screen display style, including: During the execution of the first editing operation, the content of the bullet screen in different bullet screen display styles is displayed in a preview manner; When a release instruction for the first editing operation is received, the barrage display style corresponding to the barrage content is used as the barrage display style obtained by the editing.

11. The method according to claim 1, wherein The editing obtained barrage display style is adopted in the playback interface to display the barrage content, including: Control the barrage content under the barrage display style, enter the playback interface from one side of the playback interface, and Control the barrage content, use a moving speed that matches the barrage display style, move to the other side of the playback interface, and move out of the playback interface from the other side.

12. The method according to claim 1, wherein During the execution of the first editing operation, the preview method is used to display the edited bullet screen content in the bullet screen display style, including: During the execution of the first editing operation, synchronously drawing a vector graphic corresponding to the edited bullet comment display style; When a release instruction for the first editing operation is received, a tail graphic is obtained, and the drawn vector graphic is spliced ​​with the tail graphic to obtain a target vector graphic serving as the background of the bullet screen; Image rendering is performed based on the target vector graphics to display the barrage content in the edited barrage display style in a preview manner.

13. The method according to claim 1, wherein The method further comprises: During the execution of the first editing operation, obtaining a cancellation condition corresponding to the first editing operation; When the cancellation condition is met, the display of the bullet screen content in the bullet screen display style is canceled.

14. The method according to claim 13, wherein The barrage display style includes a barrage display graphic. After canceling the display of the barrage content in the barrage display style, the method further includes: Receiving a second editing operation of the bullet screen display style triggered by the send icon; During the execution of the second editing operation, the content of the barrage in the edited barrage display style is displayed in a preview manner; Among them, the barrage display style corresponding to the second editing operation is different from the barrage display style corresponding to the first editing operation.

15. The method according to claim 13, wherein The method further comprises: During the execution of the first editing operation, obtaining an operation duration corresponding to the first editing operation; When the operation duration reaches a duration threshold, it is determined that the cancellation condition is met.

16. The method according to claim 13, wherein The method further comprises: During the execution of the first editing operation, obtaining position information corresponding to the send icon; When the position information indicates that the send icon is within the target area, it is determined that the cancellation condition is met.

17. A device for publishing a bullet comment, characterized in that: The device comprises: Playback module, used to play media information in the playback interface; A presentation module, configured to present the edited barrage content and a sending icon corresponding to the barrage content in response to a barrage editing operation on the media information; A preview module, configured to respond to a first editing operation of the bullet screen display style triggered by the send icon, and during the execution of the first editing operation, display the bullet screen content under the edited bullet screen display style in a preview manner; A publishing module is used to publish the barrage content in response to a release instruction for the first editing operation, and to display the barrage content in the playback interface using the edited barrage display style.

18. An electronic device, characterized in that: The electronic device comprises: a memory for storing executable instructions; The processor is configured to implement the method for publishing a barrage as described in any one of claims 1 to 16 when executing the executable instructions stored in the memory.

19. A computer-readable storage medium storing executable instructions, characterized in that: When the executable instructions are executed by the processor, the method for publishing the barrage described in any one of claims 1 to 16 is implemented.

20. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method for publishing barrages described in any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Bullet-screen display method and device and storage medium

    CN107728905A

  • Bullet screen processing method and system, equipment and storage medium

    CN113259772A