CN107454441B - A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior - Google Patents
A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior Download PDFInfo
- Publication number
- CN107454441B CN107454441B CN201710524115.4A CN201710524115A CN107454441B CN 107454441 B CN107454441 B CN 107454441B CN 201710524115 A CN201710524115 A CN 201710524115A CN 107454441 B CN107454441 B CN 107454441B
- Authority
- CN
- China
- Prior art keywords
- user information
- user
- direct broadcasting
- broadcasting room
- live streaming
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/26613—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing keys in general
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44213—Monitoring of end-user related data
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Graphics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Social Psychology (AREA)
- Computer Security & Cryptography (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of methods for detecting the popularity behavior of direct broadcasting room brush, applied in live streaming Platform Server, it include: the data packet for receiving live streaming platform client and reporting, wherein, the live streaming platform client is mounted in terminal device, M user information is stored in the data packet, the M user information is that live streaming platform client is obtained from the Cookie in terminal device, and M is positive integer;The M user information is extracted from the data packet;Based on the M user information, the case where whether there is the user of preset quantity in terminal device while accessing same direct broadcasting room is judged;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.The present invention realizes the technical effect that whether there is the behavior of brush popularity in accurate detection direct broadcasting room.Meanwhile the present invention also provides a kind of live streaming Platform Servers.
Description
Technical field
The present invention relates to network direct broadcasting technical field more particularly to it is a kind of detect the popularity behavior of direct broadcasting room brush method and
Platform Server is broadcast live.
Background technique
With the progress of network communication technology and the speed-raising of broadband network, network direct broadcasting obtained it is more and more development and
Using.Field especially is broadcast live in game, more and more spectators can watch the live streaming of game main broadcaster.
And some bad main broadcasters, the spectator attendance in room while viewing can be improved by the method for brush popularity, to obtain
Take bigger income.The concrete implementation mode of brush popularity while is forged a large amount of on an extraordinary server of performance
User simultaneously log on direct broadcasting room, to forge the illusion of mass viewer audiences.In addition, brush popularity behavior will also result in live streaming platform
Server stress is excessive, servers go down accident easily occurs.
At present, it would be highly desirable to which a kind of method detects direct broadcasting room with the presence or absence of the behavior of brush popularity.
Summary of the invention
The embodiment of the present application by provide it is a kind of detect the popularity behavior of direct broadcasting room brush method and live streaming Platform Server,
The technical issues of direct broadcasting room is with the presence or absence of the behavior of brush popularity can not be detected in the prior art by solving, and it is straight to realize accurate detection
It whether there is the technical effect of brush popularity behavior between broadcasting.
In a first aspect, being applied to live streaming platform clothes this application provides a kind of method for detecting the popularity behavior of direct broadcasting room brush
It is engaged in device, comprising:
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal device
In, it is stored with M user information in the data packet, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;
The M user information is extracted from the data packet;
Based on the M user information, judges to whether there is the user of preset quantity in the terminal device while access
The case where same direct broadcasting room;
If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
Preferably, the user information, comprising:
User identifier;
The room number of the direct broadcasting room of user's current accessed;
User enters the timestamp when direct broadcasting room.
It is preferably, described to receive before the data packet that platform client reports is broadcast live, further includes:
Public key and private key are generated based on rivest, shamir, adelman;
The public key is sent to the live streaming platform client, so that the live streaming platform client is based on the public affairs
Key encrypts the M user information.
It is preferably, described that the M user information is extracted from the data packet, comprising:
The data in the data packet are decrypted based on the private key, obtain the M user information.
Preferably, described to be based on the M user information, judge the use that whether there is preset quantity in the terminal device
The case where family accesses same direct broadcasting room simultaneously, comprising:
Extract user identifier, room number and the timestamp in every user information in the M user information;
Based on the timestamp in every user information in the M user information, screened from the M user information
N user information out, wherein for the timestamp in the N user information in a preset time period, N is less than or equal to M's
Positive integer;
Based on the room number in every user information in the N user information, screened from the N user information
P user information out, wherein the room number in the P user information is all the same, and P is the positive integer less than or equal to N;
Based on the user identifier in every user information in the P user information, sieved from the P user information
Select W user information, wherein the user identifier in the W user information is all different, and W is just whole less than or equal to P
Number;
Judge whether W is greater than a preset value;If more than, it is determined that the user in the terminal device there are preset quantity is same
When the case where accessing same direct broadcasting room.
Preferably, there are after brush popularity behavior for the determination direct broadcasting room, further includes:
The main broadcaster of the direct broadcasting room is punished.
Preferably, the main broadcaster to the direct broadcasting room punishes, comprising:
Close the direct broadcasting room;Or
Warning message is sent to the main broadcaster;Or
Blacklist is added in the main broadcaster.
Second aspect, this application provides a kind of live streaming Platform Servers, comprising:
Receiving unit receives the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on
In terminal device, M user information is stored in the data packet, the M user information is the live streaming platform client
It is obtained from the cookie Cookie in the terminal device, M is positive integer;
Extraction unit, for extracting the M user information from the data packet;
Judging unit judges in the terminal device for being based on the M user information with the presence or absence of a preset quantity
User the case where accessing same direct broadcasting room simultaneously;
Determination unit, for if it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
The third aspect this application provides a kind of live streaming Platform Server, including memory, processor and is stored in storage
On device and the computer program that can run on a processor, the processor perform the steps of when executing described program
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal device
In, it is stored with M user information in the data packet, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;The M user is extracted from the data packet
Information;Based on the M user information, judges the user that whether there is a preset quantity in the terminal device while access is same
The case where one direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
Fourth aspect, this application provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey
It is performed the steps of when sequence is executed by processor
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal device
In, it is stored with M user information in the data packet, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;The M user is extracted from the data packet
Information;Based on the M user information, judges the user that whether there is a preset quantity in the terminal device while access is same
The case where one direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
In the embodiment of the present application, a kind of method for detecting the popularity behavior of direct broadcasting room brush is disclosed, live streaming platform is applied to
In server, comprising: receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on end
In end equipment, be stored with M user information in the data packet, the M user information be the live streaming platform client from
It is obtained in cookie Cookie in the terminal device, M is positive integer;The M is extracted from the data packet
User information;Based on the M user information, judge to whether there is the user of preset quantity simultaneously in the terminal device
The case where accessing same direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.So efficiently solving
The technical issues of direct broadcasting room is with the presence or absence of the behavior of brush popularity can not be detected in the prior art, realized in accurate detection direct broadcasting room
With the presence or absence of the technical effect of brush popularity behavior.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is a kind of flow chart for the method for detecting the popularity behavior of direct broadcasting room brush in the embodiment of the present application;
Fig. 2 is a kind of structural schematic diagram that Platform Server 200 is broadcast live in the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram that Platform Server 300 is broadcast live in the embodiment of the present application;
Fig. 4 is a kind of structural schematic diagram of computer readable storage medium 400 in the embodiment of the present application.
Specific embodiment
The embodiment of the present application by provide it is a kind of detect the popularity behavior of direct broadcasting room brush method and live streaming Platform Server,
The technical issues of direct broadcasting room is with the presence or absence of the behavior of brush popularity can not be detected in the prior art by solving, and it is straight to realize accurate detection
It whether there is the technical effect of brush popularity behavior between broadcasting.
The technical solution of the embodiment of the present application is in order to solve the above technical problems, general thought is as follows:
A method of detection direct broadcasting room brush popularity behavior is applied in live streaming Platform Server, comprising: it is flat to receive live streaming
The data packet that platform client reports, wherein the live streaming platform client is mounted in terminal device, is stored in the data packet
There is M user information, the M user information is the live streaming platform client from the small-sized text shelves in the terminal device
It is obtained in case Cookie, M is positive integer;The M user information is extracted from the data packet;Based on the M user
Information judges the case where whether there is the user of preset quantity in the terminal device while accessing same direct broadcasting room;If it exists,
Then determining the direct broadcasting room, there are brush popularity behaviors.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Embodiment one
As shown in Figure 1, present embodiments providing a kind of method for detecting the popularity behavior of direct broadcasting room brush, it is applied to live streaming platform
In server, comprising:
Step S101: the data packet that live streaming platform client reports is received, wherein live streaming platform client is mounted on terminal
In equipment, M user information is stored in the data packet, the M user information is that live streaming platform client is set from terminal
It is obtained in Cookie (cookie) in standby, M is positive integer.
In the specific implementation process, the terminal device can for PC (Personal Computer, PC) or
Which kind of equipment smart phone or tablet computer or server etc., be specifically for the terminal device, and the present embodiment is not done
It is specific to limit.
In the specific implementation process, live streaming platform client is installed on the terminal device, user can be by this
Platform client is broadcast live and accesses any direct broadcasting room watching video live broadcast.Certainly, some bad main broadcasters also can use the terminal and set
For to the direct broadcasting room brush popularity of oneself or other main broadcasters.
As a kind of optional embodiment, before step S101, further includes:
Public key and private key are generated based on rivest, shamir, adelman;Public key is sent to live streaming platform client, so that directly
Platform client is broadcast to encrypt M user information based on public key.
In the specific implementation process, live streaming Platform Server can be used rivest, shamir, adelman RSA and generate a pair of of public key
And private key, public key and private key are pairings.When user logs in a direct broadcasting room, public key can be sent to by live streaming Platform Server
Platform client is broadcast live, public key is used to be broadcast live platform client and adds to the user information for being reported to live streaming Platform Server
Close, private key is used to be broadcast live the encryption data that Platform Server reports live streaming platform client and is decrypted.
In the specific implementation process, live streaming Platform Server can generate a private key by the function rand () of system
Privatekey, specific method method are as follows:
Privatekey=rand ()
Then, it reuses function RSA.CreatePair () and generates public key Publickey, specific method method is as follows:
Publickey=RSA.CreatePair (Privatekey)
In the specific implementation process, when user opens a direct broadcasting room, live streaming platform client then can be generated one
Cookie, and the user information of the user is written into the Cookie, wherein the user information, comprising: user identifier
(such as: user's name or User ID), the room number of the direct broadcasting room of user's current accessed, user enters time when direct broadcasting room
Stamp.
In the specific implementation process, live streaming platform client can be first based on when user information is written into Cookie
Above-mentioned public key encrypts user information, then encrypted user information is written in Cookie.
Wherein, live streaming platform client can first generate a string of random numbers, random number when encrypting to user information
Can make final encrypted result there are no rule it is more random, crack difficulty to improve, facilitate data safety.
Specifically, live streaming platform client can obtain by the following method random number randdata:
Randdata=rand ()
Then, live streaming platform client again by the following method encrypts user information, obtains encryption data:
EncodeData=RSA.encrypt (userid+roomid+time+randdata, key);
Wherein, RSA.encrypt () is then the encryption interface of encryption function;Userid is user's name;Roomid is to use
The room number of the currently watched direct broadcasting room in family;Time is timestamp;Randdata is the random number generated;Key is public key;
EncodeData is then encrypted data.
In the specific implementation process, due to same terminal device (such as: be shared for the same website on PC)
Cookie's, so, in the present embodiment, cookie name claims cannot be identical, and otherwise, the Cookie generated afterwards will can be generated before
Cookie override.Therefore, in the present embodiment, when user logs in a direct broadcasting room, live streaming platform client then generates one
Cookie, and using user identifier, room number and timestamp together as the title of this Cookie.
In the specific implementation process, live streaming platform client can periodically obtain whole Cookie in terminal device, and
It filters out title and meets above-mentioned regular (that is: using user identifier, room number and timestamp together as the title of Cookie)
Cookie.Here, it is assumed that filtering out the Cookie that M title meets above-mentioned rule, then, the user in every Cookie is extracted
Information (user information is encrypted data) obtains M user information altogether, then is packaged to this M user information, obtains a number
According to packet, finally, the data packet is reported to live streaming Platform Server.
In the specific implementation process, live streaming platform client can be obtained with calling system interface function getCookies ()
Take whole Cookie in terminal device.
In the specific implementation process, some verifyings can be done to the legitimacy of user by being broadcast live in Platform Server, and platform is broadcast live
Server meeting and live streaming platform client carry out protocol interaction, since verify client whether be a true client.Cause
This, in the present embodiment, live streaming platform client can be when needing to carry out protocol interaction with live streaming Platform Server, will be described
Data packet is reported to live streaming Platform Server.
In the specific implementation process, after the data packet is reported to live streaming Platform Server by live streaming platform client,
It reported the Cookie of user information useless in terminal device, therefore the use that platform client can be transmitted through by is broadcast live
The Cookie of family information is deleted, to save the memory space of terminal device.
In the specific implementation process, live streaming Platform Server can also carry out protocol interaction with live streaming platform client
When, receive the data packet.
Step S102: M user information is extracted from the data packet.
As a kind of optional embodiment, M user information is extracted from data packet, comprising:
The encryption data in the data packet is decrypted based on private key Privatekey, obtains the M user letter
Breath.
Step S103: being based on the M user information, judges that the user in terminal device with the presence or absence of a preset quantity is same
When the case where accessing same direct broadcasting room.
In the specific implementation process, if in a short time, there are a large number of users to log on to always in terminal device
Between broadcasting, then platform client is broadcast live can store a large amount of user information in Cookie, and can be reported to these user informations
It is broadcast live in Platform Server.Be broadcast live Platform Server then can based on these user informations (such as: user identifier, room number, when
Between stab etc.) judge to log in same direct broadcasting room with the presence or absence of a large number of users in this time, if it is present illustrating the live streaming
Between there are the behaviors of brush popularity.
As a kind of optional embodiment, step S103, comprising:
(1) user identifier, room number and the timestamp in every user information in M user information are extracted.
For example, if live streaming Platform Server extracts 100 user informations from the data packet reported, platform is broadcast live
Server then extracts user identifier, room number and the timestamp in wherein every user information.
(2) based on the timestamp in every user information in the M user information, from the M user information
Filter out N user information, wherein the timestamp in the N user information in a preset time period, N be less than etc.
In the positive integer of M.The user information for accessing direct broadcasting room on terminal device in a preset time period is thus obtained, this is default
Period can be 1~5 minute, for example, 1 minute or 3 minutes or 5 minutes.Wherein, which can be according to reality
Border situation is freely arranged, and is not specifically limited herein.
It for example, can be based on the timestamp in every user information in above-mentioned 100 user informations, to this 100
User information is screened, and the user information that direct broadcasting room is accessed in 3 minutes is filtered out.For example, filtering out 90 user informations.
(3) based on the room number in every user information in the N user information, from the N user information
Filter out P user information, wherein the room number in the P user information is all the same, and P is the positive integer less than or equal to N.
In this way, with regard to the number for accessing same direct broadcasting room in further screening within a preset period of time terminal device.
For example, can based on the room number in every user information in above-mentioned 90 user informations, to this 90 with
Family information is screened, and the user information for accessing that room number is " 0001 " direct broadcasting room in 3 minutes is filtered out.For example, filtering out
80 user informations.
(4) based on the user identifier in every user information in the P user information, from the P user information
In filter out W user information, wherein the user identifier in the W user information is all different, W be just less than or equal to P
Integer.Thus further screening accesses the number of the different user of same direct broadcasting room on terminal device within a preset period of time
Amount.
For example, can based on the user identifier in every user information in above-mentioned 80 user informations, to this 80
User information is screened, and user's letter that the different user that room number is " 0001 " direct broadcasting room is accessed in 3 minutes is filtered out
Breath.For example, filtering out 70 user informations.
(5) judge whether W is greater than a preset value, but set a range here, for example, preset value is greater than 30~50.
Wherein, which can be freely arranged according to the actual situation, be not specifically limited herein.
For example, by taking the preset value is 30 as an example, due to finally filtering out 70 user informations, that is to say, that W is greater than
30, so determining the case where accessing same direct broadcasting room simultaneously there are the user of a preset quantity in terminal device.
Step S104: if it exists, it is determined that there are brush popularity behaviors for direct broadcasting room.
In the specific implementation process, if there are the users of a preset quantity to access same direct broadcasting room simultaneously in terminal device
Situation, then showing the direct broadcasting room, there are brush popularity behaviors.
As a kind of optional embodiment, after step S104, further includes: punish the main broadcaster of direct broadcasting room.
In the specific implementation process, however, it is determined that there are the behaviors of brush popularity for a certain direct broadcasting room, then can be to the direct broadcasting room
Main broadcaster punishes.Wherein, the main broadcaster to direct broadcasting room punishes, comprising: closes direct broadcasting room;Or it sends and alerts to main broadcaster
Information;Or reduce the credit score of main broadcaster;Or freeze the account balance of main broadcaster;Or blacklist is added in main broadcaster, forbid the main broadcaster
It is broadcast live on this live streaming platform;Or title is carried out to the main broadcaster.
In the specific implementation process, the user in the W user information is the Virtual User for being used for brush popularity, this
Place, can also punish these users.For example, to these user's titles.
Technical solution in above-mentioned the embodiment of the present application, at least have the following technical effects or advantages:
In the embodiment of the present application, a kind of method for detecting the popularity behavior of direct broadcasting room brush is disclosed, live streaming platform is applied to
In server, comprising: receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on end
In end equipment, be stored with M user information in the data packet, the M user information be the live streaming platform client from
It is obtained in cookie Cookie in the terminal device, M is positive integer;The M is extracted from the data packet
User information;Based on the M user information, judge to whether there is the user of preset quantity simultaneously in the terminal device
The case where accessing same direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.So efficiently solving
The technical issues of direct broadcasting room is with the presence or absence of the behavior of brush popularity can not be detected in the prior art, realized in accurate detection direct broadcasting room
With the presence or absence of the technical effect of brush popularity behavior.
Embodiment two
Based on the same inventive concept, as shown in Fig. 2, this implementation provides a kind of live streaming Platform Server 200, comprising:
Receiving unit 201, the data packet reported for receiving live streaming platform client, wherein the live streaming platform client
End is mounted in terminal device, and M user information is stored in the data packet, and the M user information is that the live streaming is flat
What platform client was obtained from the cookie Cookie in the terminal device, M is positive integer;
Extraction unit 202, for extracting the M user information from the data packet;
Judging unit 203 judges default with the presence or absence of one in the terminal device for being based on the M user information
The case where user of quantity accesses same direct broadcasting room simultaneously;
Determination unit 204, for if it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
As a kind of optional embodiment, the user information, comprising:
User identifier;
The room number of the direct broadcasting room of user's current accessed;
User enters the timestamp when direct broadcasting room.
As a kind of optional embodiment, Platform Server 200 is broadcast live, further includes:
Generation unit is received before the Cookie that platform client reports is broadcast live for described, is calculated based on asymmetric encryption
Method generates public key and private key;
Transmission unit, for the public key to be sent to the live streaming platform client, so that the live streaming platform is objective
Family end group encrypts the M user information in the public key.
As a kind of optional embodiment, extraction unit 202 is specifically used for:
The data in the data packet are decrypted based on the private key, obtain the M user information.As one kind
Optional embodiment, judging unit 203, is specifically used for:
Extract user identifier, room number and the timestamp in every user information in the M user information;
Based on the timestamp in every user information in the M user information, screened from the M user information
N user information out, wherein for the timestamp in the N user information in a preset time period, N is less than or equal to M's
Positive integer;
Based on the room number in every user information in the N user information, screened from the N user information
P user information out, wherein the room number in the P user information is all the same, and P is the positive integer less than or equal to N;
Based on the user identifier in every user information in the P user information, sieved from the P user information
Select W user information, wherein the user identifier in the W user information is all different, and W is just whole less than or equal to P
Number;
Judge whether W is greater than a preset value;If more than, it is determined that there are the users of a preset quantity in the terminal device
The case where accessing same direct broadcasting room simultaneously.
As a kind of optional embodiment, Platform Server 200 is broadcast live, further includes:
Unit is punished, for the determination direct broadcasting room there are after brush popularity behavior, to the main broadcaster of the direct broadcasting room
It is punished.
As a kind of optional embodiment, the punishment unit is specifically used for:
Close the direct broadcasting room;Or
Warning message is sent to the main broadcaster;Or
Blacklist is added in the main broadcaster.
Since the live streaming Platform Server 200 that the present embodiment is introduced is detection live streaming a kind of in implementation the embodiment of the present application
Between brush popularity behavior method used by equipment, so based on a kind of detection direct broadcasting room brush described in the embodiment of the present application
The method of popularity behavior, those skilled in the art can understand the specific reality of the live streaming Platform Server 200 of the present embodiment
Mode and its various change form are applied, so how to realize the embodiment of the present application for the live streaming Platform Server 200 herein
In method be no longer discussed in detail.As long as those skilled in the art implement a kind of detection direct broadcasting room brush in the embodiment of the present application
Equipment used by the method for popularity behavior belongs to the range to be protected of the application.
Embodiment three
As shown in figure 3, present embodiments providing a kind of live streaming Platform Server 300, including memory 310, processor 320
And it is stored in the computer program 311 that can be run on memory 320 and on the processor 320, processor 320 executes computer journey
It is performed the steps of when sequence 311
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal device
In, it is stored with M user information in the data packet, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;The M user is extracted from the data packet
Information;Based on the M user information, judges to whether there is the user of preset quantity in the terminal device while access same
The case where direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
In the specific implementation process, it when processor 320 executes computer program 311, may be implemented any in embodiment one
Embodiment.
Since the live streaming Platform Server 300 that the present embodiment is introduced is detection live streaming a kind of in implementation the embodiment of the present application
Between brush popularity behavior method used by equipment, so based on a kind of detection direct broadcasting room brush described in the embodiment of the present application
The method of popularity behavior, those skilled in the art can understand the specific reality of the live streaming Platform Server 300 of the present embodiment
Mode and its various change form are applied, so how to realize the embodiment of the present application for the live streaming Platform Server 300 herein
In method be no longer discussed in detail.As long as those skilled in the art implement a kind of detection direct broadcasting room brush in the embodiment of the present application
Equipment used by the method for popularity behavior belongs to the range to be protected of the application.
Example IV
As shown in figure 4, present embodiments providing a kind of computer readable storage medium 400, it is stored thereon with computer journey
Sequence 411, the computer program 411 perform the steps of when being executed by processor
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal device
In, it is stored with M user information in the data packet, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;The M user is extracted from the data packet
Information;Based on the M user information, judges to whether there is the user of preset quantity in the terminal device while access same
The case where direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
In the specific implementation process, it when which is executed by processor, may be implemented any in embodiment one
Embodiment.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions each in flowchart and/or the block diagram
The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of method for detecting the popularity behavior of direct broadcasting room brush is applied in live streaming Platform Server characterized by comprising
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted in terminal device, institute
It states and is stored with M user information in data packet, the user information includes the room of the direct broadcasting room of user identifier, user's current accessed
Between number, timestamp when user enters the direct broadcasting room, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;
The M user information is extracted from the data packet;
Based on the M user information, judges to whether there is the user of preset quantity in the terminal device while access same
The case where direct broadcasting room;
Wherein, described to be based on the M user information, judge to whether there is the user of preset quantity simultaneously in the terminal device
The case where accessing same direct broadcasting room, comprising: extract user identifier in every user information in the M user information, room
Between number and timestamp;Based on the timestamp in every user information in the M user information, believe from the M user
N user information is filtered out in breath, wherein for the timestamp in the N user information in a preset time period, N is small
In the positive integer for being equal to M;Based on the room number in every user information in the N user information, believe from the N user
P user information is filtered out in breath, wherein the room number in the P user information is all the same, and P is just whole less than or equal to N
Number;Based on the user identifier in every user information in the P user information, W is filtered out from the P user information
User information, wherein the user identifier in the W user information is all different, and W is the positive integer less than or equal to P;Judgement
Whether W is greater than a preset value;If more than, it is determined that there are the users of preset quantity is accessed simultaneously with always in the terminal device
The case where broadcasting;
If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room.
2. the method for detection direct broadcasting room brush popularity behavior as described in claim 1, which is characterized in that platform is broadcast live in the reception
Before the data packet that client reports, further includes:
Public key and private key are generated based on rivest, shamir, adelman;
The public key is sent to the live streaming platform client, so that the live streaming platform client is based on the public key pair
The M user information is encrypted.
3. the method for detection direct broadcasting room brush popularity behavior as claimed in claim 2, which is characterized in that described from the data packet
It is middle to extract the M user information, comprising:
The data in the data packet are decrypted based on the private key, obtain the M user information.
4. the method for the detection direct broadcasting room brush popularity behavior as described in claims 1 to 3 is any, which is characterized in that the determination
There are after brush popularity behavior for the direct broadcasting room, further includes:
The main broadcaster of the direct broadcasting room is punished.
5. the method for detection direct broadcasting room brush popularity behavior as claimed in claim 4, which is characterized in that described to the direct broadcasting room
Main broadcaster punish, comprising:
Close the direct broadcasting room;Or
Warning message is sent to the main broadcaster;Or
Blacklist is added in the main broadcaster.
6. a kind of live streaming Platform Server characterized by comprising
Receiving unit receives the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted on terminal
In equipment, M user information is stored in the data packet, the user information includes user identifier, user's current accessed
The room number of direct broadcasting room, timestamp when user enters the direct broadcasting room, the M user information is the live streaming platform client
What end was obtained from the cookie Cookie in the terminal device, M is positive integer;
Extraction unit, for extracting the M user information from the data packet;
Judging unit judges the use that whether there is a preset quantity in the terminal device for being based on the M user information
The case where family accesses same direct broadcasting room simultaneously;
Determination unit, for if it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room;
Wherein, the judging unit, is specifically used for: extracting user's mark in every user information in the M user information
Knowledge, room number and timestamp;Based on the timestamp in every user information in the M user information, from the M item
N user information is filtered out in user information, wherein the timestamp in the N user information in a preset time period,
N is the positive integer less than or equal to M;Based on the room number in every user information in the N user information, from the N item
P user information is filtered out in user information, wherein the room number in the P user information is all the same, and P is less than or equal to N
Positive integer;Based on the user identifier in every user information in the P user information, from the P user information
Filter out W user information, wherein the user identifier in the W user information is all different, and W is just whole less than or equal to P
Number;Judge whether W is greater than a preset value;If more than, it is determined that there are the users of a preset quantity in the terminal device simultaneously
The case where accessing same direct broadcasting room.
7. a kind of live streaming Platform Server, including memory, processor and storage can be run on a memory and on a processor
Computer program, which is characterized in that the processor performs the steps of when executing described program
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted in terminal device, institute
It states and is stored with M user information in data packet, the M user information is the live streaming platform client from the terminal device
In cookie Cookie in obtain, M is positive integer;The M user information is extracted from the data packet;Base
In the M user information, judges to whether there is the user of a preset quantity in the terminal device while accessing same live streaming
Between the case where, and if it exists, then determining the direct broadcasting room, there are brush popularity behaviors;
Wherein, described to be based on the M user information, judge that the user in the terminal device with the presence or absence of a preset quantity is same
When the case where accessing same direct broadcasting room, comprising: extract user identifier in every user information in the M user information,
Room number and timestamp;Based on the timestamp in every user information in the M user information, from the M user
N user information is filtered out in information, wherein in a preset time period, N is the timestamp in the N user information
Positive integer less than or equal to M;Based on the room number in every user information in the N user information, from the N user
P user information is filtered out in information, wherein the room number in the P user information is all the same, and P is just less than or equal to N
Integer;Based on the user identifier in every user information in the P user information, screened from the P user information
W user information out, wherein the user identifier in the W user information is all different, and W is the positive integer less than or equal to P;
Judge whether W is greater than a preset value;If more than, it is determined that there are the users of preset quantity to access simultaneously together in the terminal device
The case where one direct broadcasting room.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
It is performed the steps of when row
Receive the data packet that live streaming platform client reports, wherein the live streaming platform client is mounted in terminal device, institute
It states and is stored with M user information in data packet, the user information includes the room of the direct broadcasting room of user identifier, user's current accessed
Between number, timestamp when user enters the direct broadcasting room, the M user information is the live streaming platform client from the end
It is obtained in cookie Cookie in end equipment, M is positive integer;The M user is extracted from the data packet
Information;Based on the M user information, judges the user that whether there is a preset quantity in the terminal device while access is same
The case where one direct broadcasting room;If it exists, it is determined that there are brush popularity behaviors for the direct broadcasting room;
Wherein, described to be based on the M user information, judge that the user in the terminal device with the presence or absence of a preset quantity is same
When the case where accessing same direct broadcasting room, comprising: extract user identifier in every user information in the M user information,
Room number and timestamp;Based on the timestamp in every user information in the M user information, from the M user
N user information is filtered out in information, wherein in a preset time period, N is the timestamp in the N user information
Positive integer less than or equal to M;Based on the room number in every user information in the N user information, from the N user
P user information is filtered out in information, wherein the room number in the P user information is all the same, and P is just less than or equal to N
Integer;Based on the user identifier in every user information in the P user information, screened from the P user information
W user information out, wherein the user identifier in the W user information is all different, and W is the positive integer less than or equal to P;
Judge whether W is greater than a preset value;If more than, it is determined that there are the users of preset quantity to access simultaneously together in the terminal device
The case where one direct broadcasting room.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524115.4A CN107454441B (en) | 2017-06-30 | 2017-06-30 | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710524115.4A CN107454441B (en) | 2017-06-30 | 2017-06-30 | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107454441A CN107454441A (en) | 2017-12-08 |
CN107454441B true CN107454441B (en) | 2019-12-03 |
Family
ID=60487617
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710524115.4A Active CN107454441B (en) | 2017-06-30 | 2017-06-30 | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454441B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108206972B (en) * | 2018-01-02 | 2019-10-25 | 武汉斗鱼网络科技有限公司 | Direct broadcasting room popularity processing method, device, server and storage medium |
CN108282665B (en) * | 2018-01-05 | 2020-07-31 | 武汉斗鱼网络科技有限公司 | Method, storage medium, equipment and system for preventing people from being refreshed |
CN108174250B (en) * | 2018-01-08 | 2020-09-08 | 武汉斗鱼网络科技有限公司 | Method for detecting human value of live broadcast room, client and computer equipment |
CN108055356B (en) * | 2018-01-08 | 2021-03-16 | 武汉斗鱼网络科技有限公司 | Information processing method, server, client and readable storage medium |
CN108307246B (en) * | 2018-01-09 | 2020-02-07 | 武汉斗鱼网络科技有限公司 | Method, storage medium, equipment and system for calculating popularity of live broadcast room |
CN108419126B (en) * | 2018-01-23 | 2019-08-30 | 广州虎牙信息科技有限公司 | Abnormal main broadcaster's recognition methods, storage medium and the terminal of platform is broadcast live |
CN108390883B (en) * | 2018-02-28 | 2020-08-04 | 武汉斗鱼网络科技有限公司 | Identification method and device for people-refreshing user and terminal equipment |
CN110381375B (en) * | 2018-04-13 | 2022-06-21 | 武汉斗鱼网络科技有限公司 | Method for determining data embezzlement, client and server |
CN109257617B (en) * | 2018-09-30 | 2021-11-09 | 武汉斗鱼网络科技有限公司 | Method for determining suspected user in live broadcast platform and related equipment |
CN113810727A (en) * | 2020-06-12 | 2021-12-17 | 武汉斗鱼鱼乐网络科技有限公司 | Method and system for identifying brushing volume live broadcast room, medium and electronic equipment |
CN113938692B (en) * | 2020-07-13 | 2024-02-09 | 广州壹点通网络科技有限公司 | Video live broadcast risk control method and device |
CN114071196A (en) * | 2020-08-03 | 2022-02-18 | 武汉斗鱼鱼乐网络科技有限公司 | Method, system, medium and equipment for identifying target live broadcast room |
CN112995686B (en) * | 2021-02-03 | 2022-04-19 | 上海哔哩哔哩科技有限公司 | Data processing method, live broadcast method, authentication server and live broadcast data server |
CN112995689B (en) * | 2021-02-24 | 2023-01-03 | 上海哔哩哔哩科技有限公司 | Method and device for determining brushing amount of live broadcast room |
CN113067808B (en) * | 2021-03-15 | 2022-07-05 | 上海哔哩哔哩科技有限公司 | Data processing method, live broadcast method, authentication server and live broadcast data server |
CN113068052B (en) * | 2021-03-15 | 2022-04-01 | 上海哔哩哔哩科技有限公司 | Method for determining brushing amount of live broadcast room, live broadcast method and data processing method |
CN113676754B (en) * | 2021-08-18 | 2023-08-29 | 上海哔哩哔哩科技有限公司 | Live video transcoding method and device |
CN114024737B (en) * | 2021-11-02 | 2023-10-17 | 上海哔哩哔哩科技有限公司 | Method, apparatus and computer readable storage medium for determining live room volume |
CN113938318B (en) * | 2021-12-01 | 2023-12-12 | 上海哔哩哔哩科技有限公司 | Method and device for determining live broadcast room brushing amount |
CN114679600B (en) * | 2022-03-24 | 2024-09-03 | 上海哔哩哔哩科技有限公司 | Data processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702647A (en) * | 2009-11-30 | 2010-05-05 | 中国电信股份有限公司 | Management method of Cookie information and Cookie server |
CN103593415A (en) * | 2013-10-29 | 2014-02-19 | 北京国双科技有限公司 | Method and device for detecting cheating on visitor volumes of web pages |
CN106445796A (en) * | 2015-08-04 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Cheating channel automatic detection method and device |
CN106612202A (en) * | 2015-10-27 | 2017-05-03 | 网易(杭州)网络有限公司 | Method and system for pre-estimate and judgment of amount brushing of online game channel |
-
2017
- 2017-06-30 CN CN201710524115.4A patent/CN107454441B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702647A (en) * | 2009-11-30 | 2010-05-05 | 中国电信股份有限公司 | Management method of Cookie information and Cookie server |
CN103593415A (en) * | 2013-10-29 | 2014-02-19 | 北京国双科技有限公司 | Method and device for detecting cheating on visitor volumes of web pages |
CN106445796A (en) * | 2015-08-04 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Cheating channel automatic detection method and device |
CN106612202A (en) * | 2015-10-27 | 2017-05-03 | 网易(杭州)网络有限公司 | Method and system for pre-estimate and judgment of amount brushing of online game channel |
Non-Patent Citations (1)
Title |
---|
cookie;chen_zi_kang;《百度百科》;20160928;第1、5、6页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107454441A (en) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107454441B (en) | A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior | |
EP3697058B1 (en) | Two-dimensional code processing method and apparatus | |
CN103379098B (en) | Content sharing method, device and network system thereof | |
CN108965950B (en) | Advertisement monitoring method and device | |
CA3043416A1 (en) | Systems and methods for monitoring content consumption | |
US9202230B2 (en) | Techniques for monetizing anonymized context | |
CN107770161B (en) | The method and device of brush present is prevented in a kind of live streaming platform | |
CN107613316A (en) | A kind of network direct broadcasting plug-flow verification method and system | |
CN108881966B (en) | Information processing method and related equipment | |
CN109768978A (en) | A kind of method and relevant apparatus of obfuscated data | |
CN108650526B (en) | Identification method, computer equipment and storage medium | |
CN108769749B (en) | Method for determining data embezzlement, client and server | |
CN110025955A (en) | Information processing method, terminal, computer readable storage medium and computer equipment | |
CN109218837B (en) | Method and equipment for displaying special effect of virtual gift | |
CN105024813A (en) | Server, user equipment and interactive method of the user equipment and the server | |
CN111131127A (en) | Communication method based on live broadcast platform and related device | |
CN107979596B (en) | Method and system for preventing people from being refreshed in live broadcast | |
WO2023151415A1 (en) | Data processing methods and apparatuses | |
CN110380843B (en) | Information processing method and related equipment | |
CN109218009A (en) | It is a kind of to improve the method for device id safety, client and server | |
CN110381342B (en) | Information processing method and related equipment | |
CN108769748B (en) | Information processing method and related equipment | |
CN110381375B (en) | Method for determining data embezzlement, client and server | |
CN108882005B (en) | Barrage verification method, computer equipment and storage medium | |
CN108712657B (en) | Barrage verification method, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |