CN116017015A - Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product - Google Patents

Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product Download PDF

Info

Publication number
CN116017015A
CN116017015A CN202111223092.6A CN202111223092A CN116017015A CN 116017015 A CN116017015 A CN 116017015A CN 202111223092 A CN202111223092 A CN 202111223092A CN 116017015 A CN116017015 A CN 116017015A
Authority
CN
China
Prior art keywords
barrage
bullet screen
editing
content
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111223092.6A
Other languages
Chinese (zh)
Inventor
王倩
石佳鑫
刘远涛
尹丹山
陈彬
王为
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111223092.6A priority Critical patent/CN116017015A/en
Publication of CN116017015A publication Critical patent/CN116017015A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a bullet screen release method, device, equipment, storage medium and product; the method comprises the following steps: playing the media information in the playing interface; responding to the barrage editing operation aiming at the media information, and presenting edited barrage content and a sending icon corresponding to the barrage content; responding to a first editing operation based on a bullet screen display style triggered by sending an icon, and displaying bullet screen contents under the bullet screen display style obtained by editing in a preview mode in the process of executing the first editing operation; and responding to a release instruction aiming at the first editing operation, issuing the barrage content, and displaying the barrage content in a playing interface by adopting the barrage display style obtained by editing. Through the method and the device, the bullet screen content under the target bullet screen display mode can be previewed, diversification of the bullet screen display mode is enriched, and interestingness in sending bullet screens and playing media information can be increased.

Description

Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a barrage publishing method, apparatus, device, computer readable storage medium, and computer program product.
Background
With the rise of the barrage, more and more users like to send the barrage while watching the video to express the emotion release for the currently watched video. The bullet screen refers to a display mode for displaying a large number of user comments on the played media information in the form of a rolling caption when the media information is played.
In the related art, the comment and discussion are usually performed on the video content by clicking a barrage transmitting button on the screen, and clicking the barrage transmitting button does not affect the transmitting style of the barrage, so that the barrage content often floats from the screen in a text style, the barrage display style is single, and differentiated display of the barrage content cannot be performed.
Disclosure of Invention
Embodiments of the present application provide a method, apparatus, device, computer-readable storage medium, and computer program product for distributing a bullet screen, which can enrich the diversification of bullet screen display styles, and can increase the interest when transmitting bullet screens and playing media information.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a bullet screen release method, which comprises the following steps:
playing the media information in the playing interface;
responding to the barrage editing operation aiming at the media information, and presenting edited barrage content and a sending icon corresponding to the barrage content;
Responding to a first editing operation of a barrage display style triggered by the sending icon, and displaying the barrage content in the barrage display style obtained by editing in a preview mode in the execution process of the first editing operation;
and responding to a release instruction aiming at the first editing operation, issuing the barrage content, and displaying the barrage content in the playing interface by adopting the barrage display style obtained by editing.
The embodiment of the application provides a release device of barrage, include:
the playing module is used for playing the media information in the playing interface;
the presentation module is used for responding to the barrage editing operation aiming at the media information and presenting edited barrage content and a sending icon corresponding to the barrage content;
the preview module is used for responding to a first editing operation based on the bullet screen display style triggered by the sending icon, and displaying bullet screen contents obtained by editing in a preview mode in the process of executing the first editing operation;
and the release module is used for responding to the release instruction aiming at the first editing operation, releasing the barrage content, and displaying the barrage content by adopting the barrage display style obtained by editing in the playing interface.
In the above scheme, the preview module is further configured to obtain, when the first editing operation is a long press operation, an operation parameter of the long press operation and a barrage display graphic corresponding to the barrage content, and display the barrage content through the barrage display graphic in a preview manner;
in the long press operation execution process, synchronously adjusting the image parameters of the barrage display graphics along with the change of the operation parameters, and displaying the barrage content through the adjusted barrage display graphics;
wherein the operating parameters include at least one of: duration of operation, pressure magnitude.
In the above scheme, the preview module is further configured to obtain the number of characters corresponding to the barrage content;
and selecting the barrage display graphics matched with the character quantity from at least two barrage display graphics as barrage display graphics corresponding to barrage contents.
In the above scheme, the preview module is further configured to present a setting interface of the bullet screen display graphics, and display at least two bullet screen display graphic options in the setting interface;
and receiving selection operation of target barrage display graphic options in the at least two barrage display graphic options, and taking barrage display graphics corresponding to the target barrage display graphic options as barrage display graphics corresponding to barrage contents.
In the above scheme, the preview module is further configured to present a custom editing interface for displaying the bullet screen display graphics, and display a graphics drawing area in the custom editing interface;
and receiving the barrage display graphics drawn in the graphics drawing area, and taking the drawn barrage display graphics as barrage display graphics corresponding to barrage content.
In the above scheme, the preview module is further configured to obtain, when the first editing operation is a drag operation, a drag track of the drag operation and a drag graphic corresponding to the drag operation, and display the bullet screen content through the drag graphic in a preview manner;
in the process of executing the dragging operation, synchronously adjusting parameters of the dragging graph along with the change of the dragging track so as to enable the adjusted dragging graph to be matched with the dragging track;
and displaying the barrage content by adopting the adjusted dragging graph.
In the above scheme, the preview module is further configured to present a setting interface corresponding to the dragging graphic, and present at least two dragging graphic options in the setting interface;
and receiving a selection operation of a target dragging graphic option in the at least two dragging graphic options, and taking a dragging graphic corresponding to the target dragging graphic option as a dragging graphic corresponding to the dragging operation.
In the above scheme, the preview module is further configured to present a barrage preview interface, and present a dragging area corresponding to the barrage in the barrage preview interface;
and receiving a dragging track of the dragging operation in the dragging area.
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;
in the process of executing the drag operation, when the sending icon is dragged to a target barrage display style in the at least two barrage display styles, taking the target barrage display style as an edited barrage display style, and
and displaying the barrage content in the target barrage display mode in a preview mode.
In the above scheme, the preview module is further configured to sequentially display the barrage contents under different barrage display styles in a preview manner during the execution of the first editing operation;
when a release instruction aiming at the first editing operation is received, taking the bullet screen display style corresponding to the bullet screen content as the bullet screen display style obtained by editing when the release instruction is received.
In the above scheme, the publishing module is further configured to control the bullet screen content in the bullet screen display style to enter the playing interface from one side of the playing interface, and
and controlling the bullet screen content to move to the other side of the playing interface by adopting the moving speed matched with the bullet screen display style, and moving out of the playing interface from the other side.
In the above scheme, the preview module is further configured to synchronously draw a vector graphic corresponding to the bullet screen display style obtained by editing in the process of executing the first editing operation;
when a release instruction aiming at the first editing operation is received, acquiring a tail graph, and splicing the drawn vector graph with the tail graph to obtain a target vector graph serving as a barrage background;
and performing image rendering based on the target vector graphics to display the bullet screen contents under the bullet screen display style obtained by editing in a preview mode.
In the above solution, the preview module is further configured to obtain a cancel condition corresponding to the first editing operation in the process of executing the first editing operation;
and when the cancellation condition is met, canceling the display of the barrage content in the barrage display mode.
In the above scheme, the preview module is further configured to receive a second editing operation based on the bullet screen display style triggered by the sending icon;
in the process of executing the second editing operation, displaying the bullet screen contents in the bullet screen display mode obtained by editing in a preview mode;
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.
In the above solution, the preview module is further configured to obtain an operation duration corresponding to the first editing operation in the process of executing the first editing operation;
and when the operation duration reaches a duration threshold, determining that the cancellation condition is satisfied.
In the above solution, the preview module is further configured to obtain, during execution of the first editing operation, location information corresponding to the sending icon;
and when the position information characterizes that the sending icon is in the target area, determining that the cancellation condition is satisfied.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the barrage release method provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer readable storage medium, which stores executable instructions for causing a processor to execute, so as to implement the bullet screen issuing method provided by the embodiment of the application.
The embodiment of the application provides a computer program product, which comprises a computer program or instructions, and the computer program or instructions realize the bullet screen release method provided by the embodiment of the application when being executed by a processor.
The embodiment of the application has the following beneficial effects:
in the process of playing media information, receiving a barrage editing operation aiming at the media information, presenting barrage content and barrage sending icons, and previewing the barrage content obtained by editing in a barrage display mode when the first editing operation is carried out on the sending icons, so that when the editing operation is carried out on the sending icons, a customized barrage mode can be set aiming at the barrage content, the barrage content is presented in a playing interface according to the customized barrage mode, the expression form of the barrage content is enriched, and the interestingness of the barrage sending function is improved.
Drawings
FIG. 1 is a schematic diagram of an architecture of a barrage release system provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for issuing a barrage according to an embodiment of the present disclosure;
fig. 4A is a schematic display diagram of a media information playing interface according to an embodiment of the present application;
FIG. 4B is a schematic diagram of a barrage editing interface provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of bullet screen content preview provided in an embodiment of the present application;
fig. 6 is a schematic diagram of personalized settings of a bullet screen display style provided in an embodiment of the present application;
FIG. 7 is a bullet screen presentation graphical selection interface provided by an embodiment of the present application;
FIG. 8A is a setup interface for a single character bullet screen presentation graphic provided by embodiments of the present application;
FIG. 8B is a schematic diagram showing bullet screen content in a heart-shaped background according to an embodiment of the present disclosure;
FIG. 9A is a bullet screen display graphical setup interface provided by an embodiment of the present application;
FIG. 9B is a schematic diagram of a bullet screen display provided in an embodiment of the present application;
FIG. 9C is a schematic diagram of a bullet screen display graphical setup interface provided by an embodiment of the present application;
FIG. 9D is a schematic diagram of a combined display of bullet screen display graphics provided in an embodiment of the present application;
FIG. 9E is a schematic diagram of a custom editing interface for a bullet screen display graphic according to an embodiment of the present disclosure;
FIGS. 10A-10B are schematic diagrams of bullet screen displays provided in embodiments of the present application;
FIG. 11 is a schematic flow chart of dragging a graphic display barrage content according to an embodiment of the present application;
FIG. 12A is a schematic drawing of a drag trajectory provided by an embodiment of the present application;
FIG. 12B is a schematic diagram of a drag graphical setting interface provided by an embodiment of the present application;
fig. 13 is a flowchart of a bullet screen display style selection method according to an embodiment of the present application;
FIG. 14A is a bullet screen presentation style preview flow chart provided by an embodiment of the present application;
FIG. 14B is a schematic diagram of a bullet screen display graphic switching provided in an embodiment of the present application;
FIG. 15 is a schematic diagram of moving speed of barrage content according to an embodiment of the present disclosure;
FIG. 16 is a schematic diagram of a method for generating a barrage display graphic according to an embodiment of the present application;
FIG. 17 is a schematic diagram of the release effect of barrage content provided in an embodiment of the present application;
18A-18B are schematic illustrations of a bullet screen provided in an embodiment of the present application;
fig. 19 is a flow chart of a method for issuing a barrage according to an embodiment of the present application;
FIG. 20A is a schematic view of a barrage editing interface provided by an embodiment of the present application;
FIG. 20B is a schematic view of a bullet screen content preview provided by an embodiment of the present application;
FIG. 20C is a schematic diagram of a bullet screen display style showing bullet screen content according to one embodiment of the present disclosure;
Fig. 21 is a schematic diagram of a barrage display graphics rendering process according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first/second" appears in the application document, the following description is added, in which the terms "first/second/third" are merely distinguishing between similar objects and not representing a particular ordering of the objects, it being understood that the "first/second/third" may be interchanged with a particular order or precedence, if allowed, so that the embodiments of the application described herein may be implemented in an order other than that illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Before further describing embodiments of the present application in detail, the terms and expressions that are referred to in the embodiments of the present application are described, and are suitable for the following explanation.
1) Bullet screen: the comment directly appearing on the media information is presented on the playing interface of the media information in a scrolling, staying and other modes.
2) Bullet screen style: properties or characteristics associated with the vision of the barrage include at least: the shape of the barrage (i.e., the outline or contour of the barrage).
The bullet screen style may also include the manner in which bullet screen content is arranged, the size of bullet screen content, the color of bullet screen content, the special effects of bullet screen content, etc. Depending on the type of bullet screen style (static or dynamic), bullet screen styles may also include attributes related to static or dynamic display effects, etc.
3) Client side: applications running in the terminal for providing various services, such as a video playing client, an audio playing client, etc.
4) In response to: for representing a condition or state upon which an operation is performed, one or more operations performed may be in real-time or with a set delay when the condition or state upon which the operation is dependent is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
When the related technology carries out barrage release processing, the comment and discussion are usually carried out on video contents by clicking a barrage sending button on a screen, the barrage contents are often in a line of text style and float from the screen, the barrage display style is single, differential display cannot be carried out on the barrage contents sent by a user, and the user experience is affected.
The embodiment of the application provides a barrage release method, device, equipment and computer readable storage medium, which can enrich the diversification of barrage display modes and increase the interestingness when sending barrages and playing media information.
The following describes exemplary applications of the bullet screen publishing device provided in the embodiments of the present application, where the device provided in the embodiments of the present application may be implemented as a notebook computer, a tablet computer, a desktop computer, a set-top box, a vehicle-mounted terminal, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device), and other various types of user terminals, and may also be implemented as a server. In the following, an exemplary application when the device is implemented as a terminal will be described.
Referring to fig. 1, fig. 1 is a schematic architecture diagram of a bullet screen release system provided in an embodiment of the present application, in order to implement a bullet screen release application, a terminal 400 (a terminal 400-1 and a terminal 400-2 are shown in an exemplary manner) is connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two.
In practical applications, the terminal 400 may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, and may 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 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN, content Delivery Networ k), basic cloud computing services such as big data and artificial intelligence platforms, and the like.
In actual implementation, the terminal 400 is provided with a playing client (the playing client 410-1 and the playing client 410-2 are shown in an exemplary manner), such as a video playing client, an audio playing client, etc., when the user opens the playing 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 playing interface; responding to the barrage editing operation aiming at the media information, and presenting edited barrage content and a sending icon corresponding to the barrage content; responding to an editing operation based on a bullet screen display style triggered by sending an icon, and displaying bullet screen contents under the bullet screen display style obtained by editing in a preview mode in the process of executing the editing operation; and responding to a release instruction aiming at editing operation, issuing bullet screen contents, and displaying the bullet screen contents by adopting the edited bullet screen display style in a playing interface.
The server 200 is configured to send media information, bullet screen content, and bullet screen display style to the terminal 400.
In some embodiments, as shown in fig. 1, a playback client 410-1 on a terminal 400-1 sends a media information playback request to a server 200 through a network 300, and the types of media information include audio and video, and the like. The server 200 transmits the media information requested to be played to the play client 410-1 to cause the play client 410-1 to decode the play. In the process of playing the media information by the playing client 410-1, the playing client 410-1 receives the bullet screen content and the bullet screen display style submitted by the user 1 and sends them to the server 200. Then, the server 200 transmits the bullet screen contents submitted by the user 1, the bullet screen presentation style, and the media information together to each of the playback clients (including the playback client 410-1 and the playback client 410-2), and the playback client 410-1 and the playback client 410-2 present the bullet screen contents in the bullet screen presentation style in the playback interface of the media information in the order in which the bullet screen contents were transmitted to the server when decoding the data stream of the playback media information.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, in practical application, an electronic device 500 may be implemented as the terminal 400 or the server 200 in fig. 1, and the electronic device 500 shown in fig. 2 includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in electronic device 500 are coupled together by bus system 540. It is appreciated that the bus system 540 is used to enable connected communications between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled as bus system 540 in fig. 2 for clarity of illustration.
The processor 510 may be an integrated circuit chip with signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
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 displays. 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.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 550 may optionally include one or more storage devices physically located remote from processor 510.
Memory 550 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The non-volatile memory may be read only memory (ROM, read Only Me mory) and the volatile memory may be random access memory (RAM, random Access Memor y). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating a peripheral device and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
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 translate the detected inputs or interactions.
In some embodiments, the apparatus provided in the embodiments of the present application may be implemented in software, and fig. 2 shows a bullet screen publishing apparatus 555 stored in a memory 550, which may be software in the form of a program and a plug-in, and includes the following software modules: the play module 5551, the render module 5552, the preview module 5553, and the publish module 5554 are logical, and thus may be arbitrarily combined or further split depending on the implemented functionality. The functions of the respective modules will be described hereinafter.
In other embodiments, the apparatus provided by the embodiments of the present application may be implemented in hardware, and by way of example, the apparatus provided by the embodiments of the present application may be a processor in the form of a hardware decoding processor that is programmed to perform the method of delivering the barrage provided by the embodiments of the present application, e.g., the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASIC, application Spe cific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field programmable gate arrays (FPGA, field-Programmable Gate Array), or other electronic components.
Next, a method for distributing the barrage provided in the embodiment of the present application will be described. In some embodiments, the method for distributing the barrage provided in the embodiments of the present application may be implemented by a terminal or a server alone or cooperatively. The method for issuing the barrage provided by the embodiment of the application is described by taking the terminal embodiment as an example. Referring to fig. 3, fig. 3 is a flowchart of a method for distributing a barrage according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 3.
In step 101, the terminal plays the media information in the play interface.
In practical application, a media information playing client, such as a video client and an audio playing client, is arranged on the terminal, and when a user opens the media information client arranged on the terminal to play media information, the content aiming at the media information is played in a playing interface. The content of the play media information includes the following two scenarios: playing the content of the media information and suspending playing the content of the media information; that is, the media information content played in the playing interface may be media information content in a playing state or media information content in a pause playing state.
In step 102, in response to a barrage editing operation for media information, the edited barrage content, and a send icon corresponding to the barrage content, are presented.
In practical application, when a user wants to send a barrage for a certain viewed media information in the process of watching the played media information, the user can trigger barrage editing operation for the media information, that is, when the barrage editing operation is triggered, the corresponding media information refers to content of the media information presented in the process of triggering the barrage editing operation, for example, a barrage function item for editing the barrage presented in a triggerable playing interface is triggered, so that the corresponding barrage editing instruction is triggered to a terminal, the terminal receives the barrage editing instruction, presents a barrage editing interface corresponding to the media information, and presents a function item for editing the barrage on the barrage editing interface.
Referring to fig. 4A, fig. 4A is a schematic display diagram of a media information playing interface provided in the embodiment of the present application, in which video content of "sumxxxxxx vexation" is being played in the playing interface, when content of media information presented in the playing interface corresponding to the 03:20 moment indicated by the number 1 in the figure is presented, if a user wants to send a bullet screen for media information at the current moment, a bullet screen function item (shown by the number 2 in the figure) may be triggered. In response to this barrage editing operation, the terminal presents a barrage editing interface as shown in fig. 4B, and fig. 4B is a schematic diagram of the barrage editing interface provided in the embodiment of the present application, where when text is added to media information, text content may be input through a text editing box, or may be obtained by text converting an input voice. In fig. 4A, the user can input text contents through a text edit box (number 1 in the figure), or input speech through a normally-pressed speech input icon (number 2 in the figure) and convert the speech into corresponding text contents.
In step 103, in response to a first editing operation based on the bullet screen display style triggered by the sending icon, displaying bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation.
In practical implementation, referring to fig. 5, fig. 5 is a schematic diagram of bullet screen content preview provided in the embodiment of the present application, in which bullet screen content to be expressed is input in number 1 in the figure, in response to an operation (such as a "send" button shown in number 3 in the figure) for a bullet screen sending function item, the input bullet screen content is sent, and the bullet screen content is displayed in a playing interface.
In some embodiments, from the process of triggering the bullet screen to send the functional item to the bullet screen content to actually present on the playing interface, personalized settings can also be performed on the bullet screen display style of the bullet screen content, and the personalized bullet screen display style is previewed until the adaptive bullet screen display style is selected to be displayed in the playing interface as the background of the bullet screen content. The personalized setting of the bullet screen display style can be triggered by responding to the editing operation of the sending icon, and the editing operation of the sending icon can be the personalized setting operation of the bullet screen display style triggered by the long-pressing operation of the sending icon. When the long-press operation is performed on the sending icon, the display parameters of the barrage display graph can be controlled according to the long-press operation parameters such as the operation duration and the pressure, so that the length, the width and the like of the barrage display graph are controlled, and in the long-press operation execution process, the barrage content displayed by the barrage display image is previewed. Referring to fig. 6, fig. 6 is a schematic diagram of personalized setting of a bullet screen display style provided in the embodiment of the present application, and based on fig. 3, step 103 may be implemented through steps 1031a to 1033 a.
In 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 graphics corresponding to the barrage content, and displays the barrage content through the barrage display graphics in a preview mode.
In actual practice, the bullet screen display image may be associated with operating parameters of the long press operation, where the operating parameters may include an operating duration, a pressing pressure, and the like.
In some embodiments, considering that the display area of the barrage display graphic is generally located in a fixed area in the playing interface, the adaptive barrage display graphic may be selected according to the number of characters corresponding to the barrage content. The method for acquiring the adaptive barrage display graph according to the number of characters can be realized by the following steps: the terminal acquires the number of characters corresponding to the barrage content; and selecting the barrage display graphics matched with the number of characters from at least two barrage display graphics as barrage display graphics corresponding to barrage contents.
Referring to fig. 7, fig. 7 is a schematic diagram of a selection interface for displaying a bullet screen according to an embodiment of the present application, where two bullet screen display patterns are provided for selection, a water ripple pattern shown in number 1 and a heart ripple pattern shown in number 2. In addition, the water ripple pattern can be selected as a default barrage display pattern, that is, when the selection operation of the barrage display pattern is not performed, the barrage display pattern defaults to the water ripple pattern. Because the heart-shaped patterns occupy a larger space, in a proper space occupation range, the bullet screen display patterns of the heart-shaped patterns can be selected according to the number of characters of bullet screen contents. For example, when the number of characters in the bullet screen is 5-20, a heart pattern may be selected.
In some embodiments, the bullet screen editor may also set a background graphic (bullet screen presentation graphic) for a single character to select a target bullet screen presentation graphic (manual selection) from the setting interface of the bullet screen presentation graphic. The selection operation of the target barrage presentation graphic for a single character may be accomplished by: the terminal presents a setting interface of bullet screen display graphics, and displays at least two bullet screen display graphic options in the setting interface; and receiving selection operation of target barrage display graphic options in at least two barrage display graphic options, and taking barrage display graphics corresponding to the target barrage display graphic options as barrage display graphics corresponding to barrage contents.
For example, referring to fig. 8A, fig. 8A is a setup interface of a single character barrage display graph provided in the embodiment of the present application, where four barrage display images provided in the figure are heart-shaped (number 1), star-shaped (number 2), diamond-shaped (number 3) and hexagonal (number 4), and a barrage editor may select an adapted barrage display according to practical situations. Referring to fig. 8B, fig. 8B is a schematic diagram showing bullet screen contents of a heart-shaped background provided in the embodiment of the present application, a bullet screen editor selects a heart shape (number 1) as a target bullet screen showing graphic in fig. 8A, inputs bullet screen contents "like Qiu Ya", executes a long press operation on a sending icon, shows a bullet screen in a style shown in number 1 of fig. 8B in a playing interface, and the bullet screen showing graphic corresponding to each character in the bullet screen contents is heart-shaped.
In some embodiments, keywords or keywords of the presentation graphics using the bullet screen may also be provided.
In practical implementation, referring to fig. 9A, fig. 9A is a schematic diagram illustrating four choices of candidate barrage presentation graphics (number 1), keyword/word input box (number 2) and the like applicable to a single character, which are provided in the barrage presentation graphic setting interface according to the embodiment of the present application. Keywords/words refer to words, and the like that appear in the bullet screen content and can be displayed using the bullet screen, and it is to be noted that when no keywords or words are set, the function shown in fig. 9A is similar to that shown in fig. 8A.
Illustratively, the bullet screen editor selects a heart shape as the bullet screen presentation graphic in FIG. 9A and sets keywords/words as { love; fig. 9B, fig. 9B is a schematic diagram of a bullet screen display provided in the embodiment of the present application, where bullet screen contents "Qiu Ya and Xia Luo are true and loved" are input in a bullet screen input frame of a bullet screen editor, and when a long press operation is performed on a sending icon, the bullet screen display style shown by the number 1 in fig. 9B obtained by previewing in a playing interface, that is, the backgrounds of two characters "heart" and "love" in the bullet screen are heart-shaped.
In some embodiments, the overall presentation graphics applied to the bullet screen content may also be combined with the bullet screen presentation images of the characters in the application bullet screen content. On the one hand, the bullet screen display style is added to the whole bullet screen content input by the bullet screen editor, and meanwhile, the bullet screen display graphics corresponding to the corresponding single character is added to each keyword or word in the bullet screen content.
In practical implementation, referring to fig. 9C, fig. 9C is a schematic diagram of a bullet screen display graphical setting interface provided in an embodiment of the present application, where a bullet screen display graphic of a single character is set in fig. 9C in combination with an overall bullet screen display graphic for bullet screen content. The media information playing client sets up a bullet screen display graph for the whole bullet screen content in advance, such as a water ripple style or a heart style in fig. 7. And sets a single character bullet screen presentation graphic (shown in number 1) in fig. 9C, and then highlights by setting a keyword or word (number 2), and determines whether to incorporate the entire bullet screen presentation graphic according to a selection operation for a function item of whether to use a default graphic.
Referring to fig. 9D, fig. 9D is a schematic diagram of merging and displaying the bullet screen display graphics provided in the embodiment of the present application, in which the default overall bullet screen display graphics are the water ripple patterns set in fig. 7, and "love" is set as a keyword or word, and whether the function item of the default graphics is used in fig. 9C is set as "yes" (i.e. enabled), and finally merging and displaying the bullet screen display graphics is shown in fig. 1, where the overall bullet screen display graphics corresponding to the overall bullet screen content "love crazy" are the water ripple patterns, and the bullet screen display graphics corresponding to the single character "love" are the heart-shaped patterns.
In some embodiments, before the operation parameters of the long press operation are acquired, the barrage display graphic may be drawn in a custom editing interface of the barrage display graphic, and the drawing operation for the barrage display graphic may be implemented by the following manner: the terminal presents a custom editing interface of the bullet screen display graph, and a graph drawing area is displayed in the custom editing interface; and receiving the barrage display graphics drawn in the graphics drawing area, and taking the drawn barrage display graphics as barrage display graphics corresponding to barrage content.
In implementation, the media information playing client provides a custom editing interface for the bullet screen display graphics, see fig. 9E, where fig. 9E is a schematic diagram of the custom editing interface for the bullet screen display graphics provided in the embodiment of the present application, and in the figure, a bullet screen editor may use each tool (such as a pencil corresponding to the number a, a color filling function corresponding to the number 2, and a clearing tool corresponding to the number 3) in the tool bar (number 1) to perform custom drawing of the bullet screen display graphics in the graphics drawing area shown by the number 2.
In step 1032a, the terminal synchronously adjusts the image parameters of the barrage display graphics along with the change of the operation parameters in the long press operation execution process.
In actual implementation, the operation parameters corresponding to the long press operation include at least one of the following: duration of operation, pressure magnitude.
10A-10B are schematic diagrams of a bullet screen display provided in the embodiment of the present application, see FIG. 10A, in which the default bullet screen display style is a water ripple style (shown by the number 1-a in the figure), a user inputs bullet screen content "earphone party notice front high energy" in an input box and long presses a send icon (shown by the number 2 in the figure), a playing interface can preview bullet screen content in the form of water ripple (shown by the number 1-a in the figure), a background of water ripple can cover all bullet screen content input in the input box with the duration of long press operation, in addition, with the increase of press pressure, the width of water ripple can also become larger, see FIG. 10B, with the increase of the duration of long press operation or the increase of press pressure, the length or width of water ripple changes. In practical application, an operation parameter setting interface can be provided, when long-press operation is performed, operation parameters can be provided, and the size and the like of a barrage display image can be controlled by single use or mixed use, for example, when the barrage display image is a water ripple, the longer the operation duration of the long-press operation is, the longer the length of the water ripple is; the greater the pressing pressure at the time of long press operation, the longer the length or the wider the width of the water wavelength.
And step 1033a, the terminal displays the bullet screen content through the adjusted bullet screen display graph.
In practical implementation, after previewing the bullet screen content displayed by the bullet screen display graph, the bullet screen editor determines that the bullet screen display graph accords with the final bullet screen display graph.
In some embodiments, when the first editing operation is a drag operation, a drag image corresponding to the drag operation may be controlled according to a drag trajectory of the drag operation, and during execution of the drag operation, a bullet screen content displayed through the drag graphic may be previewed. Referring to fig. 11, fig. 11 is a schematic flow chart of dragging a graphic display barrage according to an embodiment of the present application, and based on fig. 3, step 103 may be implemented through steps 1031b to 1033 b.
In step 1031b, when the first editing operation is a drag operation, the terminal obtains a drag track of the drag operation and a drag graphic corresponding to the drag operation, and displays the barrage content through the drag graphic in a preview manner.
In some embodiments, the terminal may acquire a drag trajectory of the drag operation by: the terminal presents a barrage preview interface, and presents a dragging area corresponding to the barrage in the barrage preview interface; a drag trajectory of a drag operation is received in the drag area.
When implementing, when drag operation is executed on the sent icon, a drag suspension ball for describing a drag track can be presented in the playing interface, the drag suspension ball is dragged in a drag area, a drag graph is drawn in the playing interface along with the change of the drag track, then previewed in the playing interface, and bullet screen contents displayed by the drag graph are displayed.
For example, referring to fig. 12A, fig. 12A is a schematic drawing of a drag track provided in the embodiment of the present application, in which, when a drag operation is performed on a sending icon, a drag suspension ball (numbered 1-a) is presented in a playing interface, and in a drag area (numbered 1) in the playing interface, the drag suspension ball moves in the drag area to generate a drag track (drag track shown by numbered 1-b in the drawing), so as to draw a drag graph. Then, the input barrage content is displayed in the dragging graph, and the barrage content displayed in the dragging graph is previewed in the playing interface (the dragging graph shown in the figure with the number 2).
In some embodiments, before acquiring the drag track of the drag operation, the target drag graphic may be selected from the setting interface of the drag graphic, and the selection operation for the target drag graphic may be implemented by: the terminal presents a setting interface corresponding to the dragging graphic, and at least two dragging graphic options are displayed in the setting interface; and receiving a selection operation of a target dragging graphic option in at least two dragging graphic options, and taking a dragging graphic corresponding to the target dragging graphic option as a dragging graphic corresponding to the dragging operation.
In practical implementation, referring to fig. 12B, fig. 12B is a schematic diagram of a drag graphic setting interface provided in the embodiment of the present application, in which, in a playing interface of media information, after inputting a barrage content, a barrage editor executes a drag operation on a sending icon, a drag graphic setting interface (shown in number 1 in the drawing) is presented in the playing interface, and a drag suspension ball (shown in number 1-a in the drawing) is presented, the drag graphic setting interface includes at least two drag graphics, and in an exemplary list 4, drag graphics (heart, star, diamond and hexagon) in the drawing, when the drag suspension ball drags onto any one drag graphic, the barrage content (shown in number 2) displayed by the drag graphics can be previewed in the playing interface.
For example, referring to fig. 12B, the bullet screen editor inputs bullet screen content "Qiu Ya" and drags the send icon, displays the drag graphic setting interface in the play interface, drags the hover ball to the area where the diamond is located, and previews the bullet screen content displayed in the diamond in the play interface.
In step 1032b, the terminal synchronously adjusts the parameters of the drag pattern along with the change of the drag track during the drag operation, so as to match the adjusted drag pattern with the drag track.
And 1033b, the terminal displays the barrage content by adopting the adjusted dragging graph.
In actual implementation, after previewing the barrage content displayed by the dragging graphic, the barrage editor determines that the barrage content meets the final dragging graphic.
In some embodiments, the terminal displays the bullet screen content in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation. Referring to fig. 13, fig. 13 is a flowchart of a bullet screen display style selection method provided in the embodiment of the present application, and based on fig. 3, step 103 may be implemented through steps 1031c to 1033 c.
In step 1031c, when the first editing operation is a drag operation, the terminal presents at least two bullet screen display styles.
In step 1032c, when the sending icon is dragged to the target barrage display style of the at least two barrage display styles in the process of executing the dragging operation, the terminal takes the target barrage display style as the barrage display style obtained by editing.
And step 1033c, the terminal displays the barrage content in the target barrage display mode in a preview mode.
In some embodiments, referring to fig. 14A, fig. 14A is a bullet screen presentation style preview flowchart provided in an embodiment of the present application, and based on fig. 3, step 103 may be implemented through steps 1031d to 1032 d.
In step 1031d, the terminal sequentially displays the bullet screen contents under different bullet screen display styles in a preview manner during the execution of the first editing operation.
In practical implementation, taking the edit operation of the sent icon as a long-press operation as an example, the bullet screen display graphics preset by the system can be sequentially and circularly switched according to the operation duration of the long-press operation and the switching interval time.
For example, referring to fig. 14B, fig. 14B is a schematic diagram of switching a bullet screen display image provided in the embodiment of the present application, where a bullet screen display image preset by a media information playing client is four types of hearts, stars, diamonds and hexagons as shown in fig. 8A, and a switching interval is set to 0.5s, and the duration of a long press operation on a sending icon is prolonged. In the process of executing long-press operation on a transmission icon, a bullet screen editor inputs bullet screen content like Qiu Ya, firstly previews bullet screen content with heart shape as background (shown by number 1-a), switches to bullet screen content with star shape as background (shown by number 1-b) after 0.5s, switches to bullet screen content with diamond shape as background (shown by number 1-c) after 0.5s, switches to bullet screen content with hexagon as background (shown by number 1-d) after 0.5s, previews bullet screen content with heart shape as background again after 0.5s, and continuously and circularly previews in sequence under the condition that a long-press operation duration threshold is not set.
In step 1032d, when a release instruction for the first editing operation is received, the bullet screen display style corresponding to the bullet screen content is used as the edited bullet screen display style when the release instruction is received.
In actual implementation, when the editing operation of the sending icon is released, the bullet screen display style corresponding to the bullet screen content previewed in the playing interface at the time is taken as the target bullet screen display style.
When the long press operation ends, the example in step 1031d is accepted, and if the bullet screen presentation style being previewed in the playing interface is a heart, the heart is used as the selected target bullet screen presentation graphic.
In some embodiments, the terminal uses the edited bullet screen display style in the playing interface to display bullet screen content, which can be achieved by the following ways: the terminal controls the bullet screen content under the bullet screen display mode, enters the playing interface from one side of the playing interface, controls the bullet screen content, and moves to the other side of the playing interface and moves out of the playing interface from the other side by adopting the moving speed matched with the bullet screen display mode.
For example, referring to fig. 15, fig. 15 is a schematic diagram of a moving speed of barrage content provided in the embodiment of the present application, in which a drag operation is performed on a sending icon as an example, a drag hover ball (shown in fig. 1-a) corresponding to the sending icon is dragged in a drag area, so as to obtain a corresponding drag graphic. Then, for the bullet content "is your god, haha …", at the beginning of preview, it enters from the right side of the playing interface (number 2-a), and with the extension of the dragging track and the change of the dragging time (shown as 1-b in the figure), the bullet content moves from the right side of the playing interface to the left side (shown as 2-b in the figure) until the bullet content moves from the left side to the playing interface (shown as 2-c in the figure).
In some embodiments, in the process of executing the first editing operation, the terminal displays the bullet screen content in the bullet screen display style obtained by editing in a preview manner, referring to fig. 16, fig. 16 is a schematic diagram of a bullet screen display graphics generating method provided in the embodiment of the present application, and based on fig. 3, step 103 may be implemented through steps 1031e to 1033 e.
Step 1031e, in the process of executing the first editing operation, the terminal synchronously draws the vector graphics corresponding to the bullet screen display style obtained by editing.
In actual implementation, by performing an editing operation on the transmission icon, the editing operation includes, but is not limited to, a long press operation, a drag operation. Vector graphics corresponding to the bullet screen display patterns are determined, as shown in fig. 9A for each bullet screen display pattern.
And step 1032e, when a release instruction for the first editing operation is received, acquiring a tail graph, and splicing the drawn vector graph with the tail graph to obtain a target vector graph serving as a barrage background.
In actual implementation, when a release instruction for editing operation of a transmission icon is received, determining a tail graphic, splicing the drawn vector graphic with the tail graphic, and finally determining a target vector graphic serving as a barrage background.
And step 1033e, performing image rendering based on the target vector graphics to display the bullet screen contents under the bullet screen display style obtained by editing in a preview mode.
In actual implementation, the terminal renders the target vector graphics through a related graphics rendering technology (common front-end image rendering or back-end image rendering), and previews the barrage content in the barrage display mode in the playing interface after the rendering is completed.
In some embodiments, during execution of the first editing operation, a cancel operation may be performed on the first editing operation, which may be implemented by: the method comprises the steps that in the process of executing a first editing operation, a terminal obtains a cancel condition corresponding to the first editing operation; and when the cancellation condition is met, canceling the display of the barrage content in the barrage display mode.
In actual implementation, the cancellation operation of the first editing operation of the sending icon can be realized, the cancellation of the first editing operation can be actively cancelled by the barrage editor, namely, when the barrage editor executes the first editing operation on the sending icon, the barrage editor actively wants to discard the corresponding barrage content, and can directly click on a media information part, so that the editing interface corresponding to the barrage display style can be directly exited; the method may further include executing a cancel operation on the first editing operation when the cancel condition is satisfied, that is, canceling the presentation of the bullet screen contents in the bullet screen presentation style.
In some embodiments, the cancellation condition corresponding to the first editing operation may be determined by an operation duration, and whether the cancellation condition corresponding to the first editing operation is satisfied is determined by the operation duration, which may be implemented as follows: the method comprises the steps that in the process of executing a first editing operation, a terminal obtains operation duration corresponding to the first editing operation; when the operation duration reaches the duration threshold, determining that the cancellation condition is satisfied.
In actual implementation, the cancelling condition of the first editing operation can be determined according to the relation between the operation duration corresponding to the first editing operation and the operation duration threshold, namely when the operation duration is greater than or equal to the duration threshold, the first editing operation can be considered to meet the cancelling condition, and the editing operation on the bullet screen display style is cancelled.
For example, taking the first editing operation as a long press operation as an example, referring to fig. 14B, the bullet screen editor performs a long press operation on the transmission icon, sets the duration threshold to 2s, previews bullet screen contents displayed by the bullet screen display pattern in sequence according to the switching interval during the long press, and when the long press operation is 2s, it can be considered that the first editing operation satisfies the cancel condition, and cancels the editing operation on the bullet screen display style.
In some embodiments, the cancellation condition corresponding to the first editing operation may be determined according to the relationship between the position information corresponding to the sending icon and the target area, and the implementation manner may be as follows: the terminal acquires position information corresponding to the sending icon in the process of executing the first editing operation; and when the position information characterizes that the sending icon is in the target area, determining that the cancellation condition is satisfied.
In actual implementation, the cancellation condition of the first editing operation may be determined according to the relationship between the position information corresponding to the transmission icon and the target area, that is, when the position corresponding to the transmission icon is in the target area, the first editing operation is cancelled. The target area may be understood as an area that does not respond to the first editing operation in the playback interface (playback autumn rain of the media information).
For example, taking the first editing operation as a drag operation as an example, referring to fig. 12A, when drag operation is performed on the sending icon, a corresponding drag suspension ball (numbered 1-a) is presented in the playing interface, where the drag suspension ball may generate a drag track in a drag area (the area shown by the numbered 1 in the drawing), so as to determine a drag graph; in the dragging process, when the dragging suspension ball is dragged in other areas (target areas) in the playing interface outside the dragging area, the first editing operation can be considered to meet the cancel condition, and the editing operation on the bullet screen display style is canceled.
In some embodiments, after the display of the bullet screen content in the bullet screen display mode is canceled, the editing operation of the bullet screen display sample can be further performed again by the triggering operation of the sending icon. The re-editing operation of the bullet screen display style can be realized by the following modes: the terminal receives a second editing operation based on the bullet screen display style triggered by the sending icon; in the process of executing the second editing operation, displaying the bullet screen contents under the bullet screen display mode obtained by editing in a preview mode; 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.
In actual implementation, in the media information playing interface, editing operation is performed again on the sending icon, so that selection operation meeting requirements of bullet screen editors is performed again on bullet screen display graphics for displaying bullet screen contents. The second editing operation performed on the send icon is similar to the first editing operation performed on the send icon, and will not be described here. In addition, since the second editing operation is performed after the first editing operation is canceled, it is understood that when the first editing operation is performed on the transmission icon, all the bullet screen display graphics that can be previewed may not meet the requirements of the bullet screen editor, and when the canceling operation is performed on the first editing operation, the second editing operation is performed on the transmission graphics again, and at this time, during the execution of the second editing operation, the bullet screen display style selected is different from the bullet screen display style corresponding to the first editing operation.
In step 104, in response to the release instruction for the first editing operation, the bullet screen content is released, and the bullet screen content is displayed in the playing interface in the bullet screen display style obtained by editing.
In actual implementation, after receiving a release instruction for a first editing operation, the terminal displays the bullet screen content by adopting the bullet screen display style obtained by editing in the playing interface.
Illustratively, referring to fig. 14B, the bullet screen editor performs a long press operation on the send icon to preview the bullet screen content "like Qiu Ya" presented by the various bullet screen presentation graphics, and releases the long press operation on the send icon when the star (four-star) is selected as the bullet screen presentation graphic. Referring to fig. 17, fig. 17 is a schematic diagram showing the release effect of the bullet content provided in the embodiment of the present application, and after the release of the long press operation of the send icon, the bullet content displayed by the star (, star) is formed in the playing interface of fig. 17.
According to the method and the device for editing the bullet screen display graphics, in the process of editing the sending icons, the selection or the custom drawing function of the bullet screen display graphics can be provided outwards, so that bullet screen contents meeting the actual demands of bullet screen editors can be edited, and the participation of the bullet screen editors in selecting the bullet screen display graphics corresponding to the bullet screen contents is further improved. In addition, the bullet screen editor can preview bullet screen contents displayed by combining different bullet screen display graphs in the media information playing interface, so that the requirements of severe bullet screen users can be better met, meanwhile, the presented bullet screens are various, the watching atmosphere is active, and the user's sightseeing experience is improved.
In the following, an exemplary application of the embodiments of the present application in a practical application scenario will be described.
Referring to fig. 18A, fig. 18A-18B are schematic views of a bullet screen presentation according to an embodiment of the present application, when a video is watched, an input box is clicked to edit bullet screen contents that are desired to be transmitted, and after the editing is completed, the bullet screen contents can be transmitted after a single click of a transmission icon, but clicking a "transmission" button does not affect the bullet screen style.
Alternatively, referring to fig. 18B, after the up arrow transmission button in the input box is pressed for a long time, a special style menu may be adjusted to select and transmit contents with special effects.
The applicant finds that in the bullet screen publishing method, for the bullet screen content to be sent, the bullet screen content appears to be slightly single, and a general media information playing client only supports a user to click a send button to send the bullet screen, so that the bullet screen edited in advance is sent out, and the user simply clicks the send button and does not change the style of the bullet screen. Meanwhile, the display modes of the bullet screen are mostly similar except for the characteristics of colors and expression roles, the bullet screen moves from right to left in a common straight line uniform speed mode, and the bullet screen modes are not related to the interaction action of clicking a send button by a user. The bullet screen style does not exhibit significant variability for users viewing video and bullet screens, and other play possibilities for the user are not provided.
Based on this, the embodiment of the application provides a bullet screen publishing mode, which is an interactive media information bullet screen display mode, so that after a user inputs bullet screen contents through a bullet screen editing box, when a 'send' button is pressed for a long time, a bullet screen with a special style enters from the right side of a screen, and the user can preview the style of the special bullet screen effect in advance. When the user is satisfied, the user can release the "send" button and the edited barrage will be presented on the screen in a particular pattern. Referring to fig. 19, fig. 19 is a flowchart of a method for distributing a barrage according to an embodiment of the present application, and is described with reference to the steps shown in fig. 19.
Step 201, the terminal plays video information in a play interface, wherein the play interface comprises a barrage editing window.
In practical implementation, the terminal is provided with a video playing client, when a user watches a video through the video playing client, the user can send barrage content to interested contents, and the barrage content can be sent by clicking a barrage editing window below a video playing interface to edit the barrage.
Illustratively, when the user needs to send a barrage for the video content being played, clicking a barrage editing window to edit the barrage.
Step 202, the terminal responds to clicking operation for the barrage editing window to present the barrage editing interface.
Referring to fig. 20A, fig. 20A is a schematic view of a barrage editing interface provided in the embodiment of the present application, in which after a user clicks a barrage editing window in a playing interface (shown in number 1), a barrage editing interface (number 2) is presented, and the barrage editing interface at least includes a barrage editing input box (number 2-a), a sending icon (number 2-b), and an input keyboard, and the user may input barrage content in the barrage editing input box using the input keyboard.
In step 203, the terminal presents the edited barrage content in response to the barrage editing operation for the video information.
Illustratively, the user (bullet screen editor) inputs bullet screen content "earphone party notes front high energy" in the bullet screen edit input box in fig. 20A.
And 204, responding to the long-press operation for the sent icon, and previewing the bullet screen contents in the bullet screen display mode obtained by editing in the playing interface in the process of executing the long-press operation by the terminal.
In actual practice, the bullet screen presentation style length may be related to the length of time for which the long press is performed.
For example, referring to fig. 20B, fig. 20B is a schematic view of a bullet screen content preview provided in an embodiment of the present application, when a bullet screen content editing input completion instruction, a "send" button (shown as number 1 in the figure) on the upper right of the keyboard is pressed. In the process of pressing the "send" button for a long time, the bullet screen edited by the user will appear in a special style (shown as number 2 in the figure) from the right side of the screen, and the user can preview the effect of the bullet screen to be sent in advance. The content of the barrage within the wave form in the figure is one of the barrage special styles.
And step 205, the terminal responds to the release instruction aiming at the long-press operation, issues the barrage content, and displays the barrage content by adopting the edited barrage display style in the playing interface.
In practice, when the user is satisfied with the bullet screen content and bullet screen presentation style previewed in the video playback interface, the "send" button may be released (i.e., the long press operation is released), and the edited bullet screen content will automatically appear in the video playback interface in the selected bullet screen presentation style.
For example, referring to fig. 20C, fig. 20C is a schematic diagram of displaying bullet screen contents according to the bullet screen display style provided in the embodiment of the present application, after a long-press operation of releasing the send button, displaying edited bullet screen contents in a wave (water wave) form in a playing interface of the video.
In practical implementation, referring to fig. 21, fig. 21 is a schematic diagram of a barrage display graphics rendering process provided in the embodiment of the present application, and a terminal renders barrage display graphics (i.e. barrages corresponding to special styles) according to the implementation process as follows: time listening and graphics rendering, wherein time listening includes triggering a long press event to begin, triggering a long press event to end. Step 1, monitoring the start of a long-press event; step 2, drawing an initial vector path of the barrage; step 3, circularly drawing repeated vector paths; step 4, monitoring the end of the long-press event; and 5, drawing an ending vector path of the barrage. The detailed rendering process is as follows: and after the button is sent to trigger a single click event, starting timing, and judging whether to trigger again in a specified time range according to timing. When a long-press event is triggered by a sending button, a preset vector graph starts to be rendered behind the bullet screen characters, the vector graph can be in a circular continuous pattern shape which is connected end to end, the shape rendering speed is bound with the timing duration, and the width of the vector graph is continuously increased during long-press. When the button triggers a long-press ending event, splicing a prefabricated vector image at the tail of the vector image to serve as a ending, so that a complete barrage background is formed.
The embodiment of the application provides a special bullet screen innovative playing method for users. The edited barrage forms special dynamic effects and a combination mode by long-pressing a 'sending' button, so that the experience of a user on 'barrage comment' and 'barrage comment watching' is improved, and the interest of the user in watching videos is increased. In addition, for the operation of transmitting the barrage, the interactive action of pressing the button for a long time is added, so that the interest of the user in editing the transmitted barrage can be increased, and the user can experience more playing possibilities of the barrage. Meanwhile, the variety of the barrage can be enriched due to the special barrage style, so that the barrage can be displayed in different styles, and the experience of watching videos is improved.
Continuing with the description below of an exemplary architecture of the bullet screen publishing device 555 implemented as a software module provided in embodiments of the present application, in some embodiments, as shown in fig. 2, the software modules stored in the bullet screen publishing device 555 of the memory 540 may include:
a play module 5551, configured to play the media information in the play interface;
a presentation module 5552 for presenting edited bullet screen content and a transmission icon corresponding to the bullet screen content in response to a bullet screen editing operation for the media information;
A preview module 5553, configured to respond to a first editing operation based on the bullet screen display style triggered by the sending icon, and display, in a preview manner, the bullet screen content in the bullet screen display style obtained by editing in the process of executing the first editing operation;
and the release module 5554 is configured to respond to a release instruction for the first editing operation, release the barrage content, and display the barrage content in the play interface by using the barrage display style obtained by editing.
In some embodiments, the preview module is further configured to obtain, when the first editing operation is a long press operation, an operation parameter of the long press operation and a barrage display graphic corresponding to the barrage content, and display the barrage content through the barrage display graphic in a preview manner; in the long press operation execution process, synchronously adjusting the image parameters of the barrage display graphics along with the change of the operation parameters, and displaying the barrage content through the adjusted barrage display graphics; wherein the operating parameters include at least one of: duration of operation, pressure magnitude.
In some embodiments, the preview module is further configured to obtain a number of characters corresponding to the barrage content; and selecting the barrage display graphics matched with the character quantity from at least two barrage display graphics as barrage display graphics corresponding to barrage contents.
In some embodiments, the preview module is further configured to present a setting interface of the bullet screen display graphics, and display at least two bullet screen display graphic options in the setting interface; and receiving selection operation of target barrage display graphic options in the at least two barrage display graphic options, and taking barrage display graphics corresponding to the target barrage display graphic options as barrage display graphics corresponding to barrage contents.
In some embodiments, the preview module is further configured to present a custom editing interface for displaying a bullet screen graphic, and display a graphic drawing area in the custom editing interface; and receiving the barrage display graphics drawn in the graphics drawing area, and taking the drawn barrage display graphics as barrage display graphics corresponding to barrage content.
In some embodiments, the preview module is further configured to, when the first editing operation is a drag operation, obtain a drag track of the drag operation and a drag graphic corresponding to the drag operation, and display the barrage content through the drag graphic in a preview manner; in the process of executing the dragging operation, synchronously adjusting parameters of the dragging graph along with the change of the dragging track so as to enable the adjusted dragging graph to be matched with the dragging track; and displaying the barrage content by adopting the adjusted dragging graph.
In some embodiments, the preview module is further configured to present a setting interface corresponding to the drag graphic, and present at least two drag graphic options in the setting interface; and receiving a selection operation of a target dragging graphic option in the at least two dragging graphic options, and taking a dragging graphic corresponding to the target dragging graphic option as a dragging graphic corresponding to the dragging operation.
In some embodiments, the preview module is further configured to present a barrage preview interface, and present a dragging area corresponding to the barrage in the barrage preview interface; and receiving a dragging track of the dragging operation in the dragging area.
In some embodiments, the preview module is further configured to present at least two bullet screen presentation styles when the first editing operation is a drag operation; and in the process of executing the dragging operation, when the sending icon is dragged to a target barrage display style in the at least two barrage display styles, taking the target barrage display style as an edited barrage display style, and displaying the barrage content in the target barrage display style in a preview mode.
In some embodiments, the preview module is further configured to sequentially display, in a preview manner, the barrage content under different barrage display styles during execution of the first editing operation; when a release instruction aiming at the first editing operation is received, taking the bullet screen display style corresponding to the bullet screen content as the bullet screen display style obtained by editing when the release instruction is received.
In some embodiments, the publishing module is further configured to control the bullet screen content in the bullet screen display style, enter the playing interface from one side of the playing interface, control the bullet screen content, move to the other side of the playing interface with a moving speed adapted to the bullet screen display style, and move out of the playing interface from the other side.
In some embodiments, the preview module is further configured to synchronously draw a vector graphic corresponding to the bullet screen display style obtained by editing in the process of executing the first editing operation; when a release instruction aiming at the first editing operation is received, acquiring a tail graph, and splicing the drawn vector graph with the tail graph to obtain a target vector graph serving as a barrage background; and performing image rendering based on the target vector graphics to display the bullet screen contents under the bullet screen display style obtained by editing in a preview mode.
In some embodiments, the preview module is further configured to obtain a cancel condition corresponding to the first editing operation in a process of executing the first editing operation; and when the cancellation condition is met, canceling the display of the barrage content in the barrage display mode.
In some embodiments, the preview module is further configured to receive a second editing operation based on the bullet screen presentation style triggered by the sending icon; in the process of executing the second editing operation, displaying the bullet screen contents in the bullet screen display mode obtained by editing in a preview mode; 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.
In some embodiments, the preview module is further configured to obtain an operation duration corresponding to the first editing operation in a process of executing the first editing operation; and when the operation duration reaches a duration threshold, determining that the cancellation condition is satisfied.
In some embodiments, the preview module is further configured to obtain, during execution of the first editing operation, location information corresponding to the sending icon; and when the position information characterizes that the sending icon is in the target area, determining that the cancellation condition is satisfied.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the bullet screen publishing method according to the embodiment of the application.
The embodiments of the present application provide a computer readable storage medium storing executable instructions, wherein the executable instructions are stored, which when executed by a processor, cause the processor to perform a method for issuing a barrage provided by the embodiments of the present application, for example, a method for issuing a barrage as shown in fig. 3.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EP ROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
In summary, through the embodiment of the application, in the process of executing the editing operation on the sending icon, the selection or the custom drawing function of the barrage display graphics can be provided outwards, so that the barrage content meeting the actual requirement of the barrage editor can be edited and obtained, and the participation of the barrage editor in selecting the barrage display graphics corresponding to the barrage content is improved. In addition, the bullet screen editor can preview bullet screen contents displayed by combining different bullet screen display graphs in the media information playing interface, so that the requirements of severe bullet screen users can be better met, the presented bullet screens are various, the atmosphere is actively watched, and the impression experience of the users is improved.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and scope of the present application are intended to be included within the scope of the present application.

Claims (20)

1. A method of distributing a barrage, the method comprising:
playing the media information in the playing interface;
responding to the barrage editing operation aiming at the media information, and presenting edited barrage content and a sending icon corresponding to the barrage content;
responding to a first editing operation of a barrage display style triggered by the sending icon, and displaying the barrage content in the barrage display style obtained by editing in a preview mode in the execution process of the first editing operation;
and responding to a release instruction aiming at the first editing operation, issuing the barrage content, and displaying the barrage content in the playing interface by adopting the barrage display style obtained by editing.
2. The method as claimed in claim 1, wherein displaying the bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation includes:
When the first editing operation is a long-press operation, acquiring operation parameters of the long-press operation and a barrage display graph corresponding to barrage content, and displaying the barrage content through the barrage display graph in a preview mode;
in the long press operation execution process, synchronously adjusting the image parameters of the barrage display graphics along with the change of the operation parameters, and displaying the barrage content through the adjusted barrage display graphics;
wherein the operating parameters include at least one of: duration of operation, pressure magnitude.
3. The method of claim 2, wherein the obtaining the bullet screen presentation graphics corresponding to the bullet screen content comprises:
acquiring the number of characters corresponding to the barrage content;
and selecting the barrage display graphics matched with the character quantity from at least two barrage display graphics as barrage display graphics corresponding to barrage contents.
4. The method of claim 2, wherein prior to the obtaining the operating parameter of the push-to-talk operation, the method further comprises:
presenting a setting interface of bullet screen display graphics, and displaying at least two bullet screen display graphic options in the setting interface;
And receiving selection operation of target barrage display graphic options in the at least two barrage display graphic options, and taking barrage display graphics corresponding to the target barrage display graphic options as barrage display graphics corresponding to barrage contents.
5. The method of claim 2, wherein prior to the obtaining the operating parameter of the push-to-talk operation, the method further comprises:
presenting a custom editing interface of bullet screen display graphics, and displaying a graphics drawing area in the custom editing interface;
and receiving the barrage display graphics drawn in the graphics drawing area, and taking the drawn barrage display graphics as barrage display graphics corresponding to barrage content.
6. The method as claimed in claim 1, wherein displaying the bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation includes:
when the first editing operation is a dragging operation, acquiring a dragging track of the dragging operation and a dragging graph corresponding to the dragging operation, and displaying the barrage content through the dragging graph in a preview mode;
In the process of executing the dragging operation, synchronously adjusting parameters of the dragging graph along with the change of the dragging track so as to enable the adjusted dragging graph to be matched with the dragging track;
and displaying the barrage content by adopting the adjusted dragging graph.
7. The method of claim 6, wherein prior to the acquiring the drag trajectory of the drag operation, the method further comprises:
presenting a setting interface corresponding to the dragging graphic, and displaying at least two dragging graphic options in the setting interface;
and receiving a selection operation of a target dragging graphic option in the at least two dragging graphic options, and taking a dragging graphic corresponding to the target dragging graphic option as a dragging graphic corresponding to the dragging operation.
8. The method of claim 6, wherein the acquiring the drag trajectory of the drag operation comprises:
presenting a barrage preview interface, and presenting a dragging area corresponding to the barrage in the barrage preview interface;
and receiving a dragging track of the dragging operation in the dragging area.
9. The method as claimed in claim 1, wherein displaying the bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation includes:
When the first editing operation is a dragging operation, at least two bullet screen display modes are displayed;
in the process of executing the drag operation, when the sending icon is dragged to a target barrage display style in the at least two barrage display styles, taking the target barrage display style as an edited barrage display style, and
and displaying the barrage content in the target barrage display mode in a preview mode.
10. The method as claimed in claim 1, wherein displaying the bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation includes:
in the process of executing the first editing operation, sequentially displaying the barrage contents under different barrage display modes in a preview mode;
when a release instruction aiming at the first editing operation is received, taking the bullet screen display style corresponding to the bullet screen content as the bullet screen display style obtained by editing when the release instruction is received.
11. The method of claim 1, wherein said displaying said bullet screen content in said playback interface using said edited bullet screen display style comprises:
Controlling the bullet screen content in the bullet screen display mode, entering the playing interface from one side of the playing interface, and
and controlling the bullet screen content to move to the other side of the playing interface by adopting the moving speed matched with the bullet screen display style, and moving out of the playing interface from the other side.
12. The method as claimed in claim 1, wherein displaying the bullet screen contents in the bullet screen display style obtained by editing in a preview manner during the execution of the first editing operation includes:
synchronously drawing vector graphics corresponding to the bullet screen display style obtained by editing in the process of executing the first editing operation;
when a release instruction aiming at the first editing operation is received, acquiring a tail graph, and splicing the drawn vector graph with the tail graph to obtain a target vector graph serving as a barrage background;
and performing image rendering based on the target vector graphics to display the bullet screen contents under the bullet screen display style obtained by editing in a preview mode.
13. The method of claim 1, wherein the method further comprises:
Acquiring a cancel condition corresponding to the first editing operation in the process of executing the first editing operation;
and when the cancellation condition is met, canceling the display of the barrage content in the barrage display mode.
14. The method of claim 13, wherein the bullet screen display pattern includes bullet screen display graphics, the method further comprising, after canceling the display of the bullet screen content in the bullet screen display pattern:
receiving a second editing operation of the bullet screen display style triggered by the sending icon;
in the process of executing the second editing operation, displaying the bullet screen contents in the bullet screen display mode obtained by editing in a preview mode;
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.
15. The method of claim 13, wherein the method further comprises:
acquiring operation duration corresponding to the first editing operation in the process of executing the first editing operation;
and when the operation duration reaches a duration threshold, determining that the cancellation condition is satisfied.
16. The method of claim 13, wherein the method further comprises:
acquiring position information corresponding to the sending icon in the process of executing the first editing operation;
and when the position information characterizes that the sending icon is in the target area, determining that the cancellation condition is satisfied.
17. A bullet screen publishing device, said device comprising:
the playing module is used for playing the media information in the playing interface;
the presentation module is used for responding to the barrage editing operation aiming at the media information and presenting edited barrage content and a sending icon corresponding to the barrage content;
the preview module is used for responding to a first editing operation based on the bullet screen display style triggered by the sending icon, and displaying bullet screen contents obtained by editing in a preview mode in the process of executing the first editing operation;
and the release module is used for responding to the release instruction aiming at the first editing operation, releasing the barrage content, and displaying the barrage content by adopting the barrage display style obtained by editing in the playing interface.
18. An electronic device, the electronic device comprising:
a memory for storing executable instructions;
a processor for implementing the barrage release method of 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 which when executed by a processor implement the method of issuing a barrage of any of claims 1 to 16.
20. A computer program product comprising a computer program or instructions which, when executed by a processor, implements the method of issuing a barrage according to any of claims 1 to 16.
CN202111223092.6A 2021-10-20 2021-10-20 Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product Pending CN116017015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111223092.6A CN116017015A (en) 2021-10-20 2021-10-20 Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111223092.6A CN116017015A (en) 2021-10-20 2021-10-20 Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product

Publications (1)

Publication Number Publication Date
CN116017015A true CN116017015A (en) 2023-04-25

Family

ID=86030380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111223092.6A Pending CN116017015A (en) 2021-10-20 2021-10-20 Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product

Country Status (1)

Country Link
CN (1) CN116017015A (en)

Similar Documents

Publication Publication Date Title
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
US11172012B2 (en) Co-streaming within a live interactive video game streaming service
US11450350B2 (en) Video recording method and apparatus, video playing method and apparatus, device, and storage medium
TW201511534A (en) System and method for networked communication of content and social media responses thereto by way of a display screen and a remote controller
CN111880874A (en) Media file sharing method, device and equipment and computer readable storage medium
JP2024519142A (en) Method, apparatus, device, and program for creating and joining a team in a virtual scene
CN104123383A (en) Method and device used in media application
US20230171459A1 (en) Platform for video-based stream synchronization
CN113253880A (en) Method and device for processing page of interactive scene and storage medium
CN113038236A (en) Video processing method and device, electronic equipment and storage medium
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
CN113938696B (en) Live broadcast interaction method and system based on custom virtual gift and computer equipment
KR20190104821A (en) Server, device and method for providing avatar communication
CN111628977A (en) Media file processing method and device and storage medium
CN113495664A (en) Information display method, device, equipment and storage medium based on media information stream
KR101806922B1 (en) Method and apparatus for producing a virtual reality content
CN116017015A (en) Barrage release method, barrage release device, barrage release equipment, barrage storage medium and barrage product
CN115599273A (en) Media content processing method, device, equipment, readable storage medium and product
CN115908654A (en) Interaction method, device and equipment based on virtual image and storage medium
CN115079892A (en) Information display method, device and equipment based on graphic identification and storage medium
CN114021047A (en) Information presentation method in immersive activity system and electronic device
KR101729377B1 (en) Apparatus for transmitting image message
CN115113773B (en) Information processing method, information processing device, computer readable storage medium, and electronic device
EP4220368A1 (en) Multimedia data processing method and apparatus, and device, computer-readable storage medium and computer program product
US11943516B1 (en) System and method for interactive web-browsing via user equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination