CN107872714B - Bullet screen processing method, terminal equipment and computer readable storage medium - Google Patents
Bullet screen processing method, terminal equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN107872714B CN107872714B CN201711020649.XA CN201711020649A CN107872714B CN 107872714 B CN107872714 B CN 107872714B CN 201711020649 A CN201711020649 A CN 201711020649A CN 107872714 B CN107872714 B CN 107872714B
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- display
- playing picture
- picture
- pause
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- 238000012544 monitoring process Methods 0.000 claims abstract description 35
- 238000004590 computer program Methods 0.000 claims description 24
- 238000000034 method Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 15
- 230000000694 effects Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 239000000725 suspension Substances 0.000 description 5
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000008833 migu Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4333—Processing operations in response to a pause request
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
- H04N21/44222—Analytics of user selections, e.g. selection of programs or purchase activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a bullet screen processing method, which comprises the following steps: monitoring the playing picture and/or the bullet screen displayed on the playing picture; and when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture. The invention also discloses a terminal device and a computer readable storage medium.
Description
Technical Field
The present invention relates to the field of multimedia communication, and in particular, to a bullet screen processing method, a terminal device, and a computer-readable storage medium.
Background
The bullet screen refers to a phenomenon that a large amount of comments presented in a subtitle form and a video are in the same playing picture when the video is watched, and the bullets which are played in a large amount on the video playing picture are named as dense bullets. The barrage can be displayed on a playing picture in real time along with the playing of the video, so that a user can discuss and communicate with other users in the form of the barrage when watching the video, and the barrage is widely used as an interactive mode among the users.
The bullet screen can run from one side (for example, the left side) to the other side (for example, the right side) on the video playing picture in the display process. However, since the terminal device plays the video pictures at the same time during the display process of the bullet screen, when the number of bullet screens on the video playing picture is large, the bullet screens will affect the video playing picture to a certain extent, so that the playing effect of the video playing picture is poor.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention are expected to provide a bullet screen processing method, a terminal device, and a computer-readable storage medium, which can reduce the influence of a bullet screen on a video playing picture, thereby improving the playing effect of the video playing picture.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a bullet screen processing method, which comprises the following steps:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
and when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
In the foregoing solution, before monitoring the play screen and/or the bullet screen displayed on the play screen, the method further includes:
and determining the display pause condition of the bullet screen.
In the foregoing solution, the determining the display suspension condition of the bullet screen includes:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
In the foregoing solution, when it is monitored that the play picture and/or the bullet screen displayed on the play picture satisfy the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the currently played picture includes:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
In the above scheme, the method further comprises:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
In the above scheme, the resume to display the barrage includes:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
An embodiment of the present invention further provides a terminal device, where the terminal device includes: a processor, a memory for storing a computer program operable on the processor; wherein,
the processor is configured to, when running the computer program, execute:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
and when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
and determining the display pause condition of the bullet screen before monitoring the playing picture and/or the bullet screen displayed on the playing picture.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
In the foregoing solution, the processor is configured to, when running the computer program, execute:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
An embodiment of the present invention further provides a terminal device, where the terminal device includes: the monitoring module and the processing module; wherein,
the monitoring module is used for monitoring the playing picture and/or the bullet screen displayed on the playing picture;
and the processing module is used for pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture when the playing picture and/or the bullet screen displayed on the playing picture are monitored to meet the determined display pause condition.
The embodiment of the invention also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes a computer program of the computer-executable instructions, the processing method of the bullet screen is realized.
Therefore, according to the bullet screen processing method and the terminal device provided by the embodiment of the invention, firstly, a play picture and/or a bullet screen displayed on the play picture are monitored; and then, when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
When the play picture and/or the bullet screen displayed on the play picture are monitored to meet the display pause condition, the terminal equipment pauses the display of the bullet screen and removes the bullet screen displayed on the current play picture; the user can clearly watch the playing picture without being interfered by the bullet screen, so that the playing effect of the video playing picture can be improved, and the watching experience of the user is improved.
Drawings
FIG. 1 is a schematic view of a video display screen with a bullet screen;
FIG. 2 is a second schematic view of a video display screen with a bullet screen;
FIG. 3 is a third schematic view of a video display screen with a bullet screen;
FIG. 4 is a schematic view of a flow chart of a bullet screen processing method according to a first embodiment of the present invention;
FIG. 5 is a diagram illustrating a playback screen satisfying a first display pause condition;
FIG. 6 is a diagram illustrating a play screen displaying a bullet screen satisfying a second display pause condition;
FIG. 7 is a schematic flow chart illustrating an implementation of a second bullet screen processing method according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a specific implementation of step 103 in the implementation flowchart shown in FIG. 7;
fig. 9 is a schematic flow chart illustrating an implementation of a third bullet screen processing method according to an embodiment of the present invention;
FIG. 10 is a schematic flow chart of a fourth implementation of the bullet screen processing method according to the present invention;
fig. 11 is a schematic diagram of a structure of a terminal device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware component structure of a terminal device according to an embodiment of the present invention.
Detailed Description
As can be seen from the description of the background art, in the related art, the terminal device plays the video pictures simultaneously during the display process of the bullet screen; therefore, when the number of barrages on the video playing picture is large, the video playing picture is influenced to a certain extent, so that the playing effect of the video playing picture is poor.
For example, when a user watches a video on a video client installed in a terminal device, a pop-up screen display function may be turned on to interact with other users by displaying a pop-up screen on the video client, such as one of the video playing pictures shown in fig. 1, in which the pop-up screen is displayed. As can be seen from fig. 1, the bullet screen blocks a part of the video playing picture; however, the influence on the video playing picture is small, and the watching experience of the user cannot be greatly influenced.
However, as shown in fig. 2, the second video playing picture with the barrage is shown in fig. 2, as can be seen from fig. 2, the number of the barrages displayed on the video playing picture is large, so that the user cannot clearly view the video playing picture at all. In addition, as shown in fig. 3, a third schematic view of a video playing screen with a bullet screen is displayed, as can be seen from fig. 3, a close-up picture exists in the video playing screen; therefore, although the bullet screen displayed on the video playing picture is less, the main content in the video playing picture is shielded. Thus, the video playing picture can be greatly influenced, and the watching experience of the user is influenced.
Therefore, when the number of the barrage displayed on the video playing picture is large and/or a near-scene picture exists in the video playing picture, the barrage can affect the video playing picture to a certain extent, so that the playing effect of the video playing picture is poor.
Based on this, the processing scheme of the bullet screen provided by the embodiment of the invention is applied to the terminal equipment, and firstly, the play picture and/or the bullet screen displayed on the play picture are monitored; and then, when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
When the play picture and/or the bullet screen displayed on the play picture are monitored to meet the display pause condition, the terminal equipment pauses the display of the bullet screen and removes the bullet screen displayed on the current play picture; the user can clearly watch the playing picture without being interfered by the bullet screen, so that the playing effect of the video playing picture can be improved, and the watching experience of the user is improved.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 4 is a schematic flow chart of an implementation of a first embodiment of a bullet screen processing method according to the present invention, and referring to fig. 4, the bullet screen processing method of the present embodiment includes the following steps:
the bullet screen processing method of the embodiment is applied to terminal equipment, and is used for monitoring a playing picture and/or a bullet screen displayed on the playing picture, and when the playing picture and/or the bullet screen displayed on the playing picture are monitored to meet the display pause condition of the bullet screen, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; therefore, the user can clearly watch the playing picture without being interfered by the bullet screen, and the playing effect of the playing picture is further improved.
Here, the play screen may be a play screen of a multimedia file. The multimedia file can be a video file, a PPT (Power Point) file, an e-book reading file or a music file; in the following embodiments, the multimedia file will be described in detail by taking a video file as an example.
Here, the terminal device may first receive, in real time, video data and corresponding barrage data sent by the server; then, extracting a playing picture and bullet screen data corresponding to the playing picture from a video corresponding to the video data; finally, the existing or new video monitoring technology can be adopted to monitor whether a close shot picture exists in the played picture and/or the number of the barrages displayed on the played picture, so that the played picture and/or the barrages displayed on the played picture can be monitored in real time.
And 102, when it is monitored that the playing picture and/or the bullet screen displayed on the playing picture meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture.
Here, the pause display bullet screen may be understood as a bullet screen corresponding to a play screen subsequent to the play screen currently being paused.
Here, when it is monitored that the play picture and/or the bullet screen displayed on the play picture satisfy the determined display pause condition, pausing the display bullet screen and clearing the bullet screen displayed on the current play picture includes: and when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture. The first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
For example, the first display pause condition determined by the terminal device may be: if a close-up picture exists in the played picture and the proportion value of the close-up picture in the played picture is greater than one fourth, the terminal device can determine that the played picture meets the first display pause condition when monitoring the played picture as shown in fig. 5.
For another example, the second display pause condition determined by the terminal device may be: if the number of bullet screens including "front high energy", "early warning" or "front welfare" in the bullet screens displayed on the playing screen is greater than 5, the terminal device may determine that the bullet screens displayed on the playing screen satisfy the second display pause condition when monitoring the playing screen shown in fig. 6.
It should be noted that, after the terminal device suspends the display of the bullet screen, the terminal device may record the suspension time of the display suspended bullet screen, so as to redisplay the bullet screen which is temporarily suspended from being displayed and the bullet screen which is not completely displayed when the display of the bullet screen is resumed.
In summary, in the embodiment of the present invention, when it is monitored that the playing picture and/or the bullet screen displayed on the playing picture meet the display pause condition, the bullet screen is paused and the bullet screen displayed on the currently played picture is cleared, so that the user can clearly view the played picture without being interfered by the bullet screen, the playing effect of the video playing picture can be improved, and the viewing experience of the user is further improved.
Fig. 7 is a schematic flow chart of an implementation of a second bullet screen processing method according to the second embodiment of the present invention, and referring to fig. 7, the bullet screen processing method according to the present embodiment further includes, before step 101 of the first embodiment:
and 103, determining the display pause condition of the bullet screen.
Here, before monitoring the play picture and/or the bullet screen displayed on the play picture, the terminal device needs to determine a display pause condition of the bullet screen, so that when it is monitored that the play picture and/or the bullet screen displayed on the play picture satisfies the display pause condition, the display of the bullet screen is paused and the bullet screen displayed on the current play picture is cleared.
Fig. 8 is a schematic diagram of a specific implementation flow of step 103 in the implementation flow shown in fig. 7, and referring to fig. 8, step 103 specifically includes the following steps:
here, the terminal device may monitor an operating state of the video client (e.g., migu live APP) in real time, and when it is monitored that the video client is used, the terminal device may start monitoring of a preset operation of the user to enter a setting mode. The preset operation of the user may be a click operation on a designated area or a key of a screen of the terminal device, a flick operation on the terminal device, or the like.
When monitoring the preset operation of the user, the terminal device can start a setting mode, and the setting mode is used for setting the display pause condition of the bullet screen.
and 1033, generating the display pause condition according to the pause parameter.
Here, when the display pause condition includes only the first display pause condition, the pause parameter may include only the scale threshold; when the display pause condition includes only the second display pause condition, the pause parameter may include only the keyword and the first number threshold; when the display pause condition includes both the first display pause condition and the second display pause condition, the pause parameter may include a keyword, a first number threshold, and a scale threshold.
Here, in the setting mode, the terminal device may acquire the suspension parameter in two ways:
the first mode is as follows: the terminal device may obtain the pause parameter by receiving a content input by a user.
Specifically, in the setting mode, a user can input a pause parameter for generating a display pause condition on a setting interface of the video client; after receiving the content input by the user, the terminal device may generate a display pause condition according to the content input by the user.
For example, the user may enter a keyword and a first quantity threshold; for example, the input keywords may be front high energy, early warning, front welfare, and the like; the first number of inputs threshold may be 5. The terminal device generates a second display pause condition according to the received keyword and the first quantity threshold as follows: the number of bullet screens including front high energy, early warning or front welfare displayed on the playing picture is more than 5.
As another example, the user may input a scale threshold; for example, the input scale threshold may be one-fourth. The terminal device generates a first display pause condition according to the received ratio threshold as follows: the playing picture has a close-range picture, and the proportion value of the close-range picture in the playing picture is more than one fourth.
It should be noted that, if the user inputs the keyword, the first number threshold and the ratio threshold at the same time, the terminal device may generate the first display pause condition and the second display pause condition at the same time.
In a second way, the terminal device may determine the suspension parameter based on an automatically determined threshold parameter.
Specifically, in the setting mode, the terminal device may determine the suspension parameter based on an automatically determined proportion threshold; accordingly, the terminal device generates a first display pause condition based on the pause parameter. The terminal equipment can also determine the pause parameter based on the keyword of the bullet screen input by the user and the automatically determined first quantity threshold; accordingly, the terminal device generates a second display pause condition based on the pause parameter. Of course, the terminal device may also simultaneously generate the first display pause condition and the second display pause condition based on the automatically determined ratio threshold and the first number threshold, and the keyword of the bullet screen input by the user.
It should be noted that the terminal device may obtain the ratio threshold and/or the first number threshold locally, or may obtain the ratio threshold and/or the first number threshold from another device, for example, may obtain the ratio threshold and/or the first number threshold from a server corresponding to the terminal device and used for processing the barrage data. The first number threshold may be preset, or may be determined according to the number of the bullet screens sent for the playing picture.
For example, a user can input a keyword of a bullet screen on a setting interface of a video client; then, the terminal device may obtain, from the local storage, a quantity ratio threshold related to the first quantity threshold, for example, the quantity ratio threshold may be 0.02; and finally, receiving bullet screen data sent by a server, and determining the first quantity threshold value based on the bullet screen quantity (or the total quantity of bullet screens corresponding to videos) sent aiming at the playing picture and a quantity ratio threshold value. The larger the number of the barrages sent by the playing picture is, the larger the first number threshold determined by the terminal equipment is, and vice versa. For example, if the number ratio threshold is 0.02, when the number of the barrages sent for the play picture is 300, the first number threshold may be 6; when the number of barrages transmitted for the play picture is 500, the first number threshold may be 10.
After the pause parameter is acquired, the terminal device may directly determine the display pause condition according to the acquired pause parameter.
Fig. 9 is a schematic flow chart of a third implementation of the bullet screen processing method according to the present invention, and referring to fig. 9, the bullet screen processing method according to the present embodiment further includes, after step 102 in the first embodiment:
105, when the condition that the preset display condition is met is monitored, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
Here, after the display of the bullet screen is paused, the play screen and the bullet screen sent for the play screen are continuously monitored to determine whether a preset display condition is satisfied. When the preset display condition is met, restoring to display the bullet screen; and when the monitored condition that the preset display condition is not met, pausing the display of the bullet screen.
Specifically, the terminal device may first monitor a play screen and a bullet screen sent for the play screen, but does not display the bullet screen sent by the play screen. Then, judging whether the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value or not; if so, continuing to pause the display of the bullet screen when the playing picture meets the display pause condition, and resuming the display of the bullet screen when the playing picture does not meet the display pause condition; if not, the display of the bullet screen is continuously suspended. The second number threshold may be set by a user in a self-defined manner, or may be preset by the terminal device. Further, the terminal device may set the second quantity threshold as an average value of the number of bullet screens corresponding to the video, or set the second quantity threshold as an average value of the number of other bullet screens except for the bullet screen sent by the user for the playing picture of the paused bullet screen in the bullet screen corresponding to the video.
For example, if the total number of barrages corresponding to a video is 800, and the total playing time of the video is 40 minutes, the second number threshold may be set to 20. For another example, if there are 800 total barrages corresponding to the video, 215 barrages are sent from the play screen on which the display of the barrages is paused, and the total play time of the video is 40 minutes, the second number threshold may be set to 15.
Further, when the terminal device resumes displaying the bullet screen, the pause time of the bullet screen which is paused to be displayed can be obtained firstly; then, determining a target time based on the pause time and a preset time length; and finally, displaying the bullet screen with the sending time later than the target time.
Here, when the display of the bullet screen is resumed, the bullet screen with the display time less than the preset time length needs to be displayed again to ensure that the bullet screen can be completely displayed. For example, it is assumed that the terminal device starts to display a certain bullet screen at 17 minutes and 0 seconds, and the bullet screen can be completely displayed only after at least 5 seconds, and if the time for the terminal device to pause displaying the bullet screen is 17 minutes and 14 seconds, the terminal device does not display the bullet screen when the display of the bullet screen is resumed; if the time for the terminal device to pause displaying the bullet screen is 17 minutes and 04 seconds, the terminal device can display the bullet screen again when the display of the bullet screen is resumed.
Specifically, when resuming to display the bullet screen, the terminal device may preferentially display the bullet screen with the sending time between the target time and the pause time; then, displaying the bullet screen with the sending time between the pause time and the time of resuming the display of the bullet screen; and finally, displaying the bullet screen with the sending time later than the time for recovering the display of the bullet screen.
If the time period from the pause of the display of the bullet screen to the resumption of the display of the bullet screen is longer, the display running speed of the bullet screen can be increased after the display of the bullet screen is resumed, or the bullet screen can be displayed after the number of the bullet screens to be displayed is reduced according to the preference of a user.
Further, if the display progress of the bullet screen is inconsistent with the playing progress of the video, the sending time corresponding to the bullet screen can be added when the bullet screen is displayed; if the display progress of the bullet screen is consistent with the playing progress of the video, the bullet screen can be displayed at a normal display running speed, and at the moment, the sending time corresponding to the bullet screen can not be added.
For example, it is assumed that the terminal device pauses to display the bullet screen and clears the bullet screen displayed on the current playing picture at 17 minutes and 0 seconds, and records the pause time of pausing to display the bullet screen; then, the terminal device resumes displaying the bullet screen after pausing the displaying of the bullet screen for 30 seconds. At this time, the terminal device may preferentially display the bullet screen sent from the target time (set as 16 minutes 57 seconds) to 17 minutes 0 seconds; then, displaying the bullet screen sent from 17 minutes and 0 seconds to the time of resuming displaying the bullet screen; and finally, displaying the bullet screen sent by the time for restoring the display of the bullet screen. When the bullet screen is displayed, the time for sending the bullet screen may be added, for example: a bullet screen with the addition of time to send it may be "16 minutes 59 seconds too beautiful". In addition, when the bullet screen sent from 16 minutes and 57 seconds to the time of resuming the display of the bullet screen is displayed, the display can be accelerated; for example, the time for sending the bullet screen may not be added when the bullet screen sent at 2 times of the constant speed is displayed and the time for resuming the display of the bullet screen is displayed at 1 times of the constant speed.
Of course, when the terminal device resumes displaying the bullet screen, the terminal device may directly display the bullet screen corresponding to the current video schedule instead of displaying the previous bullet screen.
In order to more clearly describe the scheme provided by the embodiment of the present invention, a specific implementation process of the bullet screen processing method according to the embodiment of the present invention will be described in detail below.
Fig. 10 is a schematic flow chart of a fourth implementation of the bullet screen processing method according to the present invention, and referring to fig. 10, the bullet screen processing method according to the present embodiment includes the following steps:
and step 208, continuing to pause the display of the bullet screen.
In order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a terminal device, which is used for implementing the details of the processing method of the bullet screen, and achieving the same effect.
Fig. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, and referring to fig. 11, the terminal device according to the embodiment includes: a first monitoring module 31 and a processing module 32; wherein,
the first monitoring module 31 is configured to monitor a playing picture and/or a bullet screen displayed on the playing picture;
the processing module 32 is configured to pause displaying the bullet screen and clear the bullet screen displayed on the currently played picture when it is monitored that the played picture and/or the bullet screen displayed on the played picture meet the determined display pause condition.
Optionally, the terminal device of this embodiment further includes: a determination module 33; wherein,
the determining module 33 is configured to determine a display pause condition of the bullet screen.
Optionally, the terminal device of this embodiment further includes: a second monitoring module 34 and a restoration display module 35; wherein,
the second monitoring module 34 is configured to continue to monitor the play picture and the bullet screen sent for the play picture after the bullet screen is paused to be displayed;
the restoration display module 35 is configured to restore the display bullet screen when it is monitored that the preset display condition is met; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
Optionally, the determining module 33 is specifically configured to enter a setting mode if a preset operation of the user is monitored; in a setting mode, acquiring a pause parameter; and generating the display pause condition according to the pause parameter.
Optionally, the processing module 32 is specifically configured to pause displaying the bullet screen and clear the bullet screen displayed on the current playing screen when it is monitored that the playing screen meets the first display pause condition and/or the bullet screen displayed on the playing screen meets the second display pause condition; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
Optionally, the resume display module 35 is specifically configured to obtain a pause time of the paused display bullet screen; determining a target time based on the pause time and a preset time length; and displaying the bullet screen with the sending time later than the target time.
In practical applications, the first monitoring module 31, the processing module 32, the determining module 33, the second monitoring module 34 and the recovery display module 35 may be implemented by a processor located in the terminal device in combination with a user interface.
In the terminal device provided in the foregoing embodiment, when performing the barrage processing, only the division of the program modules is described as an example, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the terminal device is divided into different program modules to complete all or part of the processing described above. In addition, the terminal device and the bullet screen processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
In order to implement the method of the embodiment of the present invention, the embodiment of the present invention further provides a terminal device, which is used for implementing the details of the processing method of the bullet screen, and achieving the same effect.
Fig. 12 is a schematic diagram of a hardware composition structure of a terminal device according to an embodiment of the present invention, and referring to fig. 12, the terminal device in the embodiment includes: a processor 41, a memory 42 for storing computer programs operable on the processor 41, and a user interface 43; wherein,
the user interface 43 can receive corresponding operation instructions input by a user;
the processor 41 is connected to the user interface 43 to receive a corresponding operation instruction input by a user, and is configured to execute the bullet screen processing method when the computer program is run.
Specifically, the processor 41 is configured to, when running the computer program, perform:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
and when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
Optionally, the processor 41 is configured to, when running the computer program, perform:
and determining the display pause condition of the bullet screen before monitoring the playing picture and/or the bullet screen displayed on the playing picture.
Optionally, the processor 41 is configured to, when running the computer program, perform:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
Optionally, the processor 41 is configured to, when running the computer program, perform:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
Optionally, the processor 41 is configured to, when running the computer program, perform:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
Optionally, the processor 41 is configured to, when running the computer program, perform:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
In practice, of course, the various components are coupled together by a bus system 44, as shown in FIG. 12. It will be appreciated that the bus system 44 is used to enable communications among the components. The bus system 44 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 44 in fig. 12.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores an executable program, and when the executable program is executed by the processor 41, the method includes:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
and when the play picture and/or the bullet screen displayed on the play picture is monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture.
Optionally, the executable program, when executed by the processor 41, is to implement the steps of:
and determining the display pause condition of the bullet screen before monitoring the playing picture and/or the bullet screen displayed on the playing picture.
Optionally, the executable program, when executed by the processor 41, implements the steps of determining a display pause condition of the bullet screen:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
Optionally, when the processor 41 is executed, the executable program specifically implements the steps of, when it is monitored that the play screen and/or the bullet screen displayed on the play screen meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play screen:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
Optionally, the executable program, when executed by the processor 41, is to implement the steps of:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
Optionally, when executed by the processor 41, the executable program may specifically implement the step of resuming the display of the bullet screen:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (12)
1. A method for processing a bullet screen, the method comprising:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
when the playing picture and/or the bullet screen displayed on the playing picture are monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; wherein,
when it is monitored that the play picture and/or the bullet screen displayed on the play picture meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current play picture comprise:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
2. The method according to claim 1, wherein before the monitoring of the play-out picture and/or the bullet screen displayed on the play-out picture, the method further comprises:
and determining the display pause condition of the bullet screen.
3. The method of claim 2, wherein determining a display pause condition for a bullet screen comprises:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
4. The method of claim 1, further comprising:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
5. The method of claim 4, wherein the resuming the display of the bullet screen comprises:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
6. A terminal device, characterized in that the terminal device comprises: a processor, a memory for storing a computer program operable on the processor; wherein,
the processor is configured to, when running the computer program, execute:
monitoring the playing picture and/or the bullet screen displayed on the playing picture;
when the playing picture and/or the bullet screen displayed on the playing picture are monitored to meet the determined display pause condition, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; wherein,
the processor is further configured to, when executing the computer program, perform:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
7. The terminal device according to claim 6, wherein the processor, when executing the computer program, is configured to perform:
and determining the display pause condition of the bullet screen before monitoring the playing picture and/or the bullet screen displayed on the playing picture.
8. The terminal device according to claim 7, wherein the processor, when executing the computer program, is configured to perform:
if the preset operation of the user is monitored, entering a setting mode;
in a setting mode, acquiring a pause parameter;
and generating the display pause condition according to the pause parameter.
9. The terminal device according to claim 6, wherein the processor, when executing the computer program, is configured to perform:
after the bullet screen is paused to be displayed, continuing to monitor the playing picture and the bullet screen sent aiming at the playing picture;
when the preset display condition is met, restoring to display the bullet screen; the preset display condition is that the number of the barrages sent aiming at the playing picture is smaller than a second number threshold value, and the playing picture does not meet the display pause condition.
10. The terminal device according to claim 9, wherein the processor, when executing the computer program, is configured to perform:
obtaining the pause time of a pause display bullet screen;
determining a target time based on the pause time and a preset time length;
and displaying the bullet screen with the sending time later than the target time.
11. A terminal device, characterized in that the terminal device comprises: the monitoring module and the processing module; wherein,
the monitoring module is used for monitoring the playing picture and/or the bullet screen displayed on the playing picture;
the processing module is used for pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture when the playing picture and/or the bullet screen displayed on the playing picture are monitored to meet the determined display pause condition; wherein,
the processing module is specifically configured to:
when the fact that the playing picture meets a first display pause condition and/or the bullet screen displayed on the playing picture meets a second display pause condition is monitored, pausing the display of the bullet screen and clearing the bullet screen displayed on the current playing picture; the first display pause condition is that the proportion value of the close shot is larger than a proportion threshold value, and the second display pause condition is that the number of the bullet screens containing the keywords is larger than a first number threshold value.
12. A computer-readable storage medium, in which computer-executable instructions are stored, and a computer program of the computer-executable instructions, when executed by a processor, implements the processing method of the bullet screen according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711020649.XA CN107872714B (en) | 2017-10-27 | 2017-10-27 | Bullet screen processing method, terminal equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711020649.XA CN107872714B (en) | 2017-10-27 | 2017-10-27 | Bullet screen processing method, terminal equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107872714A CN107872714A (en) | 2018-04-03 |
CN107872714B true CN107872714B (en) | 2020-09-18 |
Family
ID=61753459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711020649.XA Active CN107872714B (en) | 2017-10-27 | 2017-10-27 | Bullet screen processing method, terminal equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107872714B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108989873A (en) * | 2018-07-27 | 2018-12-11 | 努比亚技术有限公司 | Barrage information display method, mobile terminal and computer readable storage medium |
CN109309880B (en) * | 2018-10-08 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Video playing method and device, computer equipment and storage medium |
CN109640126A (en) * | 2018-12-28 | 2019-04-16 | 北京奇艺世纪科技有限公司 | A kind of video broadcasting method, system and device and computer readable storage medium |
CN110958493B (en) * | 2019-12-17 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Bullet screen adjusting method and device, electronic equipment and storage medium |
US12120377B2 (en) | 2019-12-17 | 2024-10-15 | Tencent Technology (Shenzhen) Company Limited | Video playing method and apparatus, electronic device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015041239A (en) * | 2013-08-21 | 2015-03-02 | Kddi株式会社 | Comment list public server, program, and method for sorting and clearly stating comment set corresponding to media content |
CN105578209A (en) * | 2015-12-16 | 2016-05-11 | 广州酷狗计算机科技有限公司 | Pop-up screen display method and apparatus |
CN105592331A (en) * | 2015-12-16 | 2016-05-18 | 广州华多网络科技有限公司 | Method for processing barrage messages, related equipment, and system |
CN106686441A (en) * | 2016-12-30 | 2017-05-17 | 中广热点云科技有限公司 | Video interaction method |
CN106970988A (en) * | 2017-03-30 | 2017-07-21 | 联想(北京)有限公司 | Data processing method, device and electronic equipment |
CN107147936A (en) * | 2017-04-21 | 2017-09-08 | 合网络技术(北京)有限公司 | The display control method and device of barrage |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014013689A1 (en) * | 2012-07-20 | 2014-01-23 | パナソニック株式会社 | Moving-image-with-comments generation device and moving-image-with-comments generation method |
CN104902333B (en) * | 2014-09-19 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Video comments processing method and video comments processing means |
CN105959808A (en) * | 2016-04-21 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Method and device for deleting video bullet screen |
CN105979343B (en) * | 2016-06-28 | 2019-11-15 | 武汉斗鱼网络科技有限公司 | A kind of method and device based on the setting of webpage barrage barrage level |
CN106331877B (en) * | 2016-09-22 | 2019-10-11 | 广州华多网络科技有限公司 | Barrage playback method and device |
-
2017
- 2017-10-27 CN CN201711020649.XA patent/CN107872714B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015041239A (en) * | 2013-08-21 | 2015-03-02 | Kddi株式会社 | Comment list public server, program, and method for sorting and clearly stating comment set corresponding to media content |
CN105578209A (en) * | 2015-12-16 | 2016-05-11 | 广州酷狗计算机科技有限公司 | Pop-up screen display method and apparatus |
CN105592331A (en) * | 2015-12-16 | 2016-05-18 | 广州华多网络科技有限公司 | Method for processing barrage messages, related equipment, and system |
CN106686441A (en) * | 2016-12-30 | 2017-05-17 | 中广热点云科技有限公司 | Video interaction method |
CN106970988A (en) * | 2017-03-30 | 2017-07-21 | 联想(北京)有限公司 | Data processing method, device and electronic equipment |
CN107147936A (en) * | 2017-04-21 | 2017-09-08 | 合网络技术(北京)有限公司 | The display control method and device of barrage |
Also Published As
Publication number | Publication date |
---|---|
CN107872714A (en) | 2018-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107872714B (en) | Bullet screen processing method, terminal equipment and computer readable storage medium | |
US10425679B2 (en) | Method and device for displaying information on video image | |
US11482192B2 (en) | Automated object selection and placement for augmented reality | |
EP4035751A1 (en) | Virtual scene interaction method and apparatus, device, and storage medium | |
CN109257631B (en) | Video carousel playing method and device, computer equipment and storage medium | |
CN107743271B (en) | Bullet screen processing method, electronic equipment and computer readable storage medium | |
US20160199742A1 (en) | Automatic generation of a game replay video | |
CN107786884B (en) | Barrage data processing method, server, first terminal and storage medium | |
CN106921883B (en) | Video playing processing method and device | |
CN109729429B (en) | Video playing method, device, equipment and medium | |
CN105072480B (en) | A kind of net cast method and device | |
CN107835439B (en) | Bullet screen pushing method, electronic equipment and computer readable storage medium | |
CN111726641A (en) | Live video playing processing method and device and server | |
WO2024001661A1 (en) | Video synthesis method and apparatus, device, and storage medium | |
CN109739648B (en) | Animation playing control method, device, equipment and storage medium | |
AU2018275194A1 (en) | Temporal placement of a rebuffering event | |
CN108111921B (en) | A kind of barrage processing method, electronic equipment and computer readable storage medium | |
CN109739607B (en) | Dynamic image loading method, device, equipment and storage medium | |
WO2023029862A1 (en) | Bullet-screen comment display method and apparatus, and device and storage medium | |
CN112399231A (en) | Playing method | |
CN112910875B (en) | Display method and device | |
CN113132808B (en) | Video generation method and device and computer readable storage medium | |
US20180239759A1 (en) | Segmenting a Set of Media Data Using a Set of Social Networking Data | |
CN110198459B (en) | Method, device, server and storage medium for playing display information | |
CN112423099A (en) | Video loading method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |