CN108462893A - A kind of display methods of barrage, device, terminal and storage medium - Google Patents
A kind of display methods of barrage, device, terminal and storage medium Download PDFInfo
- Publication number
- CN108462893A CN108462893A CN201810253214.8A CN201810253214A CN108462893A CN 108462893 A CN108462893 A CN 108462893A CN 201810253214 A CN201810253214 A CN 201810253214A CN 108462893 A CN108462893 A CN 108462893A
- Authority
- CN
- China
- Prior art keywords
- barrage
- comment data
- user terminal
- data
- interface
- 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.)
- Pending
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/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- 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
Abstract
The embodiment of the invention discloses a kind of display methods of barrage, device, terminal and storage mediums.This method includes:Receive comment data, wherein comment data includes the second comment data that the first comment data that the first user terminal is sent and the second user terminal in addition to the first user terminal are sent;Comment data is rendered according to default barrage model, generates barrage data corresponding with comment data, and show barrage data on the broadcast interface of the first user terminal;If detecting, the barrage parameter at the currently playing interface of the first user terminal meets interface locking condition, stops on the broadcast interface of the first user terminal and shows currently received second comment data.The technical solution of the present embodiment solves the problems such as viewing effect difference caused by barrage item number is more is low with interactive enthusiasm, and the user experience is improved.
Description
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of display methods of barrage, device, terminal and
Storage medium.
Background technology
With the fast development of Internet technology, more and more users use the player in the terminals such as computer, mobile phone
To watch live video.
In general, during watching video, user can deliver the comment of oneself according to the video content of viewing, and make
The comment of oneself and the comment of other users are streaked in the form of barrage above broadcast interface so that the use of each viewing video
Family can carry out interaction, increase the entertaining of viewing video.
However, when the barrage shown in broadcast interface is more, it in the prior art also can be by currently received all comments
Data continue to show on broadcast interface.Obviously, this display mode will have a direct impact on the viewing effect of user and interactive heat
Feelings, to reduce user experience.
Invention content
An embodiment of the present invention provides a kind of display methods of barrage, device, terminal and storage mediums, to solve because of barrage
The problems such as viewing effect difference caused by item number is more is low with interactive enthusiasm, promotes user experience.
In a first aspect, an embodiment of the present invention provides a kind of display methods of barrage, including:
Receive comment data, wherein the comment data includes the first comment data and remove that the first user terminal is sent
The second comment data that second user terminal except first user terminal is sent;
The comment data is rendered according to default barrage model, generates barrage number corresponding with the comment data
According to, and the barrage data are shown on the broadcast interface of first user terminal;
If detecting, the barrage parameter at the currently playing interface of first user terminal meets interface locking condition, stops
Currently received second comment data is only shown on the broadcast interface of first user terminal.
Second aspect, the embodiment of the present invention additionally provide a kind of display device of barrage, including:
Comment data receiving module, for receiving comment data, wherein the comment data is sent out including the first user terminal
The second comment data that the first comment data sent and the second user terminal in addition to the first user terminal are sent;
Barrage display module generates and institute's commentary for being rendered to the comment data according to default barrage model
By the corresponding barrage data of data, and the barrage data are shown on the broadcast interface of first user terminal;
Barrage stops display module, if the barrage parameter at the currently playing interface for detecting first user terminal
Meet interface locking condition, then stops on the broadcast interface of first user terminal and show that currently received described second comments
By data.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, and the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processing
Device realizes the display methods of the barrage as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer
Program realizes the display methods of the barrage as described in any embodiment of the present invention when the program is executed by processor.
The technical solution of the embodiment of the present invention, by carrying out rendering life to the comment data of reception according to default barrage model
At corresponding barrage data, and barrage data are shown on the broadcast interface of the first user terminal, when detect the first user end
The barrage parameter at the currently playing interface at end meets interface locking condition, then stops on the broadcast interface of the first user terminal and show
Show currently received second comment data, to being locked to the broadcast interface of the first user terminal, is ensureing that user passes through
While barrage carries out interactive, the barrage amount shown on broadcast interface is limited by interface locking condition so that video-see
Better, the user experience is improved.
Description of the drawings
Fig. 1 is a kind of flow chart of the display methods for barrage that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the display methods of barrage provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram of the display device for barrage that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present invention four provides.
Specific implementation mode
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the display methods for barrage that the embodiment of the present invention one provides, and the present embodiment is applicable to
The case where showing barrage on the broadcast interface of user terminal, particularly for showing the scene of barrage in live streaming platform,
Other are can be used for simultaneously to need to show in the application scenarios of barrage.This method can be executed by the display device of barrage,
The device can be realized by the mode of software and/or hardware, be integrated in the terminal with playing function.This method is specifically wrapped
Include following steps:
S110, comment data is received, wherein comment data includes the first comment data and remove that the first user terminal is sent
The second comment data that second user terminal except first user terminal is sent.
Wherein, comment data can refer to user on the subscriber terminal according to the information of the video content editing of viewing.With
Family terminal can be but not limited to smart mobile phone, tablet computer and desktop computer.The first user terminal in the present embodiment is
Refer to the user terminal that uses of active user oneself, the first comment data refer to active user by the first user terminal deliver to
A few comment data;Second user terminal refers to the user terminal that the other users for active user use, the
Two comment datas refer at least one comment data that other users are delivered by second user terminal.First in the present embodiment
User terminal only includes a user terminal, and second user terminal may include one or more user terminals.Illustratively, false
If there are three users to watch same video, three users are utilized respectively a, b and c expression, and the user that three users use is whole
End is utilized respectively A, B and C expression, if using user a as active user, user b and user c are as relative to user a's
Other users, user terminal A is the first user terminal at this time, and user terminal B and user terminal C are second user terminal.It needs
Can also be to be received every preset duration, and every time it is noted that comment data can be received in real time
The comment data of reception may only have the first comment data that the first user terminal is sent, it is also possible to only second user terminal hair
The second comment data sent, it is also possible to while the first comment data and second user terminal for having the first user terminal to send are sent
The second comment data.
S120, comment data is rendered according to default barrage model, generates barrage data corresponding with comment data,
And barrage data are shown on the broadcast interface of the first user terminal.
Wherein, preset the display mode that barrage model can refer to comment data, default barrage model can be according to
Family demand and actual conditions are pre-set.Optionally, it is big to can include but is not limited to font style, font for default barrage model
The distance between small, font color, each two comment data, font display effect and the barrage number of plies.Illustratively, font sample
Formula can be the Song typeface, black matrix and regular script etc..Font size can determine according to the size of broadcast interface, can also be according to practical need
It determines.Font color can determine that the background color at such as currently playing interface is according to the background color at currently playing interface
White can then set font color to black or red etc..The distance between each two comment data can be 2 centimetres or
3 centimetres etc..Font display effect can be plane display effect or stereo display effect etc..The present embodiment can be according to current
The barrage item number of reception determines the barrage number of plies, and can determine that every comment data is shown according to data receipt time
In which layer barrage.The present embodiment renders comment data so that the display mode of comment data meets default barrage mould
Comment data after rendering is determined as barrage data by type, and on the broadcast interface of the first user terminal in the form of barrage
Show comment data so that the user of each viewing video it can be seen that oneself and other people comment, be convenient for interaction.
If S130, detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface locking condition,
It stops on the broadcast interface of the first user terminal and shows currently received second comment data.
Wherein, over time, barrage disappears after sliding to the other end from one end of broadcast interface in the form of floating layer,
To which the barrage parameter on the currently playing interface of the first user terminal is real-time change.Barrage parameter in the present embodiment can
Can also be to be obtained once every preset duration to be to obtain in real time.Interface locking condition can refer to locking broadcast interface,
No longer show the condition of the second comment data of other users.Interface locking condition can be pre-set according to user demand.When
When the barrage parameter of preceding broadcast interface meets interface locking condition, shown on the broadcast interface by stopping at the first user terminal
Currently received second comment data limits the barrage item number shown on broadcast interface to be locked to broadcast interface,
So that the viewing effect of video is more preferably, and the interactive enthusiasm of user is excited, the user experience is improved.
Optionally, barrage parameter includes:Barrage item number and/or the barrage number of plies;Correspondingly, S130 includes:
If detecting, the barrage item number at the currently playing interface of the first user terminal is more than default number of branches threshold value and/or first
The barrage number of plies at the currently playing interface of user terminal is more than default number of plies threshold value, then stops at broadcasting circle of the first user terminal
Currently received second comment data is shown on face.
Wherein, barrage item number refers to the barrage total number on currently playing interface, and the barrage number of plies refers to currently playing interface
On floating layer quantity.Default number of branches threshold value is the maximum value needed according to user with the pre-set barrage item number of actual conditions.
Default number of plies threshold value is the maximum value needed according to user with the pre-set barrage number of plies of actual conditions.When the first user terminal
Currently playing interface barrage item number be more than default number of branches threshold value and/or the first user terminal currently playing interface barrage
When the number of plies is more than default number of plies threshold value, show that the barrage item number shown on currently playing interface is more, it is current to stop display at this time
The second comment data received, infinitely increases so as to avoid the barrage item number on broadcast interface so that user can be interactive
In the case of ensure that more preferably video-see effect.
Optionally, currently received second comment number is shown on the broadcast interface for stopping at the first user terminal in S130
According to, including:
Stop rendering currently received second comment data, and currently received second comment data is deleted.
Wherein, when detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface locking condition,
Stop the Rendering operations to currently received second comment data, to avoid the corresponding second barrage number of the second comment data is generated
According to stopped the display of currently received second comment data.It is currently connect in the present embodiment by stopping rendering and deleting
The second comment data received, reduces the rendering amount of comment data, and increase memory headroom, to improve the speed of service
And rendering efficiency.
Optionally, the barrage parameter in S130 at the currently playing interface for detecting the first user terminal meets interface locking
When condition, further include:
Currently received first comment data is rendered, the first barrage number corresponding with the first comment data is generated
According to, and the first barrage data are shown on the broadcast interface of the first user terminal.
Wherein, when the barrage parameter at the currently playing interface for detecting the first user terminal meets interface locking condition,
Continue to render the first comment data being currently received, and shows the first barrage number on the broadcast interface of the first user terminal
According to so that active user can see the comment of oneself in real time, the comment enthusiasm for reducing user be avoided, to further be promoted
User experience.
The technical solution of the present embodiment renders generation pair by being carried out to the comment data of reception according to default barrage model
Barrage data answered, and barrage data are shown on the broadcast interface of the first user terminal, when detecting the first user terminal
The barrage parameter at currently playing interface meets interface locking condition, then stops at display on the broadcast interface of the first user terminal and work as
Second comment data of preceding reception is ensureing that user passes through barrage to being locked to the broadcast interface of the first user terminal
While carrying out interactive, the barrage amount shown on broadcast interface is limited by interface locking condition so that video-see effect
More preferably, the user experience is improved.
Embodiment two
Fig. 2 is a kind of flow chart of the display methods of barrage provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned reality
It applies and optimizes on the basis of example:Currently received second comment number is shown on the broadcast interface for stopping at the first user terminal
According to later, further include:When detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface unlocking condition,
Barrage item number difference is determined according to the barrage parameter at currently playing interface and interface unlocking condition;According to barrage item number difference and work as
The comment data and preset rules of preceding reception determine comment data to be shown;Comment data to be shown is rendered, is generated
Barrage data to be shown corresponding with comment data to be shown, and bullet to be shown is shown on the broadcast interface of the first user terminal
Curtain data.
After optimization, the display methods of the barrage of the present embodiment specifically includes:
S210, comment data is received, wherein comment data includes the first comment data and remove that the first user terminal is sent
The second comment data that second user terminal except first user terminal is sent.
S220, comment data is rendered according to default barrage model, generates barrage data corresponding with comment data,
And barrage data are shown on the broadcast interface of the first user terminal.
If S230, detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface locking condition,
It stops on the broadcast interface of the first user terminal and shows currently received second comment data.
S240, when detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface unlocking condition,
Barrage item number difference is determined according to the barrage parameter at currently playing interface and interface unlocking condition.
Wherein, after broadcast interface locking, the barrage parameter at the currently playing interface of the first user terminal is obtained in real time.
Optionally, barrage parameter includes barrage item number and/or the barrage number of plies;Correspondingly, interface unlocking condition can be the first user end
The barrage item number at the currently playing interface at end is less than default number of branches threshold value and/or the barrage number of plies is less than default number of plies threshold value.Work as inspection
When measuring barrage parameter and meeting interface unlocking condition, continue the comment data that display receives, to be unlocked to broadcast interface.
The present embodiment needs to determine barrage according to the barrage parameter and interface unlocking condition at currently playing interface after broadcast interface unlock
Item number difference, to render and the comment data of identical as the barrage item number difference item number of display, to avoid broadcast interface again by
Locking, and mitigate the workload of rendering and improve rendering efficiency.Illustratively, if barrage parameter includes barrage item number and bullet
The curtain number of plies, it is assumed that the barrage item number at currently playing interface is 40, and the barrage number of plies is 2 layers, and default number of branches threshold value is 50, presets layer
Number threshold value is 3 layers, it is determined that barrage item number difference is 10.If barrage parameter only includes the barrage number of plies, it is assumed that currently playing boundary
The barrage number of plies in face is 2 layers, and it is 3 layers to preset number of plies threshold value, then the barrage item number that can be shown according to one layer of barrage determines barrage
Item number difference.
S250, comment number to be shown is determined according to barrage item number difference and currently received comment data and preset rules
According to.
Wherein, preset rules refer to that the rule of comment data to be shown is determined from currently received every comment data,
It can be pre-set according to user demand, to meet the individual demand of user.
Optionally, S250 includes:
Determine the first quantity of currently received comment data;If the first quantity be more than barrage item number difference, according to
Family terminal PRI and/or data receipt time and/or the corresponding user gradation of each comment data determine comment data to be shown;
If the first quantity is less than or equal to barrage item number difference, currently received comment data is directly determined as comment number to be shown
According to.
Wherein, the total number of currently received comment data is determined as the first quantity.If the first quantity is more than barrage item
Number differences, then can according in user terminal priority and data receipt time and the corresponding user gradation of each comment data extremely
A kind of few rule determines comment data to be shown.User terminal priority is used to indicate the comment data that user terminal is sent
Display priority, i.e. user terminal priority is higher, then the display priority for the comment data that the user terminal is sent is higher.With
Family terminal PRI can be configured according to user demand.Illustratively, user terminal priority can be that the first user is whole
First priority at end is higher than the second priority of second user terminal, preferentially to show the comment data of oneself, or
Second priority of second user terminal is higher than the first priority of the first user terminal, preferentially to show other people comment number
According to.Data receipt time refers to the receiving time of every comment data.User gradation can include but is not limited to three grades, point
Not Wei the first estate, the second grade and the tertiary gradient, and corresponding user's significance level declines successively.Optionally, Yong Huchong
Want degree higher, the comment data which sends more first is shown.Illustratively, the corresponding user of the first estate is VVIP
(Very Very Important Person) user, the corresponding user of the second grade are VIP (Very Important
Person) user, the corresponding user of the tertiary gradient are non-VIP user.
Optionally, user terminal priority is that the first priority of the first user terminal is higher than the second of second user terminal
Priority;Correspondingly, true according to user terminal priority and data receipt time and/or the corresponding user gradation of each comment data
Fixed comment data to be shown, including:
Determine the third of the second quantity and the second comment data of the first comment data in currently received comment data
Quantity;If the second quantity is more than barrage item number difference, the first of barrage item number difference quantities is determined according to data receipt time
Comment data, and the first comment data of determining barrage item number difference quantities is determined as comment data to be shown;If second
Quantity is less than barrage item number difference, then calculates the first difference of the second quantity and barrage item number difference, and according to the first difference, the
Three quantity and data receipt time and/or the corresponding user gradation of each second comment data determine comment data to be shown;If the
Two quantity are equal to barrage item number difference, then the first comment data of currently received second quantity are directly determined as to be shown comment
By data.
Wherein, according to currently received comment data, the total number of currently received first comment data is determined as
The total number of currently received second comment data is determined as third quantity by two quantity.The second quantity in the present embodiment and
The sum of third quantity is equal to the first quantity.Since the first priority of the first user terminal is second excellent higher than second user terminal
First grade, so the first comment data that preferentially the first user terminal of display is sent, you can preferentially to show that active user oneself sends out
The comment data sent.If the second quantity is more than barrage item number difference will connect at first according to the sequencing of data receipt time
First comment data of the barrage item number difference of receipts is determined as comment data to be shown.If it is poor that the second quantity is less than barrage item number
Value, then subtract the result that the second quantity obtains by barrage item number difference and be determined as the first difference, and third quantity is more than first at this time
Difference.Optionally, it can be advised according at least one of data receipt time and the corresponding user gradation of each second comment data
Then, the second comment data of the first difference quantities is determined from currently received second comment data, and by the of the second quantity
One comment data and the second comment data of the first difference quantities are determined as comment data to be shown.
S260, comment data to be shown is rendered, generates barrage number to be shown corresponding with comment data to be shown
According to, and barrage data to be shown are shown on the broadcast interface of the first user terminal.
Wherein, comment data to be shown is rendered according to default barrage model, and is shown on broadcast interface and waits showing
Show barrage data.Comment data to be shown in the present embodiment is the barrage parameter and interface unlocking item according to currently playing interface
What part determined, so that currently playing interface is constantly in unlocked state, it is always ensured that more preferably video-see effect,
Greatly the user experience is improved.
The embodiment of the present invention is by after interface locks, when the barrage at the currently playing interface for detecting the first user terminal
When parameter meets interface unlocking condition, according to the barrage parameter, interface unlocking condition and preset rules at currently playing interface come really
Determine and show comment data to be shown, the individual demand of user when meeting barrage display, and have at currently playing interface
In the case of spare space, the barrage of rendering is replenished in time, ensures that user is fully exchanged by barrage, greatly improves user
Experience.
Embodiment three
Fig. 3 is a kind of structural schematic diagram of the display device for barrage that the embodiment of the present invention three provides, and the present embodiment can fit
The case where for showing barrage on the broadcast interface of user terminal, the device include:Comment data receiving module 310, barrage
Display module 320 and barrage stop display module 330.
Wherein, comment data receiving module 310, for receiving comment data, wherein comment data includes that the first user is whole
The second comment data for holding the first comment data sent and the second user terminal in addition to the first user terminal to send;Barrage
Display module 320 generates barrage number corresponding with comment data for being rendered to comment data according to default barrage model
According to, and barrage data are shown on the broadcast interface of the first user terminal;Barrage stops display module 330, if for detecting
The barrage parameter at the currently playing interface of the first user terminal meets interface locking condition, then stops at broadcasting for the first user terminal
It puts and shows currently received second comment data on interface.
The embodiment of the present invention generates corresponding bullet by the comment data of reception render according to default barrage model
Curtain data, and shows barrage data on the broadcast interface of the first user terminal, when detecting currently broadcasting for the first user terminal
The barrage parameter for putting interface meets interface locking condition, then stops on the broadcast interface of the first user terminal and show current receive
The second comment data, to being locked to the broadcast interface of the first user terminal, ensure user by barrage and carry out it is mutual
While dynamic, the barrage amount shown on broadcast interface is limited by interface locking condition so that video-see is better, carries
User experience is risen.
Optionally, barrage parameter includes:Barrage item number and/or the barrage number of plies;Correspondingly, barrage stops display module 330,
It is specifically used for:
If detecting, the barrage item number at the currently playing interface of the first user terminal is more than default number of branches threshold value and/or first
The barrage number of plies at the currently playing interface of user terminal is more than default number of plies threshold value, then stops at broadcasting circle of the first user terminal
Currently received second comment data is shown on face.
Optionally, barrage stops display module 330, is additionally operable to:
If detecting, the barrage parameter at the currently playing interface of the first user terminal meets interface locking condition, stops wash with watercolours
Currently received second comment data is contaminated, and currently received second comment data is deleted.
Optionally, this method further includes:
Barrage item number difference determining module, for showing current receive on the broadcast interface for stopping at the first user terminal
The second comment data after, when detecting that the barrage parameter at the currently playing interface of the first user terminal meets interface unlocking item
When part, barrage item number difference is determined according to the barrage parameter at currently playing interface and interface unlocking condition;
Comment data determining module to be shown, for according to barrage item number difference and currently received comment data and in advance
If rule determines comment data to be shown;
Comment data display module to be shown generates and comment to be shown for being rendered to comment data to be shown
The corresponding barrage data to be shown of data, and barrage data to be shown are shown on the broadcast interface of the first user terminal.
Optionally, comment data determining module to be shown, including:
First quantity determination unit, the first quantity for determining currently received comment data;
First comment data determination unit to be shown, if being more than barrage item number difference for the first quantity, according to user
Terminal PRI and/or data receipt time and/or the corresponding user gradation of each comment data determine comment data to be shown;
Second comment data determination unit to be shown, if being less than or equal to barrage item number difference for the first quantity, directly
It connects and currently received comment data is determined as comment data to be shown.
Optionally, user terminal priority is that the first priority of the first user terminal is higher than the second of second user terminal
Priority;Correspondingly, the first comment data determination unit to be shown, is specifically used for:
Determine the third of the second quantity and the second comment data of the first comment data in currently received comment data
Quantity;If the second quantity is more than barrage item number difference, the first of barrage item number difference quantities is determined according to data receipt time
Comment data, and the first comment data of determining barrage item number difference quantities is determined as comment data to be shown;If second
Quantity is less than barrage item number difference, then calculates the first difference of the second quantity and barrage item number difference, and according to the first difference, the
Three quantity and data receipt time and/or the corresponding user gradation of each second comment data determine comment data to be shown;If the
Two quantity are equal to barrage item number difference, then the first comment data of currently received second quantity are directly determined as to be shown comment
By data.
Optionally, barrage display module 320, is additionally operable to:
When barrage parameter at the currently playing interface for detecting the first user terminal meets interface locking condition, to current
The first comment data received is rendered, and generates the first barrage data corresponding with the first comment data, and in the first user
The first barrage data are shown on the broadcast interface of terminal.
The display device of above-mentioned barrage can perform the display methods for the barrage that any embodiment of the present invention is provided, and has and holds
The corresponding function module of display methods and advantageous effect of row barrage.
Example IV
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present invention four provides.Referring to Fig. 4, which includes:
One or more processors 410;
Memory 420, for storing one or more programs;
When one or more programs are executed by one or more processors 410 so that one or more processors 410 are realized
Such as the display methods for the barrage that any embodiment proposes in above-described embodiment.
In Fig. 4 by taking a processor 410 as an example;Processor 410 and memory 420 in terminal can by bus or its
He connects mode, in Fig. 4 for being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, can be used for storing software program, computer can perform journey
Sequence and module, if the corresponding program instruction/module of the display methods of the barrage in the embodiment of the present invention is (for example, barrage is aobvious
Comment data receiving module 310, barrage display module 320 and barrage in showing device stop display module 330).Processor 410
Be stored in software program, instruction and module in memory 420 by operation, to execute the various function application of terminal with
And data processing, that is, realize the display methods of above-mentioned barrage.
Memory 420 includes mainly storing program area and storage data field, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 420 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one
Step includes the memory remotely located relative to processor 410, these remote memories can pass through network connection to terminal.On
The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
The display methods for the barrage that the terminal that the present embodiment proposes is proposed with above-described embodiment belongs to same inventive concept, not
The technical detail of detailed description can be found in above-described embodiment in the present embodiment, and the present embodiment has the display for executing barrage
The identical advantageous effect of method.
Embodiment five
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, which is handled
The display methods of the barrage as described in any embodiment of the present invention is realized when device executes.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which can be stored in computer readable storage medium
In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes the aobvious of the barrage described in each embodiment of the present invention
Show method.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of display methods of barrage, which is characterized in that including:
Receive comment data, wherein the comment data include the first user terminal send the first comment data and remove first
The second comment data that second user terminal except user terminal is sent;
The comment data is rendered according to default barrage model, generates barrage data corresponding with the comment data,
And the barrage data are shown on the broadcast interface of first user terminal;
If detecting, the barrage parameter at the currently playing interface of first user terminal meets interface locking condition, stops at
Currently received second comment data is shown on the broadcast interface of first user terminal.
2. according to the method described in claim 1, it is characterized in that, the barrage parameter includes:Barrage item number and/or barrage layer
Number;
If correspondingly, detect that the barrage parameter at the currently playing interface of first user terminal meets interface locking condition,
It then stops on the broadcast interface of first user terminal and shows currently received second comment data, including:
If detecting, the barrage item number at the currently playing interface of first user terminal is more than default number of branches threshold value and/or described
The barrage number of plies at the currently playing interface of the first user terminal is more than default number of plies threshold value, then stops at first user terminal
Broadcast interface on show currently received second comment data.
3. according to the method described in claim 1, it is characterized in that, the broadcast interface for stopping at first user terminal
Upper currently received second comment data of display, including:
Stop rendering currently received second comment data, and currently received second comment data is deleted
It removes.
4. according to claim 1-3 any one of them methods, which is characterized in that stop at first user terminal described
Broadcast interface on show currently received second comment data after, further include:
When detecting that the barrage parameter at the currently playing interface of first user terminal meets interface unlocking condition, according to institute
It states the barrage parameter at currently playing interface and the interface unlocking condition determines barrage item number difference;
Comment data to be shown is determined according to the barrage item number difference and currently received comment data and preset rules;
The comment data to be shown is rendered, barrage number to be shown corresponding with the comment data to be shown is generated
According to, and the barrage data to be shown are shown on the broadcast interface of first user terminal.
5. according to the method described in claim 4, it is characterized in that, according to the barrage item number difference and currently received comment
Data and preset rules determine comment data to be shown, including:
Determine the first quantity of currently received comment data;
If first quantity is more than the barrage item number difference, according to user terminal priority and/or data receipt time
And/or the corresponding user gradation of each comment data determines comment data to be shown;
If first quantity is less than or equal to the barrage item number difference, directly currently received comment data is determined as
Comment data to be shown.
6. according to the method described in claim 5, it is characterized in that, the user terminal priority is first user terminal
The first priority be higher than the second user terminal the second priority;
Correspondingly, being determined according to user terminal priority and data receipt time and/or the corresponding user gradation of each comment data
Comment data to be shown, including:
Determine the second quantity of the first comment data in currently received comment data and the third quantity of the second comment data;
If second quantity is more than the barrage item number difference, the barrage item number difference is determined according to data receipt time
First comment data of quantity, and the first comment data of determining barrage item number difference quantities is determined as comment number to be shown
According to;
If second quantity is less than the barrage item number difference, second quantity and the barrage item number difference are calculated
First difference, and corresponded to according to first difference, the third quantity and data receipt time and/or each second comment data
User gradation determine comment data to be shown;
If second quantity is equal to the barrage item number difference, directly number is commented on by the first of currently received second quantity
According to being determined as comment data to be shown.
7. according to the method described in claim 1, it is characterized in that, on the currently playing boundary for detecting first user terminal
When the barrage parameter in face meets interface locking condition, further include:
Currently received first comment data is rendered, the first barrage number corresponding with first comment data is generated
According to, and the first barrage data are shown on the broadcast interface of first user terminal.
8. a kind of display device of barrage, which is characterized in that including:
Comment data receiving module, for receiving comment data, wherein the comment data includes what the first user terminal was sent
The second comment data that first comment data and the second user terminal in addition to the first user terminal are sent;
Barrage display module generates and the comment number for being rendered to the comment data according to default barrage model
According to corresponding barrage data, and the barrage data are shown on the broadcast interface of first user terminal;
Barrage stops display module, if the barrage parameter at the currently playing interface for detecting first user terminal meets
Interface locking condition then stops on the broadcast interface of first user terminal and shows the currently received second comment number
According to.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors are real
The now display methods of the barrage as described in any in claim 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The display methods of the barrage as described in any in claim 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810253214.8A CN108462893A (en) | 2018-03-26 | 2018-03-26 | A kind of display methods of barrage, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810253214.8A CN108462893A (en) | 2018-03-26 | 2018-03-26 | A kind of display methods of barrage, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108462893A true CN108462893A (en) | 2018-08-28 |
Family
ID=63238051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810253214.8A Pending CN108462893A (en) | 2018-03-26 | 2018-03-26 | A kind of display methods of barrage, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462893A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971941A (en) * | 2018-09-30 | 2020-04-07 | 武汉斗鱼网络科技有限公司 | Method, system, server and live broadcast room controller for dredging bullet screen congestion |
CN112118473A (en) * | 2019-06-19 | 2020-12-22 | 上海哔哩哔哩科技有限公司 | Video bullet screen display method and device, computer equipment and readable storage medium |
CN112118484A (en) * | 2019-06-19 | 2020-12-22 | 上海哔哩哔哩科技有限公司 | Video bullet screen display method and device, computer equipment and readable storage medium |
CN112256166A (en) * | 2020-09-23 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Comment information display method and device and electronic equipment |
CN113360053A (en) * | 2021-05-28 | 2021-09-07 | 富途网络科技(深圳)有限公司 | Display control method, electronic device, and storage medium |
US11513937B2 (en) | 2019-06-19 | 2022-11-29 | Shanghai Bilibili Technology Co., Ltd. | Method and device of displaying video comments, computing device, and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104602131A (en) * | 2015-02-16 | 2015-05-06 | 腾讯科技(北京)有限公司 | Barrage processing method and system |
US9059882B2 (en) * | 2011-08-25 | 2015-06-16 | Panasonic Intellectual Management Co., Ltd. | Information presentation control device and information presentation control method |
CN105847940A (en) * | 2016-05-24 | 2016-08-10 | 武汉斗鱼网络科技有限公司 | Bullet screen display control method and apparatus |
CN105916057A (en) * | 2016-04-18 | 2016-08-31 | 乐视控股(北京)有限公司 | Video barrage display method and device |
CN105915952A (en) * | 2016-05-13 | 2016-08-31 | 武汉斗鱼网络科技有限公司 | Intelligent bullet screen preservation method and device based on video website |
CN106101863A (en) * | 2016-06-24 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of have barrage sending method and the device deleting protection mechanism |
CN106507133A (en) * | 2016-11-28 | 2017-03-15 | 北京金山安全软件有限公司 | Method, device and system for processing barrage message and equipment thereof |
CN107786884A (en) * | 2017-10-23 | 2018-03-09 | 咪咕视讯科技有限公司 | Processing method, server, first terminal and the storage medium of barrage data |
-
2018
- 2018-03-26 CN CN201810253214.8A patent/CN108462893A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9059882B2 (en) * | 2011-08-25 | 2015-06-16 | Panasonic Intellectual Management Co., Ltd. | Information presentation control device and information presentation control method |
CN104602131A (en) * | 2015-02-16 | 2015-05-06 | 腾讯科技(北京)有限公司 | Barrage processing method and system |
CN105916057A (en) * | 2016-04-18 | 2016-08-31 | 乐视控股(北京)有限公司 | Video barrage display method and device |
CN105915952A (en) * | 2016-05-13 | 2016-08-31 | 武汉斗鱼网络科技有限公司 | Intelligent bullet screen preservation method and device based on video website |
CN105847940A (en) * | 2016-05-24 | 2016-08-10 | 武汉斗鱼网络科技有限公司 | Bullet screen display control method and apparatus |
CN106101863A (en) * | 2016-06-24 | 2016-11-09 | 武汉斗鱼网络科技有限公司 | A kind of have barrage sending method and the device deleting protection mechanism |
CN106507133A (en) * | 2016-11-28 | 2017-03-15 | 北京金山安全软件有限公司 | Method, device and system for processing barrage message and equipment thereof |
CN107786884A (en) * | 2017-10-23 | 2018-03-09 | 咪咕视讯科技有限公司 | Processing method, server, first terminal and the storage medium of barrage data |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971941A (en) * | 2018-09-30 | 2020-04-07 | 武汉斗鱼网络科技有限公司 | Method, system, server and live broadcast room controller for dredging bullet screen congestion |
CN112118473A (en) * | 2019-06-19 | 2020-12-22 | 上海哔哩哔哩科技有限公司 | Video bullet screen display method and device, computer equipment and readable storage medium |
CN112118484A (en) * | 2019-06-19 | 2020-12-22 | 上海哔哩哔哩科技有限公司 | Video bullet screen display method and device, computer equipment and readable storage medium |
CN112118473B (en) * | 2019-06-19 | 2022-05-17 | 上海哔哩哔哩科技有限公司 | Video bullet screen display method and device, computer equipment and readable storage medium |
US11513937B2 (en) | 2019-06-19 | 2022-11-29 | Shanghai Bilibili Technology Co., Ltd. | Method and device of displaying video comments, computing device, and readable storage medium |
CN112256166A (en) * | 2020-09-23 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Comment information display method and device and electronic equipment |
CN113360053A (en) * | 2021-05-28 | 2021-09-07 | 富途网络科技(深圳)有限公司 | Display control method, electronic device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108462893A (en) | A kind of display methods of barrage, device, terminal and storage medium | |
CN105760408B (en) | Picture sharing method and device and terminal equipment | |
CN107360459A (en) | A kind of processing method of barrage, device and storage medium | |
CN108737482A (en) | Document sharing method, device and system | |
CN103916306A (en) | Method and device for achieving instant communication | |
CN109327627A (en) | Telephone number recognition methods, device and storage medium based on block chain | |
CN106408096B (en) | Data processing method in online ticketing system and online ticketing system | |
CN109582904B (en) | Published content modification method, device, server, terminal and storage medium | |
CN109413508A (en) | Method, apparatus, equipment, plug-flow method and the live broadcast system of image blend | |
US20200344352A1 (en) | Communication methods | |
CN109241346B (en) | Video recommendation method and device | |
CN108810654A (en) | A kind of watermark adding method, device and electronic equipment | |
CN109348258A (en) | The anti-brush method, apparatus of user's interaction, server and medium based on live streaming platform | |
CN114418825B (en) | Image processing method, image processing device, computer equipment and storage medium | |
CN110378277A (en) | Method, apparatus, equipment and the storage medium of facial image identification | |
CN106815283A (en) | Data processing method, device and electronic equipment | |
US11539919B1 (en) | Dynamic cloud video composition | |
CN104463062B (en) | Access method and system based on two-dimensional code scanning | |
KR101401961B1 (en) | System for sharing augmented reality contents and method thereof | |
CN112434328B (en) | Message forwarding (transferring) mail forwarding method and electronic equipment | |
CN108307244A (en) | Barrage time limit of speech control method, storage medium, electronic equipment and system | |
TW202110213A (en) | Method for forwarding message and forwarding mail and electronic equipment in which the hidden content that meets the hiding requirement in the target forwarding message has been hidden, so as to improves the security for the forwarded message | |
CN115953597B (en) | Image processing method, device, equipment and medium | |
CN110096543A (en) | Data manipulation method, device, server and the medium of application program | |
US20150341397A1 (en) | Data sharing system and method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180828 |
|
RJ01 | Rejection of invention patent application after publication |