Advertisement traffic anti-cheating method and device based on wavelet feature clustering
The wavelet feature clustering method is used to analyze and cluster website traffic, which solves the problem of difficulty in detecting low-rate cheating traffic with existing technology and achieves accurate identification and screening of cheating websites.
Patent Information
- Application Number
- CN202010171322.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-03-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-03-12
AI Technical Summary
Existing technology is difficult to detect low-rate cheating traffic, leading to the problem of being unable to identify cheating websites.
Using the wavelet feature clustering method, through wavelet analysis of website traffic data, the cheating flow sub-band and background flow sub-band are reconstructed, multiple wavelet features of different dimensions are extracted, and the unsupervised clustering algorithm is used to cluster the websites. Identify cheating websites.
Effectively detects low-rate cheating traffic, improves the accuracy of identifying cheating websites, reduces missed judgments and misjudgments, and can automatically detect cheating websites when the website tag is unknown.
Smart Images

Figure CN111401950B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network information technology, and in particular to an advertisement flow anti-cheating method and device based on wavelet feature clustering. Background Art
[0002] With the rapid development of the Internet industry, Internet advertising has become the main monetization method for major media platforms and the new favorite of advertisers. However, Internet advertising fraud has become increasingly serious, and its methods are endless. In the short term, Internet advertising fraud has seriously reduced the ROI (Return On Investment) of advertisers; in the long term, Internet advertising fraud has destroyed the entire Internet advertising economic ecosystem and reduced the value of advertising. Therefore, timely detection and prevention of fraud is very important and valuable for the operation of traffic and funds in the entire Internet advertising circle.
[0003] As the main source of traffic, media platforms have become the biggest cheaters in order to obtain more advertising revenue. Most advertising networks and media settle accounts based on the price of clicks, so click cheating is the most common. Of course, there are also behaviors of cheating on display in order to meet the demand for CPM orders, and large-scale traffic is brushed by humans or scripts to obtain advertising fees. As a demand-side platform, DSP represents the interests of advertisers and needs to detect and filter cheating traffic in a timely manner to reduce budget losses. At present, the anti-cheating methods on the DSP side are mainly based on offline statistical analysis of historical request data, display data, and click data, formulating rules and black and white lists, and deciding whether to filter the current request traffic online based on whether the rules are triggered. However, with the continuous upgrading of cheating technology, some media platforms no longer use traditional batch display and click brushing methods, but instead use machines or scripts to perform distributed low-frequency traffic brushing. By setting timers to periodically initiate false requests to websites, false traffic is mixed into normal traffic and disguised as normal user visits. Although this cheating method is not as profitable as the traditional method of brushing traffic, it is more concealed and not easily detected by the detection mechanism, and can continue to make profits for a long time.
[0004] In response to the behavior of cheating websites that continue to increase traffic, current anti-cheating methods are mainly based on time series modeling, using time-frequency analysis and other technical means to detect cheating websites. Traditional cheating methods have large bursts of traffic, obvious time domain characteristics, and are easy to detect, but it is difficult to effectively detect low-rate cheating traffic because cheating traffic is completely hidden in normal request traffic in the form of pulse signals, with short cycles, low amplitudes, and difficult to detect, which can easily lead to missed judgments and misjudgments. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide an advertising traffic anti-cheating method and device based on wavelet feature clustering, which uses the extracted features to cluster websites and further identify normal websites and cheating websites, so as to solve the problem that the existing technology is difficult to detect low-rate cheating traffic and thus cannot identify cheating websites.
[0006] In order to achieve the above object, the present invention provides the following technical solutions:
[0007] The present invention provides an advertisement traffic anti-cheating method based on wavelet feature clustering, and the advertisement traffic anti-cheating method based on wavelet feature clustering comprises:
[0008] Get website traffic data;
[0009] Perform wavelet analysis on website traffic data and reconstruct it into cheating flow sub-band and background flow sub-band;
[0010] According to the reconstructed cheating flow subband and background flow subband, multiple wavelet features of different dimensions are extracted;
[0011] Cluster multiple websites by integrating wavelet features of multiple dimensions;
[0012] Based on the website clustering results, find out the websites that cheat on traffic data.
[0013] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the step of obtaining website traffic data includes:
[0014] Collect user request logs for website visits and parse the fields;
[0015] Aggregate the traffic corresponding to the request in seconds to generate a time series to be detected as the traffic data of the website.
[0016] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the wavelet analysis of the website traffic data is performed to reconstruct it into cheating flow sub-bands and background flow sub-bands, including:
[0017] Using discrete wavelet function and scale function Website traffic Do J-layer decomposition, the decomposition formula is as follows:
[0018] ,
[0019] in, is the wavelet coefficient, representing detail information; is the approximate coefficient, indicating the approximate information;
[0020] Select the multi-layer wavelet coefficients in the J layer to reconstruct the cheating flow subband , among which, cheating flow belt Reflects the low-frequency information of the signal;
[0021] Reconstruct the remaining layer coefficients into background flow subbands , where the background flow band Reflects normal user traffic trends.
[0022] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the extraction of wavelet features of multiple different dimensions includes:
[0023] Extract the average value of the cheating flow subband;
[0024] Extract the standard deviation of the cheating flow subband;
[0025] Extract the spectrum energy of the cheating stream;
[0026] Extract the average value of the background flow subband;
[0027] Extract the pulse factor of website traffic.
[0028] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the step of extracting the average value of the cheating traffic sub-band includes:
[0029] Calculation cheating flow sub-band average value , satisfying the following formula:
[0030] ;
[0031] Where N is the length of the time series;
[0032] The standard deviation of the extracted cheating flow sub-band includes:
[0033] Calculation cheating flow sub-band Standard Deviation , satisfying the following formula:
[0034] ;
[0035] in, ;
[0036] The step of extracting the spectrum energy of the cheating stream includes:
[0037] Calculate the spectral energy of the cheating flow , satisfying the following formula:
[0038] ;
[0039] in, Indicates that the signal is Energy intensity within the window;
[0040] The step of extracting the average value of the background flow subband comprises:
[0041] Calculate the background flow subband average value , satisfying the following formula:
[0042] ;
[0043] The pulse factor of extracting website traffic includes:
[0044] Calculate the website traffic pulse factor I to satisfy the following formula:
[0045] .
[0046] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the method of integrating wavelet features of multiple different dimensions to cluster multiple websites includes:
[0047] Integrate the wavelet features of multiple different dimensions of the website to form the feature vector of the website;
[0048] Perform wavelet analysis on multiple websites separately to obtain the feature vector of each website;
[0049] Calculate the cosine similarity between the feature vectors of every two websites to obtain the similarity matrix between the websites;
[0050] The similarity matrix is used to cluster the websites and divide them into multiple clusters.
[0051] In the above-mentioned advertising traffic anti-cheating method based on wavelet feature clustering, as a preferred solution, the method of finding out the website with traffic data cheating according to the website clustering result includes:
[0052] Mark the cluster where the identified traffic data cheating website is located as a suspicious cluster;
[0053] Manually screen and dimensionally annotate websites in suspicious clusters and create a blacklist;
[0054] When a new website appears, it is determined whether it exists in the blacklist. If not, the cosine similarity of the feature vector of the website is calculated to divide the cluster to which the website belongs.
[0055] The present invention also provides an advertisement traffic anti-cheating device based on wavelet feature clustering, and the advertisement traffic anti-cheating device based on wavelet feature clustering comprises:
[0056] A traffic data acquisition module, which is used to acquire traffic data of the website;
[0057] A wavelet analysis module, wherein the wavelet analysis module is used to perform wavelet analysis on the website traffic data and reconstruct the cheating flow sub-band and the background flow sub-band;
[0058] A wavelet feature extraction module, wherein the wavelet feature extraction module is used to extract wavelet features of multiple different dimensions according to the reconstructed cheating flow sub-band and background flow sub-band;
[0059] A website clustering module, which is used to integrate wavelet features of multiple different dimensions to cluster multiple websites;
[0060] The strategy module is used to find out the websites with traffic data cheating according to the website clustering results, and set up a website blacklist.
[0061] In the above-mentioned advertisement traffic anti-cheating device based on wavelet feature clustering, as a preferred solution, the wavelet feature analysis module includes:
[0062] A cheating stream subband reconstruction module, wherein the cheating stream subband reconstruction module is used to select multiple layers of wavelet coefficients to reconstruct into cheating stream subbands;
[0063] A background stream subband reconstruction module, wherein the background stream subband reconstruction module is used to reconstruct the remaining layer coefficients into background stream subbands;
[0064] The wavelet feature extraction module comprises:
[0065] A cheating stream sub-band average value extraction module, the cheating stream sub-band average value extraction module is used to extract the average value of the cheating stream sub-band;
[0066] A cheating flow sub-band standard deviation extraction module, the cheating flow sub-band standard deviation extraction module is used to extract the standard deviation of the cheating flow sub-band;
[0067] A cheating stream spectrum energy extraction module, wherein the cheating stream spectrum energy extraction module is used to extract the spectrum energy of the cheating stream;
[0068] A background flow sub-band average value extraction module, wherein the background flow sub-band average value extraction module is used to extract the average value of the background flow sub-band;
[0069] A website traffic pulse factor extraction module is used to extract the pulse factor of website traffic.
[0070] In the above-mentioned advertising traffic anti-cheating device based on wavelet feature clustering, as a preferred solution, the website clustering module includes:
[0071] A feature vector calculation module, which is used to integrate the wavelet features of multiple different dimensions of the website to form a feature vector of the website;
[0072] A similarity calculation module is used to calculate the cosine similarity between feature vectors of every two websites to obtain a similarity matrix between the websites;
[0073] The cluster division module is used to cluster the websites using a similarity matrix and divide the websites into multiple clusters.
[0074] Compared with the closest prior art, the technical solution provided by the present invention has the following beneficial effects:
[0075] The present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, which has the following advantages:
[0076] 1. The present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, which uses wavelet transform to extract features with finer granularity, can better mine low-frequency features of traffic, and effectively detect low-rate cheating traffic;
[0077] 2. The present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, which uses an unsupervised clustering algorithm to divide websites. It can effectively detect cheating websites when the website labels are unknown. The clustering results can also be used as website labels for supervised learning and other research;
[0078] 3. The present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, which uses the extracted features to cluster websites and further identify normal websites and cheating websites, so as to solve the problem that the existing technology is difficult to detect low-rate cheating traffic and thus cannot identify cheating websites.
[0079] The present invention also provides an advertisement traffic anti-cheating device based on wavelet feature clustering, and its beneficial effects are similar to those of the advertisement traffic anti-cheating method based on wavelet feature clustering, which will not be described in detail. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. Among them:
[0081] Figure 1 It is a flowchart of an advertisement traffic anti-cheating method based on wavelet feature clustering provided by an embodiment of the present invention;
[0082] Figure 2 It is a flowchart of another implementation method of the advertising traffic anti-cheating method based on wavelet feature clustering provided in an embodiment of the present invention;
[0083] Figure 3 It is a framework diagram of an advertisement traffic anti-cheating device based on wavelet feature clustering provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0084] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0085] In the description of the present invention, the terms "longitudinal", "lateral", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and do not require that the present invention must be constructed and operated in a specific orientation. Therefore, they should not be understood as limitations on the present invention. The terms "connected" and "connected" used in the present invention should be understood in a broad sense. For example, they can be fixed connections or detachable connections; they can be directly connected or indirectly connected through intermediate components. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0086] like Figure 1 As shown, Figure 1 The present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, and the advertising traffic anti-cheating method based on wavelet feature clustering includes the following steps:
[0087] Step S101: Obtain website traffic data.
[0088] Step S102: Perform wavelet analysis on the website traffic data and reconstruct it into cheating flow sub-bands and background flow sub-bands.
[0089] Step S103: extracting wavelet features of multiple different dimensions based on the reconstructed cheating flow subband and background flow subband.
[0090] There are certain differences between normal user request traffic and low-rate fraud traffic in the frequency domain. The traffic of a single website has a certain degree of long-term change trend with the user's browsing time, which is manifested in the frequency domain as the peak points are dispersed in various frequency bands. For low-rate fraud traffic, the second-level characteristics determine that its frequency domain is more concentrated in the low-frequency band. Wavelet transform can use the specified wavelet basis to separate the low-frequency and high-frequency parts of the signal and reconstruct the signal, so wavelet transform can be used to extract traffic signal characteristics and characterize traffic details.
[0091] Step S104: Cluster multiple websites by integrating wavelet features of multiple different dimensions. Calculate website traffic similarity using the traffic features extracted by wavelet, cluster the websites, and generate website dimensions.
[0092] Step S105: Find out the websites with cheating traffic data according to the website clustering results. Submit the obtained clustering results to the professional operation team, check the website quality in each cluster, further divide the normal websites and cheating websites, and formulate a blacklist.
[0093] like Figure 2 As shown, Figure 2 It is a flow chart of another implementation method of the advertising traffic anti-cheating method based on wavelet feature clustering provided by an embodiment of the present invention; the present invention provides an advertising traffic anti-cheating method based on wavelet feature clustering, and the advertising traffic anti-cheating method based on wavelet feature clustering specifically includes the following steps:
[0094] Step S201: Collect the user's request logs for website access and parse the fields.
[0095] Step S202: Aggregate the traffic corresponding to the request in seconds to generate a time series to be detected as the traffic data of the website.
[0096] Step S203: perform multi-layer decomposition on the website traffic data using wavelet analysis.
[0097] Using discrete wavelet function and scale function Website traffic Do J-layer decomposition, the decomposition formula is as follows:
[0098] ,
[0099] in, is the wavelet coefficient, representing detail information; is the approximate coefficient, indicating the approximate information;
[0100] Step S204: reconstruct the cheating stream sub-band and the background stream sub-band.
[0101] Select the multi-layer wavelet coefficients in the J layer to reconstruct the cheating flow subband , among which, cheating flow belt Reflect the low-frequency information of the signal; reconstruct the remaining layer coefficients into background flow subbands , where the background flow band Reflects normal user traffic trends.
[0102] In an exemplary embodiment of the present invention, Db3 wavelet is used to analyze website traffic. Perform 5-layer wavelet decomposition, calculate the frequency, select 3, 4, 5 layers of wavelet coefficients to reconstruct the cheating flow subband , reflecting the low-frequency information of the signal; other coefficients are reconstructed to form the background flow , reflecting the normal user traffic trend. Through reconstruction, the frequency of each traffic is clearer, which is convenient for subsequent feature extraction.
[0103] Step S205: extracting wavelet features of multiple different dimensions based on the reconstructed cheating flow subband and background flow subband.
[0104] According to the reconstructed subband signal and Extract 5 indicators that can represent traffic behavior, have low computational complexity and high discrimination as detection features:
[0105] 1. Extract the average value of the cheating flow sub-band; calculate the cheating flow sub-band average value , satisfying the following formula:
[0106] ;
[0107] Among them, N is the length of the time series, and the frequency of low-rate cheating traffic is mainly concentrated in the low-frequency part. It reflects the average strength of cheating traffic. Normal traffic is mainly composed of high-frequency components. Smaller; cheating flow Larger.
[0108] 2. Extract the standard deviation of the cheating flow sub-band; calculate the cheating flow sub-band Standard Deviation , satisfying the following formula:
[0109] ;
[0110] in, , Describes the degree of fluctuation of cheating flow. When cheating occurs, network traffic will burst into pulse signals. The volatility increases, Increased, usually mostly normal users access, The volatility is small. Lower.
[0111] 3. Extract the spectrum energy of the cheating flow; calculate the spectrum energy of the cheating flow , satisfying the following formula:
[0112] ;
[0113] in, Indicates that the signal is The energy intensity in the window shows that normal traffic signals are concentrated in the high frequency band with less low-frequency energy, while cheating traffic signals are concentrated in the low frequency band with greater low-frequency energy.
[0114] 4. Extract the average value of the background flow subband; calculate the average value of the background flow subband , satisfying the following formula:
[0115] ;
[0116] Background traffic reflects normal user traffic behavior. Some websites lack normal user browsing, which causes them to mix in cheating traffic to increase ad click revenue. Reduce.
[0117] 5. Extract the pulse factor of website traffic; calculate website traffic The pulse factor I satisfies the following formula:
[0118] ;
[0119] Measures the strength of pulse signals in traffic. Normal website traffic is relatively stable. Although there are emergencies, the probability of emergencies is low, which are generally related to holidays or real-time news. When mixed with fraudulent traffic, low-rate fraudulent traffic is initiated in an approximate pulse manner, hidden in normal traffic, and the pulse factor will increase.
[0120] Step S206: Generate a feature vector of the website based on the wavelet feature.
[0121] The wavelet features of multiple different dimensions of the website are integrated to form the feature vector of the website; wavelet analysis is performed on multiple websites respectively to obtain the feature vector of each website.
[0122] Step S207: Calculate the similarity of the feature vectors of the website.
[0123] Calculate the cosine similarity between the feature vectors of every two websites to obtain the similarity matrix between the websites;
[0124] Step S208: Divide the website into clusters.
[0125] The websites are clustered using the similarity matrix to divide the websites into multiple clusters. In this embodiment, the websites are divided into multiple clusters by density-based clustering (DBSCAN) using the similarity matrix.
[0126] Step S209: Find out the websites that cheat on traffic data and create a blacklist.
[0127] The cluster where the identified traffic data cheating website is located is marked as a suspicious cluster; the websites in the suspicious cluster are manually screened, dimensionally labeled, and a blacklist is compiled; when a new website appears, it is determined whether it exists in the blacklist. If not, the cosine similarity of the website's feature vector is calculated to divide the cluster to which the website belongs.
[0128] Generally, websites with cheating traffic will be highly clustered together. You can view websites in suspicious clusters, perform manual screening, dimension annotation, and blacklisting based on website quality, historical data, etc. When a new website appears, first determine whether it exists in the blacklist. If not, calculate the similarity and divide the website dimensions.
[0129] In the actual application process of the method of the present invention, it mainly includes five stages: traffic collection, traffic wavelet analysis, wavelet feature extraction, website clustering and operation analysis, which are as follows:
[0130] Phase 1: Traffic Collection
[0131] The traffic collection system collects user request logs, parses the fields, groups the daily request traffic by website, and then aggregates it in units of one second to generate the time series to be tested.
[0132] Phase 2: Traffic Wavelet Analysis
[0133] Using discrete wavelet function and scale function Website traffic Do J-layer decomposition:
[0134] (1)
[0135] in, is the wavelet coefficient, representing detail information; is the approximate coefficient, which represents the approximate information. Formula (1) is a reversible process. The original signal can be reconstructed by the wavelet coefficients and the approximate coefficients. . Use Db3 wavelet to analyze website traffic Perform 5-layer wavelet decomposition, calculate the frequency, select 3, 4, 5 layers of wavelet coefficients to reconstruct the cheating flow subband , reflects the low-frequency information of the signal, and other coefficients are reconstructed to form the background flow. , reflecting the normal user traffic trend. Through reconstruction, the frequency of each traffic is clearer, which is convenient for subsequent feature extraction.
[0136] The third stage: wavelet feature extraction
[0137] According to the reconstructed subband signal and Five indicators that can represent traffic behavior with low computational complexity and high discrimination are extracted as detection features.
[0138] Feature 1: Cheat Streaming average value:
[0139] , N is the length of the time series. The frequency of low-rate cheating traffic is mainly concentrated in the low-frequency part. It reflects the average strength of cheating traffic. Normal traffic is mainly composed of high-frequency components. Smaller; cheat flow is larger.
[0140] Feature 2: Cheating Streaming Standard Deviation:
[0141] ,in , Describes the degree of fluctuation of cheating flow. When cheating occurs, network traffic will burst into pulse signals. The volatility increases, Increased, usually mostly normal users access, The volatility is small. Lower.
[0142] Feature 3: Cheating Stream Spectrum Energy:
[0143] , indicating that the signal is The energy intensity in the window shows that normal traffic signals are concentrated in the high frequency band with less low-frequency energy, while cheating traffic signals are concentrated in the low frequency band with greater low-frequency energy.
[0144] Feature 4: Background flow band average value:
[0145] ,The background flow reflects the normal user traffic behavior. Some websites lack normal users, which causes them to mix with cheating traffic to increase ad click revenue. At this time, Reduce.
[0146] Feature 5: Website Traffic Pulse Factor:
[0147] , measures the strength of the pulse signal in the traffic. The normal website traffic is relatively stable. Although there are emergencies, the probability of emergencies is low, which is generally related to holidays or real-time news. When mixed with cheating traffic, low-rate cheating traffic is initiated in an approximate pulse manner, hidden in the normal traffic, and the pulse factor will increase.
[0148] Stage 4: Site Clustering
[0149] For each website, a feature vector is formed based on the characteristic indicators extracted by wavelet, and the cosine similarity of the feature vectors is calculated pairwise to obtain the similarity matrix between websites. The similarity matrix is used for density-based clustering (DBSCAN) to divide the websites into multiple clusters.
[0150] Phase 5: Operational Analysis
[0151] The website division results are combined with operational experience for in-depth analysis. Generally, websites with cheating traffic are highly clustered together. You can view the websites in the suspicious clusters, and perform manual screening, dimension annotation, and blacklisting based on website quality, historical data, etc. When a new website appears, first determine whether it exists in the blacklist. If not, calculate the similarity and divide the website dimension.
[0152] The method of the specific implementation mode of the present invention mainly targets the characteristics of low-rate cheating traffic. By deeply exploring the frequency domain characteristics of website traffic, unsupervised learning is used to automatically divide website attributes, and combined with manual labeling, cheating websites can be screened. The labeled information can also be used to construct a supervised learning model later.
[0153] like Figure 3 As shown, Figure 3 : is a framework diagram of an advertisement traffic anti-cheating device based on wavelet feature clustering provided by an embodiment of the present invention; the present invention also provides an advertisement traffic anti-cheating device based on wavelet feature clustering, the advertisement traffic anti-cheating device based on wavelet feature clustering comprising:
[0154] A traffic data acquisition module 301, wherein the traffic data acquisition module 301 is used to acquire traffic data of a website;
[0155] A wavelet analysis module 302, wherein the wavelet analysis module 302 is used to perform wavelet analysis on the website traffic data and reconstruct the cheating flow sub-band and the background flow sub-band;
[0156] A wavelet feature extraction module 303, wherein the wavelet feature extraction module 303 is used to extract wavelet features of multiple different dimensions according to the reconstructed cheating flow sub-band and background flow sub-band;
[0157] A website clustering module 304, which is used to cluster multiple websites by integrating wavelet features of multiple different dimensions;
[0158] The policy module 305 is used to find out the websites with traffic data cheating according to the website clustering results, and set up a website blacklist.
[0159] In the above-mentioned advertisement traffic anti-cheating device based on wavelet feature clustering, as a preferred solution, the wavelet feature analysis module 302 includes:
[0160] A cheating stream subband reconstruction module 306, wherein the cheating stream subband reconstruction module 306 is used to select multiple layers of wavelet coefficients to reconstruct into cheating stream subbands;
[0161] A background stream subband reconstruction module 307, wherein the background stream subband reconstruction module 307 is used to reconstruct the remaining layer coefficients into a background stream subband;
[0162] The wavelet feature extraction module 303 includes:
[0163] A cheating stream sub-band average value extraction module 308, wherein the cheating stream sub-band average value extraction module 308 is used to extract the average value of the cheating stream sub-band;
[0164] A cheating stream sub-band standard deviation extraction module 309, wherein the cheating stream sub-band standard deviation extraction module 309 is used to extract the standard deviation of the cheating stream sub-band;
[0165] A cheating flow spectrum energy extraction module 310, wherein the cheating flow spectrum energy extraction module 310 is used to extract the spectrum energy of the cheating flow;
[0166] A background flow sub-band average value extraction module 311, wherein the background flow sub-band average value extraction module 311 is used to extract the average value of the background flow sub-band;
[0167] The website traffic pulse factor extraction module 312 is used to extract the pulse factor of the website traffic.
[0168] In the above-mentioned advertising traffic anti-cheating device based on wavelet feature clustering, as a preferred solution, the website clustering module 304 includes:
[0169] A feature vector calculation module 313, which is used to integrate wavelet features of multiple different dimensions of a website to form a feature vector of the website;
[0170] A similarity calculation module 314 is used to calculate the cosine similarity between every two website feature vectors to obtain a similarity matrix between the websites;
[0171] The cluster division module 315 is used to cluster the websites using a similarity matrix and divide the websites into a plurality of clusters.
[0172] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An advertising traffic anti-cheating method based on wavelet feature clustering, It is characterized in that The advertising traffic anti-cheating method based on wavelet feature clustering includes: Obtaining the traffic data of the website; the obtaining of the traffic data of the website includes: collecting the request logs of the user for visiting the website and parsing the fields; aggregating the traffic corresponding to the request in seconds to generate a time series to be detected as the traffic data of the website; performing wavelet analysis on the website traffic data and reconstructing it into cheating flow sub-bands and background flow sub-bands, including: Using discrete wavelet function and scale function Website traffic Do J-layer decomposition, the decomposition formula is as follows: , in, is the wavelet coefficient, representing detail information; is the approximate coefficient, indicating the approximate information; Select the multi-layer wavelet coefficients in the J layer to reconstruct the cheating flow subband , among which, cheating flow sub belt Reflects the low-frequency information of the signal; Reconstruct the remaining layer coefficients into background flow subbands , where the background flow band Reflects normal user traffic trends; uses Db3 wavelet to analyze website traffic Perform 5-layer wavelet decomposition, calculate the frequency, select 3, 4, 5 layers of wavelet coefficients to reconstruct the cheating flow subband , reflecting the low-frequency information of the signal; other coefficients are reconstructed to form the background flow , reflecting the normal user traffic trend; through reconstruction, the frequency of each traffic is clearer, which is convenient for subsequent feature extraction; Perform wavelet analysis on website traffic data and reconstruct it into cheating flow sub-band and background flow sub-band; According to the reconstructed cheating flow subband and background flow subband, multiple wavelet features of different dimensions are extracted; Cluster multiple websites by integrating wavelet features of multiple dimensions; According to the website clustering results, find out the website with traffic data fraud; The step of extracting wavelet features of multiple different dimensions includes: Extract the average value of the cheating flow subband; Extract the standard deviation of the cheating flow subband; Extract the spectrum energy of the cheating stream; Extract the average value of the background flow subband; Extract the pulse factor of website traffic; The step of extracting the average value of the cheating stream sub-band comprises: Calculation cheating flow sub-band average value , satisfying the following formula: , Among them, N is the length of the time series, and the frequency of low-rate cheating traffic is mainly concentrated in the low-frequency part. It reflects the average intensity of cheating traffic; normal traffic is mainly high-frequency components. Smaller; cheating flow Larger; The standard deviation of the extracted cheating flow sub-band includes: Calculation cheating flow sub-band Standard Deviation , satisfying the following formula: , in, , Describes the degree of fluctuation of cheating flow. When cheating occurs, network traffic will burst into pulse signals. The volatility increases, Increased, usually mostly normal users access, The volatility is small. Lower; The step of extracting the spectrum energy of the cheating stream includes: Calculate the spectral energy of the cheating flow , satisfying the following formula: , in, Indicates that the signal is Energy intensity within the window; The step of extracting the average value of the background flow subband comprises: Calculate the background flow subband average value , satisfying the following formula: ; Background traffic reflects normal user traffic behavior. Some websites lack normal user browsing, which causes them to mix in cheating traffic to increase ad click revenue. Reducing; the pulse factor of extracting website traffic, including: Calculate website traffic The pulse factor I satisfies the following formula: ; Measures the strength of pulse signals in traffic. Normal website traffic is relatively stable. Although there are emergencies, the probability of emergencies is low, which are generally related to holidays or real-time news. When mixed with fraudulent traffic, low-rate fraudulent traffic is initiated in an approximate pulse manner, hidden in normal traffic, and the pulse factor will increase.
2. The advertising traffic anti-cheating method based on wavelet feature clustering as claimed in claim 1, It is characterized in that The wavelet features of multiple different dimensions are integrated to cluster multiple websites, including: Integrate the wavelet features of multiple different dimensions of the website to form the feature vector of the website; Perform wavelet analysis on multiple websites separately to obtain the feature vector of each website; Calculate the cosine similarity between the feature vectors of every two websites to obtain the similarity matrix between the websites; The similarity matrix is used to cluster the websites and divide them into multiple clusters.
3. The advertising traffic anti-cheating method based on wavelet feature clustering as claimed in claim 2, It is characterized in that The method of finding out the website with traffic data cheating based on the website clustering result includes: Mark the cluster where the identified traffic data cheating website is located as a suspicious cluster; Manually screen and dimensionally annotate websites in suspicious clusters and create a blacklist; When a new website appears, it is determined whether it exists in the blacklist. If not, the cosine similarity of the feature vector of the website is calculated to divide the cluster to which the website belongs.
4. An advertising traffic anti-cheating device implementing the advertising traffic anti-cheating method based on wavelet feature clustering as described in any one of claims 1 to 3, It is characterized in that The advertising traffic anti-cheating device based on wavelet feature clustering includes: A traffic data acquisition module, which is used to acquire traffic data of the website; A wavelet analysis module, wherein the wavelet analysis module is used to perform wavelet analysis on the website traffic data and reconstruct the cheating flow sub-band and the background flow sub-band; A wavelet feature extraction module, wherein the wavelet feature extraction module is used to extract wavelet features of multiple different dimensions according to the reconstructed cheating flow sub-band and background flow sub-band; A website clustering module, which is used to integrate wavelet features of multiple different dimensions to cluster multiple websites; The strategy module is used to find out the websites with traffic data cheating according to the website clustering results, and set up a website blacklist.
