Nothing Special   »   [go: up one dir, main page]

CN108632634A - A kind of providing method and device of direct broadcast service - Google Patents

A kind of providing method and device of direct broadcast service Download PDF

Info

Publication number
CN108632634A
CN108632634A CN201710179803.1A CN201710179803A CN108632634A CN 108632634 A CN108632634 A CN 108632634A CN 201710179803 A CN201710179803 A CN 201710179803A CN 108632634 A CN108632634 A CN 108632634A
Authority
CN
China
Prior art keywords
user
grade
service
belonging
characteristic information
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
CN201710179803.1A
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 Sing Sing Technology Co Ltd
Original Assignee
Beijing Sing Sing 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 Sing Sing Technology Co Ltd filed Critical Beijing Sing Sing Technology Co Ltd
Priority to CN201710179803.1A priority Critical patent/CN108632634A/en
Publication of CN108632634A publication Critical patent/CN108632634A/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1458Denial of Service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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/25Management 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/258Client 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/25866Management of end-user data
    • 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/25Management 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/258Client 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/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of providing method of direct broadcast service and devices.Applied to server, the method includes:Obtain the characteristic information of each user in direct broadcasting room, wherein the characteristic information of the user includes at least one of the network address of user and the message of user's transmission and the identity information of user;The grade of service belonging to user is divided according to the characteristic information;Corresponding direct broadcast service is provided to the user based on the grade of service.Less service is provided for the user of inferior grade through the invention or refusal services, on the other hand the person that on the one hand plays the role of defensive attack ensure that the use quality of high-value user.

Description

A kind of providing method and device of direct broadcast service
Technical field
The present invention relates to live streamings to take field, more particularly to a kind of providing method and device of direct broadcast service.
Background technology
With the development of internet and stream media technology, the net cast for integrating social, interactive, online performing art has become For a kind of playing method very burning hot at present.In live streaming is applied, chat system is its important component part, is that user hands over main broadcaster Flow the major way linked up.Attacker ties up server resource, although may by largely linking chat server in the short time Number of links is not up to the upper limit of server, but since the limitation of message delay, machine performance, network bandwidth etc. is to just Common family impacts, it is therefore desirable to be intercepted to these malicious links.
At present to attack patterns such as DDOS (Distributed Denial of service, distributed denial of service) Solution is to filter out abnormal flow in network layer, but attacker follows the request that normal service logic is initiated, often Escape from the filtering of system, it is therefore desirable to this attack is taken precautions against in service layer.Also, certain filter conditions of network layer, It is possible that accidentally injuring normal user, when user is high-value user, very big influence can be caused on product itself.
Invention content
The present invention provides a kind of providing method of direct broadcast service, to solve chat server defensive attack, ensures high value The problem of user's use quality.
One side according to the present invention provides a kind of providing method of direct broadcast service, is applied to server, the side Method includes:
Obtain the characteristic information of each user in direct broadcasting room, wherein the characteristic information of the user includes the network of user The identity information of at least one of message that location and user send and user;
The grade of service belonging to user is divided according to the characteristic information;
Corresponding direct broadcast service is provided to the user based on the grade of service.
Optionally, the grade of service divided according to the characteristic information belonging to user includes:
According to the grade of service for different identity information setting, service corresponding with the identity information of the user is searched Grade, wherein the identity information includes at least one of login status, the account grade of register account number.
Optionally, after dividing the grade of service belonging to user according to the characteristic information described, the method is also wrapped It includes:
The grade of service belonging to user is adjusted according to the characteristic information.
Optionally, the grade of service adjusted according to the characteristic information belonging to user includes:
Obtain the network address of each user in the direct broadcasting room;
The grade of service belonging to user of the extraction using consolidated network address;
Calculate the average rank number of the grade of service;
Improve the grade of service belonging to the user less than the average rank number.
Optionally, the grade of service adjusted according to the characteristic information of the user belonging to user includes:
Counting user sends the message parameter of message into the direct broadcasting room;
Judge whether the transmission behavior of user is that malice is sent according to the message parameter;
It is sent if the transmission behavior of the user is malice, reduces the grade of service belonging to user.
Optionally, the message parameter includes at least one of type of message, message sending rate.
Optionally, described corresponding direct broadcast service is provided to the user based on the grade of service to include:
The user list of the direct broadcasting room is traversed, and extracts the grade of service belonging to each user;
The grade of service needed for direct broadcast service to be supplied screens target user;
Corresponding direct broadcast service is provided to the target user.
According to another aspect of the present invention, a kind of offer device of direct broadcast service is provided, server, feature are deployed in It is, described device includes:
Characteristic information acquisition module, the characteristic information for obtaining each user in direct broadcasting room, wherein the feature of the user Information includes at least one of the network address of user and the message of user's transmission and the identity information of user;
Grade of service division module, for dividing the grade of service belonging to user according to the characteristic information;
Direct broadcast service provides module, and corresponding direct broadcast service is provided to the user for being based on the grade of service.
Optionally, the grade of service division module is specifically used for according to the service etc. for different identity information setting Grade searches the grade of service corresponding with the identity information of the user, wherein the identity information includes login status, registration account Number at least one of account grade.
Optionally, after the grade of service division module, described device further includes:
The grade of service adjusts module, for adjusting the grade of service belonging to user according to the characteristic information.
Optionally, the grade of service adjustment module includes:
Network address acquisition submodule, the network address for obtaining each user in the direct broadcasting room;
First service grade extracting sub-module, for extracting the grade of service belonging to the user using consolidated network address;
Average rank computational submodule, the average rank number for calculating the grade of service;
The grade of service improves submodule, for improving the grade of service belonging to the user less than the average rank number.
Optionally, the grade of service adjustment module includes:
Message parameter statistic submodule sends the message parameter of message for counting user into the direct broadcasting room;
Transmission behavior judging submodule, for judging whether the transmission behavior of user is that malice is sent out according to the message parameter It send;
The grade of service reduces submodule, sends, is reduced belonging to user if the transmission behavior for the user is malice The grade of service.
Optionally, the message parameter includes at least one of type of message, message sending rate.
Optionally, the direct broadcast service offer module includes:
Second service grade extracting sub-module, the user list for traversing the direct broadcasting room, and extract belonging to each user The grade of service;
Target user screens submodule, is used for the grade of service screening target needed for direct broadcast service to be supplied Family;
Direct broadcast service provides submodule, for providing corresponding direct broadcast service to the target user.
Embodiment according to the present invention, server obtain the characteristic information of each user in direct broadcasting room, wherein the feature of user is believed Breath includes at least one of the network address of user and the message of user's transmission and the identity information of user;According to getting Characteristic information divide user belonging to the grade of service;Corresponding direct broadcast service is provided to the user based on the grade of service, for low The user of grade provides less service or on the other hand refusal service, the person that on the one hand plays the role of defensive attack ensure The use quality of high-value user.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the providing method of direct broadcast service of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the providing method of direct broadcast service of the embodiment of the present invention two;
Fig. 3 is a kind of block diagram of the offer device of direct broadcast service of the embodiment of the present invention three.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Embodiment one
A kind of providing method of direct broadcast service provided in an embodiment of the present invention is discussed in detail, is applied to server, the side Method includes:
Referring to Fig.1, a kind of flow chart of the providing method of direct broadcast service in the embodiment of the present invention, the method are shown Including:
Step 101, the characteristic information of each user in direct broadcasting room is obtained.
In the present embodiment, the characteristic information of user includes at least one in the network address of user and the message of user's transmission The identity information of kind and user.Server obtains the characteristic information of each user, for example obtains the identity information of user, can be with It is to get user to enter direct broadcasting room with tourist's identity, can also be to get user to enter live streaming with the identity for registering user Between;The message that user sends is obtained, can get the particular content for sending message, can also be to get to send message Frequency etc..Retrievable characteristic information is not limited to above-mentioned several in the embodiment of the present invention, can be set according to actual conditions It sets.
Step 102, the grade of service belonging to user is divided according to the characteristic information.
In the present embodiment, after getting the characteristic information of user, the grade of service belonging to user is divided according to characteristic information. Specifically, the grade of service belonging to user can be divided according to the identity information of user;It is divided also according to the network address of user The grade of service belonging to user;The message that can also be sent according to user divides the grade of service belonging to user.For example, user with Tourist's identity logs direct broadcasting room, then the grade of service belonging to user is relatively low, and user is to register the identity logs direct broadcasting room of user, then The grade of service belonging to user is higher.The embodiment of the present invention to how according to characteristic information divide user belonging to the grade of service not Make to limit in detail, can be configured according to actual conditions.
Step 103, corresponding direct broadcast service is provided to the user based on the grade of service.
In the present embodiment, each user is divided into the grade of service belonging to completing, when providing direct broadcast service to the user, root Corresponding direct broadcast service is provided according to the grade of service belonging to user.Specifically, the grade of service belonging to user is relatively low, then is user The service of offer is less, or refusal provides certain services to the user;The grade of service belonging to user is higher, then provides to the user Service it is more, it might even be possible to be the customized exclusive service of user.For example, the live streaming show of star A, it is low to be not applied to the grade of service Tourist is provided only to the higher registration user of the grade of service;Or the present situation live streaming of competition game, only the grade of service is allowed to be more than The user for setting grade logs in game direct broadcasting room, and the refusal grade of service logs in game direct broadcasting room less than the user of setting grade.
In conclusion the present invention obtains the characteristic information of each user in direct broadcasting room in implementing, wherein the characteristic information of user The identity information of at least one of message that network address and user including user are sent and user;According to what is got Characteristic information divides the grade of service belonging to user;Corresponding direct broadcast service is provided to the user based on the grade of service, for low The user of grade provides less service or on the other hand refusal service, the person that on the one hand plays the role of defensive attack ensure that The use quality of high-value user
Embodiment two
With reference to Fig. 2, a kind of flow chart of the providing method of direct broadcast service in another embodiment of the present invention is shown.
Step 201, the characteristic information of each user in direct broadcasting room is obtained.
Step 202, according to the grade of service for different identity information setting, the identity information pair with the user is searched The grade of service answered.
In the present embodiment, for the different identity information setting grade of service, wherein the identity information include login status, At least one of account grade of register account number.Specifically, login status can be divided into tourist's identity and registration user, by tourist The grade of service of identity is set as 0, and the grade of service for registering user is set as 1.Registration user can further be set The grade of service specifically according to the account grade of register account number, sets the different grades of service.For example, the account of register account number Grade is 1, and it is 1,2 to set the grade of service as the account grade of 1 or register account number, sets the grade of service as 1.The present invention is real It applies in example and is not limited in detail for how to set the grade of service according to the account grade of register account number, it can be according to actual conditions It is configured.
The account grade of register account number can be set according to total login time of register account number, can also be according to register account number Supplement with money situation setting, the message sets that can also be sent in direct broadcasting room according to register account number.For example, by total login time in 0- The account grade of register account number between 100 hours is set as 1;By registration account of total login time between 100-200 hours Number account grade be set as 2;The account grade for the register account number that do not supplement with money is set as 0, will be supplemented with money between 0-500 members The account grade of register account number is set as 1.The embodiment of the present invention does not limit the setting of account grade in detail, can basis Actual conditions are configured.
It is directed to the different identity information setting grade of service in advance, after user enters direct broadcasting room, obtains the identity information of user, The corresponding grade of service of identity information is searched according to the identity information of user.Specifically, it is that tourist or registration are used according to user The corresponding grade of service is searched at family, is that registration user searches the corresponding grade of service according to the account grade of register account number.
Step 203, the grade of service belonging to user is adjusted according to the characteristic information.
In the present embodiment, according to characteristic information divide user belonging to the grade of service after, according to user direct broadcasting room row Further to adjust the grade of service belonging to user.For example, the message that user sends is object of giving a present, then the number for object of giving a present is more than When setting number, the grade of service of user is improved;The message that user sends includes the word abused, then reduces the service etc. of user Grade.At least following two realization methods of the grade of service belonging to specific adjustment user:
Mode one
Step 2031, the network address of each user in direct broadcasting room is obtained.
In the present embodiment, multiple users are logged in a direct broadcasting room, have obtained the network address of these users, network address Can be IP address, can also be MAC Address, the embodiment of the present invention does not limit this in detail, can according to actual conditions into Row setting.
Step 2032, the grade of service belonging to user of the extraction using consolidated network address.
In the present embodiment, after getting network address, there may be multiple users to use consolidated network address, extracting these makes The grade of service belonging to user with consolidated network address.For example, 85 people have been logged in direct broadcasting room, wherein there is two users of A, B Using consolidated network address, there are tri- users of X, Y, Z to use consolidated network address, then extract the service belonging to two users of A, B Grade extracts the grade of service belonging to tri- users of X, Y, Z.Network address can also be divided into different phase recencies, according to not The grade of service belonging to same phase recency extraction user.For example, the phase recency of identical network address is set as 1, it will be only The phase recency for the network address for having the last byte different is set as 2, by the close of the different network address of last three bytes Degree is set as 3.The grade of service belonging to the user that network address phase recency is 1 can be extracted, it is close network address can also to be extracted The grade of service belonging to user of the degree for 2.The embodiment of the present invention does not limit this in detail, can be set according to actual conditions It sets.
Step 2033, the average rank number of the grade of service is calculated.
In the present embodiment, the grade of service belonging to user of the extraction using consolidated network address calculates extracted service The average rank number of grade.For example, extraction is respectively 1 and 5 using the grade of service of the user A and user B of consolidated network address, The average rank number for calculating the grade of service is 3.
Step 2034, the grade of service belonging to the user less than the average rank number is improved.
In the present embodiment, the grade of service belonging to the user of average rank number can be will be less than and improve level-one, can also be carried It is high multistage.For example, the grade of service of user A and user B are respectively 1 and 5, average rank number is 3, can will be less than average rank The grade of service belonging to the user A of number 3 is improved to 2 or is improved to 3.Series of the embodiment of the present invention to the grade of service of raising It does not limit, can be configured according to actual conditions in detail.It can also simultaneously be improved according to actual conditions and be higher than average rank The grade of service belonging to several users, the embodiment of the present invention also do not limit this in detail, can be set according to actual conditions It sets.
Mode two
Step 2035, counting user sends the message parameter of message into the direct broadcasting room, and wherein message parameter includes disappearing Cease at least one of type, message sending rate.
In the present embodiment, counting user sends the type of message of message into direct broadcasting room, and counting user is sent out into direct broadcasting room Send the transmission frequency of message.For example, the type of message that user sends message is the object that thumbs up or give a present, counting user thumbs up Number and present number, can also count rank of present etc..The message content that server can send user generates MD5 values simultaneously It is stored, the quantity of the identical message of statistics MD5 values.
Step 2036, judge whether the transmission behavior of user is that malice is sent according to the message parameter.
In the present embodiment, it can judge whether the transmission behavior of user is malice according to type of message or message sending rate It sends.For example, by message content generate MD5 values, count the quantity of the same MD5 values, if statistical magnitude in setting range, Then judge that the transmission behavior non-malicious of user is sent;If statistical magnitude is more than threshold value, judge that user frequently sends disappearing for repetition Content is ceased, the transmission behavior of user is that malice is sent.
Can also according in chat content with the presence or absence of setting malice keyword, judge user transmission behavior whether be Malice is sent.Whether sayed by main broadcaster or system taboo after message can also be sent according to user, judges that the transmission behavior of user is It is no to be sent for malice.For example, user sends banned speech after message, judge that the transmission behavior of user is that malice is sent.The present invention is real Whether for how to judge the transmission behavior of user be malice transmission in detail do not limit, can be carried out according to actual conditions if applying example Setting.
Step 2037, it is sent if the transmission behavior of the user is malice, reduces the grade of service belonging to user.
In the present embodiment, is sent if it is determined that the transmission behavior of user is malice, then reduces the grade of service belonging to user, It sends, do not adjust the grade of service belonging to user or is improved belonging to user if it is determined that the transmission behavior of user is not malice The grade of service.For example, the message content that user frequently sends repetition reaches certain amount, judge that the transmission behavior of user is malice It sends, reduces the user gradation belonging to user.The embodiment of the present invention does not limit in detail for reducing the quantity of user gradation, can To be configured according to actual conditions.
Step 204, the user list of the direct broadcasting room is traversed, and extracts the grade of service belonging to each user.
In the present embodiment, before a direct broadcast service is provided, the user list of direct broadcasting room is traversed, is extracted belonging to each user The grade of service.For registration user, server can be in advance by the storage corresponding with account of the grade of service belonging to user, user After entering direct broadcasting room by register account number, the incidence relation of the grade of service of the server belonging to account and user extracts user The affiliated grade of service.The embodiment of the present invention is not limited how to extract the grade of service belonging to each user in detail, Ke Yigen It is configured according to actual conditions.
Step 205, the grade of service needed for direct broadcast service to be supplied screens target user.
It is in advance the grade of service needed for direct broadcast service setting to be supplied, for example, competition game is straight in the present embodiment Between broadcasting, for the M that plays live streaming set needed for the grade of service as 0, set the required grade of service as 2 for the live streaming of game N.Time The user list for going through direct broadcasting room, extracts the grade of service belonging to each user, and screening meets the clothes needed for direct broadcast service to be supplied The user for grade of being engaged in is target user.For example, the user list of the competition game direct broadcasting room is traversed, extraction user A, user B institutes The grade of service of category is 0, and the grade of service belonging to user C is 1, and the grade of service belonging to user D is 2, the live streaming for the M that plays The required grade of service is 0, and screening target user is user A, B, C, D, is 2 for the grade of service played needed for the live streaming of N, Screening target user is user D.
Step 206, corresponding direct broadcast service is provided to the target user.
In the present embodiment, after filtering out target user, corresponding live streaming chatting service is provided to target user.For example, right The grade of service needed for the live streaming of game N is 2, and screening target user is user D, then providing game N to user D is broadcast live process In chatting service, and for user A, B, C in direct broadcasting room, since the affiliated grade of service is less than the service needed for game N Grade when server provides the live streaming of game N to user A, B, C, does not provide chatting service to user A, B, C, user A, B, C to Direct broadcasting room sends message, and server can be refused to receive the message that user A, B, C are sent.
In conclusion server of the embodiment of the present invention obtains the characteristic information of user, divided according to the characteristic information of user Grade belonging to user, and the grade belonging to user is adjusted according to the characteristic information of user, when providing direct broadcast service to the user, The grade belonging to user is extracted in traverse user list, and the grade of service needed for live streaming to be supplied screens target user, to Target user provides corresponding direct broadcast service.Through the embodiment of the present invention, server provides less service for inferior grade user Or refusal for inferior grade user provides service, and user can not only be defendd to send the attack of a large amount of malicious links, but also can be with Ensure the use quality of high ranked user.
It should be noted that for embodiment of the method above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence, because according to According to the present invention, certain steps can be performed in other orders or simultaneously.Next, those skilled in the art should also know that, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Embodiment three
A kind of offer device of direct broadcast service provided in an embodiment of the present invention is provided, server, the dress are deployed in Set including:
With reference to Fig. 3, a kind of block diagram of the device of the offer of direct broadcast service in the embodiment of the present invention, described device are shown Including:
Characteristic information acquisition module 301, the characteristic information for obtaining each user in direct broadcasting room, wherein the user's Characteristic information includes at least one of the network address of user and the message of user's transmission and the identity information of user;
Grade of service division module 302, for dividing the grade of service belonging to user according to the characteristic information;
Direct broadcast service provides module 303, and corresponding direct broadcast service is provided to the user for being based on the grade of service.
In the embodiment of the present invention, it is preferable that the grade of service division module, specifically for believing according to for different identity The grade of service of setting is ceased, the grade of service corresponding with the identity information of the user is searched, wherein the identity information includes At least one of login status, account grade of register account number.
In the embodiment of the present invention, it is preferable that after the grade of service division module, described device further includes:
The grade of service adjusts module, for adjusting the grade of service belonging to user according to the characteristic information.
In the embodiment of the present invention, it is preferable that the grade of service adjusts module and includes:
Network address acquisition submodule, the network address for obtaining each user in the direct broadcasting room;
First service grade extracting sub-module, for extracting the grade of service belonging to the user using consolidated network address;
Average rank computational submodule, the average rank number for calculating the grade of service;
The grade of service improves submodule, for improving the grade of service belonging to the user less than the average rank number.
In the embodiment of the present invention, it is preferable that the grade of service adjusts module and includes:
Message parameter statistic submodule sends the message parameter of message for counting user into the direct broadcasting room;
Transmission behavior judging submodule, for judging whether the transmission behavior of user is that malice is sent out according to the message parameter It send;
The grade of service reduces submodule, sends, is reduced belonging to user if the transmission behavior for the user is malice The grade of service.
In the embodiment of the present invention, it is preferable that the message parameter includes at least one in type of message, message sending rate Kind.
In the embodiment of the present invention, it is preferable that the direct broadcast service provides module and includes:
Second service grade extracting sub-module, the user list for traversing the direct broadcasting room, and extract belonging to each user The grade of service;
Target user screens submodule, is used for the grade of service screening target needed for direct broadcast service to be supplied Family;
Direct broadcast service provides submodule, for providing corresponding direct broadcast service to the target user.
In conclusion server of the embodiment of the present invention obtains the characteristic information of user, divided according to the characteristic information of user Grade belonging to user, and the grade belonging to user is adjusted according to the characteristic information of user, when providing direct broadcast service to the user, The grade belonging to user is extracted in traverse user list, and the grade of service needed for live streaming to be supplied screens target user, to Target user provides corresponding direct broadcast service.Through the embodiment of the present invention, server provides less service for inferior grade user Or refusal for inferior grade user provides service, and user can not only be defendd to send the attack of a large amount of malicious links, but also can be with Ensure the use quality of high ranked user.
For the offer device embodiment of above-mentioned direct broadcast service, since it is basically similar to the method embodiment, so What is described is fairly simple, and the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that be:The arbitrary combination application of above-mentioned each embodiment is all feasible, therefore Arbitrary combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
The offer scheme of direct broadcast service is not solid with any certain computer, virtual system or miscellaneous equipment provided herein There is correlation.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has this hair Structure required by the system of bright scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.It should Understand, various programming languages can be utilized to realize the content of invention described herein, and language-specific is done above Description is to disclose the preferred forms of the present invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific implementation mode, wherein each claim conduct itself The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice In the offer scheme of microprocessor or digital signal processor (DSP) to realize direct broadcast service according to the ... of the embodiment of the present invention The some or all functions of some or all components.The present invention is also implemented as executing method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such reality The program of the existing present invention can may be stored on the computer-readable medium, or can be with the form of one or more signal. Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or in any other forms It provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.

Claims (14)

1. a kind of providing method of direct broadcast service is applied to server, which is characterized in that the method includes:
Obtain direct broadcasting room in each user characteristic information, wherein the characteristic information of the user include user network address and The identity information of at least one of message that user sends and user;
The grade of service belonging to user is divided according to the characteristic information;
Corresponding direct broadcast service is provided to the user based on the grade of service.
2. according to the method described in claim 1, it is characterized in that, the clothes divided according to the characteristic information belonging to user Business grade include:
According to the grade of service for different identity information setting, service corresponding with the identity information of the user etc. is searched Grade, wherein the identity information includes at least one of login status, the account grade of register account number.
3. according to the method described in claim 1, it is characterized in that, being divided belonging to user according to the characteristic information described After the grade of service, the method further includes:
The grade of service belonging to user is adjusted according to the characteristic information.
4. according to the method described in claim 3, it is characterized in that, the clothes adjusted according to the characteristic information belonging to user Business grade include:
Obtain the network address of each user in the direct broadcasting room;
The grade of service belonging to user of the extraction using consolidated network address;
Calculate the average rank number of the grade of service;
Improve the grade of service belonging to the user less than the average rank number.
5. according to the method described in claim 3, it is characterized in that, described adjust user institute according to the characteristic information of the user The grade of service of category includes:
Counting user sends the message parameter of message into the direct broadcasting room;
Judge whether the transmission behavior of user is that malice is sent according to the message parameter;
It is sent if the transmission behavior of the user is malice, reduces the grade of service belonging to user.
6. according to the method described in claim 5, it is characterized in that, the message parameter includes type of message, message transmission frequency At least one of rate.
7. according to the method described in claim 1, it is characterized in that, described provided to the user accordingly based on the grade of service Direct broadcast service includes:
The user list of the direct broadcasting room is traversed, and extracts the grade of service belonging to each user;
The grade of service needed for direct broadcast service to be supplied screens target user;
Corresponding direct broadcast service is provided to the target user.
8. a kind of offer device of direct broadcast service, is deployed in server, which is characterized in that described device includes:
Characteristic information acquisition module, the characteristic information for obtaining each user in direct broadcasting room, wherein the characteristic information of the user The identity information of at least one of message that network address and user including user are sent and user;
Grade of service division module, for dividing the grade of service belonging to user according to the characteristic information;
Direct broadcast service provides module, and corresponding direct broadcast service is provided to the user for being based on the grade of service.
9. device according to claim 8, which is characterized in that
The grade of service division module is specifically used for according to the grade of service for different identity information setting, lookup and institute The corresponding grade of service of identity information of user is stated, wherein the identity information includes login status, account of register account number etc. At least one of grade.
10. device according to claim 8, which is characterized in that after the grade of service division module, described device Further include:
The grade of service adjusts module, for adjusting the grade of service belonging to user according to the characteristic information.
11. device according to claim 10, which is characterized in that the grade of service adjusts module and includes:
Network address acquisition submodule, the network address for obtaining each user in the direct broadcasting room;
First service grade extracting sub-module, for extracting the grade of service belonging to the user using consolidated network address;
Average rank computational submodule, the average rank number for calculating the grade of service;
The grade of service improves submodule, for improving the grade of service belonging to the user less than the average rank number.
12. device according to claim 10, which is characterized in that the grade of service adjusts module and includes:
Message parameter statistic submodule sends the message parameter of message for counting user into the direct broadcasting room;
Transmission behavior judging submodule, for judging whether the transmission behavior of user is that malice is sent according to the message parameter;
The grade of service reduces submodule, is sent if the transmission behavior for the user is malice, reduces the clothes belonging to user Business grade.
13. device according to claim 12, which is characterized in that the message parameter includes type of message, message transmission At least one of frequency.
14. device according to claim 8, which is characterized in that the direct broadcast service provides module and includes:
Second service grade extracting sub-module, the user list for traversing the direct broadcasting room, and extract the clothes belonging to each user Business grade;
Target user screens submodule, and target user is screened for the grade of service needed for direct broadcast service to be supplied;
Direct broadcast service provides submodule, for providing corresponding direct broadcast service to the target user.
CN201710179803.1A 2017-03-23 2017-03-23 A kind of providing method and device of direct broadcast service Pending CN108632634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710179803.1A CN108632634A (en) 2017-03-23 2017-03-23 A kind of providing method and device of direct broadcast service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710179803.1A CN108632634A (en) 2017-03-23 2017-03-23 A kind of providing method and device of direct broadcast service

Publications (1)

Publication Number Publication Date
CN108632634A true CN108632634A (en) 2018-10-09

Family

ID=63706911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710179803.1A Pending CN108632634A (en) 2017-03-23 2017-03-23 A kind of providing method and device of direct broadcast service

Country Status (1)

Country Link
CN (1) CN108632634A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547811A (en) * 2019-01-15 2019-03-29 深圳市云歌人工智能技术有限公司 Show the method, apparatus and storage medium of interaction content
CN109688418A (en) * 2018-12-24 2019-04-26 北京潘达互娱科技有限公司 Interface function bootstrap technique, equipment and storage medium is broadcast live
CN113079382A (en) * 2021-03-24 2021-07-06 百度国际科技(深圳)有限公司 Message transmission method, device, equipment, system and storage medium
CN113573082A (en) * 2021-07-16 2021-10-29 张仲元 Live broadcast platform user screening method, computer device and readable storage medium
CN113660290A (en) * 2021-09-27 2021-11-16 北京达佳互联信息技术有限公司 Signaling transmission method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110064074A1 (en) * 2009-09-14 2011-03-17 Priit Kreitzberg Presence information
CN105574434A (en) * 2015-12-14 2016-05-11 网易(杭州)网络有限公司 Information shielding method and device
CN106028151A (en) * 2016-05-25 2016-10-12 武汉斗鱼网络科技有限公司 Live broadcast website user authority control method and device
CN106101826A (en) * 2016-06-01 2016-11-09 北京奇虎科技有限公司 Method and device, the method for client message acquisition and the client that message sends

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110064074A1 (en) * 2009-09-14 2011-03-17 Priit Kreitzberg Presence information
CN105574434A (en) * 2015-12-14 2016-05-11 网易(杭州)网络有限公司 Information shielding method and device
CN106028151A (en) * 2016-05-25 2016-10-12 武汉斗鱼网络科技有限公司 Live broadcast website user authority control method and device
CN106101826A (en) * 2016-06-01 2016-11-09 北京奇虎科技有限公司 Method and device, the method for client message acquisition and the client that message sends

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688418A (en) * 2018-12-24 2019-04-26 北京潘达互娱科技有限公司 Interface function bootstrap technique, equipment and storage medium is broadcast live
CN109688418B (en) * 2018-12-24 2021-03-05 北京潘达互娱科技有限公司 Live interface function guiding method, device and storage medium
CN109547811A (en) * 2019-01-15 2019-03-29 深圳市云歌人工智能技术有限公司 Show the method, apparatus and storage medium of interaction content
CN109547811B (en) * 2019-01-15 2021-09-21 深圳市云歌人工智能技术有限公司 Method, device and storage medium for displaying interactive content
CN113079382A (en) * 2021-03-24 2021-07-06 百度国际科技(深圳)有限公司 Message transmission method, device, equipment, system and storage medium
CN113079382B (en) * 2021-03-24 2023-04-21 百度国际科技(深圳)有限公司 Message transmission method, device, equipment, system and storage medium
CN113573082A (en) * 2021-07-16 2021-10-29 张仲元 Live broadcast platform user screening method, computer device and readable storage medium
CN113660290A (en) * 2021-09-27 2021-11-16 北京达佳互联信息技术有限公司 Signaling transmission method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108632634A (en) A kind of providing method and device of direct broadcast service
CN103701795B (en) The recognition methods of the attack source of Denial of Service attack and device
CN104065644B (en) CC attack recognition method and apparatus based on log analysis
CN105491060B (en) Method, apparatus, client and the equipment of defending distributed denial of service attack
US20090313698A1 (en) Method for protecting a packet-based network from attacks, and security border node
CN106357685A (en) Method and device for defending distributed denial of service attack
CN105897674A (en) DDoS attack protection method applied to CDN server group and system
CN106936799B (en) Message cleaning method and device
CN1719783A (en) Method and system for dentifying a distributed denial of service (DDOS) attack within a network and defending against such an attack
US11627157B2 (en) Method and system for detecting and mitigating a denial of service attack
CN106357628B (en) The defence method and device of attack
CN105991628A (en) Network attack identification method and network attack identification device
CN106534042A (en) Server invasion identifying method and apparatus based on data analysis and cloud safety system
CN107819731A (en) A kind of network security protection system and correlation technique
CN110213208A (en) A kind of method and apparatus and storage medium of processing request
Devi et al. Detection of application layer DDoS attacks using information theory based metrics
CN107645478A (en) Network attack defending system, method and device
CN110166408A (en) Defend the methods, devices and systems of extensive aggression
WO2016085412A1 (en) Systems and methods for intercepting, filtering and blocking content from internet in real-time
CN107682341A (en) The means of defence and device of CC attacks
CN106131078A (en) A kind of method and device processing service request
CN110365712A (en) A kind of defence method and system of distributed denial of service attack
CN105354249B (en) More account relating method, apparatus and electronic equipment
CN108322354B (en) Method and device for identifying running-stealing flow account
CN108184146A (en) A kind of method and relevant device for calculating live streaming platform popularity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181009

RJ01 Rejection of invention patent application after publication