CN106454538B - Real-time bullet screen interaction method - Google Patents

Real-time bullet screen interaction method Download PDF

Info

Publication number
CN106454538B
CN106454538B CN201610974125.3A CN201610974125A CN106454538B CN 106454538 B CN106454538 B CN 106454538B CN 201610974125 A CN201610974125 A CN 201610974125A CN 106454538 B CN106454538 B CN 106454538B
Authority
CN
China
Prior art keywords
real
bullet screen
time
screen information
time 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.)
Active
Application number
CN201610974125.3A
Other languages
Chinese (zh)
Other versions
CN106454538A (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.)
Shanghai Hode Information Technology Co Ltd
Original Assignee
Shanghai Hode Information 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 Shanghai Hode Information Technology Co Ltd filed Critical Shanghai Hode Information Technology Co Ltd
Priority to CN201610974125.3A priority Critical patent/CN106454538B/en
Publication of CN106454538A publication Critical patent/CN106454538A/en
Application granted granted Critical
Publication of CN106454538B publication Critical patent/CN106454538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

A real-time bullet screen interaction method includes the steps that real-time bullet screen information is received through a real-time bullet screen channel between a browser and a server, if the received real-time bullet screen information is within a set time interval, a real-time bullet screen label is added to the real-time bullet screen information, and the real-time bullet screen information added with the real-time bullet screen label is directly displayed on the screen of the browser. The method and the device realize the intercommunication of the bullet screen information among multiple users during video playing, optimize the problem that the historical bullet screen and the instant bullet screen in the prior art are not distinguished, and the users cannot judge the instantaneity of the bullet screen, enhance the interactivity of the bullet screen video and improve the user experience.

Description

Real-time bullet screen interaction method
Technical Field
The invention relates to a real-time bullet screen interaction method.
Background
The bullet screen refers to a phenomenon that a large amount of comments presented in a subtitle form are on the same picture as a video when the video is watched. A large number of comments which fly above the video are similar to dense shells, so that the name bullet screen is obtained. The barrage can be displayed on the video in real time along with the playing of the video, so that the user can see other users and the barrage sent by the user when watching the video.
The sharing of bullet screen target list real-time nature, its mode of operation contains two parts: the first part is historical reviews. Since the number of each video comment is different, many barrage functions adopt a stored mode to realize the output of the barrage. That is, all the comments of the users to a certain node of the video at different time periods are stored. After a specific user opens the video and runs to the corresponding video time, the comments can be displayed, and a real-time communication experience is brought to the user. When the number of stored reviews is large enough, the new review will replace the old review. The second part is real-time comments, when the user sends the comments, the server stores the comments into a historical comment list, a full-duplex communication channel between the browser and the server is established through a Socket or Websocket protocol and pushed to all users watching the video at the browser end, after the browser front end is processed, the real-time popup screen is added into the comment list and is operated to the corresponding video time, and the comments can be displayed.
The user is when watching video, and at same time point, historical bullet curtain and real-time bullet curtain can demonstrate simultaneously, and the user can't distinguish historical bullet curtain and real-time bullet curtain, because the user can't judge the real-time nature of bullet curtain, just can't select current real-time bullet curtain to carry out the interdynamic, has reduced user experience.
Disclosure of Invention
The invention provides a real-time bullet screen interaction method, which realizes the intercommunication of bullet screen information among multiple users during video playing, optimizes the problem that the historical bullet screen and the instant bullet screen in the prior art are not distinguished, and the user cannot judge the real-time performance of the bullet screen, enhances the interactivity of bullet screen videos, and improves the user experience.
In order to achieve the above object, the present invention provides a real-time barrage interaction method, which comprises the following steps: the method comprises the steps that real-time bullet screen information is received through a real-time bullet screen channel between a browser and a server, if the received real-time bullet screen information is in a set time interval, a real-time bullet screen label is added to the real-time bullet screen information, and the real-time bullet screen information added with the real-time bullet screen label is directly displayed on the browser screen.
The real-time bullet screen channel is a full-duplex communication channel between the browser and the server, which is realized by adopting a Socket protocol or a Websocket protocol.
The real-time bullet screen information comprises: video time when the barrage was sent, barrage message, barrage sender, barrage mode, and other unnecessary messages.
The set time interval is a specific time interval before and after the current playing time acquired through the page player interface.
The real-time bullet screen label can indicate that the bullet screen information is real-time bullet screen information and distinguish the real-time bullet screen information from historical bullet screen information.
And after the real-time bullet screen information is played, clearing the real-time bullet screen label, and adding the real-time bullet screen information into the historical bullet screen list.
When the video is replayed or the playing time jumps in the video playing process, all real-time bullet screen labels are immediately cleared, and all real-time bullet screen information is added into the historical bullet screen list.
And the user watching the video responds to the real-time bullet screen information with the real-time bullet screen label in real time.
The method and the device realize the intercommunication of the bullet screen information among multiple users during video playing, optimize the problem that the historical bullet screen and the instant bullet screen in the prior art are not distinguished, and the users cannot judge the instantaneity of the bullet screen, enhance the interactivity of the bullet screen video and improve the user experience.
Drawings
Fig. 1 is a flowchart of a real-time bullet screen interaction method provided by the present invention.
Detailed Description
The preferred embodiment of the present invention is described in detail below with reference to fig. 1.
As shown in fig. 1, the present invention provides a real-time barrage interaction method, which comprises the following steps:
step S1, starting to play the video, sending a request to a server by the browser, acquiring a historical bullet screen list, and continuously adding the historical bullet screen list into the video;
step S2, establishing a real-time bullet screen channel between the browser and the server, and receiving real-time bullet screen information through the real-time bullet screen channel;
the real-time bullet screen channel is a full-duplex communication channel between the browser and the server, which is realized by adopting a Socket or Websocket protocol, in the channel, the feedback of the message is almost delay-free, and the specific delay condition is determined according to the network condition and the performance of the server;
the Socket protocol is also called as Socket, and an application program generally sends a request to a network or responds to the network request through the Socket so that two programs on the network realize data exchange through a bidirectional communication connection; the WebSocket protocol is a new protocol of HTML5, full-duplex communication between a browser and a server is realized, the browser and the server only need one-time handshake to establish a fast channel, and data can be directly transmitted between the browser and the server;
the real-time bullet screen information comprises: video time when the barrage is sent, barrage information, a barrage sender, a barrage mode and other unnecessary information;
step S3, judging whether the received real-time bullet screen information is in a set time interval, if so, performing step S4, and if not, performing step S5;
the set time interval is a specific time interval before and after the current playing time acquired through the page player interface, for example: the current playing time is 6 seconds, the set range of the front specific time interval and the rear specific time interval is 10 seconds, the video time is 1-11 seconds, and the set front specific time interval and the rear specific time interval are determined by the specific scene applied by the technology;
step S4, adding a real-time bullet screen label to the real-time bullet screen information, directly displaying the real-time bullet screen information added with the real-time bullet screen label on a browser screen, and after the real-time bullet screen information is played, performing step S5;
the real-time bullet screen label can indicate that the bullet screen information is real-time bullet screen information and distinguishes the real-time bullet screen information from historical bullet screen information, for example: prefix information can be adopted, wherein the prefix information is 'within 3 seconds' and is displayed in red;
step S5, clearing the real-time bullet screen label (because the bullet screen has no real-time performance), and adding the real-time bullet screen information into the historical bullet screen list;
and step S6, if the video is replayed or the playing time jumps in the video playing process, the step S5 is carried out, all real-time bullet screen labels are immediately cleared, and all real-time bullet screen information is added into the historical bullet screen list.
When a user watches a video, if the user sees real-time bullet screen information with a real-time bullet screen label, the user can intuitively feel that other users watch the video together at the moment, and can respond to the real-time bullet screen information in real time, for example: and sending the bullet screen information, or contacting the bullet screen information according to a contact way provided by the real-time bullet screen sender, and the like.
The method and the device realize the intercommunication of the bullet screen information among multiple users during video playing, optimize the problem that the historical bullet screen and the instant bullet screen in the prior art are not distinguished, and the users cannot judge the instantaneity of the bullet screen, enhance the interactivity of the bullet screen video and improve the user experience.
While the present invention has been described in detail with reference to the preferred embodiments, it should be understood that the above description should not be taken as limiting the invention. Various modifications and alterations to this invention will become apparent to those skilled in the art upon reading the foregoing description. Accordingly, the scope of the invention should be determined from the following claims.

Claims (6)

1. A real-time barrage interaction method is characterized by comprising the following steps: receiving real-time bullet screen information through a real-time bullet screen channel between a browser and a server, if the received real-time bullet screen information is in a set time interval, adding a real-time bullet screen label to the real-time bullet screen information, and directly displaying the real-time bullet screen information added with the real-time bullet screen label on a browser screen; a user watching the video responds to the real-time bullet screen information with the real-time bullet screen label in real time; and after the real-time bullet screen information is played, clearing the real-time bullet screen label, and adding the real-time bullet screen information into the historical bullet screen list.
2. The real-time barrage interaction method of claim 1, wherein the real-time barrage channel is a full-duplex communication channel between a browser and a server, which is implemented by using a Socket protocol or a WebSocket protocol.
3. The real-time bullet screen interaction method of claim 1, wherein said real-time bullet screen information comprises: video time when the barrage was sent, barrage message, barrage sender, barrage mode, and other unnecessary messages.
4. The real-time bullet screen interaction method as claimed in claim 1, wherein said set time interval is a specific time interval before and after the current playing time obtained through the page player interface.
5. The real-time bullet screen interaction method of claim 1, wherein said real-time bullet screen label is a label that can indicate that the bullet screen information is real-time bullet screen information and distinguish the real-time bullet screen information from historical bullet screen information.
6. The real-time bullet screen interaction method as claimed in any one of claims 1-5, wherein when the video is replayed or the playing time is jumped during the video playing process, all real-time bullet screen labels are immediately cleared, and all real-time bullet screen information is added into the historical bullet screen list.
CN201610974125.3A 2016-11-07 2016-11-07 Real-time bullet screen interaction method Active CN106454538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610974125.3A CN106454538B (en) 2016-11-07 2016-11-07 Real-time bullet screen interaction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610974125.3A CN106454538B (en) 2016-11-07 2016-11-07 Real-time bullet screen interaction method

Publications (2)

Publication Number Publication Date
CN106454538A CN106454538A (en) 2017-02-22
CN106454538B true CN106454538B (en) 2020-09-25

Family

ID=58181059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610974125.3A Active CN106454538B (en) 2016-11-07 2016-11-07 Real-time bullet screen interaction method

Country Status (1)

Country Link
CN (1) CN106454538B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521579B (en) * 2018-03-06 2020-12-11 阿里巴巴(中国)有限公司 Bullet screen information display method and device
CN110752983B (en) * 2019-10-12 2022-05-20 杭州网易云音乐科技有限公司 Interaction method, device, interface, medium and computing equipment
CN112954407A (en) * 2021-04-23 2021-06-11 中国建设银行股份有限公司 Bullet screen interaction method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105120006A (en) * 2015-09-11 2015-12-02 百度在线网络技术(北京)有限公司 Live commenting control method, live commenting server and live commenting control device for electronic readings
CN105847986A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Real-time music commenting method and system
CN105898375A (en) * 2016-07-01 2016-08-24 上海幻电信息科技有限公司 Barrage pushing system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10458758B2 (en) * 2015-01-20 2019-10-29 Brian D. Miller Electronic audible feedback bullet targeting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967876A (en) * 2014-09-30 2015-10-07 腾讯科技(深圳)有限公司 Pop-up information processing method and apparatus, and pop-up information display method and apparatus
CN105120006A (en) * 2015-09-11 2015-12-02 百度在线网络技术(北京)有限公司 Live commenting control method, live commenting server and live commenting control device for electronic readings
CN105847986A (en) * 2016-02-01 2016-08-10 乐视移动智能信息技术(北京)有限公司 Real-time music commenting method and system
CN105898375A (en) * 2016-07-01 2016-08-24 上海幻电信息科技有限公司 Barrage pushing system and method

Also Published As

Publication number Publication date
CN106454538A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
KR101852893B1 (en) Information pushing method, device, and system
KR101428353B1 (en) Event based social networking application
US10397647B2 (en) System and method for delivering interactive trigger events
CN109005422B (en) Video comment processing method and device
US20230144936A1 (en) Smart screen reverse projection method, system, device, smart screen and readable storage medium
CN106454538B (en) Real-time bullet screen interaction method
CN105163193B (en) comment information sharing method and device for video-on-demand played by smart television
US11196691B2 (en) Method and apparatus for distributing content to communication devices
US11210700B2 (en) Method and apparatus for managing advertisements
CN109428864B (en) Method and device for improving quality of nginx-rtmp pull flow service
US20230362115A1 (en) Image display method and apparatus, storage medium, and electronic device
CN110545457A (en) Video playing method, video playing system, terminal equipment and storage medium
US10219043B2 (en) Sharing video content from a set top box through a mobile phone
CN104469248A (en) Video session method and device, server and terminal
US11153627B2 (en) System and method for switching video presentations between devices
CN111835988B (en) Subtitle generation method, server, terminal equipment and system
CN106162234A (en) A kind of method and device sharing TV programme
JP6219531B2 (en) Television program image frame capture device, television program image frame acquisition device, system and method
CN107835446B (en) Media state presentation and control method and device
KR102096733B1 (en) Video reproduction service method and server
CN104079959A (en) Program picture publishing method and program picture publishing system
KR20180095172A (en) Apparatus and method for managing state of device receiving multimedia contents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant