CN106162298B - Method and system for realizing bullet screen - Google Patents

Method and system for realizing bullet screen Download PDF

Info

Publication number
CN106162298B
CN106162298B CN201510142200.5A CN201510142200A CN106162298B CN 106162298 B CN106162298 B CN 106162298B CN 201510142200 A CN201510142200 A CN 201510142200A CN 106162298 B CN106162298 B CN 106162298B
Authority
CN
China
Prior art keywords
channels
channel
content
bullet screen
row
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.)
Expired - Fee Related
Application number
CN201510142200.5A
Other languages
Chinese (zh)
Other versions
CN106162298A (en
Inventor
洪真瑱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201510142200.5A priority Critical patent/CN106162298B/en
Publication of CN106162298A publication Critical patent/CN106162298A/en
Application granted granted Critical
Publication of CN106162298B publication Critical patent/CN106162298B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for realizing a bullet screen, wherein the method comprises the steps of setting at least 1 row of channels on the bullet screen from top to bottom; judging whether channels are idle line by line from top to bottom according to the sequence; if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged; and returning to the first row of channels when all the channels are judged. According to the technical scheme, the state of the channel is judged line by line, so that the display of the bullet screen is more effectively realized, and the content of the bullet screen can be preset, so that the content of the bullet screen is more fully expressed, and the interestingness of watching the video file is improved.

Description

Method and system for realizing bullet screen
Technical Field
The invention relates to the technical field of video processing, in particular to a method and a system for realizing a bullet screen.
Background
The barrage refers to a comment directly appearing on a video, can appear on the video in a special-effect mode of scrolling, staying or even more actions, and is a short comment sent by a person watching the video. "barrage video" as the name implies has a "barrage" of video.
In general, the pop-up video can allow a viewer to make comments or thoughts, but unlike the common video which is only displayed in a special comment area under a player, the pop-up video can be displayed on a video picture in real time in a sliding subtitle mode, so that all viewers can notice the video picture, interaction among the viewers is realized, even praise or criticism of works can be expressed together, and viewing pleasure is increased.
Since a large number of shielding barrages based on destruction can seriously affect the viewers who need to watch normally and can cause great operational stress on the computer CPUs of the viewers, especially, a large number of sudden barrages at a specific time point are more obvious. Therefore, if the viewing is obstructed, the viewer can choose to pause the display of the barrage or perform specific shielding according to the word eyes of the barrage, and the video uploader or manager can clear the interfering subtitles. Except for some that the video is more popular because of these barrage.
Some bullet screen systems can provide specific bullet screen forms by using a script language, such as appearance or disappearance of specific positions of bullet screens, control of bullet screen ejection speed, bullet screen positions and the like. The bullet screen demonstration performance can be realized by matching with the video with pure color or less picture change and the specific background music. In addition, a bullet screen that appears fixed at the bottom or top of the screen may also be used as a subtitle for non-localized non-subtitle video.
The barrage can give the illusion of real-time interaction to audiences, although the sending time of different barrages is different, the barrages only appear at a specific time point in the video, so that the barrages sent at the same time basically have the same theme, and the illusion of simultaneous comment with other audiences can be realized when the barrages participate in the comment. The traditional player comment system is independent of a player, so that the comment content mostly surrounds the whole video, and the topic is not strong, and the feeling of real-time interaction does not exist.
However, the barrage also has the disadvantage of blocking the video content, and some untimely barrages can also reduce the attention of the audience to the video. The video originally used as a comment sending target is inverted to form a match, and the end is inverted.
Disclosure of Invention
The invention provides a method and a system for realizing a bullet screen, which can more effectively display the content of the bullet screen, thereby improving the interestingness of watching video files.
The invention provides a method for realizing a bullet screen, which comprises the following steps:
setting the bullet screen with at least 1 row of channels from top to bottom;
judging whether channels are idle line by line from top to bottom according to the sequence;
if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged;
and returning to the first row of channels when all the channels are judged.
Preferably, the first row of channels is used if all channels are idle.
Preferably, the position is set by the current channel when the text is constructed.
Preferably, the color, type and size of the content of each row of channels is set before the content enters the channel.
Preferably, the type of content includes left-right scrolling, top-end display, and/or bottom-end display.
Preferably, when the type of the content is top display or bottom display, the content disappears after the top or bottom display of the bullet screen is performed for a preset time period.
Preferably, the method further comprises the following steps:
and refreshing the content after the content of one row of channels is displayed for a preset time or times.
The invention also provides a system for realizing the bullet screen, which comprises a display unit and a judgment unit, wherein,
the display unit is used for setting the barrage from top to bottom into at least 1 row of channels and displaying corresponding contents in the channels;
the judging unit is used for judging whether channels are idle line by line from top to bottom according to the sequence; if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged; and returning to the first row of channels when all the channels are judged.
Preferably, the device further comprises a setting unit, wherein the setting unit is used for setting the position through the current channel when the text is constructed, and setting the color, the type and the size of the content of each line of channel before the content enters the channel.
Preferably, the display device further comprises a refreshing unit, and the refreshing unit is used for refreshing the content after the content of one row of channels is displayed for a preset time or times.
According to the technical scheme, the state of the channel is judged line by line, so that the display of the bullet screen is more effectively realized, and the content of the bullet screen can be preset, so that the content of the bullet screen is more fully expressed, and the interestingness of watching the video file is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of implementing a bullet screen in a first embodiment of the present invention;
fig. 2 is a structural diagram of a bullet screen system according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
Fig. 1 is a flowchart of implementing a bullet screen in an embodiment of the present invention. As shown in fig. 1, the process for realizing the bullet screen includes the following steps:
step 101, setting a plurality of rows of channels from top to bottom in an area for setting a bullet screen, namely the bullet screen, according to the interface size of the player.
And 102, judging whether the channels are idle line by line from top to bottom according to the sequence of the bullet screens, if so, turning to a step 103, and if not, turning to a step 104.
And 103, when the current channel is in an idle state, displaying the bullet screen content to be displayed by using the current channel, and setting the position through the current channel when a text is constructed. The color, type and size of the content of each row of channels is set before it enters the channel.
Types of bullet screen content include left-right scrolling, top-end display, and/or bottom-end display. When the type of the bullet screen content is top display or bottom display, the bullet screen content disappears after the bullet screen content is displayed at the top or bottom of the bullet screen for a preset time.
And 104, when the current channel is in the non-idle state, switching to the next channel, and judging whether the next channel is in the idle state.
And 105, returning to the first row of channels when all the channels are judged, and judging again.
If all channels are idle, the first row of channels is used.
And refreshing the bullet screen content of the channel after the content of one line of channel is displayed for a preset time or times so as to display new bullet screen content.
The specific implementation of the above contents is as follows:
how many lines (self-called: channel, way) are set on the barrage from top to bottom, and the parameter name maxItem is set through parameters.
Whether a channel is free, by way new Array (this. maxtem);
taking a value through this.way.shift () using a channel;
release channel this.way.push (value);
the first channel should be used if this is.
When the DOM is built, the position is set through the current channel.
And (5) releasing the channel at the advanced time before the motion animation of the current object is finished.
When the animation moves, the random speed and the size of the random content are appropriate.
When the bullet screen content is transmitted, the attribute color, dataType and size are attached.
dataType: left and right scrolling, top display, bottom display (top and bottom all disappear after a little time).
A function of refreshing to increase the updating of the bullet screen content queue// items [ ].
In order to implement the foregoing solution, this embodiment further provides a system for implementing a bullet screen, and fig. 2 is a structural diagram of the system for implementing a bullet screen in the first embodiment of the present invention. As shown in fig. 2, the implementation bullet screen system includes a display unit 201, a judgment unit 202, a setting unit 203, and a refresh unit 204.
The display unit sets multiple rows of channels for the barrage from top to bottom and displays corresponding contents in the channels.
The judging unit judges whether the channel is idle line by line from top to bottom according to the sequence; if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged; and returning to the first row of channels when all the channels are judged.
When the setting unit constructs the text, the position is set through the current channel, and before the content of each line of channels enters the channel, the color, the type and the size of the content are set.
And after the refreshing unit displays the content of the channel in one row for the preset time or times, refreshing the content of the related bullet screen channel.
According to the embodiment, the state of the channel is judged line by line, so that the display of the bullet screen is more effectively realized, and the content of the bullet screen can be set in advance, so that the content of the bullet screen is more fully expressed, and the interestingness of watching the video file is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for realizing bullet screens is characterized by comprising the following steps:
setting the bullet screen with at least 1 row of channels from top to bottom;
judging whether channels are idle line by line from top to bottom according to the sequence;
if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged;
and returning to the first row of channels after all the channels are judged, and judging again.
2. The method of claim 1, wherein if all channels are idle, then using the first row of channels.
3. The method of claim 1, wherein the location is set via a current channel when the text is constructed.
4. The method of claim 1, wherein the color, type and size of the content of each row of channels is set before the content enters the channel.
5. The method of claim 1, further comprising the steps of:
and refreshing the content after the content of one row of channels is displayed for a preset time or times.
6. A system for realizing bullet screen is characterized by comprising a display unit and a judgment unit, wherein,
the display unit is used for setting the barrage from top to bottom into at least 1 row of channels and displaying corresponding contents in the channels;
the judging unit is used for judging whether channels are idle line by line from top to bottom according to the sequence; if the channel is idle, the channel is used for displaying the content, and if the channel is not idle, the next row of channels is judged; and returning to the first row of channels when all the channels are judged.
7. The system according to claim 6, further comprising a setting unit for setting a position through a current channel when the text is constructed, and setting a color, a type and a size of the contents of each line of channels before the contents enter the channel.
8. The system according to claim 6, further comprising a refreshing unit, wherein the refreshing unit is configured to refresh the content of one row of channels after the content is displayed for a preset time or times.
CN201510142200.5A 2015-03-27 2015-03-27 Method and system for realizing bullet screen Expired - Fee Related CN106162298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142200.5A CN106162298B (en) 2015-03-27 2015-03-27 Method and system for realizing bullet screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142200.5A CN106162298B (en) 2015-03-27 2015-03-27 Method and system for realizing bullet screen

Publications (2)

Publication Number Publication Date
CN106162298A CN106162298A (en) 2016-11-23
CN106162298B true CN106162298B (en) 2020-07-03

Family

ID=57339733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142200.5A Expired - Fee Related CN106162298B (en) 2015-03-27 2015-03-27 Method and system for realizing bullet screen

Country Status (1)

Country Link
CN (1) CN106162298B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792086B (en) * 2016-12-12 2019-08-16 上海幻电信息科技有限公司 A kind of barrage composition method and composing system
CN108810598A (en) * 2017-04-26 2018-11-13 武汉斗鱼网络科技有限公司 The drift of the barrage of live streaming or video playing renders the method and system of display
CN108933947B (en) * 2017-05-25 2021-07-23 武汉斗鱼网络科技有限公司 Bullet screen display method and device
CN107197355B (en) * 2017-06-02 2020-02-21 北京潘达互娱科技有限公司 Bullet screen display method and device
CN107360459B (en) 2017-07-07 2021-02-02 腾讯科技(深圳)有限公司 Bullet screen processing method and device and storage medium
CN108696766B (en) * 2018-05-15 2022-01-14 北京字节跳动网络技术有限公司 Barrage display method and device and computer readable storage medium
CN109600655A (en) * 2018-11-30 2019-04-09 北京微播视界科技有限公司 Method, applications client and the electronic equipment that barrage is shown in applications client
CN111726676B (en) * 2020-07-03 2021-12-14 腾讯科技(深圳)有限公司 Image generation method, display method, device and equipment based on video
CN113573134A (en) * 2021-07-07 2021-10-29 网易(杭州)网络有限公司 Bullet screen data processing method and device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006043285A1 (en) * 2006-09-14 2008-03-27 Müller, Heinz Stream power plant for extraction of kinetic energy in flowing water in e.g. peninsula, has vertical turbine axle used as stand pipe for horizontally rotating turbine at same time to provide rotational movement, and frame attached to pipe
JP4711152B2 (en) * 2008-12-26 2011-06-29 ソニー株式会社 Content display control device and method, program, and recording medium
CN102650947B (en) * 2012-04-01 2015-06-24 广东欧珀移动通信有限公司 Continuous increment over-the-air upgrade method of Android handheld equipment
CN102905170B (en) * 2012-10-08 2015-05-13 北京导视互动网络技术有限公司 Screen popping method and system for video
CN104199805B (en) * 2014-09-11 2017-10-20 清华大学 Text joining method and device

Also Published As

Publication number Publication date
CN106162298A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN106162298B (en) Method and system for realizing bullet screen
CN106331877B (en) Barrage playback method and device
US9967621B2 (en) Dynamic personalized program content
US20160343409A1 (en) Method and device for video preview
US9841883B2 (en) User interfaces for media application
CN106792087A (en) The method and device that a kind of barrage shows
US9431059B2 (en) Information processing method and electronic device thereof
US11528243B2 (en) Methods, systems, and media for generating a notification in connection with a video content hem
CN105933783A (en) Bullet screen play method and device and terminal equipment
US20120326993A1 (en) Method and apparatus for providing context sensitive interactive overlays for video
CN105338394A (en) Subtitle data processing method and system
CN104038834A (en) Video positioning method and device
CN107635153B (en) Interaction method and system based on image data
CN105282573A (en) Embedded information processing method, client side and server
CN103384253A (en) Playing system presenting multimedia interaction function in video and construction method of playing system
CN114257849A (en) Barrage playing method, related equipment and storage medium
CN111881395A (en) Page presenting method, device, equipment and computer readable storage medium
CN106162296A (en) A kind of method and system playing barrage
CN105430471A (en) Method and device for displaying live commenting in video
CN114697721A (en) Bullet screen display method and electronic equipment
WO2018000606A1 (en) Virtual-reality interaction interface switching method and electronic device
US20190356939A1 (en) Systems and Methods for Displaying Synchronized Additional Content on Qualifying Secondary Devices
CN106162304A (en) The player method of a kind of barrage information and system
CN105679213A (en) Split-screen displaying and playing method of display screen and player
Bassbouss et al. Interactive 360° video and storytelling tool

Legal Events

Date Code Title Description
C06 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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and system of realizing bullet screen

Effective date of registration: 20210104

Granted publication date: 20200703

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVM (BEIJING) TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001518

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200703

Termination date: 20210327