CN106993234A - Barrage display methods and device - Google Patents

Barrage display methods and device Download PDF

Info

Publication number
CN106993234A
CN106993234A CN201710174841.8A CN201710174841A CN106993234A CN 106993234 A CN106993234 A CN 106993234A CN 201710174841 A CN201710174841 A CN 201710174841A CN 106993234 A CN106993234 A CN 106993234A
Authority
CN
China
Prior art keywords
barrage
direct broadcasting
broadcasting room
default
threshold value
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
Application number
CN201710174841.8A
Other languages
Chinese (zh)
Inventor
吴浩
张鹏翼
张菊元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Panda Mutual Entertainment Technology Co Ltd
Original Assignee
Beijing Panda Mutual Entertainment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Panda Mutual Entertainment Technology Co Ltd filed Critical Beijing Panda Mutual Entertainment Technology Co Ltd
Priority to CN201710174841.8A priority Critical patent/CN106993234A/en
Publication of CN106993234A publication Critical patent/CN106993234A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • H04N21/4756End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of barrage display methods and device, and this method includes:Determine the corresponding barrage quantity of direct broadcasting room in previous measurement period;If barrage quantity is more than the first default barrage amount threshold value, the order of magnitude according to the barrage quantity more than the first default barrage amount threshold value determines discarding ratio;Discard processing is carried out to the barrage to be shown in the current statistic cycle according to the ratio of discarding.Because the barrage amount of the direct broadcasting room is very big, the influence that part therein is abandoned for Interactive Experience is not obvious, but by all carrying out such discard processing to the larger direct broadcasting room of each barrage amount, but the barrage that can substantially reduce barrage server sends processing pressure, and can improve the real-time of barrage transmission.

Description

Barrage display methods and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of barrage display methods and device.
Background technology
With the development of internet video technology, net cast platform is continued to bring out like the mushrooms after rain, and people can see See various net cast contents, such as game video is live.
People can participate in interaction in watching video live broadcast by way of sending barrage, so as to improve user's Participation.Specifically barrage interaction mode is:Certain viewing user can install net cast in such as smart mobile phone, computer Client is watched, so as to when it watches the video content of certain direct broadcasting room, can be sent out by watching client to barrage server Barrage is sent, the barrage is forwarded to the viewing client of each viewing user of the currently viewing direct broadcasting room by barrage server, so that The viewing client of each viewing user is obtained while video content is shown, the barrage is also shown on screen.
Higher to the display requirement of real-time of barrage in being applied in net cast, therefore, barrage server is connecing , it is necessary to forward barrage immediately when receiving barrage.But, if currently viewing user's is numerous, the barrage sent accordingly Quantity may be also very more, and now the barrage transmission processing pressure of barrage server will be larger, can cause the transmission speed of barrage Substantially reduce.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of barrage display methods and device, to reduce barrage server Barrage sends processing pressure, to improve the real-time of barrage transmission.
The embodiment of the present invention provides a kind of barrage display methods, including:
Determine the corresponding barrage quantity of direct broadcasting room in previous measurement period;
If the barrage quantity is more than the first default barrage amount threshold value, it is pre- to exceed described first according to the barrage quantity If the order of magnitude of barrage amount threshold value determines discarding ratio;
Discard processing is carried out to the barrage to be shown in the current statistic cycle according to the discarding ratio.
The embodiment of the present invention provides a kind of barrage display device, including:
First determining module, for determining the corresponding barrage quantity of direct broadcasting room in previous measurement period;
Second determining module, if being more than the first default barrage amount threshold value for the barrage quantity, according to the barrage The order of magnitude that quantity exceedes the described first default barrage amount threshold value determines discarding ratio;
Processing module, for being carried out according to the discarding ratio to the barrage to be shown in the current statistic cycle at discarding Reason.
Barrage display methods provided in an embodiment of the present invention and device, for any direct broadcasting room currently started broadcasting, Ke Yizhou Phase property counts the barrage quantity of the direct broadcasting room, typically can be to have received barrage quantity or sent barrage quantity.If previous The barrage quantity of the direct broadcasting room is more than certain default barrage amount threshold value in measurement period, then can be exceeded according to the barrage quantity The order of magnitude of the default barrage amount threshold value determines discarding ratio, with the discarding ratio to the barrage to be shown in the current statistic cycle Carry out discard processing.Because the barrage amount of the direct broadcasting room is very big, part therein is abandoned for the influence of Interactive Experience and is failed to understand It is aobvious, but by all carrying out such discard processing to the larger direct broadcasting room of each barrage amount, but can substantially reduce barrage service The barrage of device sends processing pressure, and can improve the real-time of barrage transmission.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of barrage display methods embodiment one provided in an embodiment of the present invention;
Fig. 2 is the flow chart of barrage display methods embodiment two provided in an embodiment of the present invention;
Fig. 3 is the flow chart of barrage display methods embodiment three provided in an embodiment of the present invention;
Fig. 4 is the structural representation of barrage display device embodiment one provided in an embodiment of the present invention;
Fig. 5 is the structural representation of barrage display device embodiment two provided in an embodiment of the present invention;
Fig. 6 is the structural representation of barrage display device embodiment three provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications, " a variety of " generally comprise at least two, but not Exclude and include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, not departing from implementation of the present invention In the case of example scope, the first XXX can also be referred to as the 2nd XXX, similarly, and the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as Fruit detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also There is other identical element.
Fig. 1 is the flow chart of barrage display methods embodiment one provided in an embodiment of the present invention, and what the present embodiment was provided should Barrage display methods can be performed by a barrage display device, and the barrage display device can be implemented as software, or realize For the combination of software and hardware, the barrage display device can be integrally disposed in the barrage server of live platform.Such as Fig. 1 institutes Show, this method comprises the following steps:
Step 101, determine the corresponding barrage quantity of direct broadcasting room in previous measurement period.
If step 102, barrage quantity are more than the first default barrage amount threshold value, default more than first according to the barrage quantity The order of magnitude of barrage amount threshold value determines discarding ratio.
Step 103, according to abandon ratio in the current statistic cycle barrage to be shown carry out discard processing.
, can be since the time that the direct broadcasting room currently once starts broadcasting, often for any direct broadcasting room in the present embodiment The barrage quantity in each correspondence measurement period of the direct broadcasting room is counted once every certain time.As an example it is assumed that certain is live Between started broadcasting at the T1 moment, measurement period is 1min, then at the T2=T1+1min moment, the direct broadcasting room pair during statistics T1-T2 The barrage quantity answered, the barrage quantity can be the barrage quantity to be shown received or send to client-side The barrage quantity shown.In practice, measurement period can be set according to the actual requirements and flexibly, to be shown in real time in barrage Property and reduction barrage server barrage send pressure between obtain good compromise.
Alternatively, when watching user by watching client to barrage server transmission barrage, barrage server is received Each barrage data message that each viewing client is sent, each barrage data message includes corresponding direct broadcasting room mark and barrage Content, so that, each barrage data message that the parsing of barrage server is received is limited according to the duration of measurement period, according to it In direct broadcasting room mark statistics determine correspondence direct broadcasting room corresponding barrage quantity in each measurement period successively.
But, in the present embodiment, in order to avoid excessive barrage causes serious pressure to bear to server, server is not It is that the barrage for receiving viewing user's triggering is just sent immediately, but part barrage can be abandoned using certain drop policy, with Alleviate the forwarding pressure of server.Specifically, in the present embodiment, to ensure the real-time of barrage forwarding, for same direct broadcasting room For, server determines a discarding ratio according to the barrage quantity of previous measurement period, with the discarding ratio to latter statistics week The barrage to be shown of phase carries out discard processing.
Alternatively, in order to which the barrage service not to current server carries out excessive modification, it can set in the server One statistical fractals, can pass through UDP (User Datagram between barrage service and statistical fractals Protocol, abbreviation UDP) mode set up communication connection so that, when barrage service is received or forwarded in a measurement period When going out any barrage, corresponding barrage data message is informed into statistical fractals, the barrage number of each direct broadcasting room is counted by statistical fractals Amount.
In the present embodiment, for any direct broadcasting room, if its corresponding bullet in the previous measurement period that statistics is obtained When curtain quantity is the above-mentioned first default barrage amount threshold value more than certain amount threshold, the current system to the direct broadcasting room can be triggered The discard processing of the barrage to be shown received in the meter cycle, to reduce the barrage quantity for needing to show in the direct broadcasting room.Phase Instead, if corresponding barrage quantity is not more than the first default barrage amount threshold value in previous measurement period, it is normally carried out current The display processing of the barrage received in measurement period.
When it is determined that need abandon the current statistic cycle in certain above-mentioned direct broadcasting room barrage to be shown when, next it needs to be determined that Two problems, one, which is to determine, need to abandon barrage number, the second is which barrage to be shown specifically abandoned.
For first problem:
In an optional implementation, can make only shown in the direct broadcasting room the first default barrage amount threshold number wait show Show barrage, remaining barrage to be shown is all abandoned.
, can also be according to the barrage quantity of the previous measurement period of the direct broadcasting room more than first in another optional implementation The order of magnitude of default barrage amount threshold value determines a discarding ratio, so that with the discarding ratio to be shown in the current statistic cycle Barrage is abandoned.
Wherein, this mode for determining discarding ratio can realize the differentiation processing to each direct broadcasting room, specifically, can The order of magnitude exceeded with setting is bigger, and discarding ratio is higher, so as to the bullet of the effectively reduction extra high direct broadcasting room of barrage number Curtain displayed quantity.
Above two mode is only for example, in fact, can also include other discarding modes, such as abandons fixed qty Barrage number to be shown, etc..
For Second Problem:After determining and needing to abandon how many barrages to be shown, for specifically abandon which Barrage to be shown can also have a variety of strategies to select, such as, can be selected according to following selection strategy from barrage to be shown Go out the barrage to be shown that need to be abandoned:
The barrage of barrage number need to be abandoned by being randomly choosed out from barrage to be shown, such as continuous or interval abandons real-time reception The barrage to be shown arrived, untill the number of discarding reaches the quantity of certain predetermined;
Discarded packets contain the barrage to be shown of default sensitive word;
Abandon viewing duration and be less than the barrage to be shown that the viewing client of preset duration threshold value is triggered;Etc..
In another optional implementation, the process of discard processing can be:Assuming that the ratio of discarding is 2%, then for working as Before for some barrage a to be shown for receiving, a random number can be produced in the range of default value, such as 0 to 100 In the range of a random number is produced using certain algorithm, if the random number is 2 more than the corresponding numerical value of discarding ratio, sending ought Preceding barrage a to be shown, otherwise, if the random number is less than or equal to the corresponding numerical value 2 of discarding ratio, abandons and current waits to show Show barrage a.
Wherein, for the latter two selection strategy of the example above, each selection strategy can be that be independently operated, can also be comprehensive Conjunction is used.When actual use, such as the priority of every kind of selection strategy can be pre-set, if using the selection of high priority The barrage number that strategy is selected is unsatisfactory for that the requirement of barrage number need to be abandoned, then can be supplemented again using the selection strategy of next priority Selection, untill the barrage number selected meets and need to abandon the requirement of barrage number.
Barrage server includes the barrage to be shown not abandoned corresponding according to the barrage display mode set On direct broadcasting room.
In the present embodiment, for any direct broadcasting room currently started broadcasting, can with the barrage quantity of the periodic statistics direct broadcasting room, Typically can be to have received barrage quantity or sent barrage quantity.If the barrage quantity of the direct broadcasting room in previous measurement period More than certain default barrage amount threshold value, then the order of magnitude that can exceed the default barrage amount threshold value according to the barrage quantity is determined Discarding ratio, discard processing is carried out with the discarding ratio to the barrage to be shown in the current statistic cycle.Due to the direct broadcasting room Barrage amount is very big, and discarding part therein is not obvious for the influence of Interactive Experience, but by larger to each barrage amount Direct broadcasting room all carries out such discard processing, and the barrage that but can substantially reduce barrage server sends processing pressure, and can be with Improve the real-time that barrage is sent.
Fig. 2 is the flow chart of barrage display methods embodiment two provided in an embodiment of the present invention, as shown in Fig. 2 including such as Lower step:
Step 201, the barrage sum for determining multiple direct broadcasting rooms in previous measurement period.
If step 202, barrage sum are more than the second default barrage amount threshold value, it is determined that multiple live in previous measurement period Between in the corresponding barrage quantity of each direct broadcasting room.
Step 203, the direct broadcasting room for being more than the first default barrage amount threshold value for barrage quantity in previous measurement period, according to Its corresponding barrage quantity determines each self-corresponding discarding ratio more than the order of magnitude of the first default barrage amount threshold value, with according to it Each self-corresponding discarding ratio carries out discard processing to each self-corresponding barrage to be shown in the current statistic cycle.
Previous embodiment is the angle from any direct broadcasting room, to barrage quantity in previous measurement period beyond the first default bullet The direct broadcasting room of curtain amount threshold value carries out the discard processing of barrage to be shown in the current statistic cycle, to reduce the processing of barrage server Pressure.
It is the processing pressure of further reduction barrage server, except being examined from the angle of single direct broadcasting room in the present embodiment Consider outer, also accounted for from the angle of itself of barrage server.Specifically, if in previous measurement period, barrage takes Business device needs barrage number to be processed to reach that another threshold value i.e. second presets barrage amount threshold value altogether, then can determine needs It is the discard processing of the barrage to be shown in the current statistic cycle to next statistics statistics, wherein, the second default barrage amount threshold value Higher than the foregoing first default barrage amount threshold value.If on the contrary, barrage server currently needs barrage number to be processed not have altogether The second default barrage amount threshold value, the then display processing for the barrage to be shown being normally carried out in the current statistic cycle are reached, or is pressed Handled according to scheme shown in Fig. 1.
Based on this, multiple direct broadcasting rooms in above-mentioned steps 201 can refer to that being currently needed for barrage server progress barrage shows Show whole direct broadcasting rooms of processing.The barrage sum of the plurality of direct broadcasting room can be simply by barrage service in previous measurement period The number of the barrage data message that device is received in the previous measurement period is determined.
If the corresponding barrage sum of multiple direct broadcasting rooms is more than the second default barrage amount threshold value in previous measurement period, can Each barrage data message received is parsed with further, statistics determines each live in multiple direct broadcasting rooms in the measurement period Between corresponding barrage quantity.It is more than the direct broadcasting room of the first default barrage amount threshold value for barrage quantity, enters according to mode shown in Fig. 1 Before the trade in measurement period barrage to be shown discard processing.
In the present embodiment, if barrage server needs barrage quantity to be processed to already exceed certain threshold value before, for Current barrage quantity to be shown carries out barrage discard processing beyond the direct broadcasting room of another threshold value, so as to further improve bullet The treatment effeciency of curtain server, reduces the processing pressure of barrage server.
Fig. 3 is the flow chart of barrage display methods embodiment three provided in an embodiment of the present invention, as shown in figure 3, including such as Lower step:
Step 301, each barrage data message for receiving each viewing client transmission in previous measurement period, barrage datagram Text includes direct broadcasting room mark, user's mark and barrage content.
In the present embodiment, for any direct broadcasting room, viewing user is by watching the barrage datagram that client is triggered In text in addition to including the mark of its direct broadcasting room watched, include the identity of itself, i.e. user and identify, should The account pet name that user's mark such as provides for viewing user in registration.
Step 302, each barrage data message of parsing, any direct broadcasting room correspondence is determined according to direct broadcasting room therein mark statistics Barrage quantity, according to direct broadcasting room therein mark and user mark statistics determine the direct broadcasting room it is corresponding send out barrage number of users Amount.
It is similar with by the corresponding barrage quantity of direct broadcasting room mark statistics direct broadcasting room, in the present embodiment, parsing can be passed through Each barrage data message, is identified according to direct broadcasting room therein and user identifies the hair barrage user for counting and determining in each direct broadcasting room Quantity, i.e., the quantity for corresponding to user's mark that same direct broadcasting room is identified by counting determines that direct broadcasting room mark is corresponding live Between hair barrage number of users.
If step 303, barrage quantity are more than the first default barrage amount threshold value, according to barrage quantity more than the first default bullet The order of magnitude of curtain amount threshold value determines discarding ratio.
Step 304, discarding ratio adjusted according to the corresponding order of magnitude of hair barrage number of users.
In the present embodiment, the principle based on hair barrage number of users adjustment discarding ratio can be:Send out barrage number of users Few, discarding ratio is heightened, and hair barrage number of users is more, and discarding ratio is turned down.When implementing, benchmark hair barrage can be set Number of users magnitude, and preset the correspondence that the degree and discarding ratio for sending out barrage number of users magnitude beyond benchmark adjust degree Relation, so as to send out the degree of barrage number of users magnitude beyond benchmark according to actual hair barrage number of users, determines corresponding tune Whole ratio, the adjustment trend indicated according to mentioned above principle is adjusted.
In the present embodiment, above-mentioned discarding ratio is adjusted based on hair barrage number of users, can be used ensureing viewing While the interactive experience at family, barrage server process pressure is further reduced.
Step 305, according to the discarding ratio after adjustment in the direct broadcasting room current statistic cycle barrage to be shown carry out Discard processing.
The processing of next one measurement period is performed after step 305, that is, repeats step 301-305, until this is live Between stop it is live.
Step 306, corresponding barrage quantity distinguished according to the direct broadcasting room in multiple measurement periods, determine the bullet of the direct broadcasting room Curtain amount situation of change.
Wherein, corresponding barrage quantity can be the barrage quantity sent after discard processing to the direct broadcasting room respectively, or Person is the barrage quantity received before discard processing.
Above-mentioned steps 306 are optional step, in some actual live application scenarios, can there is the barrage to direct broadcasting room The statistical demand of amount.Therefore, in the present embodiment, the barrage quantity of certain direct broadcasting room of a measurement period can be obtained in every statistics When, a statistic record is formed, record content such as includes:Certain direct broadcasting room needs in section the barrage amount of display to be at what time How much.So as to which after the direct broadcasting room is closed and broadcast, whole statistic records can be exported.The mode of output can be form, bullet One or more in the various ways such as curtain amount change curve form.
The barrage display device of one or more embodiments of the invention described in detail below.These barrage display devices It can be implemented in the architecture of server, or realize in client and the server architecture of server interaction.This Art personnel are appreciated that these barrage display devices can be used what commercially available nextport hardware component NextPort was instructed by this programme Step is configured to constitute.
Fig. 4 is the structural representation of barrage display device embodiment one provided in an embodiment of the present invention, as shown in figure 4, should Device includes:First determining module 11, the second determining module 12, processing module 13.
First determining module 11, for determining the corresponding barrage quantity of direct broadcasting room in previous measurement period.
Second determining module 12, if being more than the first default barrage amount threshold value for the barrage quantity, according to the bullet The order of magnitude that curtain quantity exceedes the described first default barrage amount threshold value determines discarding ratio.
Processing module 13, for being carried out according to the discarding ratio to the barrage to be shown in the current statistic cycle at discarding Reason.
Alternatively, the first determining module 11 includes:Receiving unit 111, resolution unit 112.
Receiving unit 111, for receiving each barrage data message that each viewing client is sent in the current statistic cycle, institute Stating barrage data message includes direct broadcasting room mark and barrage content.
Resolution unit 112, for parsing each barrage data message, according to being determined direct broadcasting room mark statistics The corresponding barrage quantity of direct broadcasting room.
Alternatively, the processing module 13 specifically for:
A random number is produced in the range of default value;If the random number is more than the corresponding numerical value of the discarding ratio, Then send current barrage to be shown;If the random number is less than or equal to the corresponding numerical value of the discarding ratio, institute is abandoned State current barrage to be shown.
Fig. 4 shown devices can perform the method for embodiment illustrated in fig. 1, and the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 1.In implementation procedure and the technique effect embodiment shown in Figure 1 of the technical scheme Description, will not be repeated here.
Fig. 5 is the structural representation of barrage display device embodiment two provided in an embodiment of the present invention, as shown in figure 5, On the basis of embodiment illustrated in fig. 4, the device also includes:3rd determining module 21.
3rd determining module 21, the barrage sum for determining multiple direct broadcasting rooms in the previous measurement period is described straight It is any direct broadcasting room in the multiple direct broadcasting room between broadcasting.
The processing module 13 specifically for:If the barrage sum is more than the second default barrage amount threshold value, institute is performed The step of stating determination discarding ratio.
Fig. 5 shown devices can perform the method for embodiment illustrated in fig. 2, and the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technique effect embodiment shown in Figure 2 of the technical scheme Description, will not be repeated here.
Fig. 6 is the structural representation of barrage display device embodiment three provided in an embodiment of the present invention, as shown in fig. 6, On the basis of Fig. 4 or embodiment illustrated in fig. 5, by taking embodiment illustrated in fig. 4 as an example, in the barrage data message also including user marks Know, described device also includes:4th determining module 31, adjusting module 32.
4th determining module 31, for determining the direct broadcasting room according to direct broadcasting room mark and user mark statistics Corresponding hair barrage number of users.
Adjusting module 32, for adjusting the discarding ratio according to the corresponding order of magnitude of the hair barrage number of users.
Alternatively, the device also includes:5th determining module 33.
5th determining module 33, for distinguishing corresponding barrage quantity according to the direct broadcasting room in multiple measurement periods, really The barrage amount situation of change of the fixed direct broadcasting room.
Fig. 6 shown devices can perform the method for embodiment illustrated in fig. 3, and the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 3.In implementation procedure and the technique effect embodiment shown in Figure 3 of the technical scheme Description, will not be repeated here.
The built-in function and structure of barrage display device are the foregoing described, in practice, the barrage display device, which can be realized, is Server, including:Memory, processor, wherein, memory is connected with processor by bus, and be stored with calculating in memory Machine program, processor calls the computer program stored in memory, to perform following steps:
Determine the corresponding barrage quantity to be shown of direct broadcasting room in the current statistic cycle;
If the barrage quantity to be shown is more than the first default barrage amount threshold value, super according to the barrage quantity to be shown The order of magnitude for crossing the described first default barrage amount threshold value determines discarding ratio;
Delete processing is carried out to the barrage to be shown according to the discarding ratio.
Alternatively, the processor is additionally operable to call the computer program in memory, performs above-mentioned Fig. 1, Fig. 2, Fig. 3 institute Show all or part of step in method and step.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of general hardware platform necessary to add, naturally it is also possible to pass through hardware.Understood based on such, above-mentioned skill The part that art scheme substantially contributes to prior art in other words can be embodied in the form of product, computer production Product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause one Platform computer installation (can be personal computer, server, or network equipment etc.) performs each embodiment or embodiment Some parts described in method.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of barrage display methods, it is characterised in that including:
Determine the corresponding barrage quantity of direct broadcasting room in previous measurement period;
If the barrage quantity is more than the first default barrage amount threshold value, the described first default bullet is exceeded according to the barrage quantity The order of magnitude of curtain amount threshold value determines discarding ratio;
Discard processing is carried out to the barrage to be shown in the current statistic cycle according to the discarding ratio.
2. according to the method described in claim 1, it is characterised in that before the step of the determination discarding ratio, in addition to:
The barrage sum of multiple direct broadcasting rooms in the previous measurement period is determined, the direct broadcasting room is in the multiple direct broadcasting room Any direct broadcasting room;
The step of determination discarding ratio, including:
If the barrage sum is more than the second default barrage amount threshold value, the step of performing the determination discarding ratio.
3. method according to claim 1 or 2, it is characterised in that direct broadcasting room correspondence in the previous measurement period of determination Barrage quantity, including:
Receive in each barrage data message that each viewing client is sent in the previous measurement period, the barrage data message Including direct broadcasting room mark and barrage content;
Each barrage data message is parsed, the corresponding barrage number of the direct broadcasting room is determined according to direct broadcasting room mark statistics Amount.
4. method according to claim 3, it is characterised in that also include user in the barrage data message and identify, institute Stating method also includes:
Determine that the direct broadcasting room is corresponding according to direct broadcasting room mark and user mark statistics and send out barrage number of users;
The order of magnitude for exceeding the described first default barrage amount threshold value according to the barrage quantity is determined after discarding ratio, is gone back Including:
The discarding ratio is adjusted according to the corresponding order of magnitude of the hair barrage number of users.
5. according to the method described in claim 1, it is characterised in that it is described according to the discarding ratio in the current statistic cycle Barrage to be shown carry out discard processing include:
A random number is produced in the range of default value;
If the random number is more than the corresponding numerical value of the discarding ratio, current barrage to be shown is sent;
If the random number is less than or equal to the corresponding numerical value of the discarding ratio, the current barrage to be shown is abandoned.
6. a kind of barrage display device, it is characterised in that including:
First determining module, for determining the corresponding barrage quantity of direct broadcasting room in previous measurement period;
Second determining module, if being more than the first default barrage amount threshold value for the barrage quantity, according to the barrage quantity The order of magnitude more than the described first default barrage amount threshold value determines discarding ratio;
Processing module, for carrying out discard processing to the barrage to be shown in the current statistic cycle according to the discarding ratio.
7. device according to claim 6, it is characterised in that also include:
3rd determining module, for determining that the barrage of multiple direct broadcasting rooms in the previous measurement period is total, the direct broadcasting room is Any direct broadcasting room in the multiple direct broadcasting room;
The processing module specifically for:If the barrage sum is more than the second default barrage amount threshold value, the determination is performed The step of discarding ratio.
8. the device according to claim 6 or 7, it is characterised in that first determining module includes:
Receiving unit, for receiving each barrage data message that each viewing client is sent in the current statistic cycle, the barrage Data message includes direct broadcasting room mark and barrage content;
Resolution unit, for parsing each barrage data message, the direct broadcasting room is determined according to direct broadcasting room mark statistics Corresponding barrage quantity.
9. device according to claim 8, it is characterised in that also include user in the barrage data message and identify, institute Stating device also includes:
4th determining module, for determining that the direct broadcasting room is corresponding with user mark statistics according to direct broadcasting room mark Send out barrage number of users;
Adjusting module, for adjusting the discarding ratio according to the corresponding order of magnitude of the hair barrage number of users.
10. device according to claim 6, it is characterised in that the processing module specifically for:
A random number is produced in the range of default value;If the random number is more than the corresponding numerical value of the discarding ratio, send out Send current barrage to be shown;If the random number is less than or equal to the corresponding numerical value of the discarding ratio, described work as is abandoned Preceding barrage to be shown.
CN201710174841.8A 2017-03-22 2017-03-22 Barrage display methods and device Pending CN106993234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710174841.8A CN106993234A (en) 2017-03-22 2017-03-22 Barrage display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710174841.8A CN106993234A (en) 2017-03-22 2017-03-22 Barrage display methods and device

Publications (1)

Publication Number Publication Date
CN106993234A true CN106993234A (en) 2017-07-28

Family

ID=59412215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710174841.8A Pending CN106993234A (en) 2017-03-22 2017-03-22 Barrage display methods and device

Country Status (1)

Country Link
CN (1) CN106993234A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107396199A (en) * 2017-08-02 2017-11-24 武汉斗鱼网络科技有限公司 Barrage method for exhibiting data and device, computer-readable recording medium
CN108174267A (en) * 2017-12-21 2018-06-15 平安科技(深圳)有限公司 The sending device of interactive information, method and computer readable storage medium in live streaming
CN108347657A (en) * 2018-03-07 2018-07-31 北京奇艺世纪科技有限公司 A kind of method and apparatus of display barrage information
CN108391154A (en) * 2018-01-30 2018-08-10 广州虎牙信息科技有限公司 Barrage display control method, storage medium and terminal
CN108449606A (en) * 2018-03-28 2018-08-24 武汉斗鱼网络科技有限公司 A kind of barrage method for limiting, device, server and medium
WO2018171208A1 (en) * 2017-03-23 2018-09-27 武汉斗鱼网络科技有限公司 Server load adjustment method and device, server, live broadcast system and computer readable storage medium
CN108600772A (en) * 2018-04-24 2018-09-28 北京奇艺世纪科技有限公司 A kind of filter method and device of direct broadcasting room message
CN109101340A (en) * 2018-09-18 2018-12-28 武汉斗鱼网络科技有限公司 Dynamic distribution method, device, equipment and the storage medium of barrage message
CN109660831A (en) * 2017-10-10 2019-04-19 武汉斗鱼网络科技有限公司 Barrage sending cycle setting method, storage medium, electronic equipment and system
WO2019136846A1 (en) * 2018-01-09 2019-07-18 武汉斗鱼网络科技有限公司 Bullet screen sending interval control method, storage medium, electronic device, and system
CN110248211A (en) * 2018-03-07 2019-09-17 香港乐蜜有限公司 Direct broadcasting room message current-limiting method, device, electronic equipment and storage medium
CN110933480A (en) * 2018-09-20 2020-03-27 北京国双科技有限公司 Control method and device for bullet screen display, storage medium and processor
CN110968279A (en) * 2018-09-30 2020-04-07 武汉斗鱼网络科技有限公司 Message degradation method and related device
CN111339158A (en) * 2020-02-21 2020-06-26 北京字节跳动网络技术有限公司 Method and device for processing information, electronic equipment and storage medium
CN111866578A (en) * 2019-12-31 2020-10-30 北京嘀嘀无限科技发展有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN112153407A (en) * 2020-09-27 2020-12-29 北京达佳互联信息技术有限公司 Live broadcast room data interaction method, related device and equipment
CN112565916A (en) * 2020-11-26 2021-03-26 厦门理工学院 Bullet screen display method, bullet screen display device, bullet screen display equipment and computer readable storage medium
CN113727134A (en) * 2021-08-31 2021-11-30 康键信息技术(深圳)有限公司 Live chat information distribution method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118730A (en) * 2009-12-04 2011-06-16 Dowango:Kk Communication system and communication method
CN103650521A (en) * 2011-06-29 2014-03-19 索尼电脑娱乐公司 Information processing device and information processing method
US20140344853A1 (en) * 2013-05-16 2014-11-20 Panasonic Corporation Comment information generation device, and comment display device
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN105915952A (en) * 2016-05-13 2016-08-31 武汉斗鱼网络科技有限公司 Intelligent bullet screen preservation method and device based on video website
CN106101862A (en) * 2016-06-15 2016-11-09 武汉斗鱼网络科技有限公司 A kind of intelligent barrage guard method for video website and device
CN106470357A (en) * 2016-10-11 2017-03-01 北京小米移动软件有限公司 barrage message display method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011118730A (en) * 2009-12-04 2011-06-16 Dowango:Kk Communication system and communication method
CN103650521A (en) * 2011-06-29 2014-03-19 索尼电脑娱乐公司 Information processing device and information processing method
US20140344853A1 (en) * 2013-05-16 2014-11-20 Panasonic Corporation Comment information generation device, and comment display device
CN105578209A (en) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 Pop-up screen display method and apparatus
CN105657475A (en) * 2016-03-15 2016-06-08 武汉斗鱼网络科技有限公司 Method and device for grouping users in live broadcast website
CN105915952A (en) * 2016-05-13 2016-08-31 武汉斗鱼网络科技有限公司 Intelligent bullet screen preservation method and device based on video website
CN106101862A (en) * 2016-06-15 2016-11-09 武汉斗鱼网络科技有限公司 A kind of intelligent barrage guard method for video website and device
CN106470357A (en) * 2016-10-11 2017-03-01 北京小米移动软件有限公司 barrage message display method and device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018171208A1 (en) * 2017-03-23 2018-09-27 武汉斗鱼网络科技有限公司 Server load adjustment method and device, server, live broadcast system and computer readable storage medium
CN107396199A (en) * 2017-08-02 2017-11-24 武汉斗鱼网络科技有限公司 Barrage method for exhibiting data and device, computer-readable recording medium
CN109660831A (en) * 2017-10-10 2019-04-19 武汉斗鱼网络科技有限公司 Barrage sending cycle setting method, storage medium, electronic equipment and system
CN108174267A (en) * 2017-12-21 2018-06-15 平安科技(深圳)有限公司 The sending device of interactive information, method and computer readable storage medium in live streaming
CN108174267B (en) * 2017-12-21 2020-09-01 平安科技(深圳)有限公司 Device and method for sending interactive information in live broadcast and computer readable storage medium
WO2019136846A1 (en) * 2018-01-09 2019-07-18 武汉斗鱼网络科技有限公司 Bullet screen sending interval control method, storage medium, electronic device, and system
CN108391154A (en) * 2018-01-30 2018-08-10 广州虎牙信息科技有限公司 Barrage display control method, storage medium and terminal
CN108391154B (en) * 2018-01-30 2021-07-30 广州虎牙信息科技有限公司 Barrage display control method, storage medium and terminal
CN108347657B (en) * 2018-03-07 2021-04-20 北京奇艺世纪科技有限公司 Method and device for displaying bullet screen information
CN110248211A (en) * 2018-03-07 2019-09-17 香港乐蜜有限公司 Direct broadcasting room message current-limiting method, device, electronic equipment and storage medium
CN108347657A (en) * 2018-03-07 2018-07-31 北京奇艺世纪科技有限公司 A kind of method and apparatus of display barrage information
CN110248211B (en) * 2018-03-07 2021-08-24 卓米私人有限公司 Live broadcast room message current limiting method and device, electronic equipment and storage medium
CN108449606B (en) * 2018-03-28 2020-08-04 武汉斗鱼网络科技有限公司 Barrage limiting method, device, server and medium
CN108449606A (en) * 2018-03-28 2018-08-24 武汉斗鱼网络科技有限公司 A kind of barrage method for limiting, device, server and medium
CN108600772A (en) * 2018-04-24 2018-09-28 北京奇艺世纪科技有限公司 A kind of filter method and device of direct broadcasting room message
CN109101340A (en) * 2018-09-18 2018-12-28 武汉斗鱼网络科技有限公司 Dynamic distribution method, device, equipment and the storage medium of barrage message
CN110933480A (en) * 2018-09-20 2020-03-27 北京国双科技有限公司 Control method and device for bullet screen display, storage medium and processor
CN110968279A (en) * 2018-09-30 2020-04-07 武汉斗鱼网络科技有限公司 Message degradation method and related device
CN110968279B (en) * 2018-09-30 2022-05-13 武汉斗鱼网络科技有限公司 Message degradation method and related device
CN111866578A (en) * 2019-12-31 2020-10-30 北京嘀嘀无限科技发展有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN111339158A (en) * 2020-02-21 2020-06-26 北京字节跳动网络技术有限公司 Method and device for processing information, electronic equipment and storage medium
CN111339158B (en) * 2020-02-21 2023-05-16 北京字节跳动网络技术有限公司 Method and device for processing information, electronic equipment and storage medium
CN112153407A (en) * 2020-09-27 2020-12-29 北京达佳互联信息技术有限公司 Live broadcast room data interaction method, related device and equipment
CN112565916A (en) * 2020-11-26 2021-03-26 厦门理工学院 Bullet screen display method, bullet screen display device, bullet screen display equipment and computer readable storage medium
CN113727134A (en) * 2021-08-31 2021-11-30 康键信息技术(深圳)有限公司 Live chat information distribution method and system

Similar Documents

Publication Publication Date Title
CN106993234A (en) Barrage display methods and device
CN107071584A (en) Live even wheat method and device
CN107302489A (en) Message display method and device
CN106161219B (en) Message treatment method and device
EP3780523B1 (en) Network traffic identification method and related device
CN106878769A (en) live video quality monitoring method and device
US9628786B2 (en) System and method of indicating video content quality
CN107277160A (en) A kind of content delivery network node switching method and device
CN108462896B (en) Live data stream processing method and device and electronic equipment
CN111787345B (en) Interactive resource processing method and device based on network live broadcast room, server and storage medium
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN108174305A (en) The message treatment method and device of chatroom is broadcast live
WO2021238940A1 (en) Video data processing method and apparatus, and electronic device
CN106937177A (en) Direct broadcasting room popularity display methods and device
CN108924650A (en) A kind of message prompt method, device, electronic equipment and storage medium
CN107231350A (en) A kind of message treatment method and device
US10764649B2 (en) Falling back from three-dimensional video
CN104540018B (en) The treating method and apparatus of network television video exception played data
CN107197355A (en) Barrage display methods and device
CN114189705A (en) Live broadcast card pause processing method and system
CN108989881A (en) A kind of main broadcaster's state determines method and device
CN107733732B (en) Method and device for judging network condition
CN107124660B (en) Method and device for triggering broadcast information of live broadcast room
CN107635155A (en) A kind of method for sending information, device, equipment and storage medium
CN108322787A (en) Video stream distributing method, device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170728