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

Real-time bullet screen interaction method Download PDF

Info

Publication number
CN106454538A
CN106454538A CN201610974125.3A CN201610974125A CN106454538A CN 106454538 A CN106454538 A CN 106454538A CN 201610974125 A CN201610974125 A CN 201610974125A CN 106454538 A CN106454538 A CN 106454538A
Authority
CN
China
Prior art keywords
real
time
barrage
information
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610974125.3A
Other languages
Chinese (zh)
Other versions
CN106454538B (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 Huandian Information Technology Co Ltd
Original Assignee
Shanghai Huandian 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 Huandian Information Technology Co Ltd filed Critical Shanghai Huandian 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

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

Abstract

The invention provides a real-time bullet screen interaction method. The real-time bullet screen interaction method comprises 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 within a set time interval, adding a real-time bullet screen label on the real-time bullet screen information, and directly displaying the real-time bullet screen information with the added real-time bullet screen label on a screen of the browser. By adoption of the real-time bullet screen interaction method provided by the invention, bullet screen exchange among multiple users in a video playing process is achieved, the problem that historical bullet screens and instant bullet screens are not distinguished resulting in that users cannot judge the instantaneity of the bullet screens in the prior art is solved, the interactivity of bullet screen videos is enhanced, and the user experience is improved.

Description

A kind of real-time barrage interactive approach
Technical field
The present invention relates to a kind of real-time barrage interactive approach.
Background technology
Barrage refer to a kind of when watching video, the comment being presented with captions form in a large number is with video with a picture Phenomenon.The comment sailed in a large number above video is as intensive shell, therefore barrage of gaining the name.Barrage can be real with the broadcasting of video When present on video, such user watch this video when it can be seen that other users and oneself send barrage.
Barrage brags about sharing of real-time, and operational mode comprises two parts in fact:Part I is historical review.Due to The quantity of each video comments simultaneously differs, so a lot of barrage function takes the output to realize barrage of the pattern of storage.? That is all users are stored for the comment of some node of video in different periods.In certain specific user After opening video, run to corresponding video time, these comments will be demonstrated out, cause the user is a kind of to be exchanged in real time Experience.After the number of reviews of storage is enough, then new comment can substitute old comment.Part II is to comment in real time By when user sends comment, server arrives historical review list by commenting on storage, and passes through Socket or WebSocket agreement Set up the full-duplex communication passage of browser and server, be pushed to all users watching this video with browser end, After browser front-end processing, this real-time barrage is added to comment list, runs to corresponding video time, this comment Will be demonstrated out.
User when watching video, in same time point, can show simultaneously, Yong Huwu by history barrage and real-time barrage Method distinguishes history barrage and real-time barrage, because user cannot judge the real-time of barrage, just cannot select current real-time bullet Curtain carries out interaction, reduces Consumer's Experience.
Content of the invention
The present invention provide a kind of real-time barrage interactive approach it is achieved that in video playback the barrage information between multi-user Intercommunication, optimizes history barrage and instant barrage in prior art and no distinguishes, user cannot judge the problem of barrage real-time, increases Strong barrage video interactive, improve Consumer's Experience.
In order to achieve the above object, the present invention provides a kind of real-time barrage interactive approach, comprises the steps of:By browsing The real-time barrage information of real-time barrage channel reception between device server, if the real-time barrage information receiving is in setting In time interval, then real-time barrage label is added on real-time barrage information, and the real-time bullet of real-time barrage label will be with the addition of Curtain information is directly illustrated on browser screen.
Described real-time barrage passage is the browser and server using Socket agreement or WebSocket protocol realization Between full-duplex communication passage.
Described real-time barrage packet contains:Video time when barrage sends, barrage message, barrage sender, barrage Pattern and other nonessential message.
Described setting time interval be the current play time that obtained by page player interface before and after specific when Between interval.
Described real-time barrage label is to can show that this barrage information is real-time barrage information and by real-time barrage information The label distinguished with history barrage information phase.
Barrage information finishes in real time, removes real-time barrage label, this real-time barrage information is added to history barrage In list.
When screen is replayed or the reproduction time that jumped in video display process, then remove all of real-time barrage immediately Label, whole real-time barrage information is added in history barrage list.
The user of viewing video is responded immediately to the real-time barrage information with real-time barrage label.
Present invention achieves in video playback the barrage information mutual communication between multi-user, optimize history in prior art Barrage and instant barrage are no distinguished, and user cannot judge the problem of barrage real-time, enhance the interactive of barrage video, improve Consumer's Experience.
Brief description
Fig. 1 is the flow chart of a kind of real-time barrage interactive approach that the present invention provides.
Specific embodiment
Illustrate presently preferred embodiments of the present invention below according to Fig. 1.
As shown in figure 1, the present invention provides a kind of real-time barrage interactive approach, comprise the steps of:
Step S1, commence play out video, browser sends request to server, obtain history barrage list, be continuously added to regard In frequency;
Step S2, set up real-time barrage passage between browser and server, by the real-time barrage of real-time barrage channel reception Information;
Described real-time barrage passage be using the browser and server of Socket or WebSocket protocol realization between complete Duplex communication passage, in this passage, the feedback of message is almost undelayed, and the concrete situation that postpones is according to network condition kimonos Business device performance determines;
Also known as " socket ", application program generally sends request by " socket " to network or answers described Socket agreement Answer network request, make on network two programs realize the exchange of data by a two-way communication connection;Described WebSocket agreement is a kind of new agreement of HTML5, and it achieves browser and server full-duplex communication, browser and Server only needs to once shake hands, and sets up an express passway, just directly can mutually transfer data between the two;
Described real-time barrage packet contains:Video time when barrage sends, barrage message, barrage sender, barrage pattern And other nonessential message;
It is interval interior, if it is, carrying out step whether the real-time barrage information that step S3, judgement receive is in setting time S4, if it is not, then carry out step S5;
Described setting time interval is the special time area in front and back of the current play time being obtained by page player interface Between, for example:Current play time is 6 seconds, setting before and after special time interval range be 10 seconds, then the video time 1-11 second be Setting time is interval, and before and after setting, the interval special scenes by this technology application of special time determine;
Step S4, real-time barrage label is added on real-time barrage information, and the real-time barrage of real-time barrage label will be with the addition of Information is directly illustrated on browser screen, after real-time barrage information finishes, carries out step S5;
Described real-time barrage label be can show that this barrage information be real-time barrage information and by real-time barrage information with go through The label that history barrage information phase is distinguished, for example:Prefix information can be adopted, for " in 3 seconds " and prefix information mark is red for prefix information Display;
Step S5, the real-time barrage label of removing(Because this barrage has no longer had real-time), this real-time barrage information is added It is added in history barrage list;
If step S6 screen is replayed or the reproduction time that jumped in video display process, carry out step S5, immediately clearly Except all of real-time barrage label, whole real-time barrage information is added in history barrage list.
When user is when watching video, if seeing the real-time barrage information with real-time barrage label, Ke Yizhi Perception is had other users to watch video it is possible to immediately respond to this real-time barrage information, example by this moment together As:Send barrage information, or, contacted with it according to the contact method that real-time barrage sender provides, etc..
Present invention achieves in video playback the barrage information mutual communication between multi-user, optimize history in prior art Barrage and instant barrage are no distinguished, and user cannot judge the problem of barrage real-time, enhance the interactive of barrage video, improve Consumer's Experience.
Although present disclosure has been made to be discussed in detail by above preferred embodiment, but it should be appreciated that above-mentioned Description is not considered as limitation of the present invention.After those skilled in the art have read the above, for the present invention's Multiple modifications and substitutions all will be apparent from.Therefore, protection scope of the present invention should be limited to the appended claims.

Claims (8)

1. a kind of real-time barrage interactive approach is it is characterised in that comprise the steps of:By the reality between browser and server When barrage channel reception real-time barrage information, if the real-time barrage information receiving be in setting time interval in, in reality When barrage information on add real-time barrage label, and the real-time barrage information that with the addition of real-time barrage label is directly illustrated in clear Look on device screen.
2. as claimed in claim 1 in real time barrage interactive approach it is characterised in that described real-time barrage passage is to adopt Full-duplex communication passage between the browser and server of Socket agreement or WebSocket protocol realization.
3. as claimed in claim 1 in real time barrage interactive approach it is characterised in that described real-time barrage packet contains:Bullet Video time when curtain sends, barrage message, barrage sender, barrage pattern and other nonessential message.
4. as claimed in claim 1 in real time barrage interactive approach it is characterised in that described setting time interval is by page Before and after the current play time that face player interface obtains, special time is interval.
5. as claimed in claim 1 in real time barrage interactive approach it is characterised in that described real-time barrage label is being capable of table This barrage information bright is real-time barrage information and the label distinguishing real-time barrage information with history barrage information phase.
6. barrage interactive approach, it is characterised in that real-time barrage information finishes, is removed in real time as claimed in claim 1 Barrage label, this real-time barrage information is added in history barrage list in real time.
7. the real-time barrage interactive approach as described in any one in claim 1-6 it is characterised in that when screen replay or Jumped in video display process reproduction time, then remove all of real-time barrage label immediately, by whole real-time barrages Information is added in history barrage list.
8. the real-time barrage interactive approach as described in any one in claim 7 is it is characterised in that watch the user couple of video The real-time barrage information with real-time barrage label is responded immediately.
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 true CN106454538A (en) 2017-02-22
CN106454538B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521579A (en) * 2018-03-06 2018-09-11 优酷网络技术(北京)有限公司 The display methods and device of barrage information
CN110752983A (en) * 2019-10-12 2020-02-04 杭州网易云音乐科技有限公司 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 (5)

* 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
US20160313097A1 (en) * 2015-01-20 2016-10-27 Brian D. Miller Electronic audible feedback bullet targeting system

Patent Citations (5)

* 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
US20160313097A1 (en) * 2015-01-20 2016-10-27 Brian D. Miller Electronic audible feedback bullet targeting system
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521579A (en) * 2018-03-06 2018-09-11 优酷网络技术(北京)有限公司 The display methods and device of barrage information
CN108521579B (en) * 2018-03-06 2020-12-11 阿里巴巴(中国)有限公司 Bullet screen information display method and device
CN110752983A (en) * 2019-10-12 2020-02-04 杭州网易云音乐科技有限公司 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

Also Published As

Publication number Publication date
CN106454538B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN109922377B (en) Play control method and device, storage medium and electronic device
CN106254462B (en) Method, server and system for realizing remote assistance of mobile terminal
WO2017206398A1 (en) Method and device for video sharing
KR101852893B1 (en) Information pushing method, device, and system
CN104918105B (en) More screen playing methods, equipment and the system of media file
CN109889543A (en) Method, root node, child node, P2P server and the system of transmission of video
CN104602098A (en) Video barrage display method and equipment thereof
CN104902295B (en) Intelligent television service implementation method, terminal device and system
CN104602133A (en) Multimedia file shearing method and terminal as well as server
CN108429918A (en) The method and apparatus of net cast
CN105530535A (en) Method and system capable of realizing multi-person video watching and real-time interaction
CN102547443A (en) Resource sharing and interaction realizing method of multi-terminal system
CN106488253A (en) Live video interactive data processing method and processing device
CN103607607A (en) Household intelligent equipment-based multi-screen coordination system and realization method thereof
CN104754370B (en) Multimedia data transmission method, device, client and the system of cross-terminal
CN103167327A (en) Method, device and system of information interaction
CN106454538A (en) Real-time bullet screen interaction method
WO2014190655A1 (en) Application synchronization method, application server and terminal
CN109714622A (en) A kind of video data handling procedure, device and electronic equipment
CN103747326A (en) Continuous playing method and device for multimedia file
CN104301400B (en) Multi-screen collaboration and resource share method based on Samba agreements
CN104540018A (en) Method and device for processing video abnormal playing data of network television
EP3316593B1 (en) Method and device for implementing synchronous playing
CN109756744A (en) Data processing method, electronic equipment and computer storage medium
CN106792237B (en) Message display method and system

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