Summary of the invention
In view of this, the present disclosure proposes a kind of recognition methods of multimedia resource request and device, to more accurate
Ground identifies client, refuses to provide multimedia resource for illegal client.
According to the one side of the disclosure, a kind of recognition methods of multimedia resource request is provided, which comprises
In the multimedia resource request for receiving client transmission, the request ginseng of the multimedia resource request is determined
Number, the required parameter includes the mark of the client;
According to the mark of the client, the state of the statistical information of the client historical behavior is determined;
When the required parameter is normal, and the state of the statistical information is normal condition, Xiang Suoshu client is provided
Multimedia resource corresponding with multimedia resource request.
In one possible implementation, the state of the statistical information of the historical behavior further includes abnormality, institute
State method further include:
When the required parameter is abnormal and/or the state of the statistical information is abnormality, refuse to the client
End provides the multimedia resource.
In one possible implementation, the state of the statistical information of the historical behavior further includes the first abnormal shape
State, the method also includes:
When the required parameter is normal, and the state of the statistical information is the first abnormality, Xiang Suoshu client
The multimedia resource is provided;
During providing the multimedia resource to the client, the request behavior of the client is monitored;
When the request abnormal behavior, stop providing the multimedia resource to the client.
In one possible implementation, the state of the statistical information of the historical behavior further includes the second abnormal shape
State, the method also includes:
When the required parameter is normal, and the state of the statistical information is the second abnormality, refuse to the visitor
Family end provides the multimedia resource.
In one possible implementation, according to the mark of the client, the client historical behavior is determined
The state of statistical information, comprising:
According to the mark of the client, the statistical information of the historical behavior of the client is determined;
According to the statistical information and behavior asset pricing, the state of the statistical information is determined.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold,
Wherein, according to the statistical information and behavior asset pricing, the state of the statistical information is determined, comprising:
When the items in the statistical information are respectively less than or are equal to corresponding first threshold, the statistical information is determined
For normal condition;
When any one in the statistical information is greater than corresponding first threshold, determine that the statistical information is different
Normal state.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold and second threshold,
Wherein, according to the statistical information and behavior asset pricing, the state of the statistical information is determined, comprising:
When the items in the statistical information are respectively less than or are equal to corresponding first threshold, the statistical information is determined
For normal condition;
When any one in the statistical information is greater than corresponding first threshold, and the items in the statistical information
Respectively less than or be equal to corresponding second threshold when, determine the statistical information state be the first abnormality, described second
Threshold value is greater than the first threshold;
When any one in the statistical information is greater than corresponding second threshold, the shape of the statistical information is determined
State is the second abnormality.
In one possible implementation, the statistical information of the client historical behavior includes one in following information
Kind or any combination:
The illegal request number ratio in illegal request number, historical requests in historical requests illegally occupies bandwidth ratio
, the request step in illegal request parameter information, client data missing information, historical requests in historical requests lacks letter
Breath.
In one possible implementation, the mark of the client includes installing the mark of the equipment of the client
And/or log in the mark of the user of the client.
According to the one side of the disclosure, a kind of identification device of multimedia resource request is provided, described device includes:
Required parameter determining module, for determining described more in the multimedia resource request for receiving client transmission
The required parameter of media resource request, the required parameter includes the mark of the client;
Statistical information state determining module determines the client historical behavior for the mark according to the client
Statistical information state;
First multimedia resource provides module, normal for working as the required parameter, and the state of the statistical information is
When normal condition, Xiang Suoshu client provides multimedia resource corresponding with multimedia resource request.
In one possible implementation, the state of the statistical information of the historical behavior further includes abnormality, institute
State device further include:
First refusal module, for when the required parameter is abnormal and/or the state of the statistical information is abnormality
When, refuse to provide the multimedia resource to the client.
In one possible implementation, the state of the statistical information of the historical behavior further includes the first abnormal shape
State, described device further include:
Second multimedia resource provides module, normal for working as the required parameter, and the state of the statistical information is
When the first abnormality, Xiang Suoshu client provides the multimedia resource;
Detection module, for monitoring asking for the client during providing the multimedia resource to the client
Ask behavior;
Stopping modular provides the multimedia resource to the client for stopping when the request abnormal behavior.
In one possible implementation, the state of the statistical information of the historical behavior further includes the second abnormal shape
State, described device further include:
Second refusal module, it is normal for working as the required parameter, and the state of the statistical information is the second abnormal shape
When state, refuse to provide the multimedia resource to the client.
In one possible implementation, the statistical information state determining module, comprising:
Statistical information determines submodule, for the mark according to the client, determines the historical behavior of the client
Statistical information;
State determines submodule, for determining the state of the statistical information according to the statistical information and behavior asset pricing.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold,
Wherein, the state determines submodule, comprising:
First normal condition determines submodule, for when the items in the statistical information are respectively less than or are equal to corresponding
When first threshold, determine that the statistical information is normal condition;
First abnormality determines submodule, for being greater than corresponding first when any one in the statistical information
When threshold value, determine that the statistical information is abnormality.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold and second threshold,
Wherein, the state determines submodule, comprising:
Second normal condition determines submodule, for when the items in the statistical information are respectively less than or are equal to corresponding
When first threshold, determine that the statistical information is normal condition;
Second abnormality determines submodule, for being greater than corresponding first when any one in the statistical information
Threshold value, and the items in the statistical information be respectively less than or be equal to corresponding second threshold when, determine the statistical information
State is the first abnormality, and the second threshold is greater than the first threshold;
Third abnormality determines submodule, for being greater than corresponding second when any one in the statistical information
When threshold value, determine that the state of the statistical information is the second abnormality.
In one possible implementation, the statistical information of the client historical behavior includes one in following information
Kind or any combination:
The illegal request number ratio in illegal request number, historical requests in historical requests illegally occupies bandwidth ratio
, the request step in illegal request parameter information, client data missing information, historical requests in historical requests lacks letter
Breath.
In one possible implementation, the mark of the client includes installing the mark of the equipment of the client
And/or log in the mark of the user of the client.
According to the one side of the disclosure, a kind of identification device of multimedia resource request is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to realizing the recognition methods of above-mentioned multimedia resource request.
According to the one side of the disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, meter is stored thereon with
Calculation machine program instruction realizes the identification side for holding above-mentioned multimedia resource request when the computer program instructions are executed by processor
Method.
In the embodiments of the present disclosure, when at least one in the required parameter and statistical information of client is abnormal, refusal
Multimedia resource is provided to client.By the Real time request and historical information of client, can more comprehensively, accurately identify
Whether client is illegitimate client out, and refuses to provide multimedia resource for illegitimate client, improves the peace of multimedia resource
Quan Xing.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure.
It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 shows the flow chart of the recognition methods according to the request of the multimedia resource of one embodiment of the disclosure.This method can
Applied in server.As shown in Figure 1, the recognition methods of the multimedia resource request includes:
Step S10 determines the multimedia resource request in the multimedia resource request for receiving client transmission
Required parameter, the required parameter include the mark of the client.
In one possible implementation, the multimedia resource may include video resource, image resource, audio money
Source, website links resource, file resource etc..Client may include corresponding with the server of multimedia resource is provided for user
The program of local multimedia resource is provided.For example, client includes web browser, email client, instant messaging visitor
Family end, social software client and Games Software client etc..The disclosure does not limit this.
User can send multimedia resource request by user end to server.More matchmakers that user end to server is sent
Body resource request includes required parameter.Required parameter may include one of which or any combination in following parameter: be requested
Mark, the mass parameter of requested multimedia resource of multimedia resource etc., the transmission ginseng of requested multimedia resource
Number etc..
In one possible implementation, the mark of the client includes installing the mark of the equipment of the client
And/or log in the mark of the user of the client.
The equipment for installing the client can install client including intelligent mobile phone terminal, computer terminal etc. are various
Equipment.The mark of equipment may include using letter, number or one of which or any combination in symbol, according to the volume of setting
The mark for the equipment that code rule obtains.For example, equipment A's is identified as " ABC001 ".
The mark for logging in the user of the client, the user name of the user including logging in client.The mark of user
It may include the use obtained according to the coding rule of setting using letter, number or one of which or any combination in symbol
The mark at family.For example, user A's is identified as " EFG001 ".
When client is when being identified as the mark for installing the equipment of the client, the disclosure can be according to equipment in implementing
Mark, determine the state of the statistical information of the historical behavior of equipment, and the state of the statistical information according to equipment, it is determined whether
Multimedia resource is provided to client.
When being identified as client logs in the mark of the user of the client, it can determine and use according to the mark of user
The state of the statistical information of the historical behavior at family, and determine whether that client offer is more according to the state of the statistical information of user
Media resource.
The mark of client can be for the user's of the mark or login client of the equipment of the installation client
Mark.It can be according to equipment or the classification of the statistical information of the historical behavior of user, it is determined whether multimedia resource is provided.It can be with
Judge respectively in the angle of equipment or user, improves the applicability of the embodiment of the present disclosure.
Step S20 determines the state of the statistical information of the client historical behavior according to the mark of the client.
In one possible implementation, client historical behavior may include requesting predecessor in this multimedia resource
Client behavior in the meaning setting period.For example, client is requesting the history row in the previous moon in this multimedia resource
For, client requested in this multimedia resource historical behavior in first trimester or client in this multimedia resource
All historical behaviors before request.
The statistical information of client historical behavior may include the statistical information of client each behavior in history.For example,
Statistical information may include the request number of times in set period of time, illegal request number in historical requests etc..According to client
The state for determining the statistical information of client historical behavior is identified, including each in history according to client identification lookup client
The statistical information of behavior, and according to the statistical information of the behavior each in history found, and set corresponding with each behavior
Behavior asset pricing determines that the state of statistical information is normal condition or abnormality.
The statistical information of client historical behavior also may include the client counted according to the historical behavior of client
Status information, such as statistical information may include the abnormal shape for being once transmitted across illegal request and determining according to client
State.The state that the statistical information of client historical behavior is determined according to client identification may include being looked into according to client identification
The state for finding statistical information is normal condition or abnormality.
Step S30, when the required parameter is normal, and the state of the statistical information is normal condition, to the visitor
Family end provides multimedia resource corresponding with multimedia resource request.
In one possible implementation, can first judge whether required parameter is normal, then whether judge statistical information
For normal condition.Can also first judge whether statistical information is normal condition, then judge whether required parameter is normal.The disclosure pair
This is without limitation.Parameter in the real-time multimedia resource that client is sent is requested is normal, and the historical behavior of client
The state of statistical information when being normal, the Real time request of client and historical information can be carried out after comprehensive descision to client
End provides multimedia resource.
In the present embodiment, it is requested according to the multimedia resource that client is sent, determines the request of multimedia resource request
Parameter, and determine the state of the statistical information of the historical behavior of client, when the multimedia resource that client is sent in real time is asked
The required parameter asked is normal, and the state of the statistical information of client historical behavior be normal condition when, to client provide it is more
Media resource.By the way that the real time information of client and historical information are combined, can more comprehensively, accurately identify client
End, and refuse to provide multimedia resource for illegitimate client, improve the safety of multimedia resource.
Fig. 2 shows the flow charts for the recognition methods requested according to the multimedia resource of one embodiment of the disclosure, such as Fig. 2 institute
To show, the state of the statistical information of the historical behavior further includes abnormality, the method also includes:
Step S40, when the required parameter is abnormal and/or the state of the statistical information is abnormality, refuse to
The client provides the multimedia resource.
In one possible implementation, the required parameter includes one in the request of this multimedia resource extremely
Or multiple parameters are abnormal.For example, the mass parameter of abnormal, the requested multimedia resource of the mark of requested multimedia resource
It is not consistent with the grade of client itself, the configured transmission of requested multimedia resource is not consistent with the grade of client itself
Deng.
It, can be the case where not knowing the state of statistical information of the client historical behavior when required parameter exception
Under, refuse to provide the multimedia resource to the client.When required parameter exception, the statistics letter can also be being determined
In the case that breath is normal condition, refuse to provide the multimedia resource to the client.
When statistical information is abnormality, can refuse to provide to the client in the normal situation of required parameter
Multimedia resource can be refused to provide multimedia resource to the client in the case where required parameter exception.
In the present embodiment, when at least one in the required parameter and statistical information of client is abnormal, refuse to visitor
Family end provides multimedia resource.By the Real time request and historical information of client, can more comprehensively, accurately identify visitor
Whether family end is illegitimate client, and refuses to provide multimedia resource for illegitimate client, improves the safety of multimedia resource.
Fig. 3 shows the flow chart of the recognition methods according to the request of the multimedia resource of one embodiment of the disclosure, such as Fig. 3 institute
To show, the state of the statistical information of the historical behavior further includes the first abnormality, the method also includes:
Step S50, when the required parameter is normal, and the state of the statistical information is the first abnormality, to institute
It states client and the multimedia resource is provided.
In one possible implementation, when the required parameter is normal, and the state of statistical information is abnormality
When, the embodiment of the present disclosure can further distinguish abnormality.It is abnormal that abnormality can be divided at least two
State, one of abnormality are the first abnormality.For example, statistical information is normal condition when client not arrearage.
When client arrearage, statistical information is abnormality.When the standard for stopping service being not achieved in the expense that client is owed, system
The state for counting information is the first abnormality.It, can be to the client when the state of statistical information is the first abnormality
The multimedia resource is provided.
Step S60 monitors the request row of the client during providing the multimedia resource to the client
For.
In one possible implementation, more matchmakers are provided for the client of the first abnormality to the state of statistical information
It, can be with the request behavior of monitor client during body resource.The request behavior of client may include that the request of client is patrolled
Volume.For example, whether client has the behavior etc. of normal request advertisement.
Step S70 stops providing the multimedia resource to the client when the request abnormal behavior.
In one possible implementation, when the request abnormal behavior, it is believed that client is illegal client
End stops providing the multimedia resource to client.
In the present embodiment, the abnormality of statistical information is further distinguished, when the required parameter is normal,
And the state of the statistical information is when being the first abnormality, Xiang Suoshu client provides the multimedia resource, but to visitor
During family end provides the multimedia resource, the request behavior of the client is monitored, and when the request abnormal behavior, stop
Only the multimedia resource is provided to the client.By the way that the state of statistical information is further distinguished, Ke Yixiang
The state of partial statistical information provides multimedia resource for the client of abnormality, and the interests of guarantee section user avoid straight
Connect refusal certain customers side request caused by client's usage experience reduce, such as avoid the good user in part because without and
When pay dues be stopped service caused by user experience reduce.
Fig. 4 shows the flow chart of the recognition methods according to the request of the multimedia resource of one embodiment of the disclosure, such as Fig. 4 institute
To show, the state of the statistical information of the historical behavior further includes the second abnormality, the method also includes:
Step S80, when the required parameter is normal, and the state of the statistical information is the second abnormality, refusal
The multimedia resource is provided to the client.
In one possible implementation, abnormality can be divided at least two abnormalities, one of them is different
Normal state is the second abnormality.For example, statistical information is normal condition when client not arrearage.When client arrearage,
Statistical information is abnormality.When the expense that client is owed reaches the standard for stopping service, the state of statistical information is the
Two abnormalities.When the state of statistical information is the second abnormality, refuse to provide the multimedia money to the client
Source.
In one possible implementation, the abnormality of statistical information can include the first abnormality and the simultaneously
Two abnormalities.When the state of statistical information is the first abnormality, the multimedia money can be provided to the client
Source.When the state of statistical information is the second abnormality, refuse to provide multimedia resource to the client.First abnormal shape
State and the second abnormality can be determined by the way that different threshold values is arranged for identical statistical information, can also pass through difference
Statistical information be determined.When the first abnormality and the second abnormality are determined by different statistical informations,
When the statistical information of client meets the condition of the first abnormality and the first abnormality simultaneously, it is different that second can be determined as
Normal state.
For example, it may be the first abnormality is greater than 100 times for the illegal request number in historical requests but less than 200
Secondary, the second abnormality is that the illegal request number in historical requests is greater than 200 times.Being also possible to the first abnormality is history
Illegal request number in request is greater than 100 times but less than 2000 time, and the second abnormality is the request in a hour in the past
Number is greater than 2000 times.
The first abnormality can first be judged whether it is, when the state of statistical information is not or not first abnormality, then sentenced
Whether disconnected is the second abnormality.The second abnormality can also first be judged whether it is, when the classification of statistical information is not second
When abnormality, then judge whether it is the first abnormality.
In the present embodiment, when the state of statistical information is the second abnormality, refuse to provide multimedia for client
Resource can rapidly filter out certain customers and refuse to provide multimedia resource for it.Guarantee multimedia resource safety
Meanwhile improving whole operational efficiency.
Fig. 5 shows the flow chart of the step S20 of the recognition methods according to the request of the multimedia resource of one embodiment of the disclosure,
As shown in figure 5, step S20 includes:
Step S21 determines the statistical information of the historical behavior of the client according to the mark of the client.
Step S22 determines the state of the statistical information according to the statistical information and behavior asset pricing.
In one possible implementation, the statistical information of client historical behavior may include client in history
The accumulative statistical information of upper each behavior, for example, statistical information may include request number of times in set period of time, in historical requests
Illegal request number etc..The state of the statistical information of client historical behavior is determined according to client identification, including according to visitor
The family end identifier lookup client statistical information that each behavior adds up in history, and it is tired according to the behavior each in history found
The statistical information of meter, and the behavior asset pricing corresponding with each behavior of setting determine that the state of statistical information is normal condition or different
Normal state.For example, including one hour in the past according to the statistical information that client identification " A001 " finds client historical behavior
Interior request number of times 80 times, corresponding behavior asset pricing are that the request number of times in one hour can determine statistics less than 100 times in the past
The state of information is normal.
The statistical information of client historical behavior may include the row that client meets the statistical condition of setting in history
For statistical information, for example, statistical information may include the statistical information of request number of times in set period of time greater than M times, go through
Illegal request number in history request is greater than M statistical information etc..Client historical behavior is determined according to client identification
The state of statistical information, the statistics including searching the behavior that client meets statistical condition in history according to client identification are believed
Breath, and according to the statistical information of the behavior for meeting statistical condition in history found, and set corresponding with each behavior
Behavior asset pricing determines that the state of statistical information is normal condition or abnormality.For example, the statistical information of client historical behavior
It include: the statistical information that request number of times of the client (client identification " A001 ") within past one hour is greater than 30 times.Client
Not the counting less than or equal to 30 times of the request number of times within past one hour is held, to improve system effectiveness.According to client
It identifies " A001 ", the statistical information for finding client historical behavior includes request number of times 80 times in one hour in the past, corresponding
Behavior asset pricing be that the request number of times in one hour can determine that the state of statistical information is normal condition less than 100 times in the past.
In the present embodiment, according to the statistical information and behavior asset pricing of the historical behavior of client, the statistics letter is determined
The state of breath.The state of statistical information can be adjusted flexibly by adjusting behavior asset pricing, so that the state of statistical information is richer
Richness separately plus flexibly can judge whether it is client and provide multimedia resource.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold, step S22 include:
When the items in the statistical information are respectively less than or are equal to corresponding first threshold, the statistical information is determined
For normal condition.
When any one in the statistical information is greater than corresponding first threshold, determine that the statistical information is different
Normal state.
In one possible implementation, the state of the statistical information may include normal condition and abnormality.
The behavior asset pricing may include respectively with the corresponding first threshold of items in statistical information.For example, statistical information can be with
Illegal request number ratio including the illegal request number in historical requests and in historical requests.First threshold may include with
The corresponding illegal request frequency threshold value of illegal request number in historical requests, and with the illegal request number ratio in historical requests
The corresponding illegal request number proportion threshold value of example.
In one possible implementation, when the illegal request number in historical requests is less than or equal to corresponding
Illegal request frequency threshold value, and the illegal request number ratio in historical requests again smaller than or be equal to corresponding illegal request
When number proportion threshold value, determine that the statistical information is normal condition.When the illegal request number in historical requests is greater than therewith
Illegal request number ratio in corresponding illegal request frequency threshold value and/or historical requests is illegally asked greater than corresponding
When seeking number proportion threshold value, determine that the statistical information is abnormality.
For example, the statistical information of historical behavior includes: illegal request number in historical requests and non-in historical requests
Method request number of times ratio.It is for 100 times and non-that behavior asset pricing corresponding with statistical information is respectively as follows: illegal request number proportion threshold value
Method request number of times proportion threshold value is 30%.Illegal request number in the statistical information historical requests of client " A01 " is 80 times,
Illegal request number ratio in historical requests is 20%, can determine that the state of the statistical information of client " A01 " is normal
State.Illegal request number in the statistical information historical requests of client " A02 " is 120 times, illegally asking in historical requests
Seeking number ratio is 25%, can determine that the state of the statistical information of client " A02 " is abnormality.
In one possible implementation, it is also possible to be less than or equal to phase when any one in the statistical information
When corresponding first threshold, determine that the statistical information is normal condition;When the items in the statistical information are all larger than relatively
When the first threshold answered, determine that the statistical information is abnormality.For example, the statistical information of historical behavior includes: that history is asked
Illegal request number ratio in the illegal request number and historical requests asked.Behavior asset pricing difference corresponding with statistical information
Are as follows: illegal request number proportion threshold value is 100 times and illegal request number proportion threshold value is 30%.The statistics of client " A03 "
Illegal request number in information history request is 80 times, and the illegal request number ratio in historical requests is 20%, can be true
The state for determining the statistical information of client " A03 " is normal condition.It is illegal in the statistical information historical requests of client " A04 "
Request number of times is 120 times, and the illegal request number ratio in historical requests is 25%, can determine the statistics of client " A04 "
The state of information is normal condition.
In the present embodiment, it is normal condition and abnormality by the state demarcation of statistical information using first threshold, leads to
The state of statistical information can simply and easily be adjusted by crossing adjustment first threshold, can be in conjunction with the historical information and in real time of client
Information more accurately judges whether client is illegitimate client, while protecting multimedia resource safety, guarantees user
Interests.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold and second threshold, step S22 include:
When the items in the statistical information are respectively less than or are equal to corresponding first threshold, the statistical information is determined
For normal condition.
When any one in the statistical information is greater than corresponding first threshold, and the items in the statistical information
Respectively less than or be equal to corresponding second threshold when, determine the statistical information state be the first abnormality, described second
Threshold value is greater than the first threshold.
When any one in the statistical information is greater than corresponding second threshold, the shape of the statistical information is determined
State is the second abnormality.
In one possible implementation, the state of the statistical information may include normal condition, the first abnormal shape
State and the second abnormality.It is three states that first threshold and second threshold, which be can use, by the state demarcation of statistical information,
Middle second threshold is greater than first threshold.It can be when the items in statistical information are respectively less than and are equal to corresponding first threshold,
The state for determining statistical information is normal condition;When any one in statistical information is greater than corresponding first threshold, and institute
When stating items in statistical information and being respectively less than or be equal to corresponding second threshold, determine that the state of the statistical information is first
Abnormality;When any one in statistical information is greater than corresponding second threshold, determine that the state of statistical information is the
Two abnormalities.Such as statistical information includes the illegal request number in historical requests and the illegal request number in historical requests
Ratio.It is 100 times and illegal request number that first threshold corresponding with statistical information, which is respectively as follows: illegal request number proportion threshold value,
Proportion threshold value is 30%.It is for 200 times and non-that second threshold corresponding with statistical information is respectively as follows: illegal request number proportion threshold value
Method request number of times proportion threshold value is 50%.Illegal request number in the statistical information historical requests of client " A05 " is 80 times,
Illegal request number ratio in historical requests is 20%, can determine that the state of the statistical information of client " A05 " is normal
State.Illegal request number in the statistical information historical requests of client " A06 " is 120 times, illegally asking in historical requests
Seeking number ratio is 25%, can determine that the state of the statistical information of client " A06 " is the first abnormality.Client
Illegal request number in the statistical information historical requests of " A07 " is 120 times, and the illegal request number ratio in historical requests is
55%, it can determine that the state of the statistical information of client " A06 " is the second abnormality.
In one possible implementation, it is also possible to the items in the statistical information and is respectively less than be equal to corresponding the
When one threshold value, determine that the state of statistical information is normal condition;When any one in statistical information is greater than corresponding first
Threshold value, and any one in the statistical information be less than or equal to corresponding second threshold when, determine the statistical information
State be the first abnormality;When the items in statistical information are all larger than corresponding second threshold, statistical information is determined
State be the second abnormality.Such as statistical information includes illegal request number in historical requests and non-in historical requests
Method request number of times ratio.It is for 100 times and non-that first threshold corresponding with statistical information is respectively as follows: illegal request number proportion threshold value
Method request number of times proportion threshold value is 30%.Second threshold corresponding with statistical information is respectively as follows: illegal request number proportion threshold value
It is 200 times and illegal request number proportion threshold value is 50%.Illegal request in the statistical information historical requests of client " A08 "
Number is 120 times, and the illegal request number ratio in historical requests is 55%, can determine the statistical information of client " A08 "
State be the first abnormality.
It in the present embodiment, is normal condition, the first abnormality and the second abnormal shape by the state demarcation of statistical information
State.Can flexibly determine whether client is illegitimate client by adjusting first threshold and second threshold, so that it is determined that being
It is no to provide multimedia resource for client, while protecting multimedia resource safety, protect the interests of user.
In one possible implementation, the statistical information of the client historical behavior includes one in following information
Kind or any combination: the illegal request number ratio in illegal request number, historical requests in historical requests illegally occupies band
Wide ratio, the request step in illegal request parameter information, client data missing information, historical requests in historical requests lack
It breaks one's promise breath.
It is understood that when client is there are when non-artificial operation factors, such as client is excessively frequently sent
When multimedia resource request message, need to be included in the first abnormality, the one of which in the second abnormality.Work as judgement
There may be when non-artificial operation factors, can refuse to provide the multimedia resource to the client for client.It is mentioning
While high multimedia resource safety, the usage experience of user is improved.
Illegal request number in historical requests may include the number refused to client's offer multimedia resource, including
The state of statistical information is that the second abnormality or multimedia resource request are abnormal.The illegal request time sent according to client
The threshold value of number and setting, it can be determined that client whether there is the factor of non-artificial operation.
Illegal request number ratio in historical requests, may include client illegal request number and it is all request time
Ratio between number.
Bandwidth ratio is illegally occupied, may include when providing multimedia resource in history for client, what client occupied
In bandwidth, ratio shared by bandwidth is illegally occupied.Such as under normal circumstances, client may occupy difference whithin a period of time
The bandwidth or occupied bandwidth of size are below bandwidth threshold.It, may be always when it is non-artificial operation factors that client is sturdy
Very big bandwidth is occupied, or the bandwidth averagely occupied is more than bandwidth threshold.
Illegal request parameter information in historical requests, may include client send multimedia resource request in exist
Illegal parameter information.For example, the format of the identification code of the multimedia resource in multimedia resource request is illegal format etc..
Client data missing information may include missing data in the multimedia resource request of client transmission.For example,
Lack the mark of client in the multimedia resource request that client is sent.
Request step missing information in historical requests may include having lacked portion in the historical requests of client transmission
Divide the information of request step.For example, having skipped the playing request step of advertisement in the historical requests of client.
In the present embodiment, the statistical information of client historical behavior may include one of much information or any
Combination.According to demand, by setting different statistical informations, the available system for determining client historical behavior more accurately
Count the state of information.
Fig. 6 shows the block diagram of the identification device according to the request of the multimedia resource of one embodiment of the disclosure, as shown in fig. 6,
The identification device of multimedia resource request includes:
Required parameter determining module 10, described in determining in the multimedia resource request for receiving client transmission
The required parameter of multimedia resource request, the required parameter includes the mark of the client.
Statistical information state determining module 20 determines the client history row for the mark according to the client
For statistical information state.
First multimedia resource provides module 30, normal for working as the required parameter, and the state of the statistical information
When for normal condition, Xiang Suoshu client provides multimedia resource corresponding with multimedia resource request.
In the present embodiment, it is requested according to the multimedia resource that client is sent, determines the request of multimedia resource request
Parameter, and determine the state of the statistical information of the historical behavior of client, when the multimedia resource that client is sent in real time is asked
The required parameter asked is normal, and the state of the statistical information of client historical behavior be normal condition when, to client provide it is more
Media resource.By the way that the real time information of client and historical information are combined, can more comprehensively, accurately identify client
End, and refuse to provide multimedia resource for illegitimate client, improve the safety of multimedia resource.
Fig. 7 shows the block diagram of the identification device according to the request of the multimedia resource of one embodiment of the disclosure, as shown in fig. 7,
In one possible implementation, the state of the statistical information of the historical behavior further includes abnormality, and described device is also
Include:
First refusal module 40, for when the required parameter is abnormal and/or the state of the statistical information is abnormal shape
When state, refuse to provide the multimedia resource to the client.
In one possible implementation, the state of the statistical information of the historical behavior further includes the first abnormal shape
State, described device further include:
Second multimedia resource provides module 50, normal for working as the required parameter, and the state of the statistical information
When for the first abnormality, Xiang Suoshu client provides the multimedia resource;
Detection module 60, for monitoring the client during providing the multimedia resource to the client
Request behavior;
Stopping modular 70 provides the multimedia money to the client for stopping when the request abnormal behavior
Source.
In one possible implementation, the state of the statistical information of the historical behavior further includes the second abnormal shape
State, described device further include:
Second refusal module 80, it is normal for working as the required parameter, and the state of the statistical information is second abnormal
When state, refuse to provide the multimedia resource to the client.
In one possible implementation, the statistical information state determining module 20, comprising:
Statistical information determines submodule 21, for the mark according to the client, determines the history row of the client
For statistical information;
State determines submodule 22, for determining the shape of the statistical information according to the statistical information and behavior asset pricing
State.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold,
Wherein, the state determines submodule 22, comprising:
First normal condition determines submodule, for when the items in the statistical information are respectively less than or are equal to corresponding
When first threshold, determine that the statistical information is normal condition;
First abnormality determines submodule, for being greater than corresponding first when any one in the statistical information
When threshold value, determine that the statistical information is abnormality.
In one possible implementation, the behavior asset pricing includes corresponding with the items in statistical information respectively
First threshold and second threshold,
Wherein, the state determines submodule 22, comprising:
Second normal condition determines submodule, for when the items in the statistical information are respectively less than or are equal to corresponding
When first threshold, determine that the statistical information is normal condition;
Second abnormality determines submodule, for being greater than corresponding first when any one in the statistical information
Threshold value, and the items in the statistical information be respectively less than or be equal to corresponding second threshold when, determine the statistical information
State is the first abnormality, and the second threshold is greater than the first threshold;
Third abnormality determines submodule, for being greater than corresponding second when any one in the statistical information
When threshold value, determine that the state of the statistical information is the second abnormality.
In one possible implementation, the statistical information of the client historical behavior includes one in following information
Kind or any combination: the illegal request number ratio in illegal request number, historical requests in historical requests illegally occupies band
Wide ratio, the request step in illegal request parameter information, client data missing information, historical requests in historical requests lack
It breaks one's promise breath.
In one possible implementation, the mark of the client includes installing the mark of the equipment of the client
And/or log in the mark of the user of the client.
Fig. 8 is a kind of device 1900 of identification for multimedia resource request shown according to an exemplary embodiment
Block diagram.For example, device 1900 may be provided as a server.Referring to Fig. 8, device 1900 includes processing component 1922, into
One step includes one or more processors and memory resource represented by a memory 1932, can be by handling for storing
The instruction of the execution of component 1922, such as application program.The application program stored in memory 1932 may include one or one
Each more than a corresponds to the module of one group of instruction.In addition, processing component 1922 is configured as executing instruction, on executing
State method.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating
The memory 1932 of machine program instruction, above-mentioned computer program instructions can be executed by the processing component 1922 of device 1900 to complete
The above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment
Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network
Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one
Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part
Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure
Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/
Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas
The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas
When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced
The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction
Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram
The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce
Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment
Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use
The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology
Other those of ordinary skill in domain can understand each embodiment disclosed herein.