CN111601141A - Barrage display method and device, electronic equipment and readable storage medium - Google Patents

Barrage display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111601141A
CN111601141A CN202010368191.2A CN202010368191A CN111601141A CN 111601141 A CN111601141 A CN 111601141A CN 202010368191 A CN202010368191 A CN 202010368191A CN 111601141 A CN111601141 A CN 111601141A
Authority
CN
China
Prior art keywords
target
display
input
mode option
bullet
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
CN202010368191.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010368191.2A priority Critical patent/CN111601141A/en
Publication of CN111601141A publication Critical patent/CN111601141A/en
Pending legal-status Critical Current

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/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
    • H04N21/4314Generation 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 for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a bullet screen display method and device, electronic equipment and a readable storage medium, and belongs to the technical field of multimedia display. The bullet screen display method comprises the following steps: acquiring target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame; and under the condition that the number of the target bullet screens is greater than or equal to the preset number threshold, displaying the target video frame in a first display area of the display screen, and displaying the target bullet screens in a second display area of the display screen. According to the method and the device, the problem that the barrage can influence the user to watch the video content in the prior art can be solved.

Description

Barrage display method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of multimedia display, and particularly relates to a bullet screen display method and device, electronic equipment and a readable storage medium.
Background
Along with the popularization of electronic equipment, more and more people choose to use the electronic equipment to watch videos, and in order to enrich the video content and improve the experience of users, the bullet screen technology is developed.
The barrage (barrage) refers to a commentary subtitle that appears directly on a playback interface of a video when the video is viewed. Due to the fact that the barrage is arranged, when a user watches videos, the user can share own feelings with other users at any time, and the user can see the videos together.
However, in practical applications, the bullet screen usually blocks the video picture and the video subtitle, which affects the user to watch the video content.
Disclosure of Invention
An object of the embodiments of the present application is to provide a bullet screen display method, a bullet screen display device, an electronic device, and a readable storage medium, which can solve the problem in the prior art that a bullet screen usually blocks a video picture and a video subtitle, which affects a user to view video content.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a bullet screen display method, including:
acquiring target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame;
and under the condition that the number of the target bullet screens is greater than or equal to the preset number threshold, displaying the target video frame in a first display area of the display screen, and displaying the target bullet screens in a second display area of the display screen.
In a second aspect, an embodiment of the present application provides a bullet screen display device, including:
the first acquisition module is used for acquiring target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame;
and the first display module is used for displaying the target video frame in a first display area of the display screen and displaying the target bullet screen in a second display area of the display screen under the condition that the number of the target bullet screens is greater than or equal to a preset number threshold.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the bullet screen display method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the bullet screen display method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the bullet screen display method according to the first aspect.
In the embodiment of the application, after a target video frame of a target video and a target bullet screen corresponding to the target video frame are acquired, the number of the target bullet screens is judged, and when the number of the target bullet screens is greater than or equal to a preset number threshold, the target video frame is displayed in a first display area of a display screen and the target bullet screens are displayed in a second display area of the display screen, so that when the number of the bullet screens reaches the preset number threshold, the target video frame and the target bullet screens are separately displayed through different display areas of the display screen, the bullet screens are prevented from shielding video frames and video subtitles, and the display effects of the video content and the bullet screens are optimized.
Drawings
FIG. 1 is a schematic interface diagram of a bullet screen display interface provided by an embodiment of the prior art;
fig. 2 is a schematic flowchart of a bullet screen display method according to an embodiment of the present application;
FIG. 3 is an interface diagram of a bullet screen display interface provided by an embodiment of the present application;
FIG. 4 is an interface schematic diagram of a bullet screen display interface provided by another embodiment of the present application;
FIG. 5 is an interface schematic of a first setup interface provided by an embodiment of the present application;
FIG. 6 is an interface schematic diagram of a bullet screen input interface provided by one embodiment of the present application;
FIG. 7 is a schematic diagram of a bullet screen display effect provided by an embodiment of the present application;
fig. 8 is a schematic diagram of a bullet screen display effect provided by another embodiment of the present application;
fig. 9 is a flowchart illustrating a bullet screen display control process according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a bullet screen display device according to an embodiment of the present application;
fig. 11 is a hardware structure diagram of an electronic device implementing various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Along with the popularization of electronic equipment, more and more people choose to use the electronic equipment to watch videos, and in order to enrich the video content and improve the experience of users, the bullet screen technology is developed.
Due to the fact that the barrage is arranged, when a user watches videos, the user can share own thoughts or popular science knowledge with other users at any time, interactivity between users watching the same videos is enhanced, the user can see videos together, and the distance between the users is shortened.
However, the applicant finds that at least the following problems exist in the prior art during the use of the electronic device:
fig. 1 illustrates an interface diagram of a bullet screen display interface provided in an embodiment of the prior art. As shown in fig. 1, the bullet screen 101 is usually displayed on the video frame 102, for example, sliding from one side of the video frame 102 to the other side or staying directly in the middle of the video frame 102. When the number of the bullet screens 101 is large, a large number of the bullet screens 101 stacked on each other usually block the video frames 102 and the video subtitles in the video frames 102, which affects the user to watch the video content, thereby reducing the video watching experience of the user.
In order to solve the above problem, embodiments of the present application provide a bullet screen display method, device, electronic device, and readable storage medium. The bullet screen display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 2 shows a schematic flowchart of a bullet screen display method according to an embodiment of the present application.
In some embodiments of the present application, the method illustrated in fig. 2 may be performed by a bullet screen display device. As shown in fig. 2, the bullet screen display method may include:
step 210, obtaining target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame;
and step 220, under the condition that the number of the target bullet screens is larger than or equal to the preset number threshold, displaying the target video frame in the first display area of the display screen, and displaying the target bullet screens in the second display area of the display screen.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, after a target video frame of a target video and a target bullet screen corresponding to the target video frame are acquired, the number of the target bullet screens is judged, and when the number of the target bullet screens is greater than or equal to a preset number threshold, the target video frame is displayed in a first display area of a display screen and the target bullet screens are displayed in a second display area of the display screen, so that when the number of the bullet screens reaches the preset number threshold, the target video frame and the target bullet screens are separately displayed through different display areas of the display screen, the bullet screens are prevented from shielding video frames and video subtitles, and the display effects of the video content and the bullet screens are optimized.
Specific implementations of the above steps are described below.
In step 210 of some embodiments of the present application, the target video frame may be a frame of video frame of the target video, and at this time, the target barrage may be a barrage corresponding to the frame of video frame.
In step 210 of other embodiments of the present application, the target video frame may be a continuous video frame of multiple frames of the target video, and at this time, the target barrage may be a barrage corresponding to the continuous video frames of the multiple frames.
In some embodiments of the present application, before step 210, the bullet screen display method may further include:
acquiring a target video;
and carrying out data separation processing on the target video to obtain video element data and barrage element data corresponding to the target video.
In some embodiments, the bullet screen display device may obtain the target video from a live website or a video website. In other embodiments, the bullet screen display device may also retrieve the target video from a storage space (e.g., memory) local to the bullet screen display device. In still other embodiments, the bullet screen display apparatus may further obtain a target video sent by a target device, where the target device may be other electronic devices that communicate with the bullet screen display apparatus, for example, other electronic devices that communicate with the bullet screen display apparatus through instant messaging software, mails, social software, or short messages.
In these embodiments, the target video is a multimedia file generated by fusing audio element data, video element data, and barrage element data. Therefore, after the target video is acquired, data separation processing can be performed on the target video, so that independent video element data and barrage element data are obtained through separation from the target video.
In these embodiments, optionally, the barrage element data may be structured data, and the data corresponding to each barrage may include a video identifier, a release time, a play time, a barrage type, a display parameter, a sender, barrage content, and the like, where the barrage type, the display parameter, the sender, and the barrage content may generate a barrage for display. The data corresponding to each video frame in the video element data may also include a video identifier, a playing time, video frame content, and the like, where the video frame content may generate a video frame for display.
Correspondingly, a specific method for acquiring target video data from video element data and barrage element data may include:
acquiring a target video frame under target playing time in video element data;
and acquiring the target bullet screen under the target playing time in the bullet screen element data.
When the target video frame is a frame of video frame of the target video, the bullet screen display device may obtain the target video frame at a target playing time by using the video frame and the playing time of the bullet screen, and obtain the target bullet screen at the target playing time, thereby obtaining the target video data.
When the target video frame is a plurality of continuous video frames of the target video, the bullet screen display device may obtain the target video frames at a plurality of continuous target playing times by using the video frames and the playing time of the bullet screen, and obtain the target bullet screen at the target playing time, thereby obtaining the target video data.
In this embodiment of the application, the target playing time may be any playing time in the target video, and the target video frame may be a video frame at any playing time, which is not limited herein.
The above is a specific implementation of step 210, and a specific implementation of step 220 will be described below.
In step 220 of some embodiments of the present application, before displaying the target video frame and the target barrage, the barrage display device may first compare the number of the target barrages with a preset number threshold, and if the number of the target barrages is greater than or equal to the preset number threshold, display the target video frame in a first display area of the display screen, and display the target barrage in a second display area of the display screen.
Fig. 3 shows an interface diagram of a bullet screen display interface according to an embodiment of the present application.
In some embodiments of the present application, as shown in fig. 3, the bullet screen display device may include a first sub-display 301 and a second sub-display 302, the first display area may be the first sub-display 301, and the second display area may be the second sub-display 302. Accordingly, a target video frame 303 may be displayed on the first sub-screen 301 and a target bullet screen 304 may be displayed on the second sub-screen 302.
In some embodiments, the display screen of the bullet screen display device may be a folding screen, the folding screen may include three or more sub-display screens, and the first sub-display screen 301 and the second sub-display screen 302 may be any two of the sub-display screens that are adjacently disposed. In other embodiments, the display screen of the pop-up display device may be a foldable screen, and the foldable screen may further include two sub-display screens, one of the two sub-display screens is the first sub-display screen 301, and the other of the two sub-display screens is the second sub-display screen 302.
Therefore, the multi-screen characteristics of the folding screen can be utilized, the target video frame and the target bullet screen are rapidly displayed and intervened through the number of the target bullet screens, under the condition that the number of the target bullet screens is larger than or equal to the preset number threshold value, the target video frame and the target bullet screens are separately displayed on multiple screens, the display effect of video content and the bullet screens is optimized, and a user can not feel worried when the video is shielded by a numerous and complicated bullet screen.
In other embodiments of the present application, the display screen of the bullet screen display device may be a flat screen or a curved screen, in which case, a part of the display area in the display screen may be used as the first display area, and another part of the display area in the display screen may be used as the second display area. For example, the left half area of the display screen may be used as the first display area, and the right half area of the display screen may be used as the second display area.
Therefore, according to the method and the device, the target video frame and the target barrage can be displayed separately by utilizing different display areas in the plane screen or the curved screen, the target video frame and the target barrage can be rapidly and conveniently displayed and intervened according to the number of the target barrage, the display effect of the video content and the barrage is optimized, and a user can not feel worried when the video is shielded by a numerous and complicated barrage.
In some embodiments of the present application, in a case that the target video frame is a frame of video frame of the target video, if the number of the target barrage is greater than or equal to the preset number threshold, the target video frame may be displayed in the first display area, and the target barrage may be displayed in the second display area. If the number of barrages corresponding to the rear adjacent video frame of the target video frame is smaller than a preset number threshold, the rear adjacent video frame is displayed in the first display area and the second display area together, and the barrages corresponding to the rear adjacent video frame are displayed on the rear adjacent video frame; if the number of barrages corresponding to the rear adjacent video frame of the target video frame is greater than or equal to the preset number threshold, the rear adjacent video frame can be continuously displayed in the first display area, and the barrages corresponding to the rear adjacent video frame can be displayed in the second display area.
The next adjacent video frame refers to a video frame at a playing time adjacent to the target playing time in time sequence.
Therefore, in the embodiment of the application, the bullet screen display device can rapidly display and intervene the video frames and the bullet screens in real time according to the number of the bullet screens corresponding to each video frame.
In other embodiments of the present application, in a case that the target video frame is a frame of video frame of the target video, if the number of the target barrage is greater than or equal to the preset number threshold, the target video frame may be displayed in the first display area, and the target barrage may be displayed in the second display area. And in a preset time length after the target playing time, keeping displaying the subsequent video frames of the target video frame in the first display area, and displaying the barrage corresponding to the subsequent video frames in the second display area.
The subsequent video frames refer to a plurality of video frames at a plurality of continuous playing times within a preset time length after the target playing time in time sequence.
In some embodiments, if the number of barrages corresponding to any one of the subsequent video frames is greater than or equal to the preset number threshold, the playing time corresponding to the frame of video frame may be re-timed, and the subsequent video frames of the frame of video frame are kept displayed in the first display area for a preset duration after the playing time corresponding to the frame of video frame, and the barrages corresponding to the subsequent video frames are displayed in the second display area.
In other embodiments, even if the number of barrages corresponding to at least one frame of video frame in the subsequent video frames is greater than or equal to the preset number threshold, the display positions of the video frame and the barrage corresponding to the video frame are determined again according to the number of the barrages corresponding to the new video frame after the preset duration after the target playing time is reached.
It should be noted that the preset duration may be a duration preset by the bullet screen display device, or a duration set by the user according to needs, and is not limited herein.
In other embodiments of the present application, when the target video frame is a multi-frame continuous video frame of the target video, the number of the target barrage being greater than or equal to the preset number threshold may indicate that the number of barrages corresponding to each frame of video frame of the multi-frame continuous video frame is greater than or equal to the preset number threshold, the number of the target barrage being greater than or equal to the preset number threshold may also indicate that the number of barrages corresponding to at least one frame of video frame of the multi-frame continuous video frame is greater than or equal to the preset number threshold, the number of the target barrage being greater than or equal to the preset number threshold may also indicate that the number of barrages corresponding to the target number of video frames of the multi-frame continuous video frame is greater than or equal to the preset number threshold, which is not limited herein.
The target number may be set as needed, and is not described herein.
It should be noted that the display method of the target video frame and the target bullet screen in the case that the target video frame is a plurality of continuous video frames is similar to the display method of the target video frame and the target bullet screen in the case that the target video frame is one video frame, and details are not repeated here.
In some embodiments of the present application, after step 210, the bullet screen display method may further include:
and under the condition that the number of the target barrage is smaller than the preset number threshold, displaying the target video frame in the first display area and the second display area, and displaying the target barrage on the target video frame.
Specifically, if the number of the target bullet screens is determined to be smaller than the preset number threshold after the bullet screen display device compares the number of the target bullet screens with the preset number threshold, the target video frames are displayed together by using the first display area and the second display area, and the target bullet screens are displayed on the target video frames.
Fig. 4 shows an interface diagram of a bullet screen display interface according to another embodiment of the present application.
In some embodiments of the present application, as shown in fig. 4, the bullet screen display device may include a first sub-display 401 and a second sub-display 402, and the first sub-display 401 and the second sub-display 402 may be used together to display the target video frame 403, that is, the target video frame 403 may be displayed in the first sub-display 401 and the second sub-display 402 in a full screen, and the target bullet screen 404 may be displayed on the target video frame 403.
In some embodiments, the display screen of the bullet screen display device may be a folding screen, the folding screen may include three or more sub-display screens, and the first sub-display screen 401 and the second sub-display screen 402 may be any two of the sub-display screens that are adjacently disposed. In other embodiments, the display screen of the bullet screen display device may be a folding screen, and the folding screen may further include two sub-display screens, one of the two sub-display screens is the first sub-display screen 401, and the other of the two sub-display screens is the second sub-display screen 402.
In other embodiments, the target video frame 403 may be displayed in a partial display area of the first sub-display 401 and the second sub-display 402, which is not limited herein.
In other embodiments of the present application, a display screen of the bullet screen display device may be a flat screen or a curved screen, a target video frame may be displayed in the display screen in a full screen manner, or may be displayed in a partial display area of the display screen, and a target bullet screen may be displayed on the target video frame.
In another embodiment of the present application, in order to improve the intelligence of the display intervention on the video frames and the barrage, before step 210, the barrage display method may further include:
displaying at least one split mode option;
receiving a first input of a target separation mode option in at least one separation mode option from a user;
in response to the first input, a preset number threshold is determined according to the target split mode option.
Specifically, before the bullet screen display device obtains the target video data of the target video, the user may enter the first setting interface to set the separation mode, so that the bullet screen display device determines the preset number threshold for comparing with the number of the target bullet screens. At least one split mode option may be displayed in the first setting interface, and one split mode option may correspond to one split mode.
In some embodiments of the present application, the first input may be a click input or a selection input to a target separation mode option of the at least one separation mode option. The click input may include a click operation, a double click operation, and the like, and the selection input may include a click input to a selection box corresponding to the target separation mode option.
After the user selects the target separation mode option through the first input in the first setting interface, the bullet screen display device may determine the preset number threshold value that the user desires to set according to the separation mode corresponding to the target separation mode option selected by the user.
In some embodiments of the present application, the first setting interface may further include a first target control, wherein the first target control is configured to set the at least one split mode option displayed by the first setting interface to an operable state or an inoperable state.
Accordingly, after displaying the first setting interface, if at least one of the split mode options is in an inoperable state, before receiving a first input of a user, the bullet screen display method may further include:
receiving a fifth input of the first target control by the user;
in response to a fifth input, switching at least one split mode option from an inoperable state to an operable state.
In some embodiments of the present application, the first target control may be a first activation switch that causes the bullet screen display device to enter a display intervention mode for the video frames and the bullet screen. Under the condition that the first starting switch is in the closed state, the bullet screen display device is not in the display intervention mode, and at least one separation mode option is in the non-operable state. At this time, it is necessary to receive a fifth input of the user to the first start switch, enable the first start switch to be in the start state, enable the bullet screen display device to enter the display intervention mode, and switch at least one separation mode option from the inoperable state to the operable state, so that the user can input the first input in the first setting interface.
The fifth input may be a click input or a selection input to the first target control, and the fifth input may also be another input as long as the first target control can be switched from the off state to the on state.
In other embodiments of the present application, when the user does not want the display intervention of the bullet screen display device on the video frame and the bullet screen, a sixth input may be further input to the first target control, so that the first target control is switched from the on state to the off state. The sixth input may be a click input or a deselection input to the first target control, or may be another input as long as the first target control can be switched from the on state to the off state.
In some embodiments of the present application, the target split mode option may be a first split mode option, where the first split mode option may correspond to a first split mode, and the first split mode may be a system recommended mode;
accordingly, a specific method for determining the preset number threshold according to the target separation mode option may include:
acquiring the screen size of a display screen;
and determining a preset quantity threshold corresponding to the screen size according to a preset corresponding relation between the size and the quantity threshold.
Specifically, the bullet screen display device or the server communicating with the bullet screen display device may be preset with preset corresponding relationships between sizes of different display screens and different quantity thresholds, where one size corresponds to one quantity threshold.
The bullet screen display device can obtain the model of the device, and the size of the screen of the display screen is determined according to the model of the device. After the screen size of the display screen is obtained, the preset number threshold corresponding to the screen size can be determined locally based on the preset corresponding relation between the size and the number threshold, the screen size can also be sent to a server, and the server feeds back the preset number threshold corresponding to the screen size based on the preset corresponding relation between the size and the number threshold.
Therefore, the preset quantity threshold can be scientifically set based on the size of the display screen.
In other embodiments of the present application, the target split mode option may be a second split mode option, the second split mode may be a corresponding second split mode, the second split mode may be a fixed split mode, the second split mode option may include at least one sub-split mode option, each sub-split mode option corresponds to one sub-split mode, and one sub-split mode has a fixed number threshold;
correspondingly, before determining the preset number threshold according to the target separation mode option, the bullet screen display method may further include:
displaying at least one sub-split mode option under the second split mode option;
receiving a second input of a target sub-split mode option in the at least one sub-split mode option from the user;
accordingly, a specific method for determining the preset number threshold according to the target separation mode option may include:
and responding to the second input, and acquiring a preset quantity threshold corresponding to the target sub-separation mode option under the second separation mode option.
Wherein the second input may be a click input or a selection input to a target sub-split mode option among the at least one sub-split mode option. The click input may include a click operation, a double click operation and the like, and the selection input may include a click input to a selection box corresponding to the target sub-separation mode option.
Specifically, the bullet screen display device may display at least one sub-separation mode option under the second separation mode option in response to a first input after receiving the first input from the user; the bullet screen display device may further display at least one sub-split mode option under the second split mode option at the same time as the second split mode option is displayed before the first input is received, which is not limited herein.
The bullet screen display device may obtain, after receiving a second input of the user, a fixed number threshold corresponding to the target sub-separation mode option in the second separation mode option selected by the second input, as a preset number threshold.
Therefore, the preset quantity threshold can be set quickly based on the fixed quantity threshold corresponding to the different modes selected by the user, so that the preset quantity threshold can be selected simply according to the preference of the user, and the setting efficiency of the preset quantity threshold is improved.
In still other embodiments of the present application, the target split mode option may be a third split mode option, the third split mode option may correspond to a third split mode, and the third split mode may be a custom mode;
correspondingly, before determining the preset number threshold according to the target separation mode option, the bullet screen display method may further include:
displaying a threshold setting shaft corresponding to the third separation mode, wherein the threshold setting shaft comprises scale marks which can move along the threshold setting shaft;
receiving a third input of the scale mark by the user;
accordingly, a specific method for determining the preset number threshold according to the target separation mode option may include:
responding to a third input, and determining a preset quantity threshold corresponding to the target scale position;
and the target scale position is the position of the scale mark on the threshold setting shaft corresponding to the third separation mode when the third input is finished.
The third input may be a drag input to the scale mark, and the third input is used for dragging the scale mark to move along the threshold setting axis. The threshold setting axis corresponds to a custom value range, such as "0-1000", and different scale positions of the threshold setting axis may correspond to different values in the custom value range.
The bullet screen display device may obtain, after receiving a third input by the user, a target scale position of the scale mark on the threshold setting axis corresponding to the third separation mode when the third input is ended, determine a numerical value corresponding to the target scale position, and use the numerical value as the preset number threshold.
Therefore, the preset number threshold can be further set in a personalized mode according to the preference of the user.
Fig. 5 is an interface diagram illustrating a first setup interface provided in an embodiment of the present application.
As shown in fig. 5, the first setting interface displays an "autosegregation switch" button 501, a "system recommended mode" option 502, a "fixed separation mode" option 503, and a "custom mode" option 504, and the "fixed separation mode" option 503 is further provided with a "flexible" option, a "normal" option, and a "dull" option. The "automatic separation switch" button 501 is the first target control, and the "system recommended mode" option 502, the "fixed separation mode" option 503, and the "custom mode" option 504 are the separation mode options, and the "flexible" option, the "normal" option, and the "dull" option are the sub-separation mode options under the "fixed separation mode" option 503.
The user may click the "autosegregation switch" button 501 to switch the "autosegregation switch" button 501 from the off state to the on state or from the on state to the off state, thereby switching each option from the inoperable state to the operable state or from the operable state to the inoperable state.
Each separation mode option or each sub-separation mode option is provided with a radio box, and a user can click any radio box, so that the mode corresponding to the option corresponding to the clicked radio box is used as the mode selected by the user.
When the user selects the "system recommendation mode" option 502, the bullet screen display device may obtain the screen size corresponding to its own device model, and determine the preset number threshold corresponding to the screen size according to the preset correspondence between the size and the number threshold.
When the user selects any one of the sub-modes in the "fixed separation mode" option 503, the bullet screen display apparatus may directly use the fixed number threshold corresponding to the sub-mode as the preset number threshold.
After the user selects the "user-defined mode" option 504, the user needs to drag the scale mark 506 to move along the threshold setting axis 505, and the value corresponding to the scale position where the scale mark 506 is located when the dragging is finished is used as the preset quantity threshold.
In another embodiment of the present application, in order to further optimize the display effect of the video content and the barrage, after step 220, the barrage display method may further include:
receiving a fourth input from the user;
responding to a fourth input, and displaying a bullet screen input window in the second display area; the bullet screen input window is used for a user to input bullet screen information to be sent.
Specifically, the bullet screen input window may include a bullet screen information input box and a text editor, which may be an input method bullet window, for example.
In these embodiments, optionally, the fourth input may be an input for a current display interface of the display screen or a second target control, the second target control may be a bullet screen information input box or a bullet screen icon, and the second target control is used to trigger display of a bullet screen input window. And under the condition that the second target control is the bullet screen information input box, the bullet screen information input box can be displayed at the bottom of the first display area or the second display area. And in the case that the second target control is a bullet screen icon, the bullet screen icon can be displayed on one corner of the first display area or the second display area.
Wherein the fourth input may include a click input, a double click input, a long press input, and the like.
The bullet screen display device can directly display the bullet screen input window in the second display area under the condition that the target video frame is displayed in the first display area and the target bullet screen is displayed in the second display area.
In other embodiments of the present application, after displaying the target video frame in the first display area and the second display area and displaying the target barrage on the target video frame, the barrage display method may further include:
receiving a fourth input from the user;
responding to a fourth input, displaying a target video frame in the first display area, and displaying a target bullet screen and a bullet screen input window in the second display area; the bullet screen input window is used for a user to input bullet screen information to be sent.
Specifically, the bullet screen input window may include a bullet screen information input box and a text editor, which may be an input method bullet window, for example.
In these embodiments, optionally, the fourth input may be an input for a current display interface of the display screen or a second target control, the second target control may be a bullet screen information input box or a bullet screen icon, and the second target control is used to trigger display of a bullet screen input window. And under the condition that the second target control is the bullet screen information input box, the second target control can be displayed at the bottom of the current display interface. And in the case that the second target control is a bullet screen icon, displaying the bullet screen icon at one corner of the current display interface.
Wherein the fourth input may include a click input, a double click input, a long press input, and the like.
Under the condition that the target video frame is displayed in the first display area and the second display area and the target barrage is displayed on the target video frame, the barrage display device can automatically trigger the separated display of the target video frame and the target barrage, namely, the target video frame is automatically switched to be displayed in the first display area, the target barrage is switched to be displayed in the second display area, and a barrage input window is displayed in the second display area.
Fig. 6 shows an interface diagram of a bullet screen input interface according to an embodiment of the present application.
In some embodiments of the present application, as shown in fig. 6, a target video frame 601 may be displayed on a first sub-display 602, and a target bullet screen 603, a bullet screen information input box 604, and a text editor 605 may be simultaneously displayed on a second sub-display 606. Wherein, the bullet screen information input box 604 and the text editor 605 can block part of the bullet screen.
In other embodiments of the present application, the second display area may also display only the bullet screen input window, that is, the bullet screen input window may completely block the target bullet screen.
Therefore, when the user inputs the bullet screen information in the embodiment of the application, the bullet screen information input box and the character editor do not shield the video frame, and the user can not be influenced to watch the video.
In another embodiment of the present application, in order to further optimize the display effect of the bullet screen, the specific method for displaying the target bullet screen in the second display area of the display screen in step 220 may include:
and under the condition that the number of the target bullet screens is within the target number range, displaying the target bullet screens in the second display area according to a target display mode corresponding to the target number range.
Specifically, the bullet screen display device can set different display modes, and each display mode corresponds to one quantity range. Before displaying the target bullet screen, the bullet screen display device may first determine whether the number of the target bullet screen is within a number range corresponding to any one display mode, and if it is determined that the number of the target bullet screen is within a target number range of at least one number range, may display the target bullet screen in the second display area according to the target display mode corresponding to the target number range.
In some embodiments of the present application, before step 220, the bullet screen display method may further include:
receiving a seventh input of the third target control by the user;
correspondingly, a specific method for displaying the target barrage in the second display area of the display screen may include:
and responding to the seventh input, and displaying the target bullet screen in the second display area according to a target display mode corresponding to the target number range under the condition that the number of the target bullet screens is within the target number range.
In some embodiments of the present application, the third target control may be a control for triggering a special-effect display mode, and the third target control may be displayed in a playing interface of the target video frame or may be displayed in the second setting interface. The third target control may be a second activation switch. And under the condition that the second starting switch is in a closed state, the bullet screen display device is not in the special effect display mode. At this time, it is necessary to receive a seventh input to the second start switch from the user, so that the second start switch is in a start state, and the bullet screen display device enters the special effect display mode.
The seventh input may be a click input or a selection input to the second target control, and the seventh input may also be another input as long as the second target control can be switched from the off state to the on state.
And if the second starting switch is in the off state, the user can perform seventh input on the second starting switch in the second setting interface so as to switch the second starting switch into the on state and enable the bullet screen display device to enter a special effect display mode.
In some embodiments of the application, in response to the seventh input, the bullet screen display device may determine, when the second target control is in the activated state, whether the number of the target bullet screens is within any number range, and display, when the number of the target bullet screens is within a target number range of at least one number range, the target bullet screens in the second display area according to a target display mode corresponding to the target number range.
In some embodiments of the present application, the special effect display mode may be preset with at least one display mode, and the bullet screen display device may automatically determine the display mode according to a number range in which the number of the target bullet screens is located.
With continued reference to fig. 3, in a case where the target number range in which the number of the target bullet screens is located is a number range that is greater than or equal to the preset number threshold and is less than a times of the preset number threshold, the bullet screen display device may display the target bullet screens in a default display manner. The default display mode may be a display mode without a special effect.
Fig. 7 is a schematic diagram illustrating a bullet screen display effect according to an embodiment of the present application.
As shown in fig. 7, a target video frame 701 may be displayed on a first sub-display 702, and a target bullet screen 703 may be displayed on a second sub-display 704. Under the condition that the target number range in which the number of the target barrage 703 is located is a number range which is greater than or equal to a times of the preset number threshold and less than a times of the preset number threshold, it may be determined that the number of the target barrage 703 is large, and at this time, the barrage display device may display the target barrage 703 in a fade-out display manner. The fade-out display mode may be displaying the target bullet screen at a random position of the second sub-display 704, and stopping displaying in the fade-out mode after the display duration of the target bullet screen reaches the first display duration.
The first display duration can be shorter than the display duration of the default display mode, so that the target bullet screen can be displayed in a shorter time under the condition of a large number of the target bullet screens.
Fig. 8 is a schematic diagram illustrating a bullet screen display effect according to another embodiment of the present application.
As shown in fig. 8, a target video frame 801 may be displayed on a first sub-display 802, and a target bullet screen 803 may be displayed on a second sub-display 804. In the case that the target number range in which the number of the target barrage 803 is located is a number range a × n times greater than or equal to the preset number threshold, it may be determined that the number of the target barrage 803 is very large, and repetition or stacking of the barrages may occur, and at this time, the barrage display device may display the target barrage 803 in a pop-up display manner. The pop-up display mode may cause the bullet screen to pop up from one side or an angle to the opposite position like a bubble, for example, pop up from the o icon 805 in the lower left corner of the second sub-display 804 to the upper right corner of the second sub-display 804, and stop displaying in a fading manner after the display duration of the target bullet screen 803 reaches the second display duration.
The second display time period can be shorter than the first display time period, so that the target bullet screen can be displayed in a particularly short time under the condition of very large number.
It should be noted that a and n may be set according to actual needs, and are not limited herein.
Therefore, different display modes can be automatically determined according to the number of the bullet screens, different display special effects are presented, the presentation forms of the bullet screens are enriched, the display effect of the bullet screens is further improved, the bullet screens have a more friendly interaction form, and the bullet screens have more affinity for users.
Fig. 9 is a flowchart illustrating a bullet screen display control process according to an embodiment of the present application.
As shown in fig. 9, the bullet screen display control process provided in an embodiment of the present application specifically includes the following steps:
s701, acquiring a target video;
s702, judging whether the bullet screen display device is in a display intervention mode, if so, executing S703, otherwise, executing S707;
s703, judging whether the number of the target barrages in the target video at the target playing time is larger than or equal to a preset number threshold, if so, executing S704, and if not, executing S707;
s704, displaying a target video frame in the target video at the target playing time in the first display area;
s705, judging whether the bullet screen display device is in a special effect display mode, if so, executing S706, and if not, executing S708;
s706, determining a target quantity range in which the quantity of the target bullet screens is positioned, and displaying the target bullet screens in a second display area according to a target display mode corresponding to the target quantity range;
s707, normally displaying the target video frame and the target barrage, namely displaying the target video frame by using the first display area and the second display area together, and displaying the target barrage on the target video frame;
and S708, displaying the target bullet screen in the second display area according to a default display mode.
To sum up, this application embodiment makes bullet screen display device have the separation of self-defined video and bullet screen and the function of show, reaches under the condition of predetermineeing the quantity threshold value at the quantity of target bullet screen, with target video frame and the show of target bullet screen autosegregation to can present different demonstration special effects according to the quantity of target bullet screen is automatic, solved the video effectively and blocked out the pain point by the bullet screen, and enriched the expression form of bullet screen. Meanwhile, the embodiment of the application also realizes the isolation of the bullet screen information input box and the character editor from the video, and further improves the use experience of users.
In the above embodiments, the execution body is taken as the bullet screen display device as an example to describe the bullet screen display method. However, the execution main body of the bullet screen display method provided in the embodiment of the present application is not limited to the bullet screen display device, and may also be a functional module in the bullet screen display device for executing each step of loading the bullet screen display method.
Fig. 10 shows a schematic structural diagram of a bullet screen display device according to an embodiment of the present application.
In some embodiments of the present application, as shown in fig. 10, the bullet screen display device may include:
a first obtaining module 810, configured to obtain target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame;
the first display module 820 is configured to display the target video frame in the first display area of the display screen and display the target bullet screen in the second display area of the display screen when the number of the target bullet screens is greater than or equal to the preset number threshold.
In the embodiment of the application, after a target video frame of a target video and a target bullet screen corresponding to the target video frame are acquired, the number of the target bullet screens is judged, and when the number of the target bullet screens is greater than or equal to a preset number threshold, the target video frame is displayed in a first display area of a display screen and the target bullet screens are displayed in a second display area of the display screen, so that when the number of the bullet screens reaches the preset number threshold, the target video frame and the target bullet screens are separately displayed through different display areas of the display screen, the bullet screens are prevented from shielding video frames and video subtitles, and the display effects of the video content and the bullet screens are optimized.
In some embodiments of the present application, the bullet screen display device may further include:
a second display module for displaying at least one split mode option;
the device comprises a first receiving module, a first selecting module and a second receiving module, wherein the first receiving module is used for receiving a first input of a target separation mode option in at least one separation mode option from a user;
a first determining module for determining a preset number threshold in response to a first input, according to the target separation mode option.
In some embodiments of the present application, the target split mode option is a first split mode option;
accordingly, the first determining module comprises:
the first acquisition unit is used for acquiring the screen size of the display screen;
the first determining unit is used for determining a preset quantity threshold corresponding to the screen size according to the preset corresponding relation between the size and the quantity threshold.
In some embodiments of the present application, the target split mode option is a second split mode option, the second split mode option including at least one sub-split mode option;
accordingly, the bullet screen display device may further include:
the third display module is used for displaying at least one sub-separation mode option under the second separation mode option;
a second receiving module, configured to receive a second input of a target sub-separation mode option from the at least one sub-separation mode option from the user;
accordingly, the first determining module comprises:
and the second acquisition unit is used for responding to the second input and acquiring a preset quantity threshold corresponding to the target sub-separation mode option under the second separation mode option.
In some embodiments of the present application, the target split mode option is a third split mode option;
accordingly, the bullet screen display device may further include:
the fourth display module is used for displaying a threshold setting shaft corresponding to the third separation mode option, the threshold setting shaft comprises scale marks, and the scale marks can move along the threshold setting shaft;
the third receiving module is used for receiving third input of the scale mark by the user;
accordingly, the first determining module comprises:
the second determining unit is used for responding to a third input and determining a preset number threshold corresponding to the target scale position;
and the target scale position is the position of the scale mark on the threshold setting shaft corresponding to the third separation mode option when the third input is finished.
In some embodiments of the present application, the first display module 820 is specifically configured to:
and under the condition that the number of the target bullet screens is within the target number range, displaying the target bullet screens in the second display area according to a target display mode corresponding to the target number range.
In some embodiments of the present application, the bullet screen display device may further include:
the fourth receiving module is used for receiving a fourth input of the user;
the fifth display module is used for responding to the fourth input and displaying a bullet screen input window in the second display area; the bullet screen input window is used for a user to input bullet screen information to be sent.
In some embodiments of the present application, the bullet screen display device may further include:
and the sixth display module is used for displaying the target video frame in the first display area and the second display area and displaying the target bullet screen on the target video frame under the condition that the number of the target bullet screens is smaller than the preset number threshold.
In some embodiments of the present application, the bullet screen display device may further include:
the fourth receiving module is used for receiving a fourth input of the user;
the seventh display module is used for responding to the fourth input, displaying the target video frame in the first display area and displaying the target bullet screen and the bullet screen input window in the second display area; the bullet screen input window is used for a user to input bullet screen information to be sent.
The bullet screen display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The bullet screen display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The bullet screen display device provided in the embodiment of the present application can implement each process implemented by the bullet screen display device in the method embodiments of fig. 2 to fig. 9, and for avoiding repetition, details are not repeated here.
To sum up, this application embodiment makes bullet screen display device have the separation of self-defined video and bullet screen and the function of show, reaches under the condition of predetermineeing the quantity threshold value at the quantity of target bullet screen, with target video frame and the show of target bullet screen autosegregation to can present different demonstration special effects according to the quantity of target bullet screen is automatic, solved the video effectively and blocked out the pain point by the bullet screen, and enriched the expression form of bullet screen. Meanwhile, the embodiment of the application also realizes the isolation of the bullet screen information input box and the character editor from the video, and further improves the use experience of users.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of being executed on the processor, where the program or the instruction is executed by the processor to implement each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 11 shows a hardware structure diagram of an electronic device implementing various embodiments of the present application.
As shown in fig. 11, the electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910.
Among them, the input unit 904 is used for receiving an audio or video signal, may include a camera and a microphone, the display unit 906 is used for displaying information input by a user or information provided to the user, may include a display panel, the user input unit 907 is used for receiving input numeric or character information and generating key signal input related to user setting and function control of the mobile terminal, may include a touch panel which may be overlaid on the display panel, a memory 909 is used for storing a software program and various data, may include a storage program area which may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area which may store data created according to use of the mobile phone (such as audio data, video data, etc.), and the like, Phone book, etc.), etc.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 910 is configured to obtain target video data of a target video; the target video data comprise a target video frame and a target bullet screen corresponding to the target video frame;
the display unit 906 is configured to display the target video frame in the first display area of the display screen and display the target bullet screen in the second display area of the display screen when the number of the target bullet screens is greater than or equal to the preset number threshold.
In the embodiment of the application, after a target video frame of a target video and a target bullet screen corresponding to the target video frame are acquired, the number of the target bullet screens is judged, and when the number of the target bullet screens is greater than or equal to a preset number threshold, the target video frame is displayed in a first display area of a display screen and the target bullet screens are displayed in a second display area of the display screen, so that when the number of the bullet screens reaches the preset number threshold, the target video frame and the target bullet screens are separately displayed through different display areas of the display screen, the bullet screens are prevented from shielding video frames and video subtitles, and the display effects of the video content and the bullet screens are optimized.
Optionally, the display unit 906 is further configured to display at least one separation mode option;
a user input unit 907 for receiving a first input of a target split mode option from among the at least one split mode option by a user;
processor 910 is further configured to determine, in response to the first input, a preset number threshold in accordance with the target separation mode option.
Optionally, the target split mode option is a first split mode option;
accordingly, the processor 910 is further configured to obtain a screen size of the display screen; and determining a preset quantity threshold corresponding to the screen size according to a preset corresponding relation between the size and the quantity threshold.
Optionally, the target split mode option is a second split mode option, and the second split mode option includes at least one sub-split mode option;
correspondingly, the display unit 906 is further configured to display at least one sub-split mode option under the second split mode option; the user input unit 907 is further configured to receive a second input of a target sub-split mode option from among the at least one sub-split mode option from the user; the processor 910 is further configured to, in response to the second input, obtain a preset number threshold corresponding to the target sub-split mode option in the second split mode option.
Optionally, the target split mode option is a third split mode option;
correspondingly, the display unit 906 is further configured to display a threshold setting axis corresponding to the third separation mode option, where the threshold setting axis includes a scale mark, and the scale mark is movable along the threshold setting axis; the user input unit 907 is further configured to receive a third input of the scale mark from the user; the processor 910 is further configured to determine, in response to a third input, a preset number threshold corresponding to the target scale position; and the target scale position is the position of the scale mark on the threshold setting shaft corresponding to the third separation mode option when the third input is finished.
Optionally, the display unit 906 is further configured to, when the number of the target barrage is within the target number range, display the target barrage in the second display area according to a target display manner corresponding to the target number range.
Optionally, the user input unit 907 is further configured to receive a fourth input from the user; the display unit 906 is further configured to display a bullet screen input window in the second display area in response to a fourth input; the bullet screen input window is used for a user to input bullet screen information to be sent.
Optionally, the display unit 906 is further configured to display the target video frame in the first display area and the second display area and display the target barrage on the target video frame in a case that the number of the target barrages is smaller than the preset number threshold.
Optionally, the user input unit 907 is further configured to receive a fourth input from the user; the display unit 906 is further configured to display the target video frame in the first display area and display the target barrage and the barrage input window in the second display area in response to a fourth input; the bullet screen input window is used for a user to input bullet screen information to be sent. To sum up, this application embodiment makes bullet screen display device have the separation of self-defined video and bullet screen and the function of show, reaches under the condition of predetermineeing the quantity threshold value at the quantity of target bullet screen, with target video frame and the show of target bullet screen autosegregation to can present different demonstration special effects according to the quantity of target bullet screen is automatic, solved the video effectively and blocked out the pain point by the bullet screen, and enriched the expression form of bullet screen. Meanwhile, the embodiment of the application also realizes the isolation of the bullet screen information input box and the character editor from the video, and further improves the use experience of users.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A bullet screen display method is characterized by comprising the following steps:
acquiring target video data of a target video; the target video data comprise a target video frame and a target barrage corresponding to the target video frame;
and under the condition that the number of the target bullet screens is greater than or equal to a preset number threshold, displaying the target video frame in a first display area of a display screen, and displaying the target bullet screens in a second display area of the display screen.
2. The method of claim 1, wherein prior to obtaining the target video data of the target video, the method further comprises:
displaying at least one split mode option;
receiving a first input of a user to a target split mode option of the at least one split mode option;
in response to the first input, determining the preset number threshold according to the target separation mode option.
3. The method of claim 2, wherein the target split mode option is a first split mode option;
wherein the determining the preset number threshold according to the target separation mode option includes:
acquiring the screen size of the display screen;
and determining the preset quantity threshold corresponding to the screen size according to the preset corresponding relation between the size and the quantity threshold.
4. The method of claim 2, wherein the target split mode option is a second split mode option, the second split mode option comprising at least one sub-split mode option;
wherein before determining the preset number threshold according to the target separation mode option, the method further comprises:
displaying at least one sub-split mode option under the second split mode option;
receiving a second input of a user to a target sub-split mode option of the at least one sub-split mode option;
wherein the determining the preset number threshold according to the target separation mode option includes:
and responding to the second input, and acquiring the preset number threshold corresponding to the target sub-separation mode option under the second separation mode option.
5. The method of claim 2, wherein the target split mode option is a third split mode option;
wherein before determining the preset number threshold according to the target separation mode option, the method further comprises:
displaying a threshold setting shaft corresponding to the third separation mode option, wherein the threshold setting shaft comprises scale marks which can move along the threshold setting shaft;
receiving a third input of the scale mark by the user;
wherein the determining the preset number threshold according to the target separation mode option includes:
responding to the third input, and determining the preset quantity threshold corresponding to the target scale position;
wherein the target scale position is a position of the scale mark on the threshold setting axis corresponding to the third split mode option at the end of the third input.
6. The method of claim 1, wherein said displaying said target barrage in a second display area of said display screen comprises:
and under the condition that the number of the target bullet screens is within a target number range, displaying the target bullet screens in the second display area according to a target display mode corresponding to the target number range.
7. The method of claim 1, wherein after displaying the target video frame in a first display area of a display screen and displaying the target barrage in a second display area of the display screen, the method further comprises:
receiving a fourth input from the user;
responding to the fourth input, and displaying a bullet screen input window in the second display area; the bullet screen input window is used for the user to input bullet screen information to be sent.
8. The method of claim 1, wherein after obtaining the target video data of the target video, the method further comprises:
and under the condition that the number of the target barrage is smaller than the preset number threshold, displaying the target video frame in the first display area and the second display area, and displaying the target barrage on the target video frame.
9. The method of claim 8, wherein after displaying the target video frame in the first display area and the second display area and displaying the target barrage on the target video frame, the method further comprises:
receiving a fourth input from the user;
in response to the fourth input, displaying the target video frame in the first display area, and displaying the target barrage and a barrage input window in the second display area; the bullet screen input window is used for the user to input bullet screen information to be sent.
10. A bullet screen display device, comprising:
the first acquisition module is used for acquiring target video data of a target video; the target video data comprise a target video frame and a target barrage corresponding to the target video frame;
and the first display module is used for displaying the target video frame in a first display area of the display screen under the condition that the number of the target bullet curtains is greater than or equal to a preset number threshold value, and displaying the target bullet curtains in a second display area of the display screen.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the bullet screen display method according to any one of claims 1-9.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the bullet screen display method according to any one of claims 1 to 9.
CN202010368191.2A 2020-04-30 2020-04-30 Barrage display method and device, electronic equipment and readable storage medium Pending CN111601141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010368191.2A CN111601141A (en) 2020-04-30 2020-04-30 Barrage display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010368191.2A CN111601141A (en) 2020-04-30 2020-04-30 Barrage display method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111601141A true CN111601141A (en) 2020-08-28

Family

ID=72189648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010368191.2A Pending CN111601141A (en) 2020-04-30 2020-04-30 Barrage display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111601141A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291580A (en) * 2020-10-27 2021-01-29 珠海格力电器股份有限公司 Bullet screen information control method and device
CN113709025A (en) * 2021-07-22 2021-11-26 成都鲁易科技有限公司 Message display method and device, storage medium and computer equipment
CN113835656A (en) * 2021-09-08 2021-12-24 维沃移动通信有限公司 Display method and device and electronic equipment
CN113835657A (en) * 2021-09-08 2021-12-24 维沃移动通信有限公司 Display method and electronic equipment
CN113867607A (en) * 2021-09-30 2021-12-31 维沃移动通信有限公司 Content display method and device and electronic equipment
CN114040253A (en) * 2021-11-04 2022-02-11 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114390358A (en) * 2020-10-21 2022-04-22 上海哔哩哔哩科技有限公司 Barrage input method and device
CN114666644A (en) * 2022-03-15 2022-06-24 维沃移动通信有限公司 Bullet screen display method and device
CN115037976A (en) * 2021-03-03 2022-09-09 Oppo广东移动通信有限公司 Display method, terminal and storage medium
CN115484504A (en) * 2022-09-14 2022-12-16 北京奇艺世纪科技有限公司 Image display method, image display device, electronic device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105847940A (en) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 Bullet screen display control method and apparatus
CN106028123A (en) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 Adjusting method and adjusting apparatus for bullet screen on display device
US20180035168A1 (en) * 2016-07-28 2018-02-01 Baidu Online Network Technology (Beijing) Co., Ltd. Method and Apparatus for Providing Combined Barrage Information
CN108174278A (en) * 2018-01-30 2018-06-15 河南职业技术学院 Barrage display methods and barrage display device
CN108600853A (en) * 2018-05-10 2018-09-28 北京奇艺世纪科技有限公司 A kind of barrage playback method, device, system and electronic equipment
CN108762640A (en) * 2018-05-28 2018-11-06 维沃移动通信有限公司 A kind of display methods and terminal of barrage information
CN109218800A (en) * 2018-06-29 2019-01-15 努比亚技术有限公司 A kind of barrage information display method, terminal and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105847940A (en) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 Bullet screen display control method and apparatus
CN106028123A (en) * 2016-06-30 2016-10-12 乐视控股(北京)有限公司 Adjusting method and adjusting apparatus for bullet screen on display device
US20180035168A1 (en) * 2016-07-28 2018-02-01 Baidu Online Network Technology (Beijing) Co., Ltd. Method and Apparatus for Providing Combined Barrage Information
CN108174278A (en) * 2018-01-30 2018-06-15 河南职业技术学院 Barrage display methods and barrage display device
CN108600853A (en) * 2018-05-10 2018-09-28 北京奇艺世纪科技有限公司 A kind of barrage playback method, device, system and electronic equipment
CN108762640A (en) * 2018-05-28 2018-11-06 维沃移动通信有限公司 A kind of display methods and terminal of barrage information
CN109218800A (en) * 2018-06-29 2019-01-15 努比亚技术有限公司 A kind of barrage information display method, terminal and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
博闻生活: "爱奇艺如何进行弹幕设置?", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/3F16E00381BFD16591C103C8.HTML》 *

Cited By (13)

* 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
CN112291580A (en) * 2020-10-27 2021-01-29 珠海格力电器股份有限公司 Bullet screen information control method and device
CN115037976A (en) * 2021-03-03 2022-09-09 Oppo广东移动通信有限公司 Display method, terminal and storage medium
CN113709025A (en) * 2021-07-22 2021-11-26 成都鲁易科技有限公司 Message display method and device, storage medium and computer equipment
CN113709025B (en) * 2021-07-22 2023-07-04 成都鲁易科技有限公司 Message display method and device, storage medium and computer equipment
CN113835657A (en) * 2021-09-08 2021-12-24 维沃移动通信有限公司 Display method and electronic equipment
CN113835656A (en) * 2021-09-08 2021-12-24 维沃移动通信有限公司 Display method and device and electronic equipment
CN113867607A (en) * 2021-09-30 2021-12-31 维沃移动通信有限公司 Content display method and device and electronic equipment
CN114040253A (en) * 2021-11-04 2022-02-11 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114040253B (en) * 2021-11-04 2024-06-04 广州博冠信息科技有限公司 Live broadcast display method and device, storage medium and electronic equipment
CN114666644A (en) * 2022-03-15 2022-06-24 维沃移动通信有限公司 Bullet screen display method and device
WO2023174316A1 (en) * 2022-03-15 2023-09-21 维沃移动通信有限公司 Bullet screen display method and apparatus thereof
CN115484504A (en) * 2022-09-14 2022-12-16 北京奇艺世纪科技有限公司 Image display method, image display device, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN111601141A (en) Barrage display method and device, electronic equipment and readable storage medium
US11726645B2 (en) Display apparatus for classifying and searching content, and method thereof
EP2172833A1 (en) Text entry method and display apparatus using the same
CN105094628A (en) Screen capture method and electronic device
CN110209879B (en) Video playing method, device, equipment and storage medium
CN105872675A (en) Method and device for intercepting video animation
CN113300938B (en) Message sending method and device and electronic equipment
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN111770386A (en) Video processing method, video processing device and electronic equipment
CN113010063A (en) File preview method and device, electronic equipment and storage medium
CN112866798A (en) Video generation method, device, equipment and storage medium
CN109947506B (en) Interface switching method and device and electronic equipment
CN110753251A (en) Video switching method and device and electronic equipment
CN114489913A (en) Interaction method, interaction device and electronic equipment
CN112887794A (en) Video editing method and device
CN105828167A (en) Screen-shot sharing method and device
CN111694490A (en) Setting method and device and electronic equipment
CN111757177B (en) Video clipping method and device
CN112954484A (en) Bullet screen information display method and device
CN113157973A (en) Method, device, equipment and medium for generating cover
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN108882004B (en) Video recording method, device, equipment and storage medium
CN109982135B (en) Channel switching method, device, terminal and computer readable storage medium
CN114422843B (en) video color egg playing method and device, electronic equipment and medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200828