CN108200479A - Playback method, server and the barrage play system of barrage based on streaming document - Google Patents
Playback method, server and the barrage play system of barrage based on streaming document Download PDFInfo
- Publication number
- CN108200479A CN108200479A CN201810061353.0A CN201810061353A CN108200479A CN 108200479 A CN108200479 A CN 108200479A CN 201810061353 A CN201810061353 A CN 201810061353A CN 108200479 A CN108200479 A CN 108200479A
- Authority
- CN
- China
- Prior art keywords
- barrage
- subflow
- area
- document
- user terminal
- 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
Links
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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- 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/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- 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/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention proposes a kind of playback method of the barrage based on streaming document, server and barrage play system.The present invention is laid out according to the display of streaming document, the play area of streaming document is divided to different regions, and will a wherein region as barrage play area, and according to streaming document play area mobility status, judge and select to play and the relevant barrage content of the current reading content of user, so as to substantially increase Interactive Experience of the user in streaming document process is read.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of playback method of the barrage based on streaming document, clothes
Business device and barrage play system.
Background technology
Streaming document, relative to format document, the word, number, table and the graph image that are included in document carry out spy
Fixed version row's mode is handled, and the content after preservation is original editor's element, after user can view editor by ocr software
Typesetting style, and adaptive space of a whole page size can be shown between different zoom ratios.In the e-book reading of the small screen
Performance then best is can to adjust the line feed of paragraph according to screen width with suitable to initial space of a whole page automatic re-arrangement after amplifying on device
Answer the field range of single page.So as to rely on the development of intelligent terminal, streaming document is constantly favored by user.
With the development of Internet technology, the convenience of information interchange is constantly promoted, and user reads streaming in internet
While document, will also tend to generate it is strong pour out or interactive demand, to express the thoughts for current reading content.It passes
The comment interaction mode of system can allow user to be forced in interruption reading article and can not meet pouring out for oneself and one is selected in demand,
Comment area is gone to pour out or understand other people viewpoint once jumping out read scene at the moment, reading will be interrupted, can not be obtained
Smoothly reading experience, most people can select to abandon pouring out and continue to read text;It is poured out even if user goes to comment area to find
The viewpoint of oneself sees other people viewpoint to meet the needs of oneself obtains acceptance, as having left first
Scape, it is difficult to see that other have similary passage or picture the identical comment for pouring out demand.
Invention content
To solve the above problems, the present invention proposes that playback method, server and the barrage of the barrage based on streaming document are broadcast
Place system.The present invention is laid out according to the display of streaming document, and the play area of streaming document divides to different regions, and by its
Zhong-1 block domain as barrage play area, and according to streaming document play area mobility status, judge and select play with
The relevant barrage content of the current reading content of user, so as to substantially increase interaction of the user in streaming document process is read
Experience property.
Specifically, one aspect of the present invention provides a kind of playback method of the barrage based on streaming document, including following step
Suddenly:
The play area of the streaming document is at least divided into a first area and a second area;
The first area is set as barrage play area;
Using the paragraph identifier of the streaming document as separator, the streaming document is divided into multiple subflow formula texts
Shelves, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document;
When detecting that a first position identifier enters the first area, play the first position identifier and marked
Barrage in the first barrage pond associated by one first subflow formula document known;
When detecting that a second position identifier enters the first area, stop playing in the first barrage pond
Barrage plays the bullet in the second barrage pond associated by the one second subflow formula document that the second position identifier is identified
Curtain.
Preferably, it further includes:During the subflow formula document flows through the play area, the subflow formula is shown
The quantity of the barrage in the barrage pond associated by document.
Preferably, in the side of the play area, the location identifier of each subflow formula document is corresponded to
In row, a quantity display area is set, the bullet associated by the subflow formula document is shown in the quantity display area
The quantity of the barrage in curtain pond.
Preferably, when the quantity of the barrage in the barrage pond associated by the subflow formula document is more than 99,
The quantity for showing the barrage in the barrage pond associated by the subflow formula document is 99.
Preferably, when the subflow formula document flows through the play area, a triggering command is captured;
It generates an input frame and is shown in display interface;
The information data that is inputted by the input frame is captured, by described information data and the subflow formula document associations,
And it is stored in barrage pond associated with the subflow formula document.
Preferably, the playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
Preferably, the broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside it is upward
Side is uniformly rolled with a pre-set velocity.
Preferably, the first area is reading field, positioned at the top of play area, the second area include one
Reading field and a non-reading field are sequentially located at the middle part and lower part of play area.
Preferably, by the reading field, described in reading field and the non-reading field is shown as different colors.
Preferably, it further includes, when detecting that the first subflow formula document leaves the first area, and without another completely
When location identifier enters the first area, stop playing the barrage in the first barrage pond.
Another aspect of the present invention is, provides a kind of playback method of the barrage based on streaming document, which is characterized in that
The playback method is applied between server and user terminal, and the playback method includes the following steps:
The play area that the server is shown in the streaming document of the user terminal is at least divided into one first
Region and a second area;
The first area is set as barrage play area by the server;
The streaming document is divided into multiple by the server using the paragraph identifier of the streaming document as separator
Subflow formula document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document;
When the user terminal detects that a first position identifier enters the first area, sent to the server
One first request;
The server asks to send what the first position identifier was identified to the user terminal according to described first
The barrage in the first barrage pond associated by one first subflow formula document;
Barrage of the user terminal in the barrage play area plays the first barrage pond;
When the user terminal detects that a second position identifier enters the first area, sent to the server
One second request;
The server asks to send what the second position identifier was identified to the user terminal according to described second
The barrage in the second barrage pond associated by one second subflow formula document;
The user terminal stops playing the barrage in the first barrage pond, plays the barrage in the second barrage pond.
Preferably, it further includes,
During the subflow formula document flows through the play area, the server obtains the subflow formula document
The quantity of the barrage in the associated barrage pond is simultaneously sent to the user terminal, and the user terminal shows the barrage
Quantity.
Preferably, the side of the play area that the server is shown in the user terminal, it is corresponding each described
In the row of the location identifier of subflow formula document, a quantity display area is set, the user terminal is shown in the quantity
The quantity of the barrage in the barrage pond associated by the subflow formula document is shown in region.
Preferably, when the quantity of the barrage in the barrage pond associated by the subflow formula document is more than 99,
The number of the barrage of the server into the barrage pond associated by the subflow formula document that the user terminal is sent
Measure is 99.
Preferably, when the subflow formula document flows through the play area, the user terminal captures a triggering command;
The user terminal generates an input frame and is shown in the display interface of the user terminal;
The information data that the user terminal capture is inputted by the input frame, is sent to the server;
Described information data and the subflow formula document associations are stored in the server and institute by the server
It states in the associated barrage pond of subflow formula document.
Preferably, the playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
Preferably, the broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside it is upward
Side is uniformly rolled with a pre-set velocity.
Preferably, the first area is reading field, positioned at the top of play area, the second area include one
Reading field and a non-reading field are sequentially located at the middle part and lower part of play area.
Preferably, the server is by the reading field, described in reading field and the non-reading field is set as different
Display color, the user terminal in its display interface respectively with the display color show the reading field, it is described
Reading field and the non-reading field.
Preferably, it further includes, when the server detects that the first subflow formula document symbol leaves described first completely
Region, and when entering the first area without another location identifier, stop sending the first barrage pond to the user terminal
In barrage, the user terminal stops playing the barrage in the first barrage pond.
Another aspect of the present invention is to provide a kind of server, including processor and storage device, the storage device
In be stored with computer program, which is characterized in that the processor is called and is realized when performing the computer program above-mentioned
The playback method of barrage based on streaming document.
Another aspect of the present invention is, provides a kind of barrage play system based on streaming document, which is characterized in that institute
It states barrage play system and includes server and user terminal;
The play area that the server is shown in the streaming document of the user terminal is at least divided into one first
Region and a second area;
The first area is set as barrage play area by the server;
The streaming document is divided into multiple by the server using the paragraph identifier of the streaming document as separator
Subflow formula document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document;
When the user terminal detects that a first position identifier enters the first area, sent to the server
One first request;
The server asks to send what the first position identifier was identified to the user terminal according to described first
The barrage in the first barrage pond associated by one first subflow formula document;
Barrage of the user terminal in the barrage play area plays the first barrage pond;
When the user terminal detects that a second position identifier enters the first area, sent to the server
One second request;
The server asks to send what the second position identifier was identified to the user terminal according to described second
The barrage in the second barrage pond associated by one second subflow formula document;
The user terminal stops playing the barrage in the first barrage pond, plays the barrage in the second barrage pond.
Preferably, it further includes,
During the subflow formula document flows through the play area, the server obtains the subflow formula document
The quantity of the barrage in the associated barrage pond is simultaneously sent to the user terminal, and the user terminal shows the barrage
Quantity.
Preferably, the side of the play area that the server is shown in the user terminal, it is corresponding each described
In the row of the location identifier of subflow formula document, a quantity display area is set, the user terminal is shown in the quantity
The quantity of the barrage in the barrage pond associated by the subflow formula document is shown in region.
Preferably, when the quantity of the barrage in the barrage pond associated by the subflow formula document is more than 99,
The number of the barrage of the server into the barrage pond associated by the subflow formula document that the user terminal is sent
Measure is 99.
Preferably, when the subflow formula document flows through the play area, the user terminal captures a triggering command;
The user terminal generates an input frame and is shown in the display interface of the user terminal;
The information data that the user terminal capture is inputted by the input frame, is sent to the server;
Described information data and the subflow formula document associations are stored in the server and institute by the server
It states in the associated barrage pond of subflow formula document.
Preferably, the playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
Preferably, the broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside it is upward
Side is uniformly rolled with a pre-set velocity.
Preferably, the first area is reading field, positioned at the top of play area, the second area include one
Reading field and a non-reading field are sequentially located at the middle part and lower part of play area.
Preferably, the server is by the reading field, described in reading field and the non-reading field is set as different
Display color, the user terminal in its display interface respectively with the display color show the reading field, it is described
Reading field and the non-reading field.
Preferably, it further includes, when the server detects that the first subflow formula document symbol leaves described first completely
Region, and when entering the first area without another location identifier, stop sending the first barrage pond to the user terminal
In barrage, the user terminal stops playing the barrage in the first barrage pond.
After employing above-mentioned technical proposal, compared with prior art, have the advantages that:
1. playing the relevant barrage of streaming document content read with user in the play area of streaming document, user is improved
Interactive Experience;
2. it is related to user's reading content to improve broadcasting barrage for the broadcasting unit using the paragraph of streaming document as barrage
Property;
3. display plays the quantity of barrage, user is made to predict the concerned situation of each paragraph of streaming document.
Description of the drawings
Fig. 1 is the flow signal for the playback method for meeting the barrage based on streaming document in one embodiment of the present invention
Figure;
Fig. 2 is the flow signal of the playback method for the barrage based on streaming document for meeting another preferred embodiment of the present invention
Figure;
Fig. 3 is the flow diagram of a method for delivering barrage for meeting one embodiment of the present invention.
Specific embodiment
The advantages of the present invention is further explained below in conjunction with attached drawing and specific embodiment.
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure.
" one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining "
In the description of the present invention, it is to be understood that term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear",
The orientation or position relationship of the instructions such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on attached drawing institutes
The orientation or position relationship shown is for only for ease of the description present invention and simplifies description rather than instruction or imply signified dress
It puts or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limit of the invention
System.
In the description of the present invention, it is to be understood that the number designation before step, which does not identify, performs the front and rear of step
Sequentially, it is only used for facilitating the description present invention and each step of difference, therefore be not considered as limiting the invention.
The present invention to solve in the existing critiquing approach based on streaming document, with streaming document broadcast by comment display area
Region disengaging is put, pouring out and the defects of Interactive Experience for user is influenced, on the one hand proposes a kind of barrage based on streaming document
Playback method.Refering to Fig. 1, the playback method for the barrage based on streaming document for meeting one embodiment of the present invention for one
Flow diagram, it can be seen from the figure that the playback method of the barrage provided in the present embodiment mainly includes the following steps that:
S1:The play area of the streaming document is at least divided into a first area and a second area
The present embodiment is practical to provide a kind of method that barrage is played in the read interface of streaming streaming document, based on above-mentioned
Purpose in the present embodiment, by the play area of streaming document based on certain reference standard, is divided at least two regions, should
Reference standard can be streaming document by reading conditions, the position of play area, reading habit of user etc..
S2:The first area is set as barrage play area
Based on the dividing condition of above-mentioned play area, and reading convenience based on user considers, will a wherein region, such as
One first area is set as the play area of barrage in the present embodiment, for showing currently playing barrage.
S3:Using the paragraph identifier of the streaming document as separator, the streaming document is divided into multiple subflow formulas
Document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document
The correlation of streaming document currently read with user to improve played barrage in the present embodiment, will flow
Formula document is according to paragraph segmentation.So as to which the paragraph identifier by the use of streaming document is identified as segmentation, and streaming document is divided paragraph by paragraph
It cuts, and using the paragraph identifier of streaming document as the location identifier of each subflow formula document, is being played in subflow formula document
When region is flowed, according to the location identifier of the subflow formula document in the position that play area occurs, the subflow formula document is judged
Current location.
S4:When detecting that a first position identifier first enters the first area, the first position mark is played
Know the barrage in the barrage pond associated by the subflow formula document that symbol is identified
Based on the segmentation in above-mentioned steps, when detecting a first position identifier, first area namely bullet are initially entered
During curtain play area, in the present embodiment, when the time of origin of the event is set as the starting that barrage plays in a new barrage pond
Between, so as to start to play the bullet in the barrage pond associated by the subflow formula document that the first position identifier is identified
Curtain.
S5:When detecting that a second position identifier enters the first area, stop playing the first barrage pond
In barrage, play in the second barrage pond associated by the one second subflow formula document that the second position identifier is identified
Barrage
Corresponding to step S4, in the present embodiment, a new location identifier is initially entered to the hair of the event of first area
The mark of barrage in the raw barrage pond new as broadcasting, while also serve as stopping playing the mark of the barrage in upper barrage pond.
So as to when detecting that a second position identifier enters first area namely barrage play area, stop playing first immediately
Barrage in barrage pond, and start to play second associated by the one second subflow formula document that the second position identifier is identified
Barrage in barrage pond.So as to improve the promptness that barrage plays, improve the Interactive Experience of user.
In addition, referring to Fig.2, it is the broadcasting side for the barrage based on streaming document for meeting another preferred embodiment of the present invention
The flow diagram of method.It can be seen from the figure that in the playback method of barrage provided in the present embodiment, following step is further included
Suddenly:
S6:During the subflow formula document flows through the play area, show associated by the subflow formula document
The barrage pond in the barrage quantity
In view of above-mentioned steps S6, when user reads streaming document, user is it can be seen that it has been read, reading or has incited somebody to action
The barrage quantity of the document content to be read can make user further appreciate that it had been read, and reading or will read
The concerned situation of document content, user can select to slow down the stream of a fairly large number of subflow formula document of barrage in association barrage pond
Dynamic speed, so as to reserve the sufficient time to read the comment that other users deliver the subflow formula document;And for associated
Barrage pond in barrage negligible amounts subflow formula document, user then may be selected suitably accelerates its flowing velocity etc., Jin Erke
User's fluid document is avoided to play too fast and miss effective barrage content.
Preferably, for above-mentioned steps S6, step is embodied as in an embodiment:
S6 ', in the side of the play area, the row of the location identifier of corresponding each subflow formula document
In, a quantity display area is set, the barrage associated by the subflow formula document is shown in the quantity display area
The quantity of the barrage in pond
That is, using where the location identifier of each subflow formula document of correspondence row as display the subflow formula document associated by
Barrage pond in barrage number of regions where row, the starting of the row where identifier or final position in the position, if
A quantity display area is put, the flowing of subflow formula document is followed in the quantity display area and moves and shows that one represents to be somebody's turn to do always
The numerical value of the quantity of the barrage in barrage pond associated by subflow formula document.
Preferably, for above-mentioned steps S6, in one embodiment, the barrage in barrage pond associated by group streaming document
Quantity when being substantially larger than 99, barrage in the barrage pond associated by the subflow formula document is also shown in numerical value display area
Quantity is 99.
In order to improve the Interactive Experience of user, the present invention also proposes a kind of method for delivering barrage, and user is made to read stream
While formula document, the thoughts and feelings to institute's reading content can be delivered in real time.Specifically, refering to Fig. 3, meet the present invention one for one
The flow diagram of the method for delivering barrage of preferred embodiment.It can be seen from the figure that in the present embodiment, what is provided delivers
The method of barrage specifically includes step:
S10 when the subflow formula document flows through the play area, captures a triggering command
User in streaming document process is read, if for a certain subflow formula document wish to make comments barrage when, can
In a manner of by such as clicking the subflow formula document any position, a triggering command is inputted, then at this point, user terminal is touched this is captured
Send instructions.
S20 generates an input frame and is shown in display interface
Then, user terminal will respond the triggering command, generate an input frame, and the input frame is shown in the aobvious of user terminal
Show in interface, user can then input its comment barrage for wishing to express in the input frame, can be text reviews, may also comprise
Facial expression image etc..
S30 captures the information data inputted by the input frame, and described information data and the subflow formula document are closed
Connection, and be stored in barrage pond associated with the subflow formula document
The information content that user terminal will further capture and read user and inputted by input frame, and the information content is turned
Computer-readable digital signal is changed to, is sent to server end, the received server-side digital signal, and by the digital signal
It is associated with corresponding subflow formula document, and the digital information after association is stored in barrage associated with the subflow formula document
Chi Zhong.
It preferably, can be according to settings such as the relevances of the receiving time of barrage, barrage and subflow formula document in the present invention
The playing sequence of barrage.
Preferably, in an embodiment, the playing sequence of barrage is, according to the receiving time of barrage, to play the bullet successively
Curtain.
Preferably, it in the present invention, can select from the lower to upper part of barrage play area or top to lower part sequence
Barrage is rolled, it can also be from the left side of barrage play area to the right or right side side roll barrage to the left.
Preferably, in an embodiment, the broadcast mode of the barrage is, from the right side of the barrage play area to the left
Side, downside are uniformly rolled to upside with a pre-set velocity.
Preferably, in an embodiment, above-mentioned first area is reading field, and second area includes one in reading field and one
Non- reading field.It should be appreciated that usually according to the general reading regularity of user, user's custom by the content currently read roll to
The middle part of play area, according to above-mentioned reading regularity, in the present embodiment, using one region of top of play area as reading area
Domain, one region of middle part are used as in reading field, and lower area is then non-reading field.
Preferably, in an embodiment, above-mentioned reading field is distinguished, in reading field and non-reading area using different colors
Domain, e.g., by reading field it is shown in green, reading field be shown as white, non-reading field it is shown in red, thereby using family more
Easily distinguish above three region.
Preferably, in order to further control the broadcasting of barrage, increase by one and stop the condition that barrage plays, in an embodiment,
One subflow formula document is left into barrage play area namely the event of first area completely, the subflow formula document is played as stopping
The condition of barrage in associated barrage pond.So as to when detecting that a subflow formula document leaves first area completely, even if simultaneously
When no another location identifier enters first area, a feedback is sent to server, server responds the feedback, stops sending bullet
Curtain, so as to which user terminal also stops playing the barrage in the first barrage pond.
Server disclosed in this invention, realizes above-described embodiment when the computer program of memory storage is executed by processor
Described in the step of, no longer additionally repeat herein.
In addition, it is being applied in the barrage play system based on streaming document based on server and user terminal built
When, can following steps be performed according to the characteristic of server and user terminal:
The play area that the server is shown in the streaming document of the user terminal is at least divided into one first
Region and a second area;
The first area is set as barrage play area by the server,
The streaming document is divided into multiple by the server using the paragraph identifier of the streaming document as separator
Subflow formula document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document;
When the user terminal detects that a first position identifier enters the first area, sent to the server
One first request;
The server asks to send what the first position identifier was identified to the user terminal according to described first
The barrage in the first barrage pond associated by one first subflow formula document;
Barrage of the user terminal in the barrage play area plays the first barrage pond;
When the user terminal detects that a second position identifier enters the first area, sent to the server
One second request;
The server asks to send what the second position identifier was identified to the user terminal according to described second
The barrage in the second barrage pond associated by one second subflow formula document;
The user terminal stops playing the barrage in the first barrage pond, plays the barrage in the second barrage pond.
Preferably, above-mentioned barrage play system further includes, and the process of the play area is flowed through in the subflow formula document
In, the server obtains the quantity of the barrage in the barrage pond associated by the subflow formula document and is sent to institute
User terminal is stated, the user terminal shows the quantity of the barrage.
Preferably, in above-mentioned barrage play system, the play area that the server is shown in the user terminal
Side, in the row of the location identifier of the corresponding each subflow formula document, a quantity display area, the use are set
Family end shows the number of the barrage in the barrage pond associated by the subflow formula document in the quantity display area
Amount.
Preferably, in above-mentioned barrage play system, described in the barrage pond associated by the subflow formula document
When the quantity of barrage is more than 99, the barrage associated by the subflow formula document that the server is sent to the user terminal
The quantity of the barrage in pond is 99.
Preferably, in above-mentioned barrage play system, when the subflow formula document flows through the play area, the user
One triggering command of end capture;
The user terminal generates an input frame and is shown in the display interface of the user terminal;
The information data that the user terminal capture is inputted by the input frame, is sent to the server;
Described information data and the subflow formula document associations are stored in the server and institute by the server
It states in the associated barrage pond of subflow formula document;
Preferably, in above-mentioned barrage play system, the playing sequence of the barrage is, according to the barrage reception when
Between, the barrage is played successively.
Preferably, in above-mentioned barrage play system, the broadcast mode of the barrage is, from the right side of the barrage play area
Lateral left side, downside are uniformly rolled to upside with a pre-set velocity.
Preferably, in above-mentioned barrage play system, the first area is reading field, positioned at the top of play area,
The second area includes one in reading field and a non-reading field, is sequentially located at the middle part and lower part of play area.
Preferably, in above-mentioned barrage play system, the server will described in reading field, described in reading field and described
Non- reading field is set as different display colors, and the user terminal shows institute with the display color respectively in its display interface
State reading field, described in reading field and the non-reading field.
Preferably, above-mentioned barrage play system further includes, when the server detects the first subflow formula document symbol
When leaving the first area completely, and entering the first area without another location identifier, stop sending out to the user terminal
Send the barrage in the first barrage pond;
The user terminal stops playing the barrage in the first barrage pond.
The application that specific embodiment will be discussed in detail to the present invention below.
Embodiment one
One provides the website operator of a reading platform based on streaming document, for the comment bullet for being sent out its user
The play area of curtain is combined with the play area of streaming document, provides an interactive stronger streaming document play mode,
The play area of streaming document according to the reading habit of user, is divided into such as reading area by the server end of the operator in advance
Domain sets different display colors in three regions of reading field, non-reading field, and for three regions, such as green, white, red;It will
Reading field therein is set as barrage play area, and the comment barrage that user delivers is allowed to be played in the barrage play area;
In server end, the streaming document which provides is divided into several subflow formulas text with its paragraph identifier
Shelves, and the paragraph identifier of each subflow formula document is set as its location identifier, for reflecting that each subflow formula document exists
When being flowed on the playing platform of user terminal, more specific location information;
In the initial conditions that server end, one barrage of setting play, the location identifier of a subflow formula document, which enters, have been read
During region, the barrage in barrage pond associated with the subflow formula document is played;And when the position of a new subflow formula document is marked
When knowing symbol into reading field, then start to play the barrage in the barrage pond of the new subflow formula document associations, and stop upper one
The broadcasting of barrage in a barrage pond;
Similarly, in server end, the broadcast mode of a barrage is set, e.g., by barrage from the right side of barrage play area,
According to the sequence for delivering the time of barrage, according to a mode, such as from bottom to top, from right to left with a uniform speed scroll bullet
Curtain;
So as to, when the user of the website is in the reading platform one streaming document of reading that user terminal is provided using the website,
The streaming document occurs since the white area of the play area of the reading platform, with the slide trigger of user, the streaming
One subflow formula document of document enters barrage play area;User terminal sends out a request to server;Server responds the request,
By with the barrage in the barrage pond of the subflow formula document associations, user terminal is sent to according to the time sequencing that it is delivered;User terminal
Play the barrage in the barrage pond with certain speed in the order described above, barrage in barrage play area from bottom to top, by
A dextrad left side is shown with a uniform speed scroll.With the progress that user reads, when one next sub- streaming document enters barrage
During play area, user terminal sends another request to server, and server responds the request, by next subflow formula document associations
Barrage pond in barrage be sent to user terminal, while do not retransmit the barrage in a barrage pond.
In addition, the broadcasting more effectively to control barrage, increases by a condition for stopping barrage and playing in server end in advance,
One subflow formula document is left into barrage play area namely the event of first area completely, the subflow formula document is played as stopping
The condition of barrage in associated barrage pond.Thus when user terminal detects that a subflow formula document leaves first area completely,
Even if when having no another location identifier and entering first area, a feedback is sent to server, server responds the feedback, stops
Barrage is sent, so as to which user terminal also stops playing the barrage in the first barrage pond.
Meanwhile understanding the concern situation of its streaming document read in advance for ease of user, operator is in server end
The play area for being set in advance in the streaming document sets the display area of a barrage quantity, such as in each subflow formula document
Location identifier row in the rightmost side, set a barrage quantity display area;
So as to which for user when user terminal reads streaming document, user terminal is in the rightmost side of the first trip of each subflow formula document
Show the quantity of barrage in the barrage pond of the subflow formula document associations.
In order to avoid barrage quantity is excessive, the display of subflow formula document is influenced during display, one is pre-set in server end
Display threshold, such as 99, then, when the quantity of the barrage in the barrage pond associated by a subflow formula document is more than 99, user terminal is shown
The quantity for showing the barrage in the barrage pond associated by the subflow formula document is the upper limit 99.
User can also upload its comment barrage to certain subflow formula document by user terminal, and user should by such as clicking
Any position of subflow formula barrage sends out a trigger action to user terminal, and user terminal responds the trigger action, one input of pop-up
Frame, after user inputs its comment barrage in the input frame, the content of the comment barrage is sent to server by user terminal, service
Device receives, and the comment barrage and the subflow formula document associations are stored into the barrage pond of the subflow formula document associations.
Above examples provide a kind of examples of the barrage playback method based on streaming document, are realized based on the above method
By merging for the play area for commenting on barrage and the play area of streaming document, user can also may be used while reading documents
The interactive situation of other users is paid close attention to, and comment barrage can be sent at any time by way of clicking streaming document, improves user
Interactive Experience in reading.
It should be noted that the embodiment of the present invention has preferable implementation, and not the present invention is made any type of
Limitation, any one skilled in the art change or are modified to possibly also with the technology contents of the disclosure above equivalent effective
Embodiment, as long as without departing from the content of technical solution of the present invention, what technical spirit according to the present invention made above example
Any modification or equivalent variations and modification, in the range of still falling within technical solution of the present invention.
Claims (31)
1. a kind of playback method of the barrage based on streaming document, which is characterized in that include the following steps:
The play area of the streaming document is at least divided into a first area and a second area,
The first area is set as barrage play area,
Using the paragraph identifier of the streaming document as separator, the streaming document is divided into multiple subflow formula documents, and
Using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document,
When detecting that a first position identifier enters the first area, play what the first position identifier was identified
The barrage in the first barrage pond associated by one first subflow formula document,
When detecting that a second position identifier enters the first area, stop playing the bullet in the first barrage pond
Curtain, plays the barrage in the second barrage pond associated by the one second subflow formula document that the second position identifier is identified.
2. playback method as described in claim 1, which is characterized in that
It further includes,
During the subflow formula document flows through the play area, the bullet associated by the subflow formula document is shown
The quantity of the barrage in curtain pond.
3. playback method as claimed in claim 2, which is characterized in that
In the side of the play area, the row of the location identifier of corresponding each subflow formula document, setting one
Quantity display area is shown in the quantity display area described in the barrage pond associated by the subflow formula document
The quantity of barrage.
4. playback method as claimed in claim 2, which is characterized in that
When the quantity of the barrage in the barrage pond associated by the subflow formula document is more than 99, the subflow is shown
The quantity of the barrage in the barrage pond associated by formula document is 99.
5. playback method as described in claim 1, which is characterized in that
When the subflow formula document flows through the play area, a triggering command is captured,
It generates an input frame and is shown in display interface,
The information data inputted by the input frame is captured, by described information data and the subflow formula document associations, and is deposited
It is stored in barrage pond associated with the subflow formula document.
6. playback method as described in claim 1, which is characterized in that
The playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
7. playback method as described in claim 1, which is characterized in that
The broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside to upside, with a default speed
Degree uniformly rolls.
8. playback method as described in claim 1, which is characterized in that
The first area is reading field, and positioned at the top of play area, the second area includes one in reading field and one
Non- reading field is sequentially located at the middle part and lower part of play area.
9. playback method as claimed in claim 8, which is characterized in that
By the reading field, described in reading field and the non-reading field is shown as different colors.
10. playback method as described in claim 1, which is characterized in that
It further includes,
When detecting that the first subflow formula document leaves the first area completely, and described in entering without another location identifier
During first area, stop playing the barrage in the first barrage pond.
11. a kind of playback method of the barrage based on streaming document, which is characterized in that the playback method be applied to server with
Between user terminal, the playback method includes the following steps:
The play area that the server is shown in the streaming document of the user terminal is at least divided into a first area
And a second area,
The first area is set as barrage play area by the server,
The server is divided into multiple subflows using the paragraph identifier of the streaming document as separator, by the streaming document
Formula document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document, work as institute
State user terminal detect a first position identifier enter the first area when, to the server send one first request,
The server asks send that the first position identifier identified to the user terminal one the according to described first
The barrage in the first barrage pond associated by one subflow formula document,
Barrage of the user terminal in the barrage play area plays the first barrage pond,
When the user terminal detects that a second position identifier enters the first area, one the is sent to the server
Two requests,
The server asks send that the second position identifier identified to the user terminal one the according to described second
The barrage in the second barrage pond associated by two subflow formula documents,
The user terminal stops playing the barrage in the first barrage pond, plays the barrage in the second barrage pond.
12. playback method as claimed in claim 11, which is characterized in that
It further includes,
During the subflow formula document flows through the play area, the server obtains the subflow formula document and is closed
The quantity of the barrage in the barrage pond of connection is simultaneously sent to the user terminal, and the user terminal shows the number of the barrage
Amount.
13. playback method as claimed in claim 12, which is characterized in that
The side of the play area that the server is shown in the user terminal, corresponding each subflow formula document
In the row of the location identifier, a quantity display area is set, the user terminal shows institute in the quantity display area
State the quantity of the barrage in the barrage pond associated by subflow formula document.
14. playback method as claimed in claim 12, which is characterized in that
When the barrage in the barrage pond associated by the subflow formula document quantity be more than 99 when, the server to
The quantity of the barrage in the barrage pond associated by the subflow formula document that the user terminal is sent is 99.
15. playback method as claimed in claim 11, which is characterized in that
When the subflow formula document flows through the play area, the user terminal captures a triggering command,
The user terminal generates an input frame and is shown in the display interface of the user terminal,
The information data that the user terminal capture is inputted by the input frame, is sent to the server,
Described information data and the subflow formula document associations are stored in the server and the son by the server
In the associated barrage pond of streaming document.
16. playback method as claimed in claim 11, which is characterized in that
The playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
17. playback method as claimed in claim 11, which is characterized in that
The broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside to upside, with a default speed
Degree uniformly rolls.
18. playback method as claimed in claim 11, which is characterized in that
The first area is reading field, and positioned at the top of play area, the second area includes one in reading field and one
Non- reading field is sequentially located at the middle part and lower part of play area.
19. playback method as claimed in claim 18, which is characterized in that
The server by the reading field, described in reading field and the non-reading field is set as different display colors,
The user terminal shows the reading field, described in reading field and described with the display color respectively in its display interface
Non- reading field.
20. playback method as claimed in claim 11, which is characterized in that
It further includes,
When the server detects that the first subflow formula document symbol leaves the first area completely, and is marked without another location
When knowing symbol into the first area, stop sending the barrage in the first barrage pond, the user terminal to the user terminal
Stop playing the barrage in the first barrage pond.
21. a kind of server including processor and storage device, is stored with computer program, feature in the storage device
It is, the processor calls and realizes that claim 1-7 any one of them such as is based on stream when performing the computer program
The playback method of the barrage of formula document.
22. a kind of barrage play system based on streaming document, which is characterized in that the barrage play system include server with
User terminal;
The play area that the server is shown in the streaming document of the user terminal is at least divided into a first area
And a second area,
The first area is set as barrage play area by the server,
The server is divided into multiple subflows using the paragraph identifier of the streaming document as separator, by the streaming document
Formula document, and using the paragraph identifier of the subflow formula document as the location identifier of each subflow formula document, work as institute
State user terminal detect a first position identifier enter the first area when, to the server send one first request,
The server asks send that the first position identifier identified to the user terminal one the according to described first
The barrage in the first barrage pond associated by one subflow formula document,
Barrage of the user terminal in the barrage play area plays the first barrage pond,
When the user terminal detects that a second position identifier enters the first area, one the is sent to the server
Two requests,
The server asks send that the second position identifier identified to the user terminal one the according to described second
The barrage in the second barrage pond associated by two subflow formula documents,
The user terminal stops playing the barrage in the first barrage pond, plays the barrage in the second barrage pond.
23. barrage play system as claimed in claim 22, which is characterized in that
It further includes,
During the subflow formula document flows through the play area, the server obtains the subflow formula document and is closed
The quantity of the barrage in the barrage pond of connection is simultaneously sent to the user terminal, and the user terminal shows the number of the barrage
Amount.
24. barrage play system as claimed in claim 23, which is characterized in that
The side of the play area that the server is shown in the user terminal, corresponding each subflow formula document
In the row of the location identifier, a quantity display area is set, the user terminal shows institute in the quantity display area
State the quantity of the barrage in the barrage pond associated by subflow formula document.
25. barrage play system as claimed in claim 23, which is characterized in that
When the barrage in the barrage pond associated by the subflow formula document quantity be more than 99 when, the server to
The quantity of the barrage in the barrage pond associated by the subflow formula document that the user terminal is sent is 99.
26. barrage play system as claimed in claim 22, which is characterized in that
When the subflow formula document flows through the play area, the user terminal captures a triggering command,
The user terminal generates an input frame and is shown in the display interface of the user terminal,
The information data that the user terminal capture is inputted by the input frame, is sent to the server,
Described information data and the subflow formula document associations are stored in the server and the son by the server
In the associated barrage pond of streaming document.
27. playback method as claimed in claim 22, which is characterized in that
The playing sequence of the barrage is, according to the receiving time of the barrage, to play the barrage successively.
28. playback method as claimed in claim 22, which is characterized in that
The broadcast mode of the barrage is, from the right side of the barrage play area to the left, downside to upside, with a default speed
Degree uniformly rolls.
29. barrage play system as claimed in claim 22, which is characterized in that
The first area is reading field, and positioned at the top of play area, the second area includes one in reading field and one
Non- reading field is sequentially located at the middle part and lower part of play area.
30. barrage play system as claimed in claim 29, which is characterized in that
The server by the reading field, described in reading field and the non-reading field is set as different display colors,
The user terminal shows the reading field, described in reading field and described with the display color respectively in its display interface
Non- reading field.
31. barrage play system as claimed in claim 22, which is characterized in that
It further includes,
When the server detects that the first subflow formula document symbol leaves the first area completely, and is marked without another location
When knowing symbol into the first area, stop sending the barrage in the first barrage pond, the user terminal to the user terminal
Stop playing the barrage in the first barrage pond.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810061353.0A CN108200479B (en) | 2018-01-22 | 2018-01-22 | Bullet screen playing method, server and bullet screen playing system based on streaming document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810061353.0A CN108200479B (en) | 2018-01-22 | 2018-01-22 | Bullet screen playing method, server and bullet screen playing system based on streaming document |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108200479A true CN108200479A (en) | 2018-06-22 |
CN108200479B CN108200479B (en) | 2020-02-28 |
Family
ID=62590674
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810061353.0A Active CN108200479B (en) | 2018-01-22 | 2018-01-22 | Bullet screen playing method, server and bullet screen playing system based on streaming document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108200479B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111479157A (en) * | 2020-04-07 | 2020-07-31 | 北京字节跳动网络技术有限公司 | Bullet screen display method and device, electronic equipment and computer storage medium |
CN111723315A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Auxiliary reading and displaying method and device and computing equipment |
CN111985478A (en) * | 2020-09-02 | 2020-11-24 | 深圳壹账通智能科技有限公司 | Text positioning playing method and device, computer equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254308A1 (en) * | 2011-03-11 | 2012-10-04 | Kno, Inc. | Apparatus and Method for Augmenting Digital Educational Content with Social Learning Tools |
WO2015119756A1 (en) * | 2014-02-04 | 2015-08-13 | Google Inc. | Persistent media player |
CN105120006A (en) * | 2015-09-11 | 2015-12-02 | 百度在线网络技术(北京)有限公司 | Live commenting control method, live commenting server and live commenting control device for electronic readings |
CN105373554A (en) * | 2014-08-25 | 2016-03-02 | 北京爱声声科技有限公司 | Mobile device webpage based screen popup method and system |
CN105743973A (en) * | 2016-01-22 | 2016-07-06 | 上海科牛信息科技有限公司 | Multi-user multi-device real-time synchronous cloud cooperation method and system |
CN107562680A (en) * | 2017-08-29 | 2018-01-09 | 广州阿里巴巴文学信息技术有限公司 | Data processing method, device and terminal device |
-
2018
- 2018-01-22 CN CN201810061353.0A patent/CN108200479B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254308A1 (en) * | 2011-03-11 | 2012-10-04 | Kno, Inc. | Apparatus and Method for Augmenting Digital Educational Content with Social Learning Tools |
WO2015119756A1 (en) * | 2014-02-04 | 2015-08-13 | Google Inc. | Persistent media player |
CN105373554A (en) * | 2014-08-25 | 2016-03-02 | 北京爱声声科技有限公司 | Mobile device webpage based screen popup method and system |
CN105120006A (en) * | 2015-09-11 | 2015-12-02 | 百度在线网络技术(北京)有限公司 | Live commenting control method, live commenting server and live commenting control device for electronic readings |
CN105743973A (en) * | 2016-01-22 | 2016-07-06 | 上海科牛信息科技有限公司 | Multi-user multi-device real-time synchronous cloud cooperation method and system |
CN107562680A (en) * | 2017-08-29 | 2018-01-09 | 广州阿里巴巴文学信息技术有限公司 | Data processing method, device and terminal device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111723315A (en) * | 2019-03-18 | 2020-09-29 | 阿里巴巴集团控股有限公司 | Auxiliary reading and displaying method and device and computing equipment |
CN111479157A (en) * | 2020-04-07 | 2020-07-31 | 北京字节跳动网络技术有限公司 | Bullet screen display method and device, electronic equipment and computer storage medium |
US11856266B2 (en) | 2020-04-07 | 2023-12-26 | Beijing Bytedance Network Technology Co., Ltd. | Bullet-screen comment display method and apparatus, electronic device, and computer storage medium |
CN111985478A (en) * | 2020-09-02 | 2020-11-24 | 深圳壹账通智能科技有限公司 | Text positioning playing method and device, computer equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108200479B (en) | 2020-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107181976B (en) | Bullet screen display method and electronic equipment | |
CN107948761B (en) | Bullet screen play control method, server and bullet screen play control system | |
WO2017063364A1 (en) | Method of automatically playing back video list and device utilizing same | |
CN108200479A (en) | Playback method, server and the barrage play system of barrage based on streaming document | |
KR101850264B1 (en) | Touch screen user interface to present media | |
WO2019228269A1 (en) | Method and apparatus for setting application sorting in television | |
US9495713B2 (en) | Comment delivery and filtering architecture | |
WO2019007227A1 (en) | Method and apparatus for continuing to display view after switching pages | |
JP2020504475A (en) | Providing related objects during video data playback | |
KR20190109563A (en) | Transmission of video clips of viewers' reactions during the broadcast of a live video stream | |
KR20180020203A (en) | Streaming media presentation system | |
US20130014285A1 (en) | Communication service system | |
WO2015026529A1 (en) | Scrollable in-line camera for capturing and sharing content | |
JP2014110006A (en) | Server system, terminal device and program | |
JP6235842B2 (en) | Server apparatus, information processing program, information processing system, and information processing method | |
CN111586452A (en) | Cross-device interaction method and device and playing device | |
CN115134649B (en) | Method and system for presenting interactive elements within video content | |
US20130013743A1 (en) | Communication service system | |
WO2018188589A1 (en) | Media information playback method and apparatus, storage medium and electronic apparatus | |
CN113286201B (en) | Recommendation information display method and device, electronic equipment and storage medium | |
US20190102060A1 (en) | Information processing apparatus, display control method, and storage medium | |
CN111405346A (en) | Video stream playing control method, device and storage medium | |
EP4243427A1 (en) | Video generation method and apparatus, device, and storage medium | |
CN113079244B (en) | Hot event display method of application program and electronic equipment | |
CN107480265A (en) | Data recommendation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |