Cross-domain frequency filters for fraud detection
Probabilistic data structures on client devices address the limitations of cookie-based fraud detection by securely counting events across domains, protecting user privacy and improving fraud detection efficiency.
Patent Information
- Application Number
- JP2023077364
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-01-15
AI Technical Summary
Existing fraud detection methods using third-party and first-party cookies are inadequate for detecting fraudulent activities across multiple domains due to privacy concerns and limitations in modern browsers, leading to inefficiencies in fraud detection and increased data exposure.
Utilizing probabilistic data structures, such as Bloom filters, to count events on the client device and generate a compact data structure representing triggered frequency filters, which are then sent to content providers without revealing user activity details, ensuring privacy and security.
This approach effectively detects fraudulent activities across multiple domains by maintaining user privacy and reducing bandwidth, storage, and battery consumption while preventing entities from tracking user activity, thus enhancing fraud detection capabilities.
Smart Images

Figure 0007575522000001 
Figure 0007575522000002 
Figure 0007575522000003
Abstract
Description
[Technical field]
[0001] This specification relates to data processing and protecting user privacy when collecting and analyzing user data for fraud detection and mitigation. [Background technology]
[0002] A probabilistic data structure is a data structure that represents a set of elements using a hash function. One exemplary probabilistic data structure is a Bloom filter, which is a bit array of m bits. Summary of the Invention [Means for solving the problem]
[0003] In general, one inventive aspect of the subject matter described herein may be embodied in a method that includes obtaining a set of frequency filters. Each frequency filter defines a maximum event count of a specified event type over a specified duration and corresponds to a respective content provider. A subset of the frequency filters is identified as triggered frequency filters where an actual event count of the specified event type corresponding to the frequency filter exceeds the maximum event count defined by the frequency filter during a time period corresponding to the specified duration of the frequency filter. A probabilistic data structure is generated that represents at least a portion of the frequency filters in the subset of the frequency filters. A request for content is transmitted to a plurality of content providers. The request for content includes the probabilistic data structure. Other implementations of the present aspect include corresponding apparatuses, systems, and computer programs configured to perform aspects of these methods encoded on a computer storage device.
[0004] These and other implementations may each optionally include one or more of the following features: In some aspects, the probabilistic data structure is a Bloom filter that includes a bit array. Generating the probabilistic data structure may include, for each frequency filter in the subset of triggered frequency filters, obtaining a bit position of the triggered frequency filter by applying the hash function to a filter identifier of the frequency filter, for each of one or more hash functions, and setting each bit position in the bit array to a value of 1.
[0005] In some aspects, obtaining the set of frequency filters includes receiving, for each frequency filter, an encrypted token generated by encrypting a token defining a filter identifier for the frequency filter, a maximum event count for a specified event type, and a specified duration for the frequency filter. The filter identifier can include a byte array that identifies at least one of: (i) a digital component corresponding to the specified event type, (ii) a content platform corresponding to the specified event type, or (iii) the specified event type.
[0006] Some aspects include updating an actual event count for a given frequency filter in a set of frequency filters, the updating including obtaining a filter identifier for the given frequency filter in response to an occurrence of a specified event type for the given frequency filter, and initiating an application programming interface (API) call to a web browser API to update the actual event count for the given frequency filter, the API call including an encryption token for the given frequency filter, decrypting, by the web browser, the encryption token, and updating, by the web browser, the actual event count for the given frequency filter.
[0007] Some aspects include, for a given frequency filter, detecting an occurrence of an event of a specified event type defined by the given frequency filter, and updating an actual event count for the given frequency filter.
[0008] In some aspects, generating the probabilistic data structure includes randomly or pseudo-randomly selecting one or more frequency filters in the subset of the triggered frequency filters, removing a filter identifier for each of the one or more frequency filters from the subset of filter identifiers corresponding to the subset of the triggered frequency filters before generating the probabilistic data structure, and generating the probabilistic data structure using the subset of filter identifiers.
[0009] In some aspects, generating the probabilistic data structure includes randomly or pseudo-randomly selecting one or more frequency filters that are not in the subset of triggered frequency filters, adding a filter identifier for each of the one or more frequency filters to a subset of filter identifiers corresponding to the subset of triggered frequency filters before generating the probabilistic data structure, and generating the probabilistic data structure using the subset of filter identifiers.
[0010] In some aspects, generating the probabilistic data structure includes randomly or pseudo-randomly selecting one or more first frequency filters in the subset of the triggered frequency filters; randomly or pseudo-randomly selecting one or more second frequency filters not in the subset of the triggered frequency filters; removing a filter identifier of each of the one or more first frequency filters from a subset of filter identifiers corresponding to the subset of the triggered frequency filters before generating the probabilistic data structure; adding a filter identifier of each of the one or more second frequency filters to the subset of the triggered frequency filters before generating the probabilistic data structure; and generating the probabilistic data structure using the subset of filter identifiers.
[0011] Some embodiments include determining a similarity between the probabilistic data structure and a second probabilistic data structure by performing a set intersection on the probabilistic data structure and the second probabilistic data structure.
[0012] Some aspects include receiving, by one content provider of a plurality of content providers, a request for content that includes a probabilistic data structure, and determining, by the content provider, a response to the request based on the probabilistic data structure, not providing the requested content if one or more of the triggered frequency filters are determined to correspond to a frequency filter of the content provider.
[0013] In general, third-party cookies can be used to monitor the frequency of requests for content, impressions of content, and / or user interactions with content, e.g., digital components, across multiple domains. These frequencies can be used to detect online fraud, such as fraud that occurs when malware in a browser generates an excessive amount of fraudulent requests, impressions, and / or user interactions across multiple domains in a short period of time. Third-party cookies can be set by websites other than the website the user is currently browsing and can be used to collect user data across multiple domains. However, some browsers may not support third-party cookies, so such techniques for monitoring the frequency of requests, impressions, and / or user interactions for fraud detection are not possible with such browsers. The use of first-party cookies, which are set by the website the user is currently browsing, may not detect situations where malware generates an excessive amount of requests, impressions, and / or user interactions across multiple domains in a short period of time. For example, the use of first-party cookies can only detect the volume in one domain, which may be a low volume of events, while the volume across many domains will be high within a time period.
[0014] The subject matter described herein may be implemented in certain embodiments to achieve one or more of the following advantages: Using the probabilistic data structures described herein allows the system to detect fraudulent online activity generated across multiple domains while protecting user privacy and maintaining user data security for the user data. The use of probabilistic data structures allows browsers or other applications to report frequency filters that exceed corresponding counts (e.g., requests, impressions, and / or user interaction counts) without providing such data in clear text that would otherwise expose the domain / entity from which the user's browser or application is sending the request. Instead, the probabilistic data structures may allow content providers to inquire whether their frequency filters have been triggered (e.g., exceeded their maximum event counts) without being able to determine whether any other content platform's frequency filters have been triggered. This also allows for the detection of fraudulent activity while performing the counting at the user's client device rather than aggregating such cross-domain information elsewhere, thus preventing entities from tracking the user's activity across multiple domains. By counting events at the client device and using a frequency filter provided to the client device, an excessive amount of events can be detected across multiple publisher domains without providing cross-domain information (e.g., information identifying websites on multiple domains visited by a user) outside the client device. Because probabilistic data structures are compact, using a compact data structure to report triggered frequency filters reduces bandwidth consumption, data storage requirements, and battery power consumption (e.g., for mobile devices) when sending reports.
[0015] To further enhance user privacy, differential privacy techniques can be used. Because a client device can send many requests during a time period in which the same frequency filter is triggered, an otherwise static probabilistic data structure can be used as a fingerprint that allows a recipient of a request containing a probabilistic data structure to track a user across multiple requests. The combined techniques of counting events at the client device rather than at the content provider server, using the counts to trigger frequency filters, using a probabilistic data structure to represent the triggered frequency filters, and applying differential privacy techniques to the set of triggered frequency filters before generating the probabilistic data structure provide a synergistic effect of protecting user privacy while allowing content providers or other systems to detect, for example, fraudulently generated events across multiple domains.
[0016] Various features and advantages of the foregoing subject matter are described below with reference to the drawings. Additional features and advantages will be apparent from the subject matter described herein and from the claims. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a block diagram of an environment in which a frequency filter is used to detect fraudulent activity. [Diagram 2] FIG. 1 is a swim lane diagram of an example process for generating a probabilistic data structure based on a frequency filter and using the probabilistic data structure to detect fraudulent activity. [Diagram 3] FIG. 13 is a swim lane diagram of an example process for generating a probabilistic data structure based on a frequency filter and transmitting the probabilistic data structure to a content provider. [Figure 4] FIG. 1 is a block diagram of an exemplary computer system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Like reference numbers and designations in the various drawings indicate like elements.
[0019] In general, the present specification relates to using probabilistic data structures to enable a system to detect fraudulent activity while protecting user privacy. An application, such as a browser, running on a client device can maintain event counts corresponding to frequency filters of various content providers. The frequency filters can correspond to a specified event type and one or more of the digital components or content providers that deliver the digital components. The frequency filters can define a maximum event count for a specified event type that, if exceeded for a specified duration, can indicate fraudulent activity. For example, a content provider can configure a frequency filter to define that more than 10 requests for a digital component sent from the application to the content provider over a one-hour period is an indicator of potential fraudulent activity.
[0020] The probabilistic data structure can be used to report triggered frequency filters to multiple content providers without the content provider being able to learn about the frequency filters of other content providers and without providing information about the user's online activity, e.g., without providing information about the user's cross-domain activity. When the maximum event count of a frequency filter is exceeded, thereby triggering the frequency filter, the application can add an entry to the frequency filter's probabilistic data structure. For example, the entry can be a bit of a bit array by setting the Bloom filter's bit to a value of 1 in the bit position corresponding to the hash of the Bloom filter's filter identifier. Other probabilistic data structures can also be used, e.g., a Cuckoo filter.
[0021] An application running on a user's device can send the probabilistic data structure to multiple content providers, for example, in response to a frequency filter being triggered, along with a request for content sent by the user's device or with another communication. Each content provider can query the probabilistic data structure by computing a hash of a filter identifier for each of its frequency filters and determining whether the resulting bit position has a value of 1. In this way, the only information each content provider can obtain from the probabilistic data structure is whether one or more of its frequency filters have been triggered. If a frequency filter has been triggered, the content provider can conclude that a client device or application has been impaired or has otherwise generated an unauthorized event.
[0022] 1 is a block diagram of an environment 100 in which a frequency filter is used to detect fraudulent activity. The exemplary environment 100 includes a data communications network 105, such as a local area network (LAN), a wide area network (WAN), the Internet, a mobile network, or a combination thereof. The network 105 connects client devices 110, content platforms 150, publishers 130, and websites 140. The environment 100 may include many client devices 110, content platforms 150, websites 140, and publishers 130.
[0023] A website 140 is one or more resources 145 associated with a domain name and hosted by one or more servers. An exemplary website is a collection of web pages formatted in HTML that can contain text, images, multimedia content, and programming elements such as scripts. Each website 140 is maintained by a publisher 130, which is an entity that controls, manages, and / or owns the website 140.
[0024] Resources 145 are any data that can be provided over network 105. Resources 145 are identified by a resource address, e.g., a Universal Resource Locator (URL), associated with resource 145. Resources include HTML pages, word processing documents, and Portable Document Format (PDF) documents, images, videos, and feed sources, just to name a few. Resources can include content such as words, phrases, images, and sounds, which may include embedded information (e.g., meta information in a hyperlink) and / or embedded instructions (e.g., scripts).
[0025] The client device 110 is an electronic device capable of communicating over the network 105. Exemplary client devices 110 include personal computers, mobile communication devices, e.g., smartphones, and other devices capable of sending and receiving data over the network 105. The client device may also include a digital assistant device that accepts audio input via a microphone and outputs audio output via a speaker. The digital assistant may go into listen mode (e.g., ready to accept audio input) upon detecting a "hot word" or "hot phrase" that activates the microphone to accept audio input. The digital assistant device may also include a camera and / or a display for capturing images and visually presenting information. The digital assistant may be implemented in different forms of hardware devices, including wearable devices (e.g., watches or glasses), smartphones, speaker devices, tablet devices, or another hardware device. The client device may also include a digital media device, e.g., a streaming device that plugs into a television or other display to stream video to the television, a gaming system, or a virtual reality system.
[0026] The client device 110 typically includes an application 112, such as a web browser and / or a native application, that facilitates sending and receiving data over the network 105. A native application is an application developed for a specific platform or device (e.g., a mobile device having a particular operating system).
[0027] Some resources, application pages, or other electronic content may include a digital component slot for submitting a digital component to the resource 145 or application page. In some implementations, the electronic resource 120 may include a tag 122 for each digital component slot. The tag 122 may include code, e.g., a script, that initiates a request for the digital component from the content platform 150 and causes the application 112 to submit the digital component to the digital component slot. As described below, the tag 122 may also include a token 124 or code that, when executed by the client device 110, causes the client device 110 to obtain a token 124 from a token owner, e.g., the content platform 150 or the digital component provider 160.
[0028] As used throughout this specification, the phrase "digital component" refers to a discrete unit of digital content or information (e.g., a video clip, an audio clip, a multimedia clip, an image, text, or another unit of content). A digital component can be stored electronically in a physical memory device as a single file or as a collection of files, and a digital component can take the form of a video file, an audio file, a multimedia file, an image file, or a text file, and can include advertising information; thus, an advertisement is a type of digital component. For example, a digital component may be content that is intended to supplement the content of a web page or other resource presented by the application 112. More specifically, a digital component may include digital content related to the resource content (e.g., the digital component may relate to the same topic as the web page content, or to a related topic). Thus, the provision of a digital component can supplement and generally enhance the web page or application content.
[0029] When an application 112 loads a resource (or application content) that includes one or more digital component slots, the application 112 can request a digital component for each slot. In some implementations, a digital component slot can include code (e.g., script) that causes the application 112 to select a digital component and request the digital component from a digital component delivery system that provides the digital component to the application 112 for display to a user of the client device 110. The application 112 can request the digital components from one or more content platforms 150.
[0030] The content platform 150 can select and deliver digital components for display with web pages, native application content, and / or other electronic resources or content. The content platform can include a supply side platform (SSP) and / or a demand side platform (DSP). Some publishers 130 use an SSP to manage the process of acquiring digital components for digital component slots of their resources and / or applications. An SSP is a technology platform implemented in hardware and / or software that automates the process of acquiring digital components for resources and / or applications. Each publisher 130 can have a corresponding SSP or multiple SSPs. Some publishers 130 may use the same SSP.
[0031] A digital component provider 160 can create (or otherwise publish) a digital component to be displayed in a digital component slot of a publisher's resources and applications. The digital component provider 160 can use a DSP to manage the provisioning of its digital component for display in a digital component slot. A DSP is a technology platform implemented in hardware and / or software that automates the process of delivering a digital component for display in a resource and / or application. A DSP can interact with multiple supply-side platforms (SSPs) on behalf of a digital component provider 160 to provide a digital component for display in multiple different publisher's 130 resources and / or applications. In general, a DSP can receive a request for a digital component (e.g., from an SSP), generate (or select) a selection value for one or more digital components created by one or more digital component providers 160 based on the request, and provide data related to the digital component (e.g., the digital component itself) and the selection parameters to the SSP. The selection value can indicate the amount that the digital component provider 160 is willing to provide for display of or user interaction with the digital component. The SSP can then select a digital component for display on the client device 110 and provide data to the client device 110 that causes the client device 110 to display the digital component. The content platform 150, the digital component provider 160, and the publisher 130 may also be referred to herein as content providers.
[0032] The application 112 can receive a frequency filter from a content provider and use the frequency filter to determine when a maximum event count defined by the frequency filter is exceeded during a time duration corresponding to the frequency filter. As described in more detail below, the content provider can provide the frequency filter in the form of a token 124, for example, along with a tag 122 for the electronic resource 120. The token 124 can be encrypted such that only the client device 110 or application 112 can decrypt and then access the information in the token 124.
[0033] For each received frequency filter, the application 112 can initialize and maintain an event count corresponding to the frequency filter's specified event type. When the maximum event count of a frequency filter is exceeded for a time frame defined by the frequency filter, e.g., the most recent time, thereby triggering the frequency filter, the application 112 can add the frequency filter to a set of triggered frequency filters. To report such triggered frequency filters to a content provider so that the content provider can determine whether an event being generated by the application 112 is fraudulent or potentially fraudulent, the application 112 can generate a probabilistic data structure 129 and send the probabilistic data structure 129 to the content provider. Examples of probabilistic data structures include Bloom filters and Cuckoo filters.
[0034] In some implementations, the application 112 includes the probabilistic data structure 129 in a request for content 127 sent to a content provider by the client device 110. In this manner, the content provider can use the probabilistic data structure to evaluate whether an event is fraudulent and respond (or not) to the request based on the evaluation.
[0035] 2 is a swim-lane diagram of an example process 200 for generating a probabilistic data structure based on a frequency filter and detecting fraudulent activity using the probabilistic data structure. The operations of process 200 may be performed, for example, by client device 110 and content provider 201, e.g., one or more servers of each content provider 201. The operations of process 200 may be implemented as instructions stored on one or more computer-readable media, which may be non-transitory, and execution of the instructions by one or more data processing devices may cause the one or more data processing devices to perform the operations of process 200. In FIG. 2, content provider 201 may include, for example, content platform 150, digital component provider 160, and / or publisher 130.
[0036] The content provider creates 202 a frequency filter. The frequency filter may include as parameters at least a specified event type and a maximum event count for the specified event type. Each frequency filter may belong to an owner content provider 201 that provided the frequency filter to the client device 110. The frequency filter may also define a subject for the specified event type. For some events, the subject may be a particular digital component, and for other events, the subject may be the content provider.
[0037] For example, the specified event type may be an impression (e.g., a view) of any digital component provided by the content provider 201, or a user interaction, e.g., by clicking or selecting, with any digital component provided by the content provider 201. In this example, the subject of the frequency filter is the digital component, and the specified event type is either an impression or a user interaction.
[0038] In another example, the specified event type may be a request for a digital component sent from the client device 110 to the owner content provider 201. In this example, the specified event type is a digital component request and the subject of the frequency filter is the owner content provider.
[0039] In another example, the specified event type may be a request for an electronic resource sent to a publisher domain. In this example, the specified event type is a resource request and the subject of the frequency filter is a particular publisher that corresponds to the domain. In another example, the specified event type may be a view of any electronic resource (e.g., a page view of a web page). In this example, the specified event type is a resource display and the subject is a particular publisher.
[0040] A frequency filter may also include as a parameter a specified duration for the frequency filter. This duration may define a lookback time window for the application 112 of the client device 110 to consider when determining whether an actual event count exceeds a maximum event count for the frequency filter. For example, if the specified duration is 24 hours, when identifying a frequency filter to represent in a probabilistic data structure, the application 112 looks back from the current time to determine the actual number of occurrences of the specified event type over the past 24 hours and compares the number of occurrences to the maximum event count for the frequency filter.
[0041] Each frequency filter can have a filter identifier that uniquely identifies the frequency filter. The owner content provider 201 can specify the filter identifier. In some implementations, the owner content provider 201 can encode additional information into the filter identifier for use by the application 112 of the client device 110. For example, the filter identifier can encode a specified event type and a subject of the specified event type.
[0042] In some implementations, the filter identifier is in the form of a byte array fixed to a particular data size, e.g., 16 bytes, 32 bytes, 64 bytes, or another suitable data size. The byte array can encode additional information, e.g., the subject of the specified event type and / or frequency filter identified by the filter identifier.
[0043] The content provider 201 can define parameters for those frequency filters and, for each frequency filter, generate a data structure that includes the parameters. The data structure can be in the form of a token, e.g., an encrypted token. For example, the content provider 201 can generate a token, encrypt the token using the public key of the application 112 of the client device 110 to which the token is being sent, and send the encrypted token to the client device 110. In this way, only the application 112 can decrypt the token using the corresponding private key.
[0044] The token for a frequency filter may include parameters of the frequency filter, such as a specified event type, a subject, and a specified duration. For example, the token may include a filter identifier for the frequency filter, a specified event type (which may be encoded into the filter identifier), a subject for the frequency filter (which may be encoded into the filter identifier), and a specified duration for the frequency filter.
[0045] The token may also optionally include additional data that can be used to detect and / or prevent attacks and / or other fraudulent activity, as described in more detail below. For example, the token may include a resource locator for the owner content provider 201, the token creation time, a hash of the public key of the application 112 for which the frequency filter is intended, and / or a digital signature of the remainder of the token's content (e.g., the content other than the signature itself). The resource locator may be the eTLD+1 of the owner content provider's domain. The eTLD+1 is a valid top-level domain (eTLD) plus one more level than the public suffix. An exemplary eTLD+1 is "example.com", where ".com" is a top-level domain.
[0046] The token creation time can indicate the time the token was created. This time can be a high resolution time, for example, down to milliseconds, allowing the application 112 to verify the freshness of the token, for example, whether the token was created within a threshold duration from the time the token was received, and to detect possible replay attacks.
[0047] The public key of the application 112 can be used by the application 112 to verify that the token is the intended application 112. The application 112 can decrypt the token using its own private key if the content provider encrypted the token with the application 112's public key.
[0048] The digital signature can be generated by the owner content provider 201 using the owner content provider's 201 private key. For example, the owner content provider 201 can sign the remainder of the token's content using the private key. The application 112 can, for example, download the corresponding public key from the owner content provider 201 and use the public key to verify that none of the token's content has been altered since the token was created. For example, the application 112 can attempt to verify the digital signature using the content provider's 201 public key and the remainder of the token's content. If this verification fails, the application 112 can determine that the content has been altered.
[0049] The content provider 201 can generate multiple frequency filters for various purposes. For example, the content provider 201 can generate a first frequency filter for impressions of any digital component provided by the content provider 201 and a second frequency filter for user interactions with any digital component provided by the content provider 201. The content provider 201 can also generate a third frequency filter for requests from a particular client device 110 to the content provider.
[0050] In another example, the content provider 201 may generate multiple frequency filters for the same specified event type and the same subject, but with different maximum event counts. For example, the content provider 201 may consider different event counts as having different probabilities of fraudulent activity and generate a frequency filter for each level of fraudulent activity. This allows the content provider 201 to determine the likelihood of fraudulent activity occurring at the client device 110. For example, the content provider 201 may generate a first frequency filter for impressions of any digital component provided by the content provider 201 that has a maximum event count of 5 impressions within a specified duration of 1 hour to indicate a medium probability of fraudulent activity. The content provider 201 may also generate a second frequency filter for impressions of any digital component provided by the content provider 201 that has a maximum event count of 10 impressions within a specified duration of 1 hour to indicate a high probability of fraudulent activity. These quantities are merely examples and other quantities may be used to detect fraudulent activity.
[0051] The content providers 201 provide (204) their frequency filters to the client device 110. For example, each content provider 201 can transmit its encrypted token to the client device 110 over a network, e.g., the network 105 of FIG. 1. As described above with reference to FIG. 1, the content provider 201 can provide the tag 122 of the electronic resource 120 in the encrypted token. In other examples, the content provider 201 can transmit the encrypted token directly to the client device 110, e.g., in a communication separate from the one carrying the tag 122.
[0052] The application 112 initializes (206) an actual event count for each received frequency filter. Upon receiving the encrypted token, the application 112 can decrypt the encrypted token to recover the clear text content of the token, e.g., the parameters of the frequency filter. Clear text is data, including text or binary files that is not computationally tagged, specially formatted, or written in code, in a form that can be viewed or used without the need for a key or other decryption device or other decryption process. The application 112 can decrypt the encrypted token using a private key that corresponds to the public key used to encrypt the token. The application 112 can initialize and maintain a dedicated queue for each filter identifier, i.e., for each received frequency filter. The queue of filter identifiers can be a queue of timestamps when an occurrence of a specified event type of the frequency filter is detected. For example, when an occurrence of an event of a specified event type is detected, the application 112 can add a timestamp to the queue indicating the time when the event of the specified event type occurred. The queue allows the application 112 to count the number of actual occurrences of the specified event type during a lookback window defined by the specified duration of the frequency filter.
[0053] An occurrence of an event of the specified event type for the frequency filter is detected (208). In some implementations, the owner content provider 201 can detect the occurrence of an event of the specified event type based on data received from the application 112. For example, if the specified event type is a request for a digital component, the owner content provider can determine that an event has occurred based on receiving a request for a digital component from the application 112. In another example, if the specified event type is an impression of a digital component or a user interaction with a digital component, the owner content provider can detect the occurrence of the specified event type based on a report received from the application 112 indicating that the impression or user interaction has occurred. In either case, the owner content provider 201 can obtain data from the data received from the application 112 that identifies the subject of the data (e.g., a digital component or a digital component request) and the event type, and map these to a corresponding frequency filter and a corresponding filter identifier, or recreate a frequency identifier using the subject and event type (e.g., by creating a byte array that includes the subject and the specified event type).
[0054] The owner content provider 201 can provide the application 112 with a filter identifier corresponding to the detected event (210). In some implementations, the content provider 201 obfuscates the filter identifier before sending it to the application 112 to protect the security of the secret information. To obfuscate the filter identifier, the content provider 201 can apply an additional cryptographic transformation to the filter identifier. For example, the content provider 201 can maintain a secret key and apply a Hash-Based Message Authentication Code (HMAC) hash function to the filter identifier to transform it. This can be expressed as transformed_filter_id = HMAC(filter_id, secret_key), where "transformed_filter_id" is the transformed filter identifier, "filter_id" is the filter identifier before transformation, "secret_key" is the content provider's secret key, and HMAC is the hash function.
[0055] In another example, the content provider 201 can transform the filter identifier using deterministic symmetric key encryption and the content provider's 201 private key. This is done by using transformed_filter_id = Encrypt deterministic (filter_id, secret_key), where "transformed_filter_id" is the transformed filter identifier, "filter_id" is the filter identifier before transformation, "secret_key" is the secret key of the content provider, and Encrypt deterministic is a deterministic symmetric key encryption algorithm.
[0056] In another example, the content provider 201 may generate an application-specific filter identifier that is unique to an instance of an application 112 running on a particular client device 110. In this example, the content provider 201 may transform the filter identifier using the application's public key. For example, the content provider 201 may use the application's public key instead of the content provider's private key in the HMAC technique described above, which may be expressed as transformed_filter_id = HMAC(filter_id, application_public_key). In this example, the "application_public_key" is the application's public key.
[0057] In another example, the content provider 201 can combine the above approaches to further obfuscate the filter identifier. For example, the content provider 201 can implement an HMAC function such that transformed_filter_id = HMAC(Encrypt deterministic The filter identifier may be transformed by applying an HMAC function to a transformed identifier resulting from a deterministic symmetric key encryption algorithm, which may be expressed as "transformed_filter_id = HMAC(HMAC(filter_id, secret_key), application_public_key)". In this example, the HMAC function uses the application's public key. In another example, the content provider 201 may transform the filter identifier by applying a second HMAC function using the application's public key to a transformed filter identifier resulting from applying an HMAC function using the content provider's private key to the filter identifier, which may be expressed as "transformed_filter_id = HMAC(HMAC(filter_id, secret_key), application_public_key)".
[0058] In some implementations, the event is detected at the client device 110, for example, by the application 112 or the client device 110. For example, a browser can determine that a request for an electronic resource matches a frequency filter based on a URL or domain to which the request is being sent that matches a domain of the frequency filter. In another example, the application 112 can determine that an impression of a digital component, or a user interaction with a digital component, matches a frequency filter based on a digital component identifier included in metadata of the digital component received by the application, or other matching criteria defined by the frequency filter matches the digital component identifier of the frequency filter. The application 112 can also determine that an event that has occurred, e.g., an impression, matches a specified event type, e.g., an impression, defined by the frequency filter.
[0059] The application 112 updates (212) the event count and / or the queue of frequency filters. If the content provider 201 detects an event, the application 112 may update the event count and / or queue upon receiving the filter identifier of the frequency filter. For example, the application 112 may add a timestamp to the queue of frequency filters identified by the filter identifier. The timestamp may indicate the time the filter identifier was received from the content provider 201 to indicate that the event was detected. In another example, the timestamp may indicate the time the event was detected, which may be included in a message sent by the content provider 201 along with the filter identifier to report the occurrence of the event.
[0060] The application 112 can also update the event count by counting the number of timestamps in the queue that are within the lookback time window. The lookback time window is based on the specified duration of the frequency filter. The start time of the lookback window is the result of subtracting the specified duration from the current time. The end time of the lookback window is the current time. For example, if the specified duration is one hour and the current time is 11:00 AM, the lookback window is from 10:00 AM to 11:00 AM. The application 112 can identify the timestamps in the queue of the filter identifier and determine the quantity of these timestamps. For example, if the queue contains a 9:32 AM timestamp, a 10:16 AM timestamp, and a 10:58 AM timestamp (indicating three occurrences of a specified event type), the actual event count will be two because only two of the three timestamps are within the lookback window.
[0061] Importantly, the timestamps included in the queue of a frequency filter corresponding to a digital component, a content platform, or a digital component provider are not limited to any particular publisher domain. Occurrences of a specified event type may be detected and included in the queue regardless of the publisher domain from which the digital component request was generated or the publisher domain from which the digital component was displayed. That is, the queue of a frequency filter of a content provider may include a timestamp for an impression of a digital component with a first website and a timestamp for an impression of the digital component with a second, different website. However, the queue may store only the timestamps of the events without storing any publisher domain information. In this manner, the queue may be used to determine actual event counts across multiple publisher domains without providing the content platform access to the cross-domain online activities of users of the application 112. This method thus provides improved user data security, since the updates of the event counts are performed centrally by the application 112 itself and does not require any domain to have knowledge of the event occurrences of other domains. Thus, such data does not need to be shared with or transmitted to other domains in order to obtain correct event counts across multiple content providers.
[0062] In some implementations, an application programming interface (API) of the application 112 is used to update the queue of filter identifiers and / or the actual event count. For example, the tag 122 can initiate an API call to a web browser API to update the actual event count. The API call, which may be called IncrementFrequencyCount, may include a cryptographic token, e.g., IncrementFrequencyCount(cryptographic token). The browser can decrypt the cryptographic token and update the queue / actual event count as described above.
[0063] The application 112 can receive frequency filters, initialize the queue, and update the queue over time based on data received from the content provider 201. Whenever the application 112 reports a triggered frequency filter, the application 112 can identify (214) any triggered frequency filters. For example, the application 112 can determine whether any frequency filters are currently triggered in response to determining that a content request, e.g., a digital component request, is about to be sent to the content provider 201. A triggered frequency filter is a frequency filter where the actual event count of the frequency filter during the current lookback window exceeds the maximum event count of the frequency filter.
[0064] The application 112 may identify any triggered frequency filters by determining an actual event count, as described with reference to step 212, and compare the actual event count to a maximum event count defined by the frequency filter. If the application 112 determines that the actual event count exceeds the maximum event count, the application 112 may determine that the frequency filter is triggered. The application 112 may identify a set of zero or more triggered frequency filters using a comparison of each frequency filter for which the application 112 maintains a queue. The application 112 may generate a set of zero or more filter identifiers corresponding to the triggered frequency filters. That is, the set of filter identifiers includes the filter identifiers of each triggered frequency filter, if any. The set of filter identifiers may be a subset, e.g., a proper subset, of the filter identifiers for all of the frequency filters for which the application 112 maintains a queue or is otherwise monitoring. The proper subset is a subset of the set, but does not include all members of the set.
[0065] The application 112 may apply differential privacy techniques to the set of triggered frequency filters before generating a probabilistic data structure that represents the filter identifiers of the triggered frequency filters (216). This is optional, but may enhance protection of user privacy by preventing a static probabilistic data structure from being used as a fingerprint for a user. For example, if the application 112 applies differential privacy techniques before generating each probabilistic data structure, or periodically, the probabilistic data structures will be different and therefore cannot be used as fingerprints.
[0066] Differential privacy techniques can include removing one or more filter identifiers from the set of filter identifiers and / or adding one or more filter identifiers to the set of filter identifiers. The application 112 can select one or more filter identifiers for random or pseudo-random addition to the set of filter identifiers. Similarly, the application 112 can select one or more filter identifiers for random or pseudo-random removal from the set of filter identifiers. By randomly or pseudo-randomly adding filter identifiers, the probabilistic data structure can be changed on a per-request basis even if there is no change to the list of triggered frequency filters, thereby preventing fingerprinting and tracking of uncompromised client devices 110.
[0067] Let D denote the set of filter identifiers for the triggered frequency filters. - can be chosen randomly, where D - ⊂ D. That is, D - represents a proper subset of filter identifiers in the set of filter identifiers. + can also be chosen randomly or pseudorandomly, where D + ∩D={}. That is, D + For example, D and D + represents one or more filter identifiers that are not in D, such that the intersection between Di ∈ D ∪ D + -D - A filter identifier D for generating a probabilistic data structure based on i A set of
[0068] The application 112 generates (218) a probabilistic data structure using the set of filter identifiers. In some implementations, the probabilistic data structure is a Bloom filter. A Bloom filter is a bit array of m bits. Initially, each bit is set to a value of zero. To populate the Bloom filter, the application 112 can apply k hash functions to each filter identifier in the set of filter identifiers. The result of each hash function is a bit position in the bit array of the Bloom filter. For each filter identifier, the application 112 can use the k hash functions to identify k bit positions in the array and set each of the k bit positions to a value of one. By using Bloom filters, the application 112 can represent the triggered frequency filters of multiple content providers 201 in a single data structure, preventing each content provider 201 from accessing information about the frequency filters of any other content provider 201. Thus, user data security is improved by only allowing a content provider to access information about its own frequency filters.
[0069] The application 112 transmits (220) the probabilistic data structure to a number of content providers 201. For example, the application can transmit the probabilistic data structure to the content providers along with a request for content, e.g., a request for a digital component.
[0070] Each content provider 201 queries the probabilistic data structure for the content provider's 201 frequency filter (222). To query the Bloom filter, the content provider 201 may apply k hash functions to each of its filter identifiers and check the bit positions resulting from each hash function. If all bit positions of all hash functions applied to the filter identifier have a value of one, the content provider 210 may determine that the frequency filter has likely been triggered. However, Bloom filters have a false positive rate and may not guarantee that the frequency filter has been triggered because differential privacy may be applied. If any of the bit positions of the frequency filter across all k hash functions have a value of zero, it is unlikely that the frequency filter has been triggered.
[0071] Each content provider 201 can determine a response to a content request based on whether one of its frequency filters is triggered. For example, if one or more frequency filters are triggered, the content provider 201 can consider the request to be potentially fraudulent. In such a case, the content provider 201 can decide not to respond to the content request or can respond in a different manner than if the frequency filters were not triggered. For example, if the response to the request includes a selection value to provide the digital component, for example, to an SSP, the content provider 201 can provide a lower selection value than the content provider would normally provide based on the frequency filters that are triggered. In another example, the content provider can determine a response based on the number of its frequency filters that are triggered at the client device 110. For example, the content provider 201 can reduce the selection value depending on the number of frequency filters that are triggered.
[0072] In some implementations, the content provider 201 may choose to store the probabilistic data structure and then evaluate the probabilistic data structure offline, which allows the content provider 201 to evaluate the history of triggered frequency filters for a particular instance of an application 112 running on a particular client device 110 and / or the history of frequency filters across multiple client devices 110 to better detect fraudulent activity and / or adjust the maximum event count of the frequency filter.
[0073] The content provider 201 responds to the request (224). For example, the content provider 201 can provide content or data for obtaining the content based on whether any frequency filters of the content provider 201 have been triggered.
[0074] As mentioned above, the data structures for the frequency filter, e.g., the cryptographic token, can contain additional data to prevent attacks. For example, a malicious party could tamper with the cryptographic token and attempt to call an application's API to increment the event count of the frequency filter an arbitrary number of times on the application where the malicious party's code, e.g., a script, may be executed. Doing so could severely disrupt the content provider's normal operation. The malicious party could then demand a ransom.
[0075] One option to prevent such attacks is for the owner content provider to digitally sign the token with additional data, for example, the owner domain (e.g., eTLD+1), the token creation time, a hash of the public key of the application 112 for which the frequency filter is intended (or the public key itself), and a digital signature of the token contents. The application 112 can verify the digital signature by downloading the corresponding public key from a well-known location in the content provider's domain. The application 112 can use the token creation time to detect old or duplicated requests, as well as possible replay attacks. The application 112 can also detect misdirected requests by verifying the hash of the public key. If the hash does not match the hash of the application's public key, the request may have been intended for a different instance of the application running on a different device.
[0076] Another approach is for the application 112 to only call the API to increment the event count of the frequency filter from an iframe with the content provider's origin. SHA256 The (caller_origin, filter_id) allows the application 112 to uniquely identify each cross-domain frequency filter. In these examples, "caller_origin" is the origin of the iframe, and the HMAC SHA256 is the HMAC hash function.
[0077] 3 is a flow diagram of an example process 300 for generating a probabilistic data structure based on a frequency filter and transmitting the probabilistic data structure to a content provider. The operations of the process 300 may be implemented, for example, by a client device, for example, the client device 110 of FIG. 1. The operations of the process 300 may be implemented as instructions stored on one or more computer-readable media, which may be non-transitory, and execution of the instructions by one or more data processing devices may cause the one or more data processing devices to perform the operations of the process 300. For simplicity and ease of explanation, the process 300 is described as being performed by the client device 110.
[0078] The client device 110 obtains (302) a set of frequency filters. Each frequency filter can define a specified event type, a maximum event count for the specified event type, and a specified duration of the frequency filter's lookback window. Each frequency filter can also include a filter identifier, and in some implementations, can encode the specified event type and the subject of the specified event type. As described above, the content provider can send the frequency filter to the client device 110 in the form of an encrypted token. The encrypted token can also include additional information that can be used to detect attacks. For example, the encrypted token can include the token creation time, a hash of the public key of the application 112 running on the client device, the content provider's eTLD+1, and a digital signature of the remainder of the token's content.
[0079] The client device 110 identifies (304) a subset of frequency filters for which the actual event count of a specified event type corresponding to the frequency filter exceeds a maximum event count defined by the frequency filter. A frequency filter for which the actual event count exceeds the maximum event count defined by the frequency filter may be referred to as a triggered frequency filter. As described above, the application 112 of the client device 110 may compare the actual event count over a lookback window corresponding to a specified duration of the frequency filter to the maximum event count of the frequency filter to determine if the frequency filter has been triggered.
[0080] The client device 110 generates 306 a probabilistic data structure that represents at least some of the frequency filters in the subset of frequency filters. The probabilistic data structure may be a Bloom filter. In some implementations, the application 112 may apply differential privacy to the subset of frequency filters, as described above with reference to step 216 of the process 200 of FIG. 2.
[0081] The client device 110 transmits (308) a request for content to a plurality of content providers. The request for content may include a probabilistic data structure. For example, the request for content may be a request for a digital component for display in a digital component slot of an electronic resource being displayed by the application 112. Each content provider may query the probabilistic data structure to determine whether any of its frequency filters are triggered at the client device 110 and determine an appropriate response to the request based on whether any of its frequency filters are triggered at the client device 110. For example, if none of the content provider's frequency filters are triggered, the content provider may provide content in response to the request. Conversely, if one or more of the content provider's frequency filters are triggered, the content provider may reject, ignore, or send content that differs from the requested content. Such a method thus uses a triggered frequency filter as an indicator of fraudulent or other negative activity, thereby providing a means for the content provider to identify and react to potentially fraudulent activity (e.g., by not sending the requested content) while maintaining a high level of user data security.
[0082] Techniques for using Bloom filters or other probabilistic data structures with differential privacy can be used for other purposes. For example, Bloom filters and differential privacy can be used for co-click clustering. When an application 112 visits a domain D requesting digital components, notification of impressions, and / or notification of user interactions, the application can insert data identifying the domain D into a set S. This set S can be updated for a time interval T. The application 112 can then generate a Bloom filter based on the set S, for example, using differential privacy, as described above with reference to FIG. 2.
[0083] Subject to the minimum number of visited domains and generated digital component requests, the application 112 can attach a Bloom filter to the next digital component request. The Bloom filter ensures that content providers cannot perform cross-domain tracking in individual user sessions with the application 112, e.g., a browser.
[0084] The content provider can then generate a graph or clusters over the domain based on the received Bloom filters. This information can be used, for example, to determine whether two digital component requests or domains are visited by similar sets of users. For example, the content provider can perform an intersection on the Bloom filters (e.g., via a bitwise AND operation) or some other similarity metric (e.g., Jaccard) on a pair of Bloom filters. This can allow the content provider to determine the similarity between the two Bloom filters and therefore the similarity between the two digital component requests.
[0085] 4 is a block diagram of an exemplary computer system 400 that can be used to perform the operations described above. The system 400 includes a processor 410, a memory 420, a storage device 430, and an input / output device 440. Each of the components 410, 420, 430, and 440 may be interconnected using, for example, a system bus 450. The processor 410 is capable of processing instructions for execution within the system 400. In some implementations, the processor 410 is a single-threaded processor. In another implementation, the processor 410 is a multi-threaded processor. The processor 410 is capable of processing instructions stored in the memory 420 or on the storage device 430.
[0086] The memory 420 stores information within the system 400. In one implementation, the memory 420 is a computer-readable medium. In some implementations, the memory 420 is a volatile memory unit. In another implementation, the memory 420 is a non-volatile memory unit.
[0087] The storage device 430 is capable of providing mass storage for the system 400. In some implementations, the storage device 430 is a computer-readable medium. In various different implementations, the storage device 430 may include, for example, a hard disk device, an optical disk device, a storage device shared by multiple computing devices over a network (e.g., a cloud storage device), or some other mass storage device.
[0088] The input / output device 440 provides input / output operations for the system 500. In some implementations, the input / output device 440 may include one or more of a network interface device, e.g., an Ethernet card, a serial communication device, e.g., an RS-232 port, and / or a wireless interface device, e.g., an 802.11 card. In another implementation, the input / output device may include a driver device configured to receive input data and send output data to an external device 460, e.g., a keyboard, a printer, and a display device. However, other implementations may be used, such as a mobile computing device, a mobile communication device, a set-top box television client device, etc.
[0089] Although an exemplary processing system is illustrated in FIG. 4, implementations of the subject matter and the functional operations described herein can be implemented in other types of digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and structural equivalents thereof, or in combinations of one or more of them.
[0090] The subject embodiments and operations described herein may be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and structural equivalents thereof, or in a combination of one or more of them. The subject embodiments described herein may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on computer storage medium(s) for execution by or to control the operation of a data processing device. Alternatively, or in addition, the program instructions may be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, generated to encode information for transmission to an appropriate receiver device for execution by the data processing device. The computer storage medium may be or may be included in a computer readable storage device, a computer readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Furthermore, although a computer storage medium is not a propagating signal, a computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagating signal. A computer storage medium may also be, or be contained in, one or more separate physical components or media (eg, multiple CDs, disks, or other storage devices).
[0091] The operations described herein may be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
[0092] The term "data processing apparatus" encompasses all kinds of apparatus, devices, and machines for processing data, including, by way of example, programmable processors, computers, systems on chips, or a combination of the above. The apparatus may include special purpose logic circuitry, e.g., a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, e.g., code constituting a processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of these. The apparatus and execution environment may implement a variety of different computing model infrastructures, such as web services, distributed computing infrastructures, and grid computing infrastructures.
[0093] A computer program (also known as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted, declarative or procedural, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may correspond to a file in a file system, but need not. A program may be stored in part of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (e.g., a file that stores one or more modules, subprograms, or portions of code). A computer program may be deployed to run on one computer or on multiple computers located at one site or distributed across multiple sites and interconnected by a communication network.
[0094] The processes and logic flows described herein may be implemented by one or more programmable processors executing one or more computer programs to perform actions by manipulating input data and generating output. The processes and logic flows may also be implemented by, and an apparatus may be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
[0095] Processors suitable for executing computer programs include, by way of example, both general-purpose and special-purpose microprocessors. Generally, a processor receives instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for performing actions according to instructions and one or more memory devices for storing instructions and data. Generally, a computer also includes one or more mass storage devices for storing data, such as, for example, magnetic, magneto-optical, or optical disks, or is operatively coupled to receive data from, transfer data to, or both of, the one or more mass storage devices. However, a computer need not have such devices. Furthermore, a computer may be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device (e.g., a universal serial bus (USB) flash drive), to name just a few. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, by way of example, semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices, magnetic disks, e.g., internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.
[0096] To provide for interaction with a user, embodiments of the subject matter described herein can be implemented on a computer having a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user, as well as a keyboard and a pointing device, such as, for example, a mouse or trackball, by which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user, for example, feedback provided to the user can be any form of sensory feedback, such as, for example, visual feedback, auditory feedback, or tactile feedback, and input from the user can be received in any form, including acoustic, speech, or tactile input. In addition, the computer can interact with the user by sending documents to a device used by the user and receiving documents from the device, for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.
[0097] An embodiment of the subject matter described herein may be implemented in a computing system that includes back-end components, e.g., a data server, or includes middleware components, e.g., an application server, or includes front-end components, e.g., a client computer having a graphical user interface or web browser through which a user may interact with an implementation of the subject matter described herein, or includes any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication, such as, for example, a communications network. Examples of communications networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad-hoc peer-to-peer networks).
[0098] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communications network. The relationship of clients and servers arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. In some embodiments, the server transmits data (e.g., HTML pages) to the client devices (e.g., for the purpose of displaying the data to and receiving user input from a user interacting with the client device). Data generated at the client device (e.g., the result of a user interaction) may be received at the server from the client device.
[0099] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or what may be claimed, but rather as descriptions of features specific to certain embodiments of a particular invention. Some features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as working in some combinations and may even be initially claimed as such, one or more features from a claimed combination may, in some cases, be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.
[0100] Similarly, although operations are shown in a particular order in the figures, this should not be understood as requiring such operations to be performed in the particular order shown, or in sequential order, or that all of the illustrated operations be performed, to achieve desired results. In certain circumstances, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the program components and systems described may generally be incorporated together in a single software product or packaged in multiple software products.
[0101] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown or sequential order to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous. [Explanation of symbols]
[0102] 100 Environment 105 Data Communication Network 110 Client Devices 112 Applications 120 Electronic Resources 122 Tags 124 Tokens 127 Request 129 Probabilistic Data Structures 130 Publisher 140 websites 145 resources 150 Content Platform 160 Digital Component Providers 200 processes 201 Content Provider 400 Computer Systems 410 Processor 420 Memory 430 Storage Devices 440 Input / Output Devices 450 System Bus 460 External Devices 500 Systems
Claims
1. A method of providing a content provider with a request from a client device, the request including a probabilistic data structure representing each triggered frequency filter in a set of frequency filters for a plurality of content providers, each triggered frequency filter being a frequency filter for which an event count of a specified event type corresponding to the frequency filter exceeds a maximum event count defined by the frequency filter during a time period corresponding to a duration specified for the frequency filter; determining, by the content provider, whether one or more frequency filters of the content provider are triggered frequency filters represented by the probabilistic data structure by querying the probabilistic data structure; determining, by the content provider, a response to the request based on a determination of whether the one or more frequency filters of the content provider are triggered frequency filters represented by the probabilistic data structure; 4. A computer-implemented method comprising:
2. 2. The computer-implemented method of claim 1, wherein if the one or more frequency filters of the content provider are determined to be triggered frequency filters represented by the probabilistic data structure, the response includes determining not to provide content in response to the request.
3. 2. The computer-implemented method of claim 1, wherein if it is determined that none of the one or more frequency filters of the content provider is a triggered frequency filter represented by the probabilistic data structure, the response includes selecting and providing content in response to the request.
4. determining whether the one or more frequency filters of the content provider are triggered frequency filters represented by the probabilistic data structure comprises determining a number of triggered frequency filters of the content provider; The computer-implemented method of any one of claims 1 to 3, wherein determining the response to the request comprises determining the response based on the number of triggered frequency filters of the content provider.
5. detecting an occurrence of an event corresponding to a particular frequency filter based on data received from the client device; transmitting a filter identifier identifying the particular frequency filter to the client device, the client device updating the event count for the particular frequency filter in response to receiving the filter identifier identifying the particular frequency filter; The computer-implemented method of any one of claims 1 to 4, further comprising:
6. 6. The computer-implemented method of claim 5, wherein transmitting the filter identifier for the particular frequency filter comprises obfuscating the frequency filter using a cryptographic transformation and transmitting the obfuscated version of the frequency filter.
7. The computer-implemented method of any one of claims 1 to 6, wherein the probabilistic data structure comprises a Bloom filter comprising a bit array.
8. The computer-implemented method of any one of claims 1 to 7, further comprising the step of transmitting, by the content provider, the one or more frequency filters of the content provider to the client device.
9. 9. The computer-implemented method of claim 8, wherein transmitting the one or more frequency filters of the content provider includes, for each frequency filter, transmitting an encrypted token generated by encrypting a token defining a filter identifier of the frequency filter, the maximum event count of the specified event type, and the specified duration of the frequency filter.
10. 10. The computer-implemented method of claim 9, wherein the filter identifier comprises: (i) a digital component corresponding to the specified event type; (ii) a content platform corresponding to the specified event type; or (iii) a byte array that identifies at least one of the specified event types.
11. The client device includes: randomly or pseudo-randomly selecting one or more frequency filters in the set of triggered frequency filters; removing a filter identifier for each of the one or more frequency filters from a set of filter identifiers corresponding to the set of triggered frequency filters prior to generating the probabilistic data structure; and generating said probabilistic data structure using said set of filter identifiers; The computer-implemented method of any one of claims 1 to 10, further comprising generating the probabilistic data structure by:
12. one or more processors; one or more storage devices storing instructions that, when executed by said one or more processors, cause said one or more processors to perform the method of any one of claims 1 to 11; A system including:
13. A computer readable medium carrying instructions that, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1 to 11.
14. A computer program comprising instructions which, when executed by a computer, cause the computer to carry out the steps of the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Space and time efficient threat detection
JP2018508918A
Data log stream processing using probabilistic data structures
US10853359B1
System and method for detecting fraudulent advertisement activity
US20140358671A1
System and Method for Counting Advertisement Impressions
US20170316455A1
