CN108600772A - A kind of filter method and device of direct broadcasting room message - Google Patents

A kind of filter method and device of direct broadcasting room message Download PDF

Info

Publication number
CN108600772A
CN108600772A CN201810375119.5A CN201810375119A CN108600772A CN 108600772 A CN108600772 A CN 108600772A CN 201810375119 A CN201810375119 A CN 201810375119A CN 108600772 A CN108600772 A CN 108600772A
Authority
CN
China
Prior art keywords
message
caching
weighted value
size
similarity
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
CN201810375119.5A
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810375119.5A priority Critical patent/CN108600772A/en
Publication of CN108600772A publication Critical patent/CN108600772A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions

Abstract

The present invention provides a kind of filter method and device of direct broadcasting room message, is applied to live streaming client, and message is buffered in the caching of live streaming client place terminal, and wherein method includes:The weighted value of message in being cached;Message in caching is ranked up according to weighted value;When the size of message in caching is more than the Message Payload amount of caching, selection message is deleted in the message low from weighted value, until the size of message in caching is less than the Message Payload amount of caching.As it can be seen that the filter method and device that provide through the invention, when the message in caching is more than the load capacity of caching, the low message of weighted value is deleted, the occupancy to spatial cache is reduced, ensures the normal display of the smoothness and message of live streaming picture, optimization live streaming performance, promotes user experience.

Description

A kind of filter method and device of direct broadcasting room message
Technical field
The present invention relates to Internet technical field, more particularly to a kind of the filter method and device of direct broadcasting room message.
Background technology
With the continuous development of Internet technology, direct seeding technique is operated and is given birth to, and live streaming platform provides multiple direct broadcasting rooms, user Into after direct broadcasting room, the live video stream of middle main broadcaster's transmission between current live can be watched.
In direct broadcasting room, the interaction forms of user and main broadcaster are mainly message of making comments, when user's concentration speech, Concurrent size of message enters the terminal where direct broadcasting room so that the performance of terminal is affected, and leads to that picture is broadcast live in direct broadcasting room Face it is not smooth, message display is slow the problems such as, also resulted in when serious live streaming application program sudden strain of a muscle move back, seriously affect user's body It tests.
Currently, major live streaming platform mainly abandons the excessive processing method of size of message by message, by advance The threshold value of size of message is set, when size of message reaches threshold value, the discarding of selective carry out message.However, due to different user The otherness of used terminal, single size of message threshold value can not be suitable for the terminal of all users, also result in important messages The possibility being dropped.
Invention content
In view of this, the purpose of the present invention is to provide a kind of filter method and device of direct broadcasting room message, optimization live streaming Performance promotes user experience.
To achieve the above object, the present invention has following technical solution:
First aspect present invention provides a kind of filter method of direct broadcasting room message, is applied to live streaming client, and message is slow In the presence of in the caching of terminal where live streaming client, this method includes:
The weighted value of message in being cached, the importance of the weighted value characterization message;
Message in caching is ranked up according to weighted value;
When the size of message in caching is more than the Message Payload amount of caching, according to the ranking results of the weighted value, from power Message is selected to be deleted in the low message of weight values, until the size of message in the caching is less than the Message Payload of the caching Amount.
Optionally, the weighted value is directly proportional to the length of the make purchases worth more of message and message, with message caching when Between be inversely proportional.
Optionally, when the size of message in caching is less than the Message Payload amount of caching, according to weighted value from high to low suitable Message is shown in the comment area of the direct broadcasting room by sequence successively.
Optionally, the Message Payload method for determination of amount includes:It is negative by message of the spatial cache size of preset ratio Carrying capacity.
Optionally, the message is text message, when the size of message in caching is more than the Message Payload amount of caching, is also wrapped It includes:Message groups are formed by every two message in the caching, obtain the similarity of the message groups respectively, the similarity is institute State the similarity between two message in message groups;Then, message is selected to be deleted in the message low from weighted value, Zhi Daosuo State caching in size of message be less than the caching Message Payload amount include:
According to the similarity sequence from high to low of the message groups, in the message groups high from similarity, select weight low Message deleted, until the size of message in the caching be less than the caching Message Payload amount.
Optionally, in the message groups high from similarity, in the step of selecting the low message of weighted value to be deleted, also Including:
When the weighted value of two message in the message groups is equal, the message of the time cached in the message groups length is selected It is deleted.
Optionally, quantity of the similarity for identical characters in two message in message groups and all characters in two message The ratio of quantity.
The second aspect of the present invention provides a kind of filter device of direct broadcasting room message, is applied to live streaming client, message In the caching of terminal where being buffered in the live streaming client, which includes:
Weighted value acquiring unit, for the weighted value of message in being cached, the importance of the weighted value characterization message;
Sequencing unit, for the message in caching to be ranked up according to weighted value;
Message deleting unit is used for when the size of message in caching is more than the Message Payload amount of caching, according to the weight The ranking results of value, selection message is deleted in the message low from weighted value, until the size of message in the caching is less than institute State the Message Payload amount of caching.
Optionally, the weighted value is directly proportional to the length of the make purchases worth more of message and message, with message caching when Between be inversely proportional.
Optionally, the message is text message, further includes:
Similarity acquiring unit is used for when the size of message in caching is more than the Message Payload amount of caching, by the caching In every two message form message groups, obtain the similarity of the message groups respectively, the similarity is two in the message groups Similarity between message;
Then, in the message deleting unit, message is selected to be deleted in the message low from weighted value, until described The Message Payload amount that size of message in caching is less than the caching includes:According to similarity from high to low suitable of the message groups Sequence, in the message groups high from similarity, the message for selecting weighted value low is deleted, until the size of message in the caching is less than The Message Payload amount of the caching.
Optionally, quantity of the similarity for identical characters in two message in the message groups and all words in two message The ratio of the quantity of symbol.
The filter method and device of direct broadcasting room message provided in an embodiment of the present invention, pass through the weight of message in being cached Value, is ranked up the message in caching, when the size of message in caching is more than the load capacity of caching, deletes weighted value in order Lower message, until the size of message in caching is less than the Message Payload amount of caching.As it can be seen that provide through the embodiment of the present invention Filter method and device are deleted the low message of weighted value, are reduced to caching when the message in caching is more than the load capacity of caching The occupancy in space ensures that the normal display of the smoothness and message of live streaming picture, optimization live streaming performance promote user experience.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of filter method flow chart of direct broadcasting room message provided in an embodiment of the present invention;
Fig. 2 is a kind of filter apparatus configuration figure of direct broadcasting room message provided in an embodiment of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings to the present invention Specific implementation mode be described in detail.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still the present invention can be with Implemented different from other manner described here using other, those skilled in the art can be without prejudice to intension of the present invention In the case of do similar popularization, therefore the present invention is not limited by following public specific embodiment.
The technical solution provided to facilitate the understanding of the present invention below first carries out the background technology of technical solution of the present invention Simple declaration.
Inventor has found that traditional processing is to pass through in the treatment research excessive to traditional size of message for caching The threshold value for pre-setting size of message, when the size of message in caching reaches threshold value, selective discarding information, due to different user The otherness of used terminal, single size of message threshold value can not be suitable for the terminal of all users, cause certain terminals cannot Its maximum performance is played, and the discarding of selectivity also results in the possibility that important messages are dropped.
Based on this, the present invention provides a kind of filter methods of direct broadcasting room message, pass through the weight of message in being cached Value, is ranked up the message in caching, when the size of message in caching is more than the load capacity of caching, deletes that weighted value is low disappears Breath reduces the occupancy to spatial cache, ensures that the normal display of the smoothness and message of live streaming picture, optimization live streaming performance are promoted User experience.
To facilitate the understanding of the present invention, the application scenarios of the present invention are introduced, direct broadcasting room message provided by the invention Filter method, can be applied in live streaming client, user can install live streaming client by user terminal, and by straight It broadcasts Client browse or sends message, user is first stored in by the way that the message that client is sent is broadcast live in caching, and live streaming client obtains The weighted value of message in must caching, and be ranked up according to weighted value, when the size of message in caching is more than the Message Payload of caching When amount, the lower message of weighted value is deleted, reduces the occupancy to spatial cache, avoids showing live streaming picture and important messages Influence.
For the ease of those skilled in the art understand that the present invention, disappears to direct broadcasting room provided by the invention below in conjunction with attached drawing The filter method of breath lays down a definition explanation.
Referring to Fig. 1, it illustrates a kind of filter method flow chart of direct broadcasting room message provided in an embodiment of the present invention, the party Method is applied to live streaming client, and message is buffered in the caching of live streaming client place terminal, and method may include:
S101:The weighted value of message in being cached, the importance of the weighted value characterization message.
In practical application, the type of message of direct broadcasting room is varied, such as:Common message, fly screen message, red packet message, Upper and lower wheat message etc., its importance value of different types of message is also different, can be inhomogeneity to distinguish the significance level of message The message of type presets weighted value.Wherein, the transmission for flying screen message, the message such as red packet message needs to buy corresponding virtual coin and just may be used It sends, the importance value of this kind of message is higher than common message.Wherein, the weighted value of message can obtain in the following manner in caching It takes.
In some embodiments, while user sends message by the way that client is broadcast live, it is corresponding to send the message Weighted value, and in the buffer with message storage, subsequently to obtain the weighted value of the message from caching.
In some embodiments, when receiving the message that other users are sent by client as user, in buffered message While, the weighted value of the message is calculated, which can together store in the buffer with message, convenient subsequently from caching Obtain the weighted value of the message.
In view of the factor influenced on message severities is more, for example, the value of message, the length of message, message is slow Deposit time etc..Based on this, present embodiments provide a kind of message weight value calculating method, in the computational methods, weighted value with The make purchases worth more of message and the length of message are directly proportional, are inversely proportional with the time of message caching.
When concrete application, following calculation formula may refer to:
Wherein, WiIndicate message weight value;ViIndicate the make purchases worth more of message;LiIndicate the length of message content;tiTo disappear It ceases the time that i is reached, i.e. the time of message i cachings;T is current time.
Wherein, e is used in the calculation formulat-tiInstead of t-tiAs denominator, in order to evade the feelings that denominator is 0 Condition.
In the calculation formula, the make purchases worth more V of messageiBigger, corresponding weighted value is bigger, for example, common message It can directly transmit, not need to buy after only user being needed to edit, therefore make purchases worth more is relatively low, and for flying screen message and red packet For message due to needing user's purchase just to can be transmitted, the make purchases worth more of such message is higher;And the message ratio of content-length length The short message of content is more valuable, for example " main broadcaster is very serious " is more of practical significance than " ".Simultaneously, it is contemplated that the time is for disappearing The influence of weighted value is ceased, newer message is more important.
S102:Message in caching is ranked up according to weighted value.
In the present embodiment, by obtaining the weighted value of message in caching, it is ranked up according to the size of weighted value, specifically in fact Now, it can be ranked up according to sequence from high to low, the big message of weighted value comes front, the smaller message row of weighted value Later, it if the weighted value of message is equal, is ranked up according to the time for entering storage, the rear message into caching comes It is introduced into before the message of caching.
It is of course also possible to be ranked up according to sequence from low to high, the small message of weighted value comes front, weighted value compared with Big message comes below, if the weighted value of message is equal, is ranked up according to the time for entering storage, is introduced into caching Message come after enter caching message before.
It should be noted that in practical application, the rule of sequence can be set according to actual conditions, the present embodiment is herein not It limits.
S103:When the size of message in caching is more than the Message Payload amount of caching, select to disappear in the message low from weighted value Breath is deleted, until the size of message in the caching is less than the Message Payload amount of the caching.
Wherein, size of message refers to the size of memory space shared by message in caching.
The Message Payload amount of caching refers to the message capacity that caching can bear, and Message Payload amount can have a variety of settings Mode in some embodiments can be using the spatial cache of preset ratio as Message Payload amount.For example, with the message of caching The 70% of the entire spatial cache Message Payload amount for being set as caching is occupied, in this way, for different terminals, Message Payload amount pair It is identical in the accounting of spatial cache, but the numerical value of particular capacity can be different, which embodies terminal buffers Storage capacity is judged that energy is more preferable compared to the deletion for judging whether to message by size of message by Message Payload amount Ground utilizes terminal buffers space, avoids the deletion for excessively deleting message and important messages.
In further embodiments, the specific setting of the Message Payload amount of caching can also be according to user terminal cache size Difference set, using the spatial cache of different preset ratios as Message Payload amount, spatial cache is bigger, Message Payload amount institute The accounting for accounting for spatial cache is higher, preferably to utilize terminal buffers space, for example, the spatial cache of user terminal is 2G, The message then cached occupies the 70% of the entire spatial cache Message Payload amount for being set as caching, shared by the size of message in caching According to spatial cache be more than above-mentioned setting value when, then delete caching in the lower message of weighted value, with ensure be broadcast live normal operation; When spatial cache is 4G, then the message cached occupies the 80% of the entire spatial cache Message Payload amount for being set as caching, when slow When the spatial cache occupied by size of message deposited is more than above-mentioned setting value, then the lower message of weighted value in caching is deleted, with Ensure live streaming normal operation.
Certainly, can also be according to other according to the settings for carrying out Message Payload amounts in practical application, the present embodiment is herein not It limits.
When the size of message in caching is more than the Message Payload amount of caching, the lower message of weighted value is deleted in time, that is, is deleted Except unessential message, prevents certain user from pouring water and the behavior of brush advertisement with this, avoid the influence shown to important messages. By deleting unessential message, until the size of message in caching is no more than the Message Payload amount in caching.
In practical application, when the size of message in caching is more than the Message Payload amount of caching, if the message in caching is When being ranked up according to sequence from high to low, then deleted since the last one message of sequence, until the message in caching Amount then stops deleting less than the Message Payload amount of caching.
If the message in caching is opened from first message of sequence when being ranked up according to sequence from low to high Begin to delete, until Message Payload amount of the size of message in caching less than caching, then stops deleting.
When the size of message in caching is less than or equal to the Message Payload amount of caching, then the message in normal display caching, Specifically, carrying out the display of message according to the sequence of weighted value from high to low.
In practical application, when the size of message in caching no more than caching Message Payload amount when, show first weighted value compared with High message, i.e. important messages, than screen message like flying, red packet message etc., since this kind of message needs user's purchase just to can be transmitted, Its importance is higher than common message, user can be promoted to buy message of high importance, stimulation consumption with this.
It is understood that if the message in caching is when being ranked up according to sequence from high to low, when in caching Size of message when being less than or equal to the Message Payload amount of caching, then preferential display comes the message of front.
If the message in caching is when being ranked up according to sequence from low to high, be less than when the size of message in caching or Equal to caching Message Payload amount when, then preferential display comes subsequent message.
It should be noted that being preferably ranked up according to the sequence of the weighted value of message from high to low.
In some embodiments, the message is text message, when the message that the size of message in caching is more than caching is negative When carrying capacity, further include:Message groups are formed by every two message in the caching, obtain the similarity of the message groups, institute respectively It is the similarity in the message groups between two message to state similarity;Then, in the message low from weighted value select message into Row is deleted, until the Message Payload amount that the size of message in the caching is less than the caching includes:According to the phase of the message groups Like degree sequence from high to low, in the message groups high from similarity, the message for selecting weight low is deleted, until the caching In size of message be less than the caching Message Payload amount.
In the present embodiment, when the message that user sends is text message, every two message in caching forms message groups, The similarity of each message groups is obtained, can be ranked up according to the sequence of similarity from high to low, and higher from similarity In message groups, the low message of weighted value is deleted.When the weighted value of two message in the message groups is equal, the message groups are selected The message of the time length of middle caching is deleted.
Wherein, quantity of the similarity for identical characters in two message in the message groups and all characters in two message Quantity ratio.
In the present embodiment, by the similarity degree of measuring similarity message, the number of words of repeat character (RPT) is more in two message, then Above-mentioned ratio is bigger, shows that the repetition between message is higher, when ratio is 1, shows that two message are just the same.It is specific to calculate phase When seemingly spending, it can be calculated using following formula:
Wherein, S is the similarity of two message, and A ∩ B are the quantity of two message repeat character (RPT)s;A ∪ B are to own in two message The quantity of character, that is, two message total number of characters.
In order to make it easy to understand, assuming that message A is " main broadcaster is very severe ", message B is " main broadcaster is good severe ", then repeat character (RPT) is The number of words of " main broadcaster is severe ", repeat character (RPT) is 4, and total character is " the very good severity of main broadcaster " in two message, and total number of characters is 6, then compares Value is 0.67.
In practical application, when size of message exceeds the Message Payload amount in caching in caching, for all texts in caching Message calculates the similarity between text message two-by-two, obtains highest a pair of of the message of similarity, then deletes wherein weighted value Low text message.If the weighted value of two message is equal, deletes into message earlier is cached, then repeat above-mentioned behaviour Make, until the size of message in caching is less than Message Payload amount.
By the filter method of direct broadcasting room message provided by the embodiment, by obtaining the weighted value of message in caching, to slow Message in depositing is ranked up, and when the size of message in caching is more than the load capacity of caching, it is lower to delete weighted value in order Message, until the size of message in caching is less than the Message Payload amount of caching.As it can be seen that the filter method provided through this embodiment, When the size of message in caching is more than the Message Payload amount of caching, the low message of weighted value is deleted, reduction accounts for spatial cache With the normal display of the smoothness and message of guarantee live streaming picture, optimization is broadcast live performance, promotes user experience.
The above-mentioned embodiment of the method for the present invention, below in conjunction with attached drawing to live streaming message screening device provided by the invention It is explained.
Referring to Fig. 2, it illustrates a kind of filter device of live streaming message provided in an embodiment of the present invention, which is applied to Client is broadcast live, message is buffered in the caching of live streaming client place terminal, which includes:Weighted value Acquiring unit 201, sequencing unit 202, message deleting unit 203.
Weighted value acquiring unit 201, for the weighted value of message in being cached, the weighted value characterizes the important of message Property.
Wherein, the length of the make purchases worth more and message of weighted value and message is directly proportional, and the time with message caching is at anti- Than.
Sequencing unit 202, for the message in caching to be ranked up according to weighted value.
Message deleting unit 203 is used for when the size of message in caching is more than the Message Payload amount of caching, according to the power The ranking results of weight values, selection message is deleted in the message low from weighted value, until the size of message in the caching is less than The Message Payload amount of the caching.
Wherein, the Message Payload method for determination of amount includes:It is born using the spatial cache size of preset ratio as message Carrying capacity.
In some embodiments, the message is text message, which further includes:
Similarity acquiring unit 204, for when the size of message in caching is more than the Message Payload amount cached, being delayed by described Every two message forms message groups in depositing, and obtains the similarity of the message groups respectively, and the similarity is in the message groups Similarity between two message.
Wherein, the similarity that message groups are obtained in similarity acquiring unit 204, in the specially described message groups in two message The ratio of the quantity of identical characters and the quantity of all characters in two message.
Then, message deleting unit 203, for the sequence of the similarity according to the message groups from high to low, from similarity In high message groups, the message for selecting weighted value low is deleted, until the size of message in the caching is less than the caching Message Payload amount.
In some embodiments, which further includes:Display unit, the display unit, for when disappearing in caching When breath amount is less than the Message Payload amount of caching, message is shown in the direct broadcasting room successively according to the sequence of weighted value from high to low Comment area.
It should be noted that the setting of each unit or module and function in the present embodiment filter device, are referred to Fig. 1 Shown method and realize, details are not described herein.
The direct broadcasting room message screening device provided through this embodiment obtains message in caching by weighted value acquiring unit Weighted value, be ranked up according to weighted value by sequencing unit, when the size of message in caching be more than caching load capacity when, delete Unit deletes the lower message of weighted value in sequence.As it can be seen that the filter device provided through this embodiment, when disappearing in caching When breath amount is more than Message Payload amount, the low message of weighted value is deleted, the occupancy to spatial cache is reduced, ensures the stream of live streaming picture Smooth and message normal display, optimization live streaming performance, promotes user experience.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.
The above is only a preferred embodiment of the present invention, although the present invention has been disclosed in the preferred embodiments as above, so And it is not limited to the present invention.Any technical person familiar with the field is not departing from technical solution of the present invention ambit Under, many possible changes and modifications all are made to technical solution of the present invention using the methods and technical content of the disclosure above, Or it is revised as the equivalent embodiment of equivalent variations.Therefore, every content without departing from technical solution of the present invention, according to the present invention Technical spirit any simple modification, equivalent variation and modification made to the above embodiment, still fall within the technology of the present invention side In the range of case protection.

Claims (11)

1. a kind of filter method of direct broadcasting room message, is applied to live streaming client, message is buffered in where the live streaming client In the caching of terminal, which is characterized in that the method includes:
Obtain the weighted value of message in the caching of the terminal, the importance of the weighted value characterization message;
Message in the caching is ranked up according to weighted value;
When the size of message in the caching is more than the Message Payload amount of the caching, according to the ranking results of the weighted value, Message is selected to be deleted in the message low from weighted value, until the message that the size of message in the caching is less than the caching is negative Carrying capacity.
2. filter method according to claim 1, which is characterized in that the make purchases worth more of the weighted value and message and disappear The length of breath is directly proportional, is inversely proportional with the time of message caching.
3. filter method according to claim 1, which is characterized in that further include:When the size of message in caching is less than caching Message Payload amount when, message is shown in the comment area of the direct broadcasting room successively according to the sequence of weighted value from high to low.
4. filter method according to claim 1, which is characterized in that the Message Payload method for determination of amount includes:With The spatial cache size of preset ratio is as Message Payload amount.
5. according to the filter method described in any one of claim 1-4, which is characterized in that the message is text message, when When size of message in caching is more than the Message Payload amount of caching, further include:Message groups are formed by every two message in the caching, The similarity of the message groups is obtained respectively, and the similarity is the similarity between two message in the message groups;Then,
Message is selected to be deleted in the message low from weighted value, until the size of message in the caching is less than the caching Message Payload amount include:
According to the similarity sequence from high to low of the message groups, in the message groups high from similarity, select weighted value low Message is deleted, until the size of message in the caching is less than the Message Payload amount of the caching.
6. filter method according to claim 5, which is characterized in that in the message groups high from similarity, right to choose In the step of low message of weight values is deleted, further include:
When the weighted value of two message in the message groups is equal, the message of the time cached in the message groups length is selected to carry out It deletes.
7. filter method according to claim 5, which is characterized in that the similarity is in two message in the message groups The ratio of the quantity of identical characters and the quantity of all characters in two message.
8. a kind of filter device of live streaming message, is applied to live streaming client, message is buffered in where the live streaming client eventually In the caching at end, which is characterized in that described device includes:
Weighted value acquiring unit, for the weighted value of message in being cached, the importance of the weighted value characterization message;
Sequencing unit, for the message in caching to be ranked up according to weighted value;
Message deleting unit is used for when the size of message in caching is more than the Message Payload amount of caching, according to the weighted value Ranking results, selection message is deleted in the message low from weighted value, until the size of message in the caching be less than it is described slow The Message Payload amount deposited.
9. device according to claim 8, which is characterized in that the make purchases worth more and message of the weighted value and message Length is directly proportional, is inversely proportional with the time of message caching.
10. device according to claim 8, which is characterized in that the message is text message, further includes:
Similarity acquiring unit is used for when the size of message in caching is more than the Message Payload amount of caching, by every in the caching Two message form message groups, obtain the similarity of the message groups respectively, and the similarity is two message in the message groups Between similarity;
Then, in the message deleting unit, message is selected to be deleted in the message low from weighted value, until the caching In size of message be less than the caching Message Payload amount include:According to the similarity sequence from high to low of the message groups, In the message groups high from similarity, the message for selecting weighted value low is deleted, until the size of message in the caching is less than institute State the Message Payload amount of caching.
11. device according to claim 10, which is characterized in that the similarity is phase in two message in the message groups With the ratio of the quantity and the quantity of all characters in two message of character.
CN201810375119.5A 2018-04-24 2018-04-24 A kind of filter method and device of direct broadcasting room message Pending CN108600772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810375119.5A CN108600772A (en) 2018-04-24 2018-04-24 A kind of filter method and device of direct broadcasting room message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810375119.5A CN108600772A (en) 2018-04-24 2018-04-24 A kind of filter method and device of direct broadcasting room message

Publications (1)

Publication Number Publication Date
CN108600772A true CN108600772A (en) 2018-09-28

Family

ID=63614655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810375119.5A Pending CN108600772A (en) 2018-04-24 2018-04-24 A kind of filter method and device of direct broadcasting room message

Country Status (1)

Country Link
CN (1) CN108600772A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245095A (en) * 2019-06-20 2019-09-17 华中科技大学 A kind of solid-state disk cache optimization method and system based on data block map
CN111416765A (en) * 2020-03-20 2020-07-14 北京字节跳动网络技术有限公司 Interactive message processing method and device
CN113098781A (en) * 2021-03-19 2021-07-09 北京达佳互联信息技术有限公司 Session list processing method, device, server and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050041789A1 (en) * 2003-08-19 2005-02-24 Rodney Warren-Smith Method and apparatus for filtering electronic mail
CN105897550A (en) * 2015-12-23 2016-08-24 乐视致新电子科技(天津)有限公司 Off-line message pushing method and device
CN105979343A (en) * 2016-06-28 2016-09-28 武汉斗鱼网络科技有限公司 Bullet screen layer setting method and device based on webpage bullet screens
CN106101863A (en) * 2016-06-24 2016-11-09 武汉斗鱼网络科技有限公司 A kind of have barrage sending method and the device deleting protection mechanism
CN106407209A (en) * 2015-07-29 2017-02-15 南京酷派软件技术有限公司 Information classification method and device and mobile terminal
CN106649338A (en) * 2015-10-30 2017-05-10 中国移动通信集团公司 Information filtering policy generation method and apparatus
CN106993234A (en) * 2017-03-22 2017-07-28 北京潘达互娱科技有限公司 Barrage display methods and device
CN107231350A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 A kind of message treatment method and device
CN107302489A (en) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 Message display method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050041789A1 (en) * 2003-08-19 2005-02-24 Rodney Warren-Smith Method and apparatus for filtering electronic mail
CN106407209A (en) * 2015-07-29 2017-02-15 南京酷派软件技术有限公司 Information classification method and device and mobile terminal
CN106649338A (en) * 2015-10-30 2017-05-10 中国移动通信集团公司 Information filtering policy generation method and apparatus
CN105897550A (en) * 2015-12-23 2016-08-24 乐视致新电子科技(天津)有限公司 Off-line message pushing method and device
CN106101863A (en) * 2016-06-24 2016-11-09 武汉斗鱼网络科技有限公司 A kind of have barrage sending method and the device deleting protection mechanism
CN105979343A (en) * 2016-06-28 2016-09-28 武汉斗鱼网络科技有限公司 Bullet screen layer setting method and device based on webpage bullet screens
CN106993234A (en) * 2017-03-22 2017-07-28 北京潘达互娱科技有限公司 Barrage display methods and device
CN107231350A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 A kind of message treatment method and device
CN107302489A (en) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 Message display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245095A (en) * 2019-06-20 2019-09-17 华中科技大学 A kind of solid-state disk cache optimization method and system based on data block map
CN111416765A (en) * 2020-03-20 2020-07-14 北京字节跳动网络技术有限公司 Interactive message processing method and device
CN113098781A (en) * 2021-03-19 2021-07-09 北京达佳互联信息技术有限公司 Session list processing method, device, server and storage medium
CN113098781B (en) * 2021-03-19 2023-01-20 北京达佳互联信息技术有限公司 Session list processing method, device, server and storage medium

Similar Documents

Publication Publication Date Title
US11895342B2 (en) Video analysis method and system
CN104394486B (en) A kind of video stream processing method and device based on cloud desktop
CN108600772A (en) A kind of filter method and device of direct broadcasting room message
US8850055B1 (en) Intelligently streaming portions of media at higher quality over a limited bandwidth connection
CN108271032B (en) Live video switching method and device
US11589110B2 (en) Digital media system
CN108833996A (en) Service node selection, update and code rate adaptive approach in distributed DASH system
CN108184152A (en) A kind of DASH Transmission systems two benches client code rate selection method
US9819715B2 (en) Client side control of adaptive streaming
CN103974057B (en) A kind of video quality user experience value assessment method, equipment and system
CN106888253A (en) The shunt method and device of a kind of broadband services
CN107734394B (en) Method and device for displaying animation information
US9940732B2 (en) Implementing reduced video stream bandwidth requirements when remotely rendering complex computer graphics scene
CN110545450B (en) Node distribution method, system, electronic equipment and storage medium
CN111225209A (en) Video data plug flow method, device, terminal and storage medium
CN110022335B (en) Data packet transmitting method, device, server and computer readable storage medium
CN106507101B (en) A kind of video service quality evaluation method and device
US20230081769A1 (en) Flash crowd management in real-time streaming
JP2015104075A (en) Medium reproduction control device, medium reproduction control method and program
CN109862188A (en) Method for sending information and device, equipment and storage medium
CN109041169A (en) A kind of network share method and system of the idle bandwidth of router
CN108337554A (en) Smart mobile phone browser video buffer method
JP7472286B2 (en) Method, system, and medium for selecting a format for streaming a media content item - Patents.com
CN114244843A (en) Streaming media downloading method, electronic equipment and storage medium
KR102656804B1 (en) Edge caching system

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: 20180928