CN111246270A - Method, device, equipment and storage medium for displaying bullet screen - Google Patents

Method, device, equipment and storage medium for displaying bullet screen Download PDF

Info

Publication number
CN111246270A
CN111246270A CN202010036476.6A CN202010036476A CN111246270A CN 111246270 A CN111246270 A CN 111246270A CN 202010036476 A CN202010036476 A CN 202010036476A CN 111246270 A CN111246270 A CN 111246270A
Authority
CN
China
Prior art keywords
information
displaying
bullet screen
sliding operation
multimedia data
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.)
Granted
Application number
CN202010036476.6A
Other languages
Chinese (zh)
Other versions
CN111246270B (en
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.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology 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 Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN202010036476.6A priority Critical patent/CN111246270B/en
Publication of CN111246270A publication Critical patent/CN111246270A/en
Application granted granted Critical
Publication of CN111246270B publication Critical patent/CN111246270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for displaying a bullet screen. The method comprises the steps that a page is displayed, the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. The beneficial effects of showing bullet screens in different expression forms according to the setting mode of user individuation are achieved.

Description

Method, device, equipment and storage medium for displaying bullet screen
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, a device, equipment and a storage medium for displaying a bullet screen.
Background
The barrage refers to content directly displayed on a video, can appear on the video in a special-effect mode of scrolling, staying or even more actions, and can be comments or feelings sent by a person watching the video. At present, many websites provide the function of video sending barrage, and this kind of websites allow the video viewer to make comments or feel, and it can appear on the video picture in real time in the mode of sliding the caption, guarantees that all viewers can notice to realize the interaction between the viewers, can express the comments or feel to the work even together, increases and watches the enjoyment.
Generally, if a user needs to send a bullet screen with a non-default format. After the bullet screen information is input, a configuration interface is clicked, and a style is selected for the bullet screen information by clicking a control related to configuration. This way, sending personalized bullet screens requires cumbersome operations. Especially, when a user wants to send a personalized bullet screen in a live scene, the user easily misses the opportunity of sending the bullet screen.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for displaying a barrage, which aim to solve the problems of single interaction mode between a user and an interface and single barrage form displayed in a video.
In a first aspect, an embodiment of the present invention provides a method for displaying a bullet screen, including:
displaying a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
displaying information in the editing area;
receiving a sliding operation occurring in the control;
displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as a style when the bullet screen occurs;
determining that the sliding operation ends outside the control;
and according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
On this basis, the pattern comprises a size; the displaying a picture according to the occurrence of the sliding operation includes:
displaying a picture on the information according to the sliding direction of the sliding operation, wherein the picture contains the information;
and adjusting the size of the picture according to the sliding distance of the sliding operation so as to preview the size of the information as a bullet screen.
On this basis, the styles comprise animated styles; the displaying a picture according to the occurrence of the sliding operation includes:
displaying a picture on the multimedia data according to the initial sliding direction of the sliding operation, wherein the picture comprises the information;
and moving the picture on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the position of the picture on the multimedia data is used for determining the animation mode when the information is used as a bullet screen.
On the basis, the moving the picture over the multimedia data according to the direction of the subsequent sliding of the sliding operation comprises:
moving the picture to a first position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the first position is used for determining that the animation style of the information as the bullet screen is a rolling style;
and moving the picture to a second position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the second position is used for determining that the animation style when the information is used as the bullet screen is a popup style.
On this basis, the style includes a duration, and after moving the picture over the multimedia data according to the direction of the subsequent sliding of the sliding operation, the method further includes:
determining that there is a pressing operation in the sliding operation;
displaying a time progress bar according to the pressing operation, wherein the time progress bar is used for determining the duration of the information as the bullet screen display;
and when the pressing operation is finished, canceling the display of the time progress bar.
On this basis, the method further comprises the following steps:
receiving a click operation acting on the control;
and according to the clicking operation, displaying the information on the multimedia data as a bullet screen according to a preset pattern.
On this basis, still include:
determining that the sliding operation is finished in the control;
and canceling the information displayed on the multimedia data as a bullet screen according to the end of the sliding operation.
On this basis, the displaying the information as a bullet screen on the multimedia data in the multimedia area according to the end of the sliding operation in the style includes:
if the multimedia data is recorded and played video data, pausing the recorded and played video data at a first time point when the sliding operation occurs;
and displaying the information as a bullet screen on the multimedia data at the first time point according to the style according to the end of the sliding operation.
On this basis, the displaying the information as a bullet screen on the multimedia data in the multimedia area according to the end of the sliding operation in the style includes:
if the multimedia data are live video data, determining a second time point when the sliding operation is finished;
and displaying the information on the multimedia data as a bullet screen according to the style at the second time point according to the end of the sliding operation.
In a second aspect, an embodiment of the present invention further provides a method for displaying a bullet screen, including:
sending a page to all clients for displaying, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
receiving information which is sent by one client and input in the editing area, and a style which is determined based on a sliding operation and is used as a bullet screen, wherein the sliding operation is sent in the control and ended outside the control, and is used for displaying a picture so as to display the style when the information is used as the bullet screen;
and sending the information to all clients so as to display the information on the multimedia data as a bullet screen according to the style in the multimedia area.
In a third aspect, an embodiment of the present invention further provides a method for displaying a bullet screen, including:
displaying a page, wherein the page comprises a multimedia area which is used for playing multimedia data;
displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area;
the information is input in an editing area of a page in a client, the editing area is provided with a control, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
In a fourth aspect, an embodiment of the present invention further provides a device for displaying a bullet screen, including:
the page display module is used for displaying a page, the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
the information display module is used for displaying information in the editing area;
the sliding operation receiving module is used for receiving the sliding operation generated in the control;
the picture display module is used for displaying a picture according to the sliding operation, and the picture is used for displaying the information as a style when the bullet screen is displayed;
the sliding operation determining module is used for determining that the sliding operation is finished outside the control;
and the bullet screen display module is used for displaying the information as a bullet screen on the multimedia data according to the style in the multimedia area according to the end of the sliding operation.
In a fifth aspect, an embodiment of the present invention further provides a device for displaying a bullet screen, including:
the system comprises a page sending module, a page sending module and a display module, wherein the page sending module is used for sending pages to all clients for displaying, the pages comprise editing areas and multimedia areas, the editing areas are provided with controls, and the multimedia areas are used for playing multimedia data;
the bullet screen display module is used for receiving information which is sent by one client and input in the editing area and a style which is determined based on a sliding operation and used as a bullet screen of the information, wherein the sliding operation is sent in the control and ended outside the control, and is used for displaying a picture so as to display the style when the information is used as the bullet screen;
and the bullet screen display module is used for sending the information to all the clients so as to display the information on the multimedia data as bullet screens according to the style in the multimedia area.
In a sixth aspect, an embodiment of the present invention further provides a device for displaying a bullet screen, including:
the page display module is used for displaying a page, the page comprises a multimedia area, and the multimedia area is used for playing multimedia data;
the bullet screen display module is used for displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area;
the information is input in an editing area of a page in a client, the editing area is provided with a control, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
In a seventh aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of displaying a bullet screen as described in any aspect.
In an eighth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for displaying a bullet screen according to any one of the embodiments.
The method comprises the steps of displaying a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. In such a way, the user can set the bullet screen information in a style without complicated operation. The time for setting the style of the bullet screen information by the user is saved, the user can send the bullet screen information in time, and the interactivity among the users can be increased.
Drawings
Fig. 1 is a flowchart of a method for displaying a bullet screen according to an embodiment of the present invention;
FIGS. 2A-2H are exemplary diagrams of pages;
fig. 3 is a flowchart of a method for displaying a bullet screen according to a second embodiment of the present invention;
fig. 4 is a flowchart of a method for displaying a bullet screen according to a third embodiment of the present invention;
fig. 5 is a flowchart of a method for displaying a bullet screen according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of a method for displaying a bullet screen according to a fifth embodiment of the present invention;
fig. 7 is a flowchart of a method for displaying a bullet screen according to a sixth embodiment of the present invention;
fig. 8 is a structural diagram of an apparatus for displaying a bullet screen according to a seventh embodiment of the present invention;
fig. 9 is a structural diagram of an apparatus for displaying a bullet screen according to an eighth embodiment of the present invention;
fig. 10 is a structural diagram of an apparatus for displaying a bullet screen according to a ninth embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to a tenth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for displaying a bullet screen according to an embodiment of the present invention. Fig. 2A-2H are exemplary diagrams of pages. The embodiment is suitable for displaying a page, receiving the operation of a user in the page, and displaying a scene of a picture which shows a pair of information as a style when the bullet screen is displayed according to the operation. The method may be performed by a device for displaying the bullet screen, which may be implemented by software and/or hardware. May be configured in a computer device, such as a server, workstation, personal computer, etc. Generally, scenes which can be launched as a bullet screen at least include a live scene, an on-demand scene, a novel scene, a stock scene (such as a trend chart showing stocks), and the like, that is, multimedia data is relatively video, audio, text, pictures, and the like. The method specifically comprises the following steps:
s101, displaying a page.
In a specific implementation, the operating system of the computer device may include Android (Android), iOS, Windows, and the like, and the live application may be installed in the operating system.
The client displays the page as shown in fig. 2A. In the page there are included a multimedia area 11, an editing area 12, in which there is a control 13, the multimedia area 11 being used for playing multimedia data.
In general, a control refers to the encapsulation of data and methods. In the page shown in fig. 2A, the multimedia area 11, the editing area 12, the text box 121, the picture adding key 122, the expression key 123, and the like can be all referred to as "controls" in the art.
In the present embodiment, since the control 13 needs to be improved in technology compared with other conventional "controls" and is directly related to the implementation of the present solution, the term "control" refers to the control 13 written with "send" without other special representations. Of course, it should be understood that "send" is written on the control 13 for ease of understanding and use by the user, and is not intended to be limiting.
And S102, displaying information in the editing area.
The information refers to the content that the user inputs to be displayed as a bullet screen. The information may be one of a text, an expression, or a picture. Of course, the content of the information is different, and the manner of addition is also different. Information such as text class can be input in the text box 121, information such as picture class can be added by clicking the picture adding button 122, and information such as expression class can be added by clicking the expression button 123.
When the user selects to add the information as a bullet screen, the information is displayed in the editing area. After the user clicks the text box to input "good learning, up every day", the client displays the page shown in fig. 2B, and displays the information "good learning, up every day" in the text box 121 of the page.
And S103, receiving the sliding operation generated in the control.
In general, to prevent an erroneous operation, a start point of a slide operation is set as a control. The slide operation occurring in the control indicates a slide operation occurring with the control as a starting point.
The sliding operation is only effective when the starting point of the sliding operation is a control or other set point. A valid sliding action can trigger the subsequent steps.
In the case of a touch screen, the sliding operation is performed by a user's finger, i.e., pressing an undeployed sliding finger. In the case of a non-touch screen, the sliding operation can be completed by a user clicking a mouse designated button and dragging the mouse.
And S104, displaying a picture according to the sliding operation.
In general, the sliding operation may be a sliding while the user presses a control. If the user directly clicks the control, the information can be displayed on the multimedia data as a bullet screen according to a preset style according to the clicking operation.
Taking a mobile device comprising a touch screen as an example for description: if the dragging gesture is detected in the touch screen, the dragging direction of the dragging gesture is determined, and the dragging gesture is mapped to the dragging distance in the dragging direction according to a certain functional relation.
In conjunction with the page shown in fig. 2B, since the control 13 is located below the multimedia area 11, the selectable sliding directions of the control 13 are sliding left, sliding right, and sliding up. If the control 13 slides down with only a short space, the control 13 may also be set to slide down as an operation to clear the information displayed in the editing area.
In a possible implementation manner, after the sliding operation occurs with the control as a starting point, a frame may be set to be displayed according to the occurrence of the sliding operation. The picture is used for displaying the information as a style when the bullet screen is displayed.
In another possible implementation, the screen may be displayed in different places according to the direction of the sliding operation. Such as generating pictures on top of information or generating pictures on top of multimedia data.
And S105, determining that the sliding operation is finished outside the control.
In general, when a user adjusts the style of information through a sliding operation, the user may want to cancel the adjustment of the information, and therefore, if the sliding operation is finished in a control, the user may cancel displaying the information as a bullet screen on the multimedia data.
When the sliding operation is finished outside the control, the subsequent steps are executed.
And S106, according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
When the drag gesture cannot be detected in the touch screen, the sliding operation may be considered to be ended. At this time, in the multimedia area, information is displayed as a bullet screen on the multimedia data in a style.
Generally, the bullet screen display can be understood that a transparent layer capable of covering multimedia data is added on the multimedia data, and the bullet screen is displayed on the transparent layer. In conjunction with the page shown in fig. 2C, it can be understood that the user displays the enlarged "good learning, upward every day" on the multimedia data through a sliding operation, and scrolls from right to left at a constant speed.
The embodiment of the invention displays a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. The beneficial effects of receiving the personalized setting of the client user and presenting the barrage in different expression forms are achieved.
Example two
Fig. 3 is a flowchart of a method for displaying a bullet screen according to a second embodiment of the present invention. The present embodiment is detailed based on the first embodiment, and a specific manner of displaying a screen according to the occurrence of the sliding operation is described in detail by taking the style as the size as an example.
The method specifically comprises the following steps:
s201, displaying a page.
And S202, displaying information in the editing area.
S203, receiving the sliding operation generated in the control.
And S204, displaying a picture on the information according to the sliding direction of the sliding operation.
Generally, a screen can be displayed according to the sliding direction of the sliding operation by associating the effect of the sliding direction, and the information can be displayed as a style when the bullet screen is displayed.
In the present embodiment, the direction in which the slide operation is slid may be set to slide left and right. That is, when it is detected that the user starts a sliding operation to the left or the right from the control, a frame is displayed on the information, and the frame contains the information.
In one implementation, the image is reduced when the slide operation is performed to the left. Such as the page shown in fig. 2D. The user performs a slide operation to the left with the control 13 as a starting point, displays a screen on the information, and performs a reduction process on the screen.
In one implementation, the image is enlarged when the sliding operation is performed to the right. Such as the page shown in fig. 2E. The user performs a slide operation to the right with the control 13 as a starting point, displays a screen on the information, and performs an enlargement process on the screen.
And S205, adjusting the size of the picture according to the sliding distance of the sliding operation so as to preview the size of the information as a bullet screen.
In general, the distance may be understood as the distance between the start of the sliding operation and the end of the sliding operation. The distance may also be understood as a projection of the path from the start of the sliding operation to the end of the sliding operation in the horizontal direction.
And adjusting the size of the picture according to the distance, wherein the distance is positively correlated with the degree of adjusting the picture.
S206, determining that the sliding operation is finished outside the control.
And S207, according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
The embodiment of the invention displays a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. When the sliding operation triggers that the size of the information is adjusted, a picture is directly displayed on the information, and the aim of visual display is fulfilled. The beneficial effects of receiving the personalized setting of the client user and presenting the barrage in different expression forms are achieved.
EXAMPLE III
Fig. 4 is a flowchart of a method for displaying a bullet screen according to a third embodiment of the present invention. The embodiment is detailed on the basis of the first embodiment, and the specific way of displaying a picture according to the occurrence of the sliding operation is described in detail by taking the example that the style includes an animation style and a duration.
The method specifically comprises the following steps:
s301, displaying a page.
And S302, displaying information in the editing area.
And S303, receiving the sliding operation generated in the control.
S304, displaying a picture on the multimedia data according to the initial sliding direction of the sliding operation.
Generally, a screen can be displayed according to the sliding direction of the sliding operation by associating the effect of the sliding direction, and the information can be displayed as a style when the bullet screen is displayed.
In the present embodiment, the direction in which the slide operation slips may be set to slide upward. That is, when it is detected that the user starts the upward sliding operation with the control as a starting point, a frame is displayed on the information, and the frame contains the information.
In one implementation, the setting of the animation style is performed on the image when the sliding operation is set upwards. Such as the page shown in fig. 2F. The user performs a slide operation upward with the control 13 as a starting point, and can display a screen at a position on the multimedia data where the slide operation has reached.
In another implementation, a frame may be displayed on the multimedia data at a predetermined position, such as a middle area or a corner of the multimedia data.
S305, moving the picture on the multimedia data according to the subsequent sliding direction of the sliding operation.
The direction of the subsequent sliding may be any one direction, and the direction of the subsequent sliding and the place of stopping are related to the position of the picture on the multimedia data, and the position is used for determining the information as the animation style when the bullet screen is displayed.
In one implementation, the position of the frame above the multimedia data is a position when the finger leaves the multimedia data when the user sliding operation is terminated.
In an implementation manner, the position of the picture on the multimedia data is a position where the picture is correspondingly displayed on the multimedia data when the finger leaves the touch screen when the user sliding operation is terminated.
The animation style includes at least two types, i.e., a scroll style and a pop-up style.
In a possible implementation manner, according to the direction of the subsequent sliding of the sliding operation, the picture is moved to a first position on the multimedia data, and the first position is used for determining that the animation mode when the information is used as the bullet screen is the rolling mode. Taking fig. 2G as an example, a region above the multimedia data and near the display frame may be set as the peripheral region 14, when the first position is in the peripheral region 14, the animation pattern when the information is used as a bullet screen is determined to be a scrolling pattern, and the scrolling direction is from the first position, scrolling toward an opposite side of the side where the first position is located, until the information contacts the peripheral region 14 again.
In a possible implementation manner, according to the direction of the subsequent sliding of the sliding operation, the picture is moved to a second position on the multimedia data, and the second position is used for determining that the animation style when the information is used as the bullet screen is the pop-up style. Taking fig. 2H as an example, the area above and in the center of the multimedia data may be set as the second area 15, when the second position is in the second area 15, the animation style when the information is used as a bullet screen is determined to be a pop-up style, and the information is enlarged at the second position and then gradually reduced and disappeared.
S306, determining that the sliding operation has a pressing operation.
The pressing is performed when the sliding operation is stopped but the finger is not away from the touch screen.
And S307, displaying a time progress bar according to the pressing operation.
The time progress bar is used for determining the duration of the information as bullet screen display.
And S308, canceling the display of the time progress bar when the pressing operation is finished.
Steps S306-S308 describe the way in which the display time is set for the information. It can be understood that: when the information is dragged to a certain position on the video display area, the user presses the information to pop up a time progress bar around the information or at the position of the finger. The numerical value of the time progress bar is linearly and reciprocally increased and decreased between range values, and the numerical value of the time progress bar represents information as the duration of the bullet screen. In the android platform, the progress bar change is realized through a circulating ValueAnaimator.
When the animated version of the message is a scrolling version, the duration determines the speed at which the bullet screen moves over the multimedia region.
When the animated version of the message is a pop-up version, the duration determines the speed at which the bullet disappears over the multimedia area.
S309, determining that the sliding operation is finished outside the control.
And S310, according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
The embodiment of the invention displays a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. When the sliding operation triggers the animation style of the adjustment information, a picture is displayed on the multimedia data, and the movement and the time length of the picture are set according to the requirements of a user. The beneficial effects of receiving the personalized setting of the client user and presenting the barrage in different expression forms are achieved.
Example four
Fig. 5 is a flowchart of a method for displaying a bullet screen according to a fourth embodiment of the present invention. The present embodiment is refined on the basis of the first embodiment, the second embodiment and the third embodiment. Different processing modes when the multimedia video is recorded video data or live video data are described in detail.
The method specifically comprises the following steps:
s401, displaying a page.
S402, displaying information in the editing area.
And S403, receiving the sliding operation generated in the control.
And S404, displaying a picture according to the sliding operation.
S405, determining that the sliding operation is finished outside the control.
S406, if the multimedia data is recorded and played video data, pausing the recorded and played video data at a first time point when the sliding operation occurs.
Recorded video data generally refers to various techniques for capturing, recording, processing, storing, transmitting, and reproducing a series of still images as electrical signals. When the continuous image changes more than 24 frames (frames) of pictures per second, human eyes cannot distinguish a single static picture according to the persistence of vision principle; it looks like a smooth continuous visual effect. The development of network technology has also promoted the existence of recorded and played video data in the form of streaming media on the internet and receivable and playable by computers.
And if the multimedia data is recorded and played video data, taking the time when the user triggers the sliding operation as a first time point. Further, the recorded video data is paused at the first point in time.
And S407, according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style at the first time point.
And when the sliding operation is finished, displaying the bullet screen at a first time point. At this time, the bullet screen is displayed on the multimedia data according to the style adjusted by the user.
S408, if the multimedia data is live video data, determining a second time point when the sliding operation is finished.
Live video data refers to audio video signals captured from the anchor. Most of the acquired Audio signals are original data such as PCM (pulse code Modulation), and the like, and the live broadcast application can call an encoder to perform Audio mixing processing on the Audio signals and encode the Audio signals into a specified Audio format, such as AAC (Advanced Audio Coding), and the like.
Most of the collected video signals are YUV (Y represents brightness (Luma), U represents Chroma (Chroma), and V represents concentration (Chroma)) and other raw data, and the live broadcast application can call an encoder to encode the video signals into a specified video format, such as h.264 (digital video compression format).
Thereafter, the live application may call a packetizer to encapsulate the audio signal in the specified audio format and the Video signal in the specified Video format into a live data stream in the specified stream format, such as MP4(Moving Picture Experts Group 4), FLV (Flash Video, streaming media format), and so on.
Live broadcast application accessible RTSP (Real Time Streaming Protocol), RTMP (Real Time Messaging Protocol), HLS (HTTP Live Streaming, Streaming media transfer Protocol based on HTTP (Hypertext transfer Protocol)) etc. and send Live broadcast data stream to Live broadcast platform (Live broadcast server), and Live broadcast platform (Live broadcast server) discloses this Live broadcast room, makes audience user open the Live broadcast room in the customer end, receives this Live broadcast data stream and plays.
And if the multimedia data is live video data, a second time point when the sliding operation is finished is determined.
And S409, according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style at the second time point.
And displaying the bullet screen at a second time point after the sliding operation is finished. At this time, the bullet screen is displayed on the multimedia data according to the style adjusted by the user.
The embodiment of the invention displays a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. When the insertion time of the bullet screen is distinguished according to the difference of the multimedia data, unreasonable blocking is avoided, and unreasonable time delay is also avoided when the bullet screen is displayed. The method and the device have the advantages that the personalized setting of the user at the client is received, and the barrage with different expression forms is presented at a reasonable time point.
EXAMPLE five
Fig. 6 is a flowchart of a method for displaying a bullet screen according to a fifth embodiment of the present invention. The embodiment is suitable for a scene of sending pages to all clients for display. The method may be performed by a device for displaying the bullet screen, which may be implemented by software and/or hardware. Can be configured in computer equipment, such as a server, a workstation, a personal computer, etc., and specifically comprises the following steps:
s501, sending pages to all clients for displaying.
In a particular implementation, the server sends pages to all clients. The client displays the page as shown in figure 2A. In the page there are included a multimedia area 11, an editing area 12, in which there is a control 13, the multimedia area 11 being used for playing multimedia data.
S502, receiving information which is sent by one client and input in the editing area, and determining the information as a bullet screen style based on a sliding operation.
The server receives information which is sent by a client and input in the editing area, wherein the information can be any one of characters, expressions or pictures.
The server receives a style determined by the slide operation and indicating that the information is as a bullet screen. The sliding operation is sent to the control, ends outside the control, and is used for displaying a picture, and the picture is used for displaying the information as a style when the bullet screen is displayed.
S503, sending the information to all clients, and displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
The server sends the information to all clients, and in the multimedia area, the information is displayed on the multimedia data as a bullet screen according to the style.
The relevant steps of steps S501 to S503 can be explained with reference to the first embodiment and the fourth embodiment.
On the basis of the above embodiment, the pattern includes a size;
the picture is displayed on the information according to the sliding direction of the sliding operation, and the picture contains the information;
and the size of the picture is adjusted according to the sliding distance of the sliding operation so as to preview the size of the information as a bullet screen.
On the basis of the above embodiment, the style includes an animation style;
the picture is displayed on the multimedia data according to the direction of initial sliding of the sliding operation, and the picture comprises the information;
and moving the picture on the multimedia data according to the subsequent sliding direction of the sliding operation, wherein the position of the picture on the multimedia data is used for determining the animation mode when the information is used as a bullet screen.
On the basis of the above embodiment, the screen moves to a first position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, and the first position is used for determining that the animation style when the information is used as a bullet screen is a rolling style;
and the picture moves to a second position on the multimedia data according to the subsequent sliding direction of the sliding operation, and the second position is used for determining that the animation style when the information is used as a bullet screen is a popup style.
On the basis of the above embodiment, the pattern includes a duration;
a time progress bar is displayed according to the pressing operation in the sliding operation, and the time progress bar is used for determining the duration of the information as the bullet screen display;
the timeline cancels display at the end of the pressing operation.
On the basis of the above-described embodiments,
and the information is displayed on the multimedia data as a bullet screen according to the clicking operation and a preset pattern, and the clicking operation acts on the control.
On the basis of the above-described embodiments,
and the information is displayed on the multimedia data as a bullet screen according to the ending and the canceling of the sliding operation, and the sliding operation is ended in the control.
On the basis of the above-described embodiments,
and the information is used as a bullet screen to be displayed on the multimedia data at the first time point according to the mode according to the end of the sliding operation, the multimedia data is recorded and played video data, and the first time point is when the sliding operation occurs.
On the basis of the above-described embodiments,
and the information is used as a bullet screen to be displayed on the multimedia data at the second time point according to the end of the sliding operation and the style, wherein the multimedia data is live video data, and the second time point is the end of the sliding operation.
The embodiment of the invention displays the pages by sending the pages to all the clients; receiving information which is sent by one client and input in an editing area and a style which is determined based on a sliding operation and is used as a bullet screen; and sending the information to all the clients so as to display the information on the multimedia data as a bullet screen according to the style in the multimedia area. The method and the system have the advantage that the bullet screens in different expression forms are presented at the client terminal according to the setting mode of the user individuation in the server.
EXAMPLE six
Fig. 7 is a flowchart of a method for displaying a bullet screen according to a sixth embodiment of the present invention. The embodiment is suitable for displaying a scene of a page comprising a multimedia area on the user interface. The method may be performed by a device for displaying the bullet screen, which may be implemented by software and/or hardware. Can be configured in computer equipment, such as a server, a workstation, a personal computer, etc., and specifically comprises the following steps:
s601, displaying a page.
The client displays the page as shown in fig. 2A. In the page there are included a multimedia area 11, an editing area 12, in which there is a control 13, the multimedia area 11 being used for playing multimedia data.
S602, in the multimedia area, displaying information as a bullet screen on the multimedia data according to a specified style.
And the client takes information as a bullet screen in the multimedia area according to the received parameters and displays the bullet screen on the multimedia data according to a specified style.
The information is input in an editing area of a page in a client, a control is arranged in the editing area, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
The relevant steps of steps S501 to S503 can be explained with reference to the first embodiment and the fourth embodiment.
On the basis of the above embodiment, the pattern includes a size;
the picture is displayed on the information according to the sliding direction of the sliding operation, and the picture contains the information;
and the size of the picture is adjusted according to the sliding distance of the sliding operation so as to preview the size of the information as a bullet screen.
On the basis of the above embodiment, the style includes an animation style;
the picture is displayed on the multimedia data according to the direction of initial sliding of the sliding operation, and the picture comprises the information;
and moving the picture on the multimedia data according to the subsequent sliding direction of the sliding operation, wherein the position of the picture on the multimedia data is used for determining the animation mode when the information is used as a bullet screen.
On the basis of the above embodiment, the screen moves to a first position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, and the first position is used for determining that the animation style when the information is used as a bullet screen is a rolling style;
and the picture moves to a second position on the multimedia data according to the subsequent sliding direction of the sliding operation, and the second position is used for determining that the animation style when the information is used as a bullet screen is a popup style.
On the basis of the above embodiment, the pattern includes a duration;
a time progress bar is displayed according to the pressing operation in the sliding operation, and the time progress bar is used for determining the duration of the information as the bullet screen display;
the timeline cancels display at the end of the pressing operation.
On the basis of the above-described embodiments,
and the information is displayed on the multimedia data as a bullet screen according to the clicking operation and a preset pattern, and the clicking operation acts on the control.
On the basis of the above-described embodiments,
and the information is displayed on the multimedia data as a bullet screen according to the ending and the canceling of the sliding operation, and the sliding operation is ended in the control.
On the basis of the above-described embodiments,
and the information is used as a bullet screen to be displayed on the multimedia data at the first time point according to the mode according to the end of the sliding operation, the multimedia data is recorded and played video data, and the first time point is when the sliding operation occurs.
On the basis of the above-described embodiments,
and the information is used as a bullet screen to be displayed on the multimedia data at the second time point according to the end of the sliding operation and the style, wherein the multimedia data is live video data, and the second time point is the end of the sliding operation.
The embodiment of the invention displays a page; and displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area. The beneficial effect that the bullet screen with different expression forms is presented at the client terminal according to the setting mode of the user individuation in the specific client terminal is realized.
EXAMPLE seven
Fig. 8 is a structural diagram of an apparatus for displaying a bullet screen according to a seventh embodiment of the present invention. The device may specifically include the following modules: a page display module 71, an information display module 72, a slide operation receiving module 73, a screen display module 74, a slide operation determination module 75, and a bullet screen display module 76. Wherein:
the page display module 71 is configured to display a page, where the page includes an editing area and a multimedia area, the editing area has a control, and the multimedia area is used for playing multimedia data;
an information display module 72 for displaying information in the editing area;
a sliding operation receiving module 73, configured to receive a sliding operation occurring in the control;
a picture display module 74, configured to display a picture according to the occurrence of the sliding operation, where the picture is used to display the information as a style when the bullet screen is displayed;
a sliding operation determination module 75, configured to determine that the sliding operation ends outside the control;
and a bullet screen display module 76, configured to display the information as a bullet screen on the multimedia data according to the style in the multimedia area according to the end of the sliding operation.
The embodiment of the invention displays a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data; displaying information in the editing area; receiving a sliding operation occurring in the control; displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as the style of the bullet screen; determining that the sliding operation is finished outside the control; according to the end of the sliding operation, in the multimedia area, the information is displayed as a bullet screen on the multimedia data according to the style. The beneficial effects of receiving the personalized setting of the client user and presenting the barrage in different expression forms are achieved.
On the basis of the above embodiment, the pattern includes a size; the screen display module 74 includes:
the first direction determining submodule is used for displaying a picture on the information according to the sliding direction of the sliding operation, and the picture contains the information;
and the first adjustment execution submodule is used for adjusting the size of the picture according to the sliding distance of the sliding operation so as to preview the size of the information when the information is used as a bullet screen.
On the basis of the above embodiment, the style includes an animation style; the screen display module 74 includes:
a second direction determination submodule, configured to display a picture on the multimedia data according to the direction in which the sliding operation initially slides, where the picture includes the information;
and the second adjustment execution submodule is used for moving the picture on the multimedia data according to the subsequent sliding direction of the sliding operation, and the position of the picture on the multimedia data is used for determining the animation mode when the information is used as a bullet screen.
On the basis of the above embodiment, the second adjustment execution sub-module includes:
a first position response unit, configured to move the screen to a first position on the multimedia data according to a direction of subsequent sliding of the sliding operation, where the first position is used to determine that an animation style when the information is used as a bullet screen is a scroll style;
and the second position response unit is used for moving the picture to a second position on the multimedia data according to the subsequent sliding direction of the sliding operation, and the second position is used for determining that the animation style when the information is used as a bullet screen is a pop-up style.
On the basis of the above embodiment, the pattern includes a duration; further comprising:
a pressing operation determination submodule for determining that the sliding operation has a pressing operation;
the progress bar display submodule is used for displaying a time progress bar according to the pressing operation, and the time progress bar is used for determining the duration of the information as bullet screen display;
and the progress bar canceling submodule is used for canceling the display of the time progress bar when the pressing operation is finished.
On the basis of the above embodiment, the method further includes:
the click receiving module is used for receiving click operation acting on the control;
and the click response module is used for displaying the information on the multimedia data as a bullet screen according to a preset pattern according to the click operation.
On the basis of the above embodiment, the method further includes:
a sliding termination determination module, configured to determine that the sliding operation is terminated in the control;
and the sliding termination response module is used for canceling the information displayed on the multimedia data as a bullet screen according to the end of the sliding operation.
On the basis of the foregoing embodiment, the displaying the information as a bullet screen on the multimedia data in the multimedia area according to the end of the sliding operation in the style further includes:
the first data judgment module is used for pausing recorded and played video data at a first time point when the sliding operation occurs if the multimedia data is recorded and played video data;
and the first data processing module is used for displaying the information as a bullet screen on the multimedia data at the first time point according to the style according to the end of the sliding operation.
On the basis of the foregoing embodiment, the displaying the information as a bullet screen on the multimedia data in the multimedia area according to the end of the sliding operation in the style further includes:
the second data judgment module is used for determining a second time point when the sliding operation is finished if the multimedia data is live video data;
and the second data processing module is used for displaying the information as a bullet screen on the multimedia data at the second time point according to the style according to the end of the sliding operation.
The device for displaying the bullet screen can execute the first to fourth embodiments of the invention, and the method for displaying the bullet screen has the corresponding functional modules and beneficial effects of the execution method.
Example eight
Fig. 9 is a structural diagram of an apparatus for displaying a bullet screen according to an eighth embodiment of the present invention. The device may specifically include the following modules: a page sending module 81, a bullet screen display module 82 and a bullet screen display module 83. Wherein:
the page sending module 81 is configured to send a page to all clients for display, where the page includes an editing area and a multimedia area, the editing area has a control, and the multimedia area is used for playing multimedia data;
a bullet screen display module 82, configured to receive information that is sent by one of the clients and input in the editing region, and a style that is determined based on a sliding operation and used as a bullet screen of the information, where the sliding operation is sent in the control and ends outside the control, and is used to display a picture to display the style that is used as the bullet screen of the information;
and the bullet screen display module 83 is configured to send the information to all clients, so that in the multimedia area, the information is displayed on the multimedia data as a bullet screen according to the style.
The embodiment of the invention displays the pages by sending the pages to all the clients; receiving information which is sent by one client and input in an editing area and a style which is determined based on a sliding operation and is used as a bullet screen; and sending the information to all the clients so as to display the information on the multimedia data as a bullet screen according to the style in the multimedia area. The method and the system have the advantage that the bullet screens in different expression forms are presented at the client terminal according to the setting mode of the user individuation in the server.
The device for displaying the bullet screen, provided by the embodiment of the invention, can execute the method for displaying the bullet screen, provided by the fifth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example nine
Fig. 10 is a structural diagram of an apparatus for displaying a bullet screen according to a ninth embodiment of the present invention. The device may specifically include the following modules: a page display module 91 and a bullet screen display module 92. Wherein:
the page display module 91 is configured to display a page, where the page includes a multimedia area, and the multimedia area is used for playing multimedia data;
a bullet screen display module 92, configured to display information as a bullet screen on the multimedia data according to a specified pattern in the multimedia area;
the information is input in an editing area of a page in a client, the editing area is provided with a control, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
The embodiment of the invention displays a page; and displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area. The beneficial effect that the bullet screen with different expression forms is presented at the client terminal according to the setting mode of the user individuation in the specific client terminal is realized.
The device for displaying the bullet screen, provided by the embodiment of the invention, can execute the method for displaying the bullet screen, provided by the sixth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example ten
Fig. 11 is a schematic structural diagram of an electronic device according to a tenth embodiment of the present invention. As shown in fig. 11, the electronic apparatus includes a processor 60, a memory 61, a communication module 62, an input device 63, and an output device 64; the number of the processors 60 in the electronic device may be one or more, and one processor 60 is taken as an example in fig. 11; the processor 60, the memory 61, the communication module 62, the input device 63 and the output device 64 in the electronic apparatus may be connected by a bus or other means, and the bus connection is exemplified in fig. 11.
The memory 61 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules corresponding to a method of displaying a bullet screen in this embodiment (e.g., a page display module 71, an information display module 72, a sliding operation receiving module 73, a picture display module 74, a sliding operation determining module 75, and a bullet screen display module 76 in an apparatus for displaying a bullet screen; e.g., a page transmission module 81, a bullet screen display module 82, and a bullet screen display module 83 in an apparatus for displaying a bullet screen; e.g., a page display module 91 and a bullet screen display module 92 in an apparatus for displaying a bullet screen). The processor 60 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 61, so as to implement the method for displaying the bullet screen.
The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And the communication module 62 is used for establishing connection with the display screen and realizing data interaction with the display screen. The input device 63 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus.
The electronic device provided in this embodiment of the present invention can execute the method for displaying a bullet screen provided in any embodiment of the present invention, and has corresponding functions and advantages.
EXAMPLE eleven
An eleventh embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method of displaying a bullet screen, the method including:
displaying a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
displaying information in the editing area;
receiving a sliding operation occurring in the control;
displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as a style when the bullet screen occurs;
determining that the sliding operation ends outside the control;
and according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
Alternatively, the first and second electrodes may be,
sending a page to all clients for displaying, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
receiving information which is sent by one client and input in the editing area, and a style which is determined based on a sliding operation and is used as a bullet screen, wherein the sliding operation is sent in the control and ended outside the control, and is used for displaying a picture so as to display the style when the information is used as the bullet screen;
and sending the information to all clients so as to display the information on the multimedia data as a bullet screen according to the style in the multimedia area.
Alternatively, the first and second electrodes may be,
displaying a page, wherein the page comprises a multimedia area which is used for playing multimedia data;
displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area;
the information is input in an editing area of a page in a client, the editing area is provided with a control, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
Of course, the storage medium provided by the embodiments of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the method for displaying a bullet screen provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer electronic device (which may be a personal computer, a server, or a network electronic device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the method and device for displaying a bullet screen, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (13)

1. A method of displaying a bullet screen, comprising:
displaying a page, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
displaying information in the editing area;
receiving a sliding operation occurring in the control;
displaying a picture according to the occurrence of the sliding operation, wherein the picture is used for displaying the information as a style when the bullet screen occurs;
determining that the sliding operation ends outside the control;
and according to the end of the sliding operation, displaying the information on the multimedia data as a bullet screen according to the style in the multimedia area.
2. The method of claim 1, wherein the pattern comprises a size; the displaying a picture according to the occurrence of the sliding operation includes:
displaying a picture on the information according to the sliding direction of the sliding operation, wherein the picture contains the information;
and adjusting the size of the picture according to the sliding distance of the sliding operation so as to preview the size of the information as a bullet screen.
3. The method of claim 1, wherein the style comprises an animated style; the displaying a picture according to the occurrence of the sliding operation includes:
displaying a picture on the multimedia data according to the initial sliding direction of the sliding operation, wherein the picture comprises the information;
and moving the picture on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the position of the picture on the multimedia data is used for determining the animation mode when the information is used as a bullet screen.
4. The method of claim 3, wherein moving the picture over the multimedia data according to the direction of the subsequent slide of the sliding operation comprises:
moving the picture to a first position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the first position is used for determining that the animation style of the information as the bullet screen is a rolling style;
and moving the picture to a second position on the multimedia data according to the direction of the subsequent sliding of the sliding operation, wherein the second position is used for determining that the animation style when the information is used as the bullet screen is a popup style.
5. The method of claim 3, wherein the pattern comprises a duration, and wherein after moving the frame over the multimedia data according to the direction of the subsequent slide of the sliding operation, further comprising:
determining that there is a pressing operation in the sliding operation;
displaying a time progress bar according to the pressing operation, wherein the time progress bar is used for determining the duration of the information as the bullet screen display;
and when the pressing operation is finished, canceling the display of the time progress bar.
6. The method according to any one of claims 1-5, further comprising:
receiving a click operation acting on the control;
and according to the clicking operation, displaying the information on the multimedia data as a bullet screen according to a preset pattern.
7. The method of any of claims 1-5, further comprising:
determining that the sliding operation is finished in the control;
and canceling the information displayed on the multimedia data as a bullet screen according to the end of the sliding operation.
8. The method according to any of claims 1-5, wherein said displaying said information as a bullet screen over said multimedia data in said multimedia area in said pattern according to the end of said sliding operation comprises:
if the multimedia data is recorded and played video data, pausing the recorded and played video data at a first time point when the sliding operation occurs;
and displaying the information as a bullet screen on the multimedia data at the first time point according to the style according to the end of the sliding operation.
9. The method according to any of claims 1-5, wherein said displaying said information as a bullet screen over said multimedia data in said multimedia area in said pattern according to the end of said sliding operation comprises:
if the multimedia data are live video data, determining a second time point when the sliding operation is finished;
and displaying the information on the multimedia data as a bullet screen according to the style at the second time point according to the end of the sliding operation.
10. A method of displaying a bullet screen, comprising:
sending a page to all clients for displaying, wherein the page comprises an editing area and a multimedia area, the editing area is provided with a control, and the multimedia area is used for playing multimedia data;
receiving information which is sent by one client and input in the editing area, and a style which is determined based on a sliding operation and is used as a bullet screen, wherein the sliding operation is sent in the control and ended outside the control, and is used for displaying a picture so as to display the style when the information is used as the bullet screen;
and sending the information to all clients so as to display the information on the multimedia data as a bullet screen according to the style in the multimedia area.
11. A method of displaying a bullet screen, comprising:
displaying a page, wherein the page comprises a multimedia area which is used for playing multimedia data;
displaying information on the multimedia data as a bullet screen according to a specified pattern in the multimedia area;
the information is input in an editing area of a page in a client, the editing area is provided with a control, the style is determined based on a sliding operation, the sliding operation is sent in the control and ended outside the control, and the sliding operation is used for displaying a picture so as to display the style when the information is used as a bullet screen.
12. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of displaying a bullet screen as claimed in any one of claims 1 to 11.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of displaying a bullet screen according to any one of claims 1 to 11.
CN202010036476.6A 2020-01-14 2020-01-14 Method, device, equipment and storage medium for displaying bullet screen Active CN111246270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010036476.6A CN111246270B (en) 2020-01-14 2020-01-14 Method, device, equipment and storage medium for displaying bullet screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010036476.6A CN111246270B (en) 2020-01-14 2020-01-14 Method, device, equipment and storage medium for displaying bullet screen

Publications (2)

Publication Number Publication Date
CN111246270A true CN111246270A (en) 2020-06-05
CN111246270B CN111246270B (en) 2022-02-25

Family

ID=70876009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010036476.6A Active CN111246270B (en) 2020-01-14 2020-01-14 Method, device, equipment and storage medium for displaying bullet screen

Country Status (1)

Country Link
CN (1) CN111246270B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383831A (en) * 2020-10-30 2021-02-19 上海连尚网络科技有限公司 Method and equipment for generating bullet screen information
CN112866815A (en) * 2020-12-31 2021-05-28 北京达佳互联信息技术有限公司 Video display method, device and storage medium
CN113691856A (en) * 2021-08-17 2021-11-23 维沃移动通信(杭州)有限公司 Bullet screen generation method and device, electronic equipment and readable storage medium
CN114390358A (en) * 2020-10-21 2022-04-22 上海哔哩哔哩科技有限公司 Barrage input method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215512A1 (en) * 2012-07-20 2014-07-31 Panasonic Corporation Comment-provided video generating apparatus and comment-provided video generating method
CN105681916A (en) * 2016-01-08 2016-06-15 天脉聚源(北京)科技有限公司 Video bullet screen display method and device
CN107613402A (en) * 2017-09-07 2018-01-19 咪咕音乐有限公司 A kind of barrage adjusting method, device and storage medium
CN107728905A (en) * 2017-10-12 2018-02-23 咪咕动漫有限公司 A kind of barrage display methods, device and storage medium
CN108055569A (en) * 2017-12-19 2018-05-18 广州虎牙信息科技有限公司 Direct broadcasting room barrage sending method, device and corresponding terminal
CN108260019A (en) * 2018-01-16 2018-07-06 深圳市瑞致达科技有限公司 Barrage display methods, device and readable storage medium storing program for executing
CN109117237A (en) * 2018-09-05 2019-01-01 武汉斗鱼网络科技有限公司 A kind of barrage display methods, device and electronic equipment
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215512A1 (en) * 2012-07-20 2014-07-31 Panasonic Corporation Comment-provided video generating apparatus and comment-provided video generating method
CN105681916A (en) * 2016-01-08 2016-06-15 天脉聚源(北京)科技有限公司 Video bullet screen display method and device
CN107613402A (en) * 2017-09-07 2018-01-19 咪咕音乐有限公司 A kind of barrage adjusting method, device and storage medium
CN107728905A (en) * 2017-10-12 2018-02-23 咪咕动漫有限公司 A kind of barrage display methods, device and storage medium
CN108055569A (en) * 2017-12-19 2018-05-18 广州虎牙信息科技有限公司 Direct broadcasting room barrage sending method, device and corresponding terminal
CN108260019A (en) * 2018-01-16 2018-07-06 深圳市瑞致达科技有限公司 Barrage display methods, device and readable storage medium storing program for executing
CN109117237A (en) * 2018-09-05 2019-01-01 武汉斗鱼网络科技有限公司 A kind of barrage display methods, device and electronic equipment
CN109379614A (en) * 2018-12-27 2019-02-22 广州华多网络科技有限公司 Barrage sending method, mobile terminal and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
甘露剪映: "哔哩哔哩如何设置弹幕样式", 《百度经验,HTTPS://JINGYAN.BAIDU.COM/ARTICLE/AC6A9A5EAE19056A653EACE0.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390358A (en) * 2020-10-21 2022-04-22 上海哔哩哔哩科技有限公司 Barrage input method and device
CN112383831A (en) * 2020-10-30 2021-02-19 上海连尚网络科技有限公司 Method and equipment for generating bullet screen information
CN112866815A (en) * 2020-12-31 2021-05-28 北京达佳互联信息技术有限公司 Video display method, device and storage medium
WO2022142735A1 (en) * 2020-12-31 2022-07-07 北京达佳互联信息技术有限公司 Video display method and apparatus
CN112866815B (en) * 2020-12-31 2022-12-27 北京达佳互联信息技术有限公司 Video display method, device and storage medium
CN113691856A (en) * 2021-08-17 2021-11-23 维沃移动通信(杭州)有限公司 Bullet screen generation method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN111246270B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN111246270B (en) Method, device, equipment and storage medium for displaying bullet screen
CN107341018B (en) Method and device for continuously displaying view after page switching
US20170171274A1 (en) Method and electronic device for synchronously playing multiple-cameras video
WO2017181599A1 (en) Method and device for displaying videos
CN111541930B (en) Live broadcast picture display method and device, terminal and storage medium
CN105979339B (en) Window display method and client
CN110784735A (en) Live broadcast method and device, mobile terminal, computer equipment and storage medium
TWI571868B (en) Method and apparatus for sequencing content
CN111970532B (en) Video playing method, device and equipment
US20100217884A2 (en) Method and system of providing multimedia content
US20200186887A1 (en) Real-time broadcast editing system and method
CN109803151B (en) Multimedia data stream switching method and device, storage medium and electronic device
CN107040808B (en) Method and device for processing popup picture in video playing
EP4171046A1 (en) Video processing method, and device, storage medium and program product
WO2023104102A1 (en) Live broadcasting comment presentation method and apparatus, and device, program product and medium
CN111405339B (en) Split screen display method, electronic equipment and storage medium
CN112437317B (en) Live broadcast picture switching method, device and system
CN114697721B (en) Bullet screen display method and electronic equipment
CN114520876A (en) Time-delay shooting video recording method and device and electronic equipment
KR101915792B1 (en) System and Method for Inserting an Advertisement Using Face Recognition
CN114222149A (en) Plug flow method, device, medium and computer equipment
KR102029604B1 (en) Editing system and editing method for real-time broadcasting
CN115379277B (en) VR panoramic video playing method and system based on IPTV service
CN109982135B (en) Channel switching method, device, terminal and computer readable storage medium
CN107333172B (en) Broadcasting method and device of broadcasting system and electronic 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
GR01 Patent grant
GR01 Patent grant