Method and system for generating encrypted data structure

By encrypting probabilistic data structures and homomorphic encryption schemes, privacy and security issues in data sharing are solved, secure counting and frequency estimation of device identifiers and attribute data are achieved, network transmission volume is reduced, and system security and safety are improved. Privacy.

CN113557511BActive Publication Date: 2024-09-03GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080005459.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-03-30
Filing Date
2020-07-28
Publication Date
2024-09-03
Estimated Expiration
2040-07-28

AI Technical Summary

Technical Problem

In computing and data analysis systems, the calculation of unions, intersections, or frequencies of large data sets distributed across multiple sources involves information sharing that can have negative impacts on privacy and security, especially when private or protected data is involved. information time.

Method used

Network reduction by generating and transmitting encrypted probabilistic data structures, such as minimum delta count bloom filters and cascaded legion matrices, to determine the count and frequency of device identifiers and attributes using encrypted probabilistic data structures and homomorphic encryption schemes. The amount of data transferred is encrypted on the client device to ensure data security and privacy.

Benefits of technology

It achieves security and privacy protection for device identifiers and attribute data, reduces the amount of data transmitted over the network, prevents identifier servers and client devices from exposing the number or attributes of their associated devices, and improves the security and privacy of networked systems. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113557511B_ABST
    Figure CN113557511B_ABST
Patent Text Reader

Abstract

Disclosed are systems and methods for generating a minimum incremental count Bloom filter to determine counts and frequencies of device identifiers and attributes in a networked environment. The system may maintain a set of data records including device identifiers and attributes associated with devices in a network. The system may generate a vector including coordinates corresponding to counter registers. The system may identify a hash function to update the count Bloom filter. The system may hash the data record to extract an index value pointing to a set of counter registers. The system may increment a position in the minimum incremental count Bloom filter corresponding to a minimum value of the counter register. The system may obtain an aggregate public key including a public key. The system may encrypt the counter register using an aggregate shared key to generate an encrypted vector. The system may transmit the encrypted vector to a networked worker computing device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the following benefits and priorities:

[0003] U.S. Provisional Patent Application No. 62 / 977,141, filed on February 14, 2020, entitled “SECURE MULTI-PARTY REACH AND FREQUENCYESTIMATION”;

[0004] U.S. Provisional Patent Application No. 62 / 981,960, filed on February 26, 2020, entitled “CASCADING LEGIONS CARDINALITY ETIMATOR”;

[0005] U.S. Provisional Patent Application No. 62 / 987,645, filed on March 10, 2020, entitled “EFFICIENT METHOD FOR DIFFERENTIALLY PRIVATECARDINALITY ESTIMATION”; and

[0006] U.S. Provisional Patent Application No. 63 / 002,138, filed on March 30, 2020, entitled “PRIVACY PRESERVING SECURE CARDINALITY AND FREQUENCY ESTIMATION,”

[0007] The contents of each of these are incorporated herein by reference in their entirety. Background Art

[0008] In many cases, computational and data analysis systems may determine the intersection or union of large data sets as part of data analysis or processing. Computing the union, intersection, or frequency of large data sets distributed across multiple sources often involves sharing information about the large data set across multiple sources. The information from each source may include private or protected information, and sharing such information may negatively impact privacy and security. Summary of the invention

[0009] The systems and methods discussed herein can provide enhanced security and confidentiality of data and data counting systems by using encrypted probabilistic data structures and homomorphic encryption schemes. In many embodiments, probabilistic data structures, such as minimum incremental count Bloom filters, cascaded legionary matrices, continuous legionary data structures, etc., can be generated to determine the counts and frequencies of device identifiers and attributes in a networked environment. A data record set including device identifiers and attributes associated with devices in a network can be maintained, and a probabilistic data structure can be generated, including coordinates, positions, or values ​​that can correspond to counter registers. A hash function can be used to update an identifiable data structure, and a data record can be hashed to extract an index value, position value, or other such pointer or identifier of one or more positions in a probabilistic data structure. A position in a data structure can be incremented, updated, flipped, permuted, or changed. An aggregate public key including a public key can be obtained, and an aggregate shared key can be used to encrypt a data structure to generate an encryption vector, and the encryption vector is transmitted to a networked worker computing device.

[0010] These systems and methods can transmit a probabilistic data structure to a worker computing device that can be several orders of magnitude smaller than the data records used to generate the data structure that would otherwise be sent to one or more worker computing devices. This can reduce the amount of data transmitted over the network, as well as the amount of data processed by each worker computing device, which is a significant improvement over other multi-set membership comparison and calculation systems. In addition, by using the estimated histograms, aspects of the technical solution can provide accurate estimates of the frequencies of client identifier attribute data without transmitting protected or private information over the network. This not only prevents the identifier server from exposing the number or attributes of its associated devices, but also prevents the client device from exposing its protected or private information, which is a significant improvement in the security and privacy of networked systems.

[0011] At least one aspect of the present technical solution is directed to a method for generating an encrypted probabilistic data structure, which represents a set of identifiers having attributes that meet target standards for secure and computationally efficient transmission. The method can be implemented, realized, or otherwise performed by a data processing system including one or more processors and a memory. The method may include maintaining a set of device identifiers in a database. Each of the set of device identifiers may include device attributes. The method may include generating a probabilistic data structure using the set of device identifiers and a hash function. The method may include encrypting the probabilistic data structure to create an encrypted probabilistic data structure so that the encrypted probabilistic data structure can be combined with a second encrypted probabilistic data structure. The method may include transmitting the encrypted probabilistic data structure to a worker computing device.

[0012] In some embodiments, the method may include receiving a first device identifier that includes a first device attribute. In some embodiments, the method may include storing the first device identifier that includes the first device attribute as a member of a set of device identifiers. In some embodiments, the method may include identifying a uniformly distributed hash function as a hash function, wherein the uniformly distributed hash function outputs a uniformly distributed value. In some embodiments, the hash function may belong to a plurality of hash functions, and the method may include generating a vector data structure that includes a plurality of coordinates corresponding to a corresponding plurality of counter registers. The vector data structure may be a probabilistic data structure. In some embodiments, the method may include, for each of the set of device identifiers that include the device attribute, updating a counter register in a corresponding plurality of counter registers of the vector data structure using a plurality of hash functions.

[0013] In some embodiments, the method may include hashing the device identifiers in the set of device identifiers using each of a plurality of hash functions to generate a plurality of hash data record values. In some embodiments, the method may include extracting, by a data processing system, a plurality of register identifiers from the plurality of hash data record values. Each of the plurality of register identifiers may correspond to a respective counter register in a plurality of counter registers. In some embodiments, the method may include accessing each of a plurality of counter registers corresponding to the plurality of register identifiers to identify a set of counter registers that satisfies a minimum threshold. In some embodiments, the method may include incrementing each of the set of counter registers that satisfies the minimum threshold.

[0014] In some embodiments, the method may include storing each of a plurality of hash data record values ​​associated with the device identifier in a database. In some embodiments, the method may include performing a modulus operation on each of the plurality of hash data record values ​​using a plurality of a plurality of counter registers. In some embodiments, the probabilistic data structure is a matrix data structure including a first vector and a second vector, and the method may include selecting a selected vector using a hash function and a device identifier from a set of device identifiers. The selected vector may be one of the first vector or the second vector. In some embodiments, the method may include updating coordinates of a selected vector of the matrix data structure using a hash function and a device identifier from a set of device identifiers.

[0015] In some embodiments, the method may include hashing a device identifier in a set of device identifiers to generate a hashed device identifier. In some embodiments, the method may include determining the number of least significant bits in the hashed device identifier that satisfy a predetermined bit value. In some embodiments, the method may include selecting a first vector as a selected vector, or selecting a second vector as a selected vector based on the number of least significant bits in the hashed device identifier that satisfy a predetermined positioning value. In some embodiments, the method may include performing a modulus operation on the hashed device identifier to calculate a counter register index value. In some embodiments, the method may include selecting a coordinate using the counter register index value. In some embodiments, the method may include incrementing the coordinate selected using the counter register index value.

[0016] At least one other aspect of the present disclosure is directed to a system for generating an encrypted probabilistic data structure representing a set of identifiers having attributes that meet target criteria for secure and computationally efficient transmission. The system may include a data processing system including one or more processors and a memory. The system may maintain a set of device identifiers in a database, each of which includes device attributes. The system may generate a probabilistic data structure using the set of device identifiers and a hash function. The system may encrypt the probabilistic data structure to create an encrypted probabilistic data structure so that the encrypted probabilistic data structure can be combined with a second encrypted probabilistic data structure. The system may transmit the encrypted probabilistic data structure to a worker computing device.

[0017] In some embodiments, a system may receive a first device identifier including a first device attribute. In some embodiments, the system may store the first device identifier including the first device attribute as a member of a set of device identifiers. In some embodiments, the system may identify a uniformly distributed hash function as a hash function, wherein the uniformly distributed hash function outputs uniformly distributed values. In some embodiments, the hash function belongs to a plurality of hash functions, and the system may generate a vector data structure including a plurality of coordinates corresponding to a corresponding plurality of counter registers. The vector data structure may be a probabilistic data structure. In some embodiments, the system may use a plurality of hash functions to update a counter register in a corresponding plurality of counter registers in the vector data structure for each device identifier in the set of device identifiers including the device attribute.

[0018] In some embodiments, the system may hash the device identifiers in the set of device identifiers using each of a plurality of hash functions to generate a plurality of hash data record values. In some embodiments, the system may extract a plurality of register identifiers from the plurality of hash data record values. Each of the plurality of register identifiers may correspond to a respective counter register in a plurality of counter registers. In some embodiments, the system may access each of a plurality of counter registers corresponding to the plurality of register identifiers to identify a set of counter registers that meets a minimum threshold. In some embodiments, the system may increment each of the set of counter registers that meets the minimum threshold.

[0019] In some embodiments, the system may store each of a plurality of hash data record values ​​associated with the device identifier in a database. In some embodiments, the system may use a plurality of a plurality of counter registers to perform a modulus operation on each of the plurality of hash data record values. In some embodiments, the probabilistic data structure is a matrix data structure including a first vector and a second vector, and the system may use a hash function and a device identifier from a set of device identifiers to select a selected vector, wherein the selected vector is one of the first vector or the second vector. In some embodiments, the system may use a hash function and a device identifier from a set of device identifiers to update coordinates of a selected vector of the matrix data structure.

[0020] In some embodiments, the system may hash the device identifiers in the set of device identifiers to generate a hashed device identifier. In some embodiments, the system may determine the number of least significant bits in the hashed device identifier that satisfy a predetermined bit value. In some embodiments, the system may select the first vector as the selected vector, or select the second vector as the selected vector based on the number of least significant bits in the hashed device identifier that satisfy the predetermined bit value. In some embodiments, the system may perform a modulus operation on the hashed device identifier to calculate a counter register index value. In some embodiments, the system may use the counter register index value to select a coordinate. In some embodiments, the system may increment the coordinate selected using the counter register index value.

[0021] At least another aspect of the present technical solution is directed to a method for effectively transforming an encrypted probabilistic data structure representing a set of identifiers for secure and computationally efficient network transmission. The method may include maintaining, by a worker computing device including one or more processors and a memory, a private decryption key that partially corresponds to an aggregated public key in the memory. The method may include receiving, by the worker computing device, an encrypted probabilistic data structure from a publisher computing device. The method may include decrypting, by the worker computing device, the encrypted probabilistic data structure using the private decryption key to generate a partially decrypted probabilistic data structure. The method may include encrypting, by the worker computing device, the partially decrypted probabilistic data structure using a deterministic encryption scheme to generate a deterministic encrypted probabilistic data structure. The method may include permuting, by the worker computing device, at least two elements of the deterministic encrypted probabilistic data structure to create a shuffled deterministic encrypted data structure. The method may include transmitting, by the worker computing device, the shuffled deterministic encrypted probabilistic data structure to a second worker computing device.

[0022] In some embodiments, the method may further include generating, by the worker computing device, a key pair including a private decryption key and a first public encryption key. In some embodiments, the method may further include receiving, by the worker computing device, a second public encryption key from a second worker computing device. In some embodiments, the method may further include aggregating, by the worker computing device, the first public encryption key and the second public encryption key to generate an aggregated public key. In some embodiments, the method may further include storing, by the worker computing device, the private decryption key and the aggregated public key in a memory of the worker computing device.

[0023] In some embodiments, the method may further include transmitting, by the worker computing device, the aggregate public key to the publisher computing device. In some embodiments, the method may further include receiving, by the worker computing device, a first encrypted probabilistic data structure from a first publisher computing device. In some embodiments, the method may further include receiving, by the worker computing device, a second encrypted data structure from a second publisher computing device. In some embodiments, the method may further include combining, by the worker computing device, the first encrypted probabilistic data structure and the second encrypted probabilistic data structure to create an encrypted probabilistic data structure.

[0024] In some implementations, the shuffled deterministic encrypted data structure includes a first encrypted counter register and a second encrypted counter register, and the method may further include transmitting, by the worker computing device to the second worker computing device in a first message, the first encrypted counter register of the shuffled deterministic encrypted data structure to the second worker computing device. In some implementations, the method may further include transmitting, by the worker computing device to the second worker computing device, the second encrypted counter register of the shuffled deterministic encrypted data structure to the second worker computing device in a second message.

[0025] In some embodiments, the method may further include generating, by a worker computing device, a random variable to determine an amount of noise to be added to the partially decrypted probability data structure. In some embodiments, the method may further include creating, by a worker computing device, a noise array based on a baseline noise value and a maximum frequency value, the noise array comprising a plurality of noise values. In some embodiments, the method may further include permuting, by a worker computing device, the noise array to generate a permuted noise array. In some embodiments, the method may further include encrypting, by a worker computing device, the permuted noise array using an aggregated public key to generate an encrypted noise array. In some embodiments, the method may further include transmitting, by a worker computing device, the encrypted noise array to an aggregator computing device.

[0026] In some embodiments, the method may further include receiving, by the worker computing device, a baseline noise value and a maximum frequency value from a second worker computing device. In some embodiments, the method may further include encrypting, by the worker computing device, a first noise value of the permuted noise array using an aggregated public key to generate a first encrypted noise value. In some embodiments, the method may further include encrypting, by the worker computing device, a second noise value of the permuted noise array using an aggregated public key to generate a second encrypted noise value. In some embodiments, the method may further include aggregating, by the worker computing device, the first noise value and the second noise value to generate an encrypted noise array.

[0027] In some embodiments, the method may further include generating a deterministic encryption key and a deterministic decryption key by the worker computing device. In some embodiments, the method may further include storing the deterministic encryption key and the deterministic decryption key in a memory of the worker computing device by the worker computing device. In some embodiments, the method may further include encrypting the partial decryption probability data structure by the worker computing device using the deterministic encryption key to generate a deterministic encryption probability data structure. In some embodiments, the method may further include receiving a second shuffled deterministic encrypted second probability data structure from a third worker computing device by the worker computing device. In some embodiments, the method may further include decrypting the second shuffled deterministic encryption probability data structure by the worker computing device using the deterministic decryption key to generate a second shuffled partial decryption probability data structure. In some embodiments, the method may further include transmitting the second shuffled partial decryption probability data structure to a second worker computing device by the worker computing device.

[0028] At least another aspect of the present technical solution is directed to a system for effectively transforming an encrypted probabilistic data structure representing a set of identifiers for secure and computationally efficient network transmission. The system may include a worker computing device including one or more processors and a memory. The system may maintain a private decryption key that partially corresponds to an aggregated public key in the memory. The system may receive an encrypted probabilistic data structure from a publisher computing device. The system may decrypt the encrypted probabilistic data structure using the private decryption key to generate a partially decrypted probabilistic data structure. The system may encrypt the partially decrypted probabilistic data structure using a deterministic encryption scheme to generate a deterministic encrypted probabilistic data structure. The system may permute at least two elements of the deterministic encrypted probabilistic data structure to create a shuffled deterministic encrypted data structure. The system may transmit the shuffled deterministic encrypted probabilistic data structure to a second worker computing device.

[0029] In some embodiments, the system may generate a key pair including a private decryption key and a first public encryption key. In some embodiments, the system may receive the second public encryption key from a second worker computing device. In some embodiments, the system may aggregate the first public encryption key and the second public encryption key to generate an aggregated public key. In some embodiments, the system may store the private decryption key and the aggregated public key in a memory of the worker computing device. In some embodiments, the system may transmit the aggregated public key to the publisher computing device.

[0030] In some embodiments, the system may receive a first encrypted probabilistic data structure from a first publisher computing device. In some embodiments, the system may receive a second encrypted data structure from a second publisher computing device. In some embodiments, the system may combine the first encrypted probabilistic data structure and the second encrypted probabilistic data structure to create the encrypted probabilistic data structure. In some embodiments, the shuffled deterministic encrypted data structure includes a first encrypted counter register and a second encrypted counter register, and the system may transmit the first encrypted counter register of the shuffled deterministic encrypted data structure to the second worker computing device in a first message. In some embodiments, the system may transmit the second encrypted counter register of the shuffled deterministic encrypted data structure to the second worker computing device in a second message.

[0031] In some embodiments, the system may generate a random variable to determine an amount of noise to be added to the partially decrypted probability data structure. In some embodiments, the system may create a noise array based on a baseline noise value and a maximum frequency value, the noise array comprising a plurality of noise values. In some embodiments, the system may permute the noise array to generate a permuted noise array. In some embodiments, the system may encrypt the permuted noise array using an aggregate public key to generate an encrypted noise array. In some embodiments, the method may transmit the encrypted noise array to an aggregator computing device.

[0032] In some embodiments, the system may receive a baseline noise value and a maximum frequency value from a second worker computing device. In some embodiments, the system may encrypt a first noise value of the permuted noise array using an aggregate public key to generate a first encrypted noise value. In some embodiments, the system may encrypt a second noise value of the permuted noise array using an aggregate public key to generate a second encrypted noise value. In some embodiments, the system may aggregate the first noise value and the second noise value to generate an encrypted noise array.

[0033] In some embodiments, the system may generate a deterministic encryption key and a deterministic decryption key. In some embodiments, the system may store the deterministic encryption key and the deterministic decryption key in a memory of a worker computing device. In some embodiments, the system may encrypt the partially decrypted probability data structure using the deterministic encryption key to generate the deterministic encryption probability data structure. In some embodiments, the system may receive a second shuffled deterministic encrypted second probability data structure from a third worker computing device. In some embodiments, the system may decrypt the second shuffled deterministic encryption probability data structure using the deterministic decryption key to generate a second shuffled partially decrypted probability data structure. In some embodiments, the system may transmit the second shuffled partially decrypted probability data structure to a second worker computing device.

[0034] At least another aspect of the present technical solution is directed to a method for securely and computationally efficiently estimating multiple members of a multiset having attributes that meet a target criterion. The method can be performed, for example, by an aggregator computing device comprising one or more processors and a memory. The method can include receiving a shuffled encrypted probability data structure from a worker computing device by the aggregator computing device. The method can include constructing a histogram using the shuffled encrypted probability data structure by the aggregator computing device. The method can include estimating, by the aggregator computing device, a frequency value representing the number of device identifiers associated with the attribute that meets the target threshold. The method can include transmitting, by the aggregator computing device to a publisher computing device, a frequency value representing the number of device identifiers associated with the attribute that meets the target threshold.

[0035] In some embodiments, the method may include transmitting, by the aggregator computing device, the shuffled encrypted probability data structure to a second worker computing device. In some embodiments, the method may include receiving, by the aggregator computing device, the shuffled partially decrypted probability data structure from the worker computing device. In some embodiments, the method may include decrypting, by the aggregator computing device, the shuffled partially decrypted probability data structure using a deterministic decryption key to generate a shuffled probability data structure. In some embodiments, the method may include constructing, by the aggregator computing device, a histogram using the shuffled probability data structure.

[0036] In some embodiments, the method may include receiving, by the aggregator computing device, a plurality of encrypted probabilistic data structures from a corresponding plurality of publisher computing devices. In some embodiments, the method may include combining, by the aggregator computing device, the plurality of encrypted probabilistic data structures into a combined encrypted probabilistic data structure. In some embodiments, the method may include transmitting, by the aggregator computing device, the combined encrypted probabilistic data structure to a worker computing device.

[0037] In some embodiments, the method may include multiplying, by an aggregator computing device, a first encrypted probability data structure of a plurality of encrypted probability data structures with a second encrypted probability data structure of a plurality of encrypted probability data structures to combine the plurality of encrypted probability data structures using homomorphic addition. In some embodiments, the method may include receiving, by an aggregator computing device, a first encrypted noise array from a worker computing device. In some embodiments, the method may include receiving, by an aggregator computing device, a second encrypted noise array from a second worker computing device. In some embodiments, the method may include aggregating, by an aggregator computing device, the first encrypted noise array and the second encrypted noise array to generate an aggregated noise array. In some embodiments, the method may include appending, by the aggregator computing device, the aggregated noise array to the combined encrypted probability data structure.

[0038] In some embodiments, the method may include determining, by an aggregator computing device, an average noise value. In some embodiments, the method may include subtracting, by an aggregator computing device, the average noise value from at least one value of the histogram to remove noise from the histogram. In some embodiments, the shuffled encrypted probability data structure is a set of noise matrices, each of which corresponds to a corresponding one of a set of publisher computing devices, and the method may include estimating, by an aggregator computing device, an estimated cardinality value for each noise matrix of the set of noise matrices. In some embodiments, the method may include sorting, by an aggregator computing device, the set of noise matrices based on the estimated cardinality value for each noise matrix of the set of noise matrices. In some embodiments, the method may include selecting, by an aggregator computing device, a first subset of the set of noise matrices and a second subset of the set of noise matrices based on the sorting. In some embodiments, the method may include constructing, by an aggregator computing device, a histogram based on the first subset of the set of noise matrices and the second subset of the set of noise matrices.

[0039] In some embodiments, the method may include identifying, by an aggregator computing device, a row of a noise matrix that includes a number of zeros that is less than or equal to half the number of positions in the row of the noise matrix, wherein the row of the noise matrix corresponds to a row index value. In some embodiments, the method may include calculating, by an aggregator computing device, an estimated cardinality value of the noise matrix using the row index value. In some embodiments, the method may include determining, by an aggregator computing device, that an estimated cardinality value of a first noise matrix of the set of noise matrices is greater than an estimated cardinality value of a second noise matrix of the set of noise matrices. In some embodiments, the method may include assigning, by an aggregator computing device, a first ranking value greater than a second ranking value to the first noise matrix. In some embodiments, the method may include assigning, by an aggregator computing device, a second ranking value to the second noise matrix.

[0040] In some embodiments, the method may include generating, by the aggregator computing device, a first denoised union vector based on a first Monte Carlo sampling of a first subset of the noise matrix. In some embodiments, the method may include generating, by the aggregator computing device, a second denoised union vector based on a second Monte Carlo sampling of a second subset of the noise matrix. In some embodiments, the method may include combining, by the aggregator computing device, the first denoised union vector and the second denoised union vector into a combined union data structure. In some embodiments, the method may include constructing, by the aggregator computing device, a histogram using the combined union data structure.

[0041] At least another aspect of the present technical solution relates to a system for securely and computationally efficiently estimating a plurality of members of a multiset having an attribute that meets a target criterion. The system may include an aggregator computing device including one or more processors and a memory. The system may receive a shuffled encrypted probabilistic data structure from a worker computing device. The system may construct a histogram using the shuffled encrypted probabilistic data structure. The system may estimate a frequency value representing the number of device identifiers associated with the attribute that meets a target threshold. The system may transmit a frequency value representing the number of device identifiers associated with the attribute that meets the target threshold to a publisher computing device.

[0042] In some embodiments, the system may transmit the shuffled encrypted probability data structure to a second worker computing device. In some embodiments, the system may receive the shuffled partially decrypted probability data structure from the worker computing device. In some embodiments, the system may decrypt the shuffled partially decrypted probability data structure using a deterministic decryption key to generate a shuffled probability data structure. In some embodiments, the system may use the shuffled probability data structure to construct a histogram.

[0043] In some embodiments, the system may receive a plurality of encrypted probabilistic data structures from a corresponding plurality of publisher computing devices. In some embodiments, the system may combine the plurality of encrypted probabilistic data structures into a combined encrypted probabilistic data structure. In some embodiments, the system may transmit the combined encrypted probabilistic data structure to a worker computing device. In some embodiments, the system multiplies a first encrypted probabilistic data structure in the plurality of encrypted probabilistic data structures with a second encrypted probabilistic data structure in the plurality of encrypted probabilistic data structures to combine the plurality of encrypted probabilistic data structures using homomorphic addition.

[0044] In some embodiments, the system may receive a first encrypted noise array from a worker computing device. In some embodiments, the system may receive a second encrypted noise array from a second worker computing device. In some embodiments, the system may aggregate the first encrypted noise array and the second encrypted noise array to generate an aggregated noise array. In some embodiments, the system may append the aggregated noise array to a combined encrypted probability data structure. In some embodiments, the system may determine an average noise value. In some embodiments, the system may subtract the average noise value from at least one value of the histogram to remove noise from the histogram.

[0045] In some embodiments, the shuffled encrypted probabilistic data structure is a set of noise matrices, each of which corresponds to a corresponding one of the set of publisher computing devices, and the system can estimate an estimated cardinality value for each noise matrix of the set of noise matrices. In some embodiments, the system can sort the set of noise matrices based on the estimated cardinality value for each noise matrix of the set of noise matrices. In some embodiments, the system can select a first subset of the set of noise matrices and a second subset of the set of noise matrices based on the sorting. In some embodiments, the system can construct a histogram based on the first subset of the set of noise matrices and the second subset of the set of noise matrices.

[0046] In some embodiments, the system can identify a row of a noise matrix that includes a number of zeros that is less than or equal to half the number of positions in the row of the noise matrix, wherein the row of the noise matrix corresponds to a row index value. In some embodiments, the system can use the row index value to calculate an estimated cardinality value of the noise matrix. In some embodiments, the system can determine that the estimated cardinality value of the first noise matrix of the noise matrix set is greater than the estimated cardinality value of the second noise matrix of the noise matrix set. In some embodiments, the system can assign a first ranking value greater than a second ranking value to the first noise matrix. In some embodiments, the system can assign a second ranking value to the second noise matrix.

[0047] In some embodiments, the system may generate a first denoised union vector based on a first Monte Carlo sampling of a first subset of the noise matrix. In some embodiments, the system may generate a second denoised union vector based on a second Monte Carlo sampling of a second subset of the noise matrix. In some embodiments, the system may combine the first denoised union vector and the second denoised union vector into a combined union data structure. In some embodiments, the system may use the combined union data structure to construct a histogram.

[0048] These and other features and characteristics of the present technology, as well as the methods of operation and function of the structurally related elements and combinations of components and the economy of manufacture will become more apparent after considering the following description and the appended claims with reference to the accompanying drawings, all of which form a part of this specification, wherein the same reference numerals designate corresponding components in the various figures. However, it should be expressly understood that the drawings are for illustration and description purposes only and are not intended as a definition of limitations of the present invention. As used in the specification and claims, the singular forms of "a", "an", and "the" include plural referents unless the context clearly indicates otherwise. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings are not intended to be drawn to scale. The same reference numerals and names in the various drawings indicate the same elements. For clarity, not every component may be labeled in every drawing. These and other aspects and features of the present technical solution will become apparent to those of ordinary skill in the art when reviewing the following description in conjunction with the accompanying drawings.

[0050] Figure 1 depicts a block diagram illustrating an example implementation of a system for generating a counting Bloom filter to determine a count and frequency of a device identifier;

[0051] Figure 2A depicts an exemplary system flow diagram illustrating inserting a first data record into a counting Bloom filter;

[0052] Figure 2B depicts an exemplary system flow diagram illustrating inserting a second data record into a standard counting Bloom filter;

[0053] Figure 2C depicts an exemplary system flow diagram illustrating inserting a third data record into a counting Bloom filter;

[0054] Figure 3A depicts an exemplary system flow diagram illustrating inserting a first data record into a minimum delta count Bloom filter;

[0055] Figure 3B depicts an exemplary system flow diagram illustrating inserting a second data record into a minimum delta count Bloom filter;

[0056] Figure 3C depicts an exemplary system flow diagram illustrating inserting a third data record into a minimum delta count Bloom filter;

[0057] Figure 4A depicts a block diagram of an exemplary system for generating and distributing homomorphic encryption keys;

[0058] Figure 4Bdepicts a block diagram of an exemplary system for generating an encryption vector and transmitting it to a first worker for processing;

[0059] Figure 4C depicts a block diagram of an exemplary system for partial decryption and shuffling of a combination vector processed by each worker;

[0060] Figure 5 depicts a flow chart illustrating an exemplary method of generating an encryption vector representing one or more data records;

[0061] Figure 6 depicts a flow chart illustrating an exemplary method of processing an aggregate encryption vector by a worker computing device;

[0062] Figure 7 depicts a flow chart illustrating an exemplary method of generating and incorporating a noisy aggregate encryption vector during processing by a worker computing device;

[0063] Figure 8 shows the overall architecture of an illustrative computer system that can be used to implement any of the computers discussed herein;

[0064] Fig. 9A and 9B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the illustrated system and their effect on the resulting calculations;

[0065] Fig. 10A and 10B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the illustrated system and their effect on the resulting calculations;

[0066] Fig.11A and 11B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the illustrated system and their effect on the resulting calculations;

[0067] Fig.12 depicts an exemplary data graph illustrating a comparison between a FreqLogLog implementation and a counting Bloom filter implementation as described herein;

[0068] Fig.13A and 13B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the illustrated system and their effect on the resulting calculations;

[0069] Fig.14A and 14B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the illustrated system and their effect on the resulting calculations;

[0070] Fig.15depicts exemplary data graphs comparing various experimental parameters of the illustrated system and their effects on the resulting calculations including the addition of noise;

[0071] Fig.16A and 16B depicts an exemplary data graph illustrating a comparison of various experimental parameters of the system and their effect on result calculations including the addition of noise values ​​to the data;

[0072] Fig.17A and 17B depicts an exemplary data graph illustrating various standard error values ​​for a counting bloom filter implementation implementing noise in an alternative configuration as described herein;

[0073] Fig.18 The relative errors of user identifier estimates using the Cascade Corps Cardinality Estimator method are depicted;

[0074] Fig.19 depicts graphs illustrating various experiments conducted using the Cascade Legion Cardinality Estimator approach;

[0075] Fig. 20 depicts a flow chart illustrating an exemplary method of generating an encryption vector representing one or more data records; and

[0076] Fig.21 A flow chart illustrating an exemplary method of estimating the cardinality of a collection of a differentially private noisy cascade legion data structure is depicted. DETAILED DESCRIPTION

[0077] The following is a detailed description of various concepts and implementations related to methods, apparatus, and systems for estimating frequencies of large multisets based on encrypted probabilistic data structures. The various concepts introduced above and discussed in more detail below may be implemented in any of a variety of ways, as the concepts described are not limited to any particular implementation. Examples of specific implementations and applications are provided primarily for illustrative purposes.

[0078] For purposes of reading the description of the various implementations and techniques described herein, the following brief description of the various sections of the specification may be helpful.

[0079] Section A describes techniques for implementing counting Bloom filters to estimate the frequency and cardinality of multisets in a differentially private manner. One or more of these techniques or aspects thereof may be implemented using one or more of the embodiments described herein.

[0080] Section B describes techniques for implementing a cascaded legionary data structure to estimate the frequency and cardinality of a multiset. One or more of these techniques or aspects thereof may be implemented using one or more of the embodiments described herein.

[0081] Section C describes another technique for implementing a differentially private cascade legion data structure to estimate the frequency and cardinality of a multiset in a differentially private manner. One or more such techniques or aspects thereof may be implemented using one or more of the embodiments described herein.

[0082] Section D describes techniques for combining HyperLogLog sketch attributes and counting Bloom filters to estimate the frequency and cardinality of multisets using continuous liquid legions. One or more such techniques or aspects thereof may be implemented using one or more of the embodiments described herein.

[0083] Section E describes techniques for implementing exponential generalized Bloom filters to estimate the frequency and cardinality of multisets. One or more of these techniques or aspects thereof may be implemented using one or more of the embodiments described herein.

[0084] As used herein, the term "alternatives" does not necessarily refer to exclusive alternative options, and the various embodiments, techniques, systems, methods or processes described as "alternatives" to each other may be used in appropriate combination, if appropriate.

[0085] As used herein, the term "sketch" shall refer to one or more data structures containing one or more data elements, data records, variables, counter registers, floating point values, strings, index values, memory pointer values, or any combination thereof as described herein. The terms "sketch" and "data structure" may sometimes be used interchangeably.

[0086] A. System Overview and Counting Bloom Filter Frequency and Cardinality Estimation

[0087] For example, an identifier server may be associated with a set of client devices by maintaining client identifiers associated with respective client devices. Each client identifier may include attribute information describing the association between each identifier server and the client device. The attribute information may include information about the relationship between the client device and the identifier server (e.g., web browsing history, interaction data, association time, network analysis data, etc.), and may include protected or private information received from the respective client devices. Different identifier servers may maintain different attribute data and different client identifiers corresponding to the same respective client devices. Typically, in order to determine whether there is duplicate attribute data between each identifier server, the identifier server may share the attribute data, which may include protected information or private information, with a centralized server to deduplicate any client attribute information.

[0088] However, the transmission of all client attribute data can present scalability issues. As the number of client identifier servers increases, the amount of client device attribute data transmitted over the network typically also increases. Because the attribute data can be detailed and relatively large for each client device, transmitting this information on a large scale can exhaust network bandwidth and computing resources. In addition, it is advantageous for the system to calculate not only the total number of user identifiers, but also the number of client devices that meet certain attribute data criteria (such as the frequency of a particular attribute) without having to transmit protected or private attribute information over the network.

[0089] In order to solve the aforementioned problems, various aspects of the system and method of the technical solution can use counting Bloom filters to determine the number of common client devices between a large number of identifier servers. Each identifier server can generate a counting Bloom filter that represents a set of client device identifiers and attribute data associated with them. The counting Bloom filter can be a vector of counter registers (sometimes referred to as "buckets"), wherein each bucket is associated with a bucket identifier corresponding to its position or index value in the counting Bloom filter. Each identifier server can apply one or more hash functions to the client device identifier and attribute data to generate one or more hash identifiers. The system can extract pointers from the hash identifier to one or more buckets of the counting Bloom filter and increment these buckets. The system can use a minimum increment technique, wherein only the minimum bucket of the Bloom filter is incremented. By using the minimum count technique, the system can not only estimate the total number of client devices associated with each identifier server, but also estimate the number of client devices associated with attribute data indicating the minimum attribute value. The counting Bloom filter can further be any number, integer, or value string that can track the number of entries in a data set, such as a Bloom filter or other general data structure. Information estimating the frequency of client device attributes may be useful for determining macro data trends between client devices and identifier servers, for example, to make decisions regarding network bandwidth routing and computing resource allocation.

[0090] In order to maintain the differential privacy of the counted Bloom filters of each identifier server, the system can construct a bucket histogram of the counted Bloom filters, thereby abstracting the buckets. To create the bucket histogram, each identifier server can encrypt its counted Bloom filters bucket by bucket using a private key known only to the corresponding identifier server, and send the encrypted Bloom filters to a known worker computing device (e.g., worker computing device 405, aggregator computing device 410, etc.). The worker computing device can combine the counted Bloom filters encrypted by all identifier servers into a single combined encrypted data structure. The combined Bloom filters are still encrypted using the private key of each identifier server. The combined Bloom filters are then passed sequentially to each worker computing device, which can decrypt the combined filters using a shared key and then encrypt each bucket (e.g., deterministically, non-deterministically, etc.). The work can then apply noise by adding and / or deleting many additional buckets so that when the bucket histogram is created, it will be differentially private. The worker can rearrange (e.g., permute, etc.) the Bloom filters and send them to the next worker. This continues until the first worker receives the final Bloom filter again. The workers can then encrypt each value from 0 to the maximum expected frequency using each worker's deterministic key. The first worker can construct a bucket histogram and assume any value that cannot be decrypted is equal to the maximum frequency and add it to the bucket. The final histogram is used to estimate the total number of unique client devices across all identifier servers, and the corresponding frequency of the desired attribute data.

[0091] Therefore, aspects of the technical solution can provide increased security for client device identifier and data counting systems. By using encrypted counting Bloom filters and homomorphic encryption schemes, various aspects of the technical solution can reduce the amount of data transmitted over the network, which is a significant improvement over other attribute data counting and comparison systems. In addition, by using estimated histograms, the technical solution can provide accurate estimates of client identifier attribute data frequencies without transmitting protected or private information over the network. This not only prevents the identifier server from exposing the number or attributes of its associated devices, but also prevents the client device from exposing its protected information or private information, which is a significant improvement in the security of the networked system.

[0092] In some embodiments, device identifiers and attribute data may be used to calculate K+ values ​​in a privacy-preserving manner across identifier servers. As described herein, a counting Bloom filter may be used to calculate a value of K+ that may reflect the frequency with which a particular attribute appears K times or more on an identifier server. Once the measurement method is discussed, a secure multi-party communication (MPC) protocol for aggregating Bloom filters across multiple parties in a differentially private manner is proposed.

[0093] The systems and methods of the technical solution can describe an industry-wide effort to measure cross-media reach and attribution across multiple identifier servers (e.g., publishers, providers, etc.) in a secure and privacy-preserving manner. Hundreds or even thousands of identifier servers can participate in the system. The algorithms for calculating K+ values, intersections, unions, and attribute frequencies detailed below address the scale of the problem and its stringent privacy requirements by using counting Bloom filters for frequency estimation and using a secure MPC protocol for combining Bloom filters across publishers. Finally, it is important to note that these systems and methods of various aspects of the present solution can be executed, implemented, or otherwise operated by different entities without having to worry about any set of entities compromising private or protected information of the other parties involved.

[0094] The reach of a particular set of attributes may be defined as the number of client devices that have been exposed or otherwise reflected with the corresponding attribute. The frequency may be defined as the number of times a client device is associated with a particular attribute. The K+ value (e.g., K+ arrival rate, etc.) may describe a metric that reflects the number of client devices with a frequency greater than a given value K for a given attribute. In other words, it is the number of client devices that are associated with a particular attribute K times or more.

[0095] HyperLogLog (HLL) can be used as a cardinality estimator. A cardinality estimator can estimate the number of elements in some multiset M that is actually very large. HLL is characterized by low error rate, low variance, and low memory usage. Moreover, the union of two HLLs can be computationally trivial, which means that HLL can be implemented in distributed counting applications. An extension of HLL called FreqLogLog (FLL) can allow estimating the number of elements in M ​​as well as their frequencies.

[0096] Bloom filters can provide a compact representation of a set. Bloom filters can implement both insertion and containment methods, but due to the compact representation, there is a small probability that the containment method returns a false positive. This means that an element is considered to be in the set when it may not be in the set. On the other hand, false negatives are excluded, that is, if the containment method returns "false", it may always be correct.

[0097] An empty bloom filter can be a bit array of size m with all bits set to zero. An element x can be inserted by passing it to k hash functions modulo m and then setting the corresponding bit in the bloom filter to 1 (see example below). The contains method can work in a similar manner and return "true" if all k hashes of x modulo m are set to 1, otherwise it returns "false". An example of an empty bloom filter is illustrated in Table 1 below.

[0098] ID 0 1 2 3 4 5 6 7 8 9 10 value 0 0 0 0 0 0 0 0 0 0 0

[0099] Table 1

[0100] The bit string indicated by the "Value" row represents an empty Bloom filter, where each position in the Bloom filter (e.g., indicated by the numeric column in the "ID" row) is set to a binary value of 0. Here, the value of m is 11, and the identifiers of the m positions range from 0 to 10.

[0101] Due to their relatively high memory requirements (e.g., relative to HLL), Bloom filters may not typically be used for cardinality estimation, but the cardinality of a Bloom filter can be determined by evaluating the following formula:

[0102]

[0103] In the above formula, k may be the number of hashes used in the Bloom filter, m may be the number of bits in the Bloom filter, x may be the number of filled buckets in the Bloom filter, and n may be the number of estimates of the cardinality of the Bloom filter.

[0104] The variance of the estimator is approximated by the following formula.

[0105]

[0106] The variance can be based on a Taylor expansion.

[0107] An estimate of the bias can be provided by the following formula.

[0108]

[0109] A Counting Bloom Filter (CBF) is an extension of a standard Bloom filter that provides a remove operation. A Counting Bloom filter works similarly to a standard Bloom filter. In a Counting Bloom filter, the bit array is replaced with an array of counts. For the sake of completeness, it is worth noting that using a remove operation may introduce the possibility of false negatives. Figure 2A-2C The example shown in indicates the insertion of three elements into a CBF in which one of the elements (x) is inserted twice.

[0110] Minimum increment describes a technique that can minimize the CBF counter value over the course of many insert operations. When inserting some elements into the CBF using minimum increment, the bucket that should be incremented is the bucket with the smallest value. The minimum bucket value can represent the maximum number of times the element being inserted could have been previously inserted into the counting Bloom filter. This technique can be used to record traffic in a computer network, but instead of incrementing the CBF bucket by 1, the traffic monitoring application can increment the bucket value by the number of bytes in the packet. This can avoid overestimating traffic. Figures 3A-3C An example of a minimum delta count Bloom filter is shown in .

[0111] Estimating K+ values ​​with a counting Bloom filter can include iteratively applying the above-mentioned Bloom filter cardinality estimation formula. For basic (1+) values, the technical solution can directly apply the formula, while for K+ values, the technical solution can count when those buckets are filled with values ​​greater than or equal to K, and then apply the same formula. For example, 3+ values ​​can be determined by counting all buckets with values ​​0, 1, or 2 to zero. An important observation is that the method can use a histogram of CBF bucket values, where the histogram interval ranges from [0,1), [1,2), [2,3), etc. The multi-identifier server scenario can be solved by observing that the union of the CBFs is achieved by summing them bucket by bucket, of course, assuming that the CBFs have the same configuration (i.e., the same m, k and hash function) and are filled from the same identifier space.

[0112] Secure calculation of CBF histogram

[0113] The inputs to the protocol may come from a large number of identifier servers (e.g., publishers, providers, etc.) (hundreds or thousands), which makes a simple MPC approach too inefficient. Instead, a "worker / client" MPC pattern will be followed, where a small number of workers (e.g., 3) can participate in an interactive MPC protocol using data from a large number of publishers. The security provided is that the identifier server data can remain private unless all workers are corrupted. In this scheme, different entities can operate different workers.

[0114] The protocol can be open to any number of parties acting as workers. In many embodiments, the number of workers is fixed before executing the protocol, and the set of workers is known to the rest of the workers. Note that initialization of the protocol may require quadratic communication in the number of workers.

[0115] A brief overview of the protocol is provided below.

[0116] Each worker (W) can generate an additively homomorphic (e.g. ElGamal) key pair (SK, PK). The public keys of all workers are combined to create a super public key (UPK) that can be distributed to each identifier server.

[0117] Each publisher (P) can create a CBF and encrypt it on a bucket-by-bucket basis using the UPK, and then send it to a single well-known (e.g., trusted, random, etc.) worker.

[0118] The first worker can then combine the publisher CBFs into a final combined CBF by summing the publisher CBFs bucket by bucket. Note that the final CBF is still encrypted using each worker's private key.

[0119] Next, the Bloom filter can be passed to each worker.

[0120] The worker can decrypt the CBF using its SK and deterministically encrypt each bucket.

[0121] A worker can apply noise by adding or removing multiple additional buckets so that when a bucket histogram is created, the bucket histogram will have differential privacy.

[0122] The worker can then replace the Bloom filter.

[0123] The worker can then send the permuted Bloom filter to the next worker.

[0124] This process is repeated until the first worker obtains a permuted Bloom filter (eg, a ring configuration, etc.) that is encrypted under a fully deterministic encryption scheme.

[0125] Next, the worker may encrypt each value from 0 to the maximum expected frequency using each of the worker's deterministic keys.

[0126] The first worker can construct a bucket histogram. Any value that cannot be decrypted is assumed to be equal to the maximum frequency and can be added to that bucket.

[0127] Finally, the histograms are used to estimate the arrival rates and frequencies up to the maximum frequency, and these estimates are the final output of the protocol.

[0128] ElGamal encryption

[0129] ElGamal encryption is a simple public key encryption scheme that can be modified to support threshold decryption. It can be considered an offline variant of the Diffie-Hellman key exchange protocol and can be implemented using elliptic curve cryptography. The basic scheme for an elliptic curve group with generator G is as follows.

[0130] KeyGen: Choose a random integer X and find the remainder of q (the order of the elliptic curve group). This is the private key used for decryption; the public key is G^X.

[0131] Encrypt(pk,m): Choose a random integer R and find the remainder of q. The ciphertext is (G^R,mpk^R), that is, (G^R,m G^(XR)).

[0132] Decrypt(sk,m): Calculate G^(XR) using the key, then m=m pk^R / G^(XR).

[0133] A threshold version of the scheme may provide that a secret key X is distributed as shares using a secret sharing scheme (e.g., Shamir key sharing scheme, etc.). Each party can use its share of the shared secret key to compute a "public key share," which can then be used to compute the "real" public key by combining the secret key shares in an exponential (note that combining shares is a linear operation, which can be done in an exponential using a group operation). In the case of a threshold of N-of-N, this can be done by simply multiplying all the "public key shares" together. The decryption shares can be computed by performing a decryption operation using the secret key shares, and combining the results in the same way as the public key was computed.

[0134] A simple example of a threshold variable is as follows: two workers generate keys G^X and G^Y. If these public keys are multiplied, we get G^(X+Y), which can be used as the public key for encryption; the corresponding secret key is X+Y. Note, however, that for decryption, the original keys can be applied one by one (in any order), so no single party needs to know the joint private key.

[0135] ElGamal encryption can include an additional useful property: it can support multiplicative homomorphism. Given two ciphertexts (G^R1,M1 G^X R1), (G^R2,M2 G^X R2), we can compute (G^(R1+R2),M1 M2 G^X(R1+R2)), which decrypts to the product of the two messages. Note that this is an additive homomorphism of the discrete logarithm of the message; in other words, we can use it to compute (G^(R1+R2),G^(M1+M2)G^X(R1+R2)), which works for small message spaces (small enough to compute discrete logarithms efficiently).

[0136] In our case, performing the summation exponentially may be sufficient. A counting Bloom filter estimate can use the count of elements less than a threshold K, which is small enough that a lookup table is sufficient for decoding. There is also a small security benefit here: the aggregator can learn the count of values ​​above the threshold without having to know what those values ​​are. To this end, the workers can use deterministic encryption (such as the Pohlig-Hellman cipher, etc.), which may involve each worker choosing a secret exponent that is applied to all partially decrypted buckets; this can also be performed homomorphically (which is equivalent to changing the generator G to some random group element).

[0137] Using the Bloom filter method, (n-1) colluding HBCs

[0138] In this approach, workers can use additive homomorphic encryption to compute the sum of their counting bloom filters using a threshold private key, and then securely shuffle and deterministically encrypt the result before showing it to the aggregator. The sum can be computed directly by one party using additive homomorphism (e.g., by having the publisher send an encryption of its bloom filter to a designated worker, etc.).

[0139] To permute efficiently, the solution can use the threshold property of the encryption scheme. To avoid trusting any one party to perform the permutation, the solution can have each party randomly permute the filter (note that the composition of two permutations is a permutation). The first party to receive the encrypted Bloom filter and compute the initial sum can perform the first permutation. That party can then re-randomize the encrypted Bloom filter, then apply its share of the decryption key to partially decrypt the result, and finally apply its share of the key from the deterministic scheme. The shuffled / re-randomized ciphertext can then be sent to the next party and finally to the aggregator for final decryption.

[0140] Step 1: Set up the ElGamal key

[0141] As a first step, the worker sets the threshold ElGamal key as described above, and then makes the combined key available to each publisher.

[0142] Step 2: Input

[0143] The protocol can compute the sum. The identifier server can encrypt its counting Bloom filter bucket by bucket using the composite public key provided by the workers, and send the ciphertext to a "first" party that can be chosen arbitrarily. That party can then compute the sum using homomorphic addition operations on the ciphertext, and can append a decoding lookup table by encrypting a value that the aggregator is allowed to learn under deterministic encryption. That party can be the aggregator itself, but in this case the aggregator should not partially decrypt the ciphertext before sending it to the next party for permutation - the aggregator's decryption should be the last step to ensure the aggregator understands the result (permutation, deterministic encrypted Bloom filter).

[0144] Step 3: Shuffle

[0145] Next, the first party may partially decrypt the ciphertext, apply its deterministic encryption key, shuffle the encrypted filter (rather than the lookup table), and forward everything to the second party. The second party may then partially decrypt, apply deterministic encryption under its key, and shuffle (e.g., permute, change the order of positions in the probabilistic data structure, or otherwise swap positions, etc.), and forward everything to the third party, and so on, until only the decryption involving the aggregator's key remains.

[0146] By setting a threshold N for the secret sharing scheme, the technical solution can stipulate that any colluding subset of workers cannot violate the privacy of any other party. This permutation can also remain secret from any collusion between workers, because only one worker needs to keep its permutation secret. Another option is to use an MPC protocol to calculate the sum of values ​​greater than K, but this may be more computationally intensive.

[0147] Distributed Differentially Private Noise Generation

[0148] The addition of noise occurs in a distributed manner so that the total noise added to each histogram interval can follow a two-tailed geometric distribution as described herein. Specifically, for each histogram interval [0, maximum frequency], each worker can generate a random variable (e.g., a Polya (a special case of a negative binomial) random variable, etc.) that can determine how much noise the worker can add to each interval. Therefore, because the sum of properly constructed random variables can be equal to a two-tailed geometric random variable, each interval can receive the desired amount of noise. To achieve this purpose, some improvements have been made to the above protocol.

[0149] Before the shuffle (ie, permutation of each worker) begins, the following may happen.

[0150] The workers can agree on a noise baseline, which can be an integer that is likely to be larger than any negative noise value produced by a single worker. Call this value B.

[0151] Each worker can generate max_frequency+1 random variables (such as Polya random variables, etc.) [X0,X1,...X i ,...,X mf ] and create a size of BX i We call this the noise array.

[0152] Then, for each i, we can use B–X of i i The noise array is filled with copies.

[0153] Each worker can then shuffle its noise array and encrypt each value using the ElGamal public key.

[0154] Each worker can then send its noise array to the workers to start the shuffling.

[0155] The first worker can then append all noise arrays to the CBF before summing all CBFs as described in the protocol above.

[0156] Finally, after building the histogram, the aggregator can subtract the number of B* workers from each histogram bucket, essentially removing the noisy baseline from each bin and leaving only the two side geometric noise.

[0157] At least one protection to the above protocol would be for the identifier servers to maintain their own thresholds so that they would not use sets for computation unless they already contained N client identifiers or attributes. Adding DP noise to the bloom filters during the shuffling step would also help alleviate concerns.

[0158] The fundamental problem with using CBF for cardinality / frequency estimation is that the number of buckets required to maintain a fixed error rate grows linearly in the size of the set whose size is being estimated. Furthermore, the security protocol requires each publisher to encrypt each bucket of each CBF generated.

[0159] The scale of the problem can be assumed to be processing about 50 billion identifiers per day in order to compute arrival rate values ​​for various attributes. If we assume that the bloom filter adds a 3x overhead to this, each identifier server can perform 150 billion bucket encryptions, which using the numbers from the above document implies about 42 CPU hours. Assuming 64 bytes of ciphertext, this provides about 9.6TB of data transfer per day. This is considerable, especially when reflected as a constant for publishers of all sizes. Fortunately, there are ways to mitigate this overhead.

[0160] First, encryption on the identifier server side can be dispensed with, thereby avoiding the communication overhead that accompanies ciphertext expansion. Here, for each bucket, the identifier server can generate k random numbers that are added to the bucket's value, such that the CBF is represented by k arrays that, when summed element by element, equal the CBF. The identifier server can then send the arrays (hereinafter referred to as CBF shares) to different MPC workers, which can sum the CBF shares across publishers as described above before applying the El Gamal encryption layer. After encryption, each worker can send the encrypted CBF shares to a single worker who can combine them, with the result being the fully combined x-pub CBF. From here, the decryption / shuffling step of the protocol as described above can begin. In this option, the size of the bucket shares can be 1 byte, 2 bytes, or 4 bytes, resulting in 450GB, 900GB, or 1800GB of data transfer per day, compared to (3 shares * 1 byte * 50 billion) for the 1 byte case. This can provide substantial improvements to MPC systems, secure identifier counting systems, frequency counting systems, and identifier communication systems.

[0161] At least one other improvement is for the identifier server to trust one of the workers and send its CBF to that worker in plaintext. The CBFs for a single worker can then be combined in plaintext, and that worker can bear the burden of encryption as partial x-pub CBFs. These partial x-pub CBFs can then be sent to a single worker, which can combine them homomorphically. And, as described herein, the decryption / shuffle step can begin. In this case, assuming only one byte per bucket, that's 150GB of data transferred per day. This can provide substantial improvements to MPC systems, secure identifier counting systems, frequency counting systems, and identifier communication systems.

[0162] Interestingly, the embodiments described herein can be combined with the two alternatives described above, and each identifier server (e.g., publisher) can independently choose how to interact with the system. Note that by the associative properties of addition, each worker can easily combine a CBF share and a plaintext CBF. These combinations can then be encrypted and combined with other encrypted CBFs on a per-worker basis before all workers send their encrypted partial x-pub CBFs to a single worker who can isomorphically combine the encrypted partial x-pub CBFs to obtain the full x-pub CBF, and then the shuffling step of the original protocol can begin again. This can provide substantial improvements to MPC systems, secure identifier counting systems, frequency counting systems, and identifier communication systems.

[0163] The following describes a cryptographically secure protocol for computing differentially private CBF histograms.

[0164] Differentially Private CBF Bucket

[0165] Using the entire CBF as the output of the query, the first task is to determine its sensitivity. This can be done first for the case of a single attribute, and then extended to all attributes associated with a single client device. Ignoring collisions, each insertion increments at most k (number of hashes) buckets. This could be smaller for the minimum increment case, but assuming the worst case does not compromise privacy, and characterizing the minimum increment case seems intractable.

[0166] At least one way to think about query sensitivity relative to a single impression is to treat the output of each hash function as a distinct query with an L1 sensitivity of 1, in which case the sensitivity of the entire CBF query is k. Another extreme is to declare that the sensitivity of the entire CBF query is 1. We will continue with this characterization below and show that DP at the bucket level is infeasible even under this relaxed assumption.

[0167] Recall that sensitivity can be defined as the maximum distance between two adjacent databases. Then, if we assume that the sensitivity of CBF with respect to a single impression is 1, extending this to client identifiers means that the sensitivity can be equal to the total number of attributes associated with the client identifier that has the most associations with a particular attribute. In other words, this can be the maximum frequency, which can be bounded by the minimum value of the k largest buckets, where the independent variable used for it is similar to the independent variable of the minimum incremental validity.

[0168] Then, to make the CBF differentially private, it is sufficient to estimate the maximum frequency as described and apply two-sided geometric noise to each bucket, and then truncate the noise so that any bucket that would become negative is assigned to have a value of zero. The following table shows the parameters of the geometric distribution for various values ​​of ε and sensitivity.

[0169] ε / sensitivity 1 2 4 7 8 16 32 0.1 0.0952 0.0488 0.0247 0.0142 0.0124 0.0062 0.0031 0.25 0.2212 0.1175 0.0606 0.0351 0.0308 0.0155 0.0078 0.5 0.3935 0.2212 0.1175 0.0689 0.606 0.0308 0.0155 1 0.6321 0.3935 0.2212 0.1331 0.1175 0.0606 0.0308 2 0.8647 0.6321 0.3935 0.2485 0.2212 0.1175 0.0606 3 0.9502 0.7769 0.5276 0.3486 0.3127 0.1710 0.0895

[0170] One observation is that even for modest values ​​of ε and sensitivity, the tails of the distribution are quite long. For example, assuming that the typical value of the maximum frequency is 8, which is likely to be a significant underestimate, the amount of noise required for even an ε of 1 begins to become untenable. However, remember that the histogram of the bucket counts can be used for estimation, so there is a probability that the noise can be removed in general. Specifically, the noise histogram can be multiplied by the correction matrix to obtain the denoised histogram based on the expectation of the geometric distribution on both sides.

[0171] Let X be the noise histogram, which can be the histogram of the CBF buckets after applying two-sided geometric noise to each bucket. Let Y be the histogram constructed from the original CBF. Then:

[0172] E[X]=A*Y

[0173] in:

[0174] A=[a0,a1,a2,…,a i ,...a n ] T

[0175] And, each a i is a row vector with n+1 elements, where:

[0176] a0=[P(Z<=0),…,P(Z<=n)]

[0177] a i =[P(Z=ij)]-for j in [0,n]

[0178] a n =[P(Z>=n),…,P(Z>=0)]

[0179] and Z can be a two-sided geometric random variable. Basically, a i *Y can expect the elements of Y to be assigned to a specific interval of X. Note that A can be column random.

[0180] Then in It can be a denoised histogram, which can then be used to estimate the cardinality.

[0181] In at least one other embodiment, the K+ value estimation function can be performed as follows.

[0182] For each entry in the counting bloom filter, if the entry is greater than K, it is included in the output sum, otherwise it is ignored. To perform computations in an MPC, the system can perform a comparison, sum, and unit product on each element in the set:

[0183] b←x[i]>=K / / b is 0 or 1

[0184] sum←sum+x[i]*b

[0185] Computing the comparison function may use a bitwise decomposition of the filter elements, which may increase the computational cost of the entire protocol by requiring more communication. The comparison itself would require a "general" MPC construction that computes arithmetic circuits, which can be implemented using the SPDZ protocol variant without significantly increasing the number of rounds.

[0186] To perform the comparison using an arithmetic circuit, the system can evaluate a "ripple-borrow" subtractor, the "textbook" subtraction algorithm. The intuition is that if XY can be calculated without borrowing the high-order bits of X, then X>=Y. One way to do this is to simulate a Boolean circuit for this function, thereby creating an "arithmetic circuit." For example, to compare a two-digit number:

[0187] [a0,a1]<[b0,b1]

[0188] You can use this Boolean formula:

[0189] ((!a1)&&((!a0)&&b0))||((!a1)&&b1)||((!a0)&&b0)&&b1)

[0190] Now assume these are 0 / 1 values ​​(in the field; hence the need for bitwise decomposition). The same formula can be simulated using these rules:

[0191] ! x→(1-x)

[0192] x&&y→x*y

[0193] x||y→x+yx*y

[0194] Therefore, our comparator can be:

[0195] c1=((1-a1)*((1-a0)*b0))

[0196] c2=((1-a1)*b1)

[0197] c3=((1-a0)*b0*b1)

[0198] out←c1+c2+c3-c1*c2-c1*c3-c2*c3+c1*c2*c3

[0199] This can be scaled to any number of bits. Since the final output is a 0 / 1 value, this can be used to selectively include values ​​in the sum as described above.

[0200] In this case, privacy can come from the security of the MPC protocol itself, since no partial information about the combined bloom filters is revealed. Note that in this case, there is no need to perform any permutations on the filters, since the filters are never revealed in the plaintext. At the end of the protocol, the worker will have a share of the sum, which can then be sent to the accumulator or any other worker that has access to the output.

[0201] In the case where K is a power of 2, the online protocol can be improved. Recall that the first step is to compute the sum over each party's respective Bloom filter; then, the elements that do not exceed the value K are counted. When K is a power of 2, this is equivalent to checking whether any bits beyond a certain position are carried, and the comparator can be avoided entirely and only the addition circuit can be computed online.

[0202] Assuming one round of broadcasting per multiplication gate, if the Bloom filter elements are 4 bits, then 9 rounds of broadcasting will be required (8 for the addition circuits, and 1 for the carry of the addition; the final sum is a linear combination that does not require any multiplications). For security against arbitrary collusion, using the SPDZ protocol in an honest-but-curious setting, the main computational cost will be computing the Beaver triples.

[0203] Reference now Figure 1, depicts a system 100 for generating a counting bloom filter to determine counts and frequencies of client device identifiers in a networked environment. The system 100 may generate a histogram of estimated frequencies of data from a vector using distributed homomorphic encryption. The system 100 may include at least one data processing system 105A-N (sometimes generally referred to as data processing system 105), at least one network 110, at least one database 115, and at least one client device 120A-N (sometimes generally referred to as client device 120). The data processing system 105 may include at least one vector generator 130, at least one hash identifier 134, at least one data record hasher 140, at least one encryption key generator 145, at least one vector encryptor 150, at least one encrypted vector communicator 155, at least one vector combiner 160, at least one histogram constructor 165, and at least one cardinality estimator 170. The database 115 may include at least one data record 122A-N (sometimes generally referred to as data record 122). Each data record 122 may include at least one client identifier 125A-N (sometimes generally referred to as client identifier 125 ) and at least one attribute 127A-N (sometimes generally referred to as attribute 127 ).

[0204] This article can be used in conjunction with Figure 8 The hardware components or a combination of software and hardware components of the detailed computing system 800 implement each component of the system 100 (e.g., data processing system 105, network 110, database 115, client device 120, vector generator 130, hash identifier 135, data record hasher 140, encryption key generator 145, vector encryptor 150, encryption vector communicator 155, vector combiner 160, histogram constructor 165, cardinality estimator 170, data record 122, client identifier 125 and attribute 127, etc.). For example, data processing system 105 may include a server or other computing device. Client device 120 may include a server or other computing device. Each component of data processing system 105 may perform the functions detailed herein.

[0205] The network 110 may include a computer network such as the Internet, a local area network, a wide area network, a metropolitan area network or other local area network, an intranet, a satellite network, other computer networks such as voice or data mobile phone communication networks, and combinations thereof. The data processing system 105 of the system 100 may communicate with, for example, at least one database 115 via the network 110. The network 110 may be any form of computer network that relays information between the database 115, the data processing system 105, and one or more content sources such as a Web server. In some embodiments, the network 110 may include the Internet and / or other types of data networks such as a local area network (LAN), a wide area network (WAN), a cellular network, or a plurality of other network types. The database 115 may be a computer network, a satellite network, or other type of data network. The network 110 may also include any number of computing devices (e.g., computers, servers, routers, network switches, etc.) configured to receive and / or transmit data within the network 110. The network 110 may further include any number of hardwired and / or wireless connections. The database 115 may communicate wirelessly (e.g., via WiFi, cellular, radio, etc.) with a transceiver that is hardwired (e.g., via fiber optic cable, CAT5 cable, etc.) to other computing devices in the network 110. The database 115 may also communicate wirelessly with computing devices of the network 110 via a proxy device (e.g., a router, network switch, or gateway).

[0206] The data processing system 105 may include at least one processor and memory, i.e., processing circuitry. The memory stores processor executable instructions that, when executed by the processor, cause the processor to perform one or more operations described herein. The processor may include a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or the like, or a combination thereof. The memory may include, but is not limited to, electronic, optical, magnetic, or any other storage or transmission device capable of providing program instructions to the processor. The memory may further include a floppy disk, a CD-ROM, a DVD, a disk, a memory chip, an ASIC, an FPGA, a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable ROM (EEPROM), an erasable programmable ROM (EPROM), a flash memory, an optical medium, or any other suitable memory from which the processor can read instructions. The instructions may include code from any suitable computer programming language. The data processing system 105 may include one or more computing devices or servers that may perform various functions, including, for example, the functions or methods described herein.

[0207] Database 115 may be a database configured to store and / or maintain any information described herein. Database 115 may maintain one or more data structures that may contain or index each of the values, plural numbers, or thresholds described herein. Database 115 may be accessed using one or more memory addresses or index values. Database 115 may be accessed by a component of data processing system 105 or client device 120 via network 110. In some embodiments, database 115 may be inside data processing system 105. In some embodiments, system 100 may include many databases, each database 115 corresponding to at least one data processing system 105A-N. For example, each data processing system 105A-N may include its own database or communicate with it. In some embodiments, database 115 may exist outside data processing system 105 and may be accessed via network 110. Database 115 may be distributed on many different computer systems or storage elements and may be accessed via network 110 or a suitable computer bus interface. Data processing system 105 may store in database 115 the results of any or all computations, determinations, selections, identifications, generation, constructions, or calculations in one or more data structures indexed by appropriate values, each of which may be accessed by data processing system 105 or client device 120 to perform any functionality or function described herein.

[0208] The client device 120 may be a computer configured to communicate via the network 110 to display data, such as an indication provided by the data processing system 105 (e.g., an indication displaying the cardinality of a set of client identifiers 125, attributes 127, frequency values, or any other values ​​described herein, etc.). The client device 120 may be a desktop computer, a laptop computer, a tablet computer, a smart phone, a personal digital assistant, a mobile device, a consumer computing device, a server, a client, a digital video recorder, a set-top box for a television, a video game console, or any other computing device configured to communicate via the network 110, etc. The client device 120 may transmit or receive one or more client identifiers 125 or one or more attributes 127 to the data processing system. The client device 120 may communicate with at least one database 115 to store the client identifiers 125 or attributes 127 associated with the respective client device 120.

[0209] The client device 120 may include a processor and a memory, i.e., a processing circuit. The memory stores machine instructions that, when executed by the processor, cause the processor to perform one or more operations described herein. The processor may include a microprocessor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., or a combination thereof. The memory may include, but is not limited to, electronic, optical, magnetic, or any other storage or transmission device capable of providing program instructions to the processor. The memory may further include a floppy disk, a CD-ROM, a DVD, a disk, a memory chip, an ASIC, an FPGA, a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable ROM (EEPROM), an erasable programmable ROM (EPROM), a flash memory, an optical medium, or any other suitable memory from which the processor can read instructions. The instructions may include code from any suitable computer programming language.

[0210] The client device 120 may include one or more user interface devices. In general, a user interface device refers to any electronic device (e.g., keyboard, mouse, pointing device, touch screen display, microphone, etc.) that communicates data to a user and / or converts sensory information received from a user into electronic signals by generating sensory information (e.g., visualization on a display, one or more sounds, etc.). The one or more user interface devices may be inside the housing of the client device 120 (e.g., a built-in display, microphone, etc.) or outside the housing of the client device 120 (e.g., a monitor connected to the client device 120, a speaker connected to the client device 120, etc.). In some embodiments, the client device 120 may include an electronic display that visually displays an interface using interface data provided by an operating system executed on the client device 120, retrieved from the database 115, or provided by the data processing system 105.

[0211] The data processing system 105 may maintain at least one data record 122 in the database 115. The data record may include, for example, at least one client identifier 125 and at least one attribute 127. The client identifier 125 may correspond to a respective one of the client devices 120. The attribute may be associated with the client identifier 125 in the data record 122 and include information about attributes of the respective client device 120. The attribute may include, for example, client device location data, client device metadata, client device parameters, settings, and other information, user profile data, interactions performed by the client device, application browsing history, web browsing history, activity information, device characteristics, whether the client device has viewed or interacted with content items, network utilization information, power utilization information, and device operating system version, settings, and other information, etc. The data processing system may receive the device identifier and attribute data from each client device and generate and maintain respective data records corresponding to the respective client devices in the database 115. Although in Figure 1 105A-N, but it should be understood that each data processing system can only receive client device identifiers and information from a specific set of client devices 120. Likewise, data processing systems 105A-N can store their respective data records in their own databases 115, which are not accessible to other data processing systems 105A-N. According to some embodiments, different groups of client devices 120 can be served by different identifier servers (e.g., data processing systems 105), and each data processing system can maintain its own set of data records corresponding to a respective one of its set of client devices 120.

[0212] The vector generator 130 may generate a vector including a plurality of coordinates. In order to generate the vector, the vector generator 130 may allocate one or more areas of memory in the data processing system 105 to accommodate at least one counter register. The allocated counter register may correspond to at least one coordinate of the vector. By generating and allocating memory for one or more counter registers, the vector generator 130 may generate a vector including counter registers. The vector generator 130 may initialize each counter register of the vector to an initialization value, such as 0 or 1. The vector generator 130 may generate a vector, which may correspond to a minimum increment count Bloom filter to have any number of counter registers (sometimes referred to as "buckets"). For example, the vector generator 130 may receive an instruction to generate a minimum increment count Bloom filter having n buckets, or may access an internal configuration setting provided by an external computing device, which specifies the size of the minimum increment count Bloom by the number of buckets or counter registers.

[0213] The hash identifier 135 can identify one or more hash functions from a hash function list that can be used to update a counting bloom filter data structure. For example, each hash identified in the hash list can provide a normal distribution or expectation of randomness based on an input value. That is, for example, similar inputs to a hash function do not necessarily have similar outputs of the hash function. A hash function can be selected as the best hash function for a counting bloom filter. For example, the hash identifier 135 can select an independent and uniformly distributed hash function. Such hash functions can include, for example, a noise hash, a Fowler-Noll-Vo series hash, or a Jenkins hash, etc. The hash identifier 135 can select or identify multiple hash functions, and each hash function is applied to each data record to generate a hashed data record set.

[0214] The data record hasher 140 may hash each data record maintained by the corresponding data processing system 105 to create a set of corresponding hashed data records. Applying the hashed data records may include using the data record as an argument to a hash function identified by the hash identifier 135. The data record hasher 140 may hash each data record using each hash identified by the hash identifier 135, resulting in a plurality of hash values ​​corresponding to a corresponding one of the data records. In this way, the data record hasher 140 may traverse each data record in a loop and apply each hash function to each data record as it is selected. After applying the hash function, the data record hasher 140 may store each hashed data record associated with the corresponding data record in a memory of the corresponding data processing system 105.

[0215] The data record hasher 140 may further extract a register identifier from each hash data record corresponding to each data record maintained by the corresponding data processing system 105. Each hash data record in the set of hash data records may correspond to a counter register of the vector generated by the vector generator 130. To identify the corresponding counter register, the data record hasher 140 may extract the register identifier from each hash data record. The data record hasher 140 may extract the register identifier, for example, by performing a modulo operation on each hash data identifier and the number of counter registers in the minimum increment count Bloom filter. For example, if one of the hash data records is equal to 500 and there are 15 positions in the minimum increment count Bloom filter, the data processing system may calculate 500%15=5 to determine that the hash data record corresponds to the fifth counter register in the minimum increment count Bloom filter. In some embodiments, if the number of counter registers in the minimum increment count Bloom filter is a power of 2, the data record hasher 140 may select a number of bits equal to log2(b), where b is equal to the number of counter registers in the minimum increment count Bloom filter.

[0216] The vector generator 130 may access each counter register of the counting Bloom filter generated by the vector generator 130, which corresponds to the register identifier identified by the data record hasher 140, to determine the minimum register value. In the minimum increment Bloom filter embodiment, the vector generator 130 may further access the counter register bucket associated with each register identifier extracted by the data record hasher 140 to retrieve a set of bucket values. In order to determine which bucket value is incremented, the vector generator 130 may determine a subset of the counter register buckets that are equal to the minimum value from the counter register buckets. The minimum value may be determined by comparing each counter register bucket and identifying the minimum (e.g., the value closest to zero, etc.) bucket value. For example, if there are five buckets, whose values ​​are 3, 91, 30, 88, and 10, respectively, the minimum bucket value is 3. Note that although only one bucket is shown as equal to the minimum value, there may be any number of buckets that are equal to the minimum value. To illustrate this concept, consider a second example in which the five buckets are equal to 5, 10, 30, 5, and 28, respectively. In this example, there are two buckets equal to 5. The minimum value of all buckets is also 5. Then, the vector generator 130 can select the bucket equal to the minimum value to include in the subset of counter register buckets. This means that in the first example, where the buckets are equal to 3, 91, 30, 88 and 10 respectively, the vector generator 130 can select the bucket equal to the minimum value 3 as the counter register in the subset. In the second example, where the five buckets are equal to 5, 10, 30, 5 and 28 respectively, the vector generator 130 can select two buckets equal to 5, which are the minimum values ​​of the counter register buckets. Selecting the counter register may include storing the register identifiers identifying the corresponding buckets in a data structure of the memory of the corresponding data processing system 105. Note that in order to accurately determine the minimum value of the Bloom filter, the vector generator 130 can traverse each data record and access the register identifier extracted from the hash value of the corresponding identifier.

[0217] As described above, the vector generator 130 may increment each counter register that satisfies a minimum value threshold for the counter register. Incrementing a register identifier may include adding 1 to the counter register corresponding to the respective register identifier. In some embodiments, the amount added to the counter register may be a value other than 1. For example, the vector generator 130 may add other values ​​to each counter register that may correspond to any value determined, generated, or calculated herein. In some embodiments, the data processing system may subtract from the counter register for various reasons discussed herein. In some embodiments, as an alternative to subtraction, the vector generator 130 may add an amount (e.g., 1 or some other value, etc.) to each other counter register bucket that is not currently selected by the vector generator 130. By incrementing the counter register buckets or coordinates, the vector generator 130 may update the counting Bloom filter as a whole based on the data records maintained by the respective data processing systems 105. In the context of the system, hereinafter, in conjunction with Figure 2A-2C , briefly describe the process of updating the standard counting bloom filter, and in the following, combined with Figures 3A-3C , describing the update (as combined with Figure 1 The process of the minimum increment count Bloom filter described above.

[0218] Reference now Figure 2A , depicts an exemplary illustration of a flowchart 200A illustrating the insertion of a data record X into a standard counting Bloom filter by at least one data processing system (e.g., at least one of the data processing systems 105, etc.). In box 202, the data processing system may indicate a data record to be inserted into the counting Bloom filter. The indicated data record may be selected, for example, from a database (e.g., database 115). The data processing system may select a plurality of hash functions, shown here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system may utilize any number of hash functions to insert the data record into the standard counting Bloom filter. In boxes 204A-C, the data processing system may copy and hash the data record X at least once using each of the identified hash functions. The hash function may be, for example, the ElGamal hash described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By copying and hashing the data record X three times, the data processing system has generated three hashed data records, Figure 2A , as h1(x), h2(x), and h3(x). Still referring to blocks 204A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 2AIn the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting Bloom filter. Although only 11 register positions are used for the Bloom filter, it should be understood that any number of counting registers may be used to implement the Bloom filter.

[0219] exist Figure 2A In further detail, the modulus 11 of h1(x) is equal to 1, the modulus 11 of h2(x) is equal to 3, and the modulus 11 of h3(x) is equal to 9. Each of these values ​​can be used by the data processing system as a pointer to a counter register associated with a respective position (e.g., ID value, etc.) in the counting Bloom filter. For example, the modulus 11 of h1(x) equal to 1 can point to position "1" in the counting Bloom filter, the modulus 11 of h2(x) equal to 3 can point to position "3" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the describing the counting Bloom filter. The data processing system can update (e.g., insert a data record) the counting Bloom filter by incrementing each counter register pointed to by the respective hash function, resulting in an updated counting Bloom filter 206. Note that although Figure 2A Each counter register is depicted incrementing only by 1, but it should be understood that the data processing system may increment any counter register by any value, such as by a number of bytes, bits, or relative to any other value, threshold, or estimate described herein.

[0220] Reference now Figure 2B , depicts an exemplary illustration of a flowchart 200B, which illustrates inserting data record Y into the above combined Figure 2A The updated counting Bloom filter 206 is described. At box 208, the data processing system may indicate a data record Y to be inserted into the counting Bloom filter. The indicated data record may be selected, for example, from a database (e.g., database 115). The data processing system may select a plurality of hash functions, shown here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system may utilize any number of hash functions to insert data records into a standard counting Bloom filter. At boxes 210A-C, the data processing system may copy and hash data record Y at least once using each identified hash function. The hash function may be, for example, the ElGamal hash described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By copying and hashing data record Y three times (e.g., once each hash), the data processing system has generated three hashed data records. Figure 2B, as h1(y), h2(y), and h3(y). Still referring to blocks 210A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 2A In the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting bloom filter. Although the counting bloom filter uses only 11 register positions, it should be understood that any number of counting registers may be used to implement a counting bloom filter.

[0221] exist Figure 2B In further detail, the modulus 11 of h1(y) is equal to 1, the modulus 11 of h2(y) is equal to 5, and the modulus 11 of h3(y) is equal to 7. Each of these values ​​can be used by the data processing system as a pointer to a counter register associated with a respective position (e.g., ID value, etc.) in the counting Bloom filter. For example, the modulus 11 of h1(y) equal to 1 can point to position "1" in the counting Bloom filter, the modulus 11 of h2(y) equal to 5 can point to position "5" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the describing the counting Bloom filter. The data processing system can update (e.g., insert a data record) the counting Bloom filter by incrementing each counter register pointed to by the respective hash function, resulting in an updated counting Bloom filter 212. Note that although Figure 2B Each counter register is depicted incrementing by only 1, but it should be understood that the data processing system can increment any counter register by any value, such as by a number of bytes, a number of bits, or relative to any other value, threshold, or estimate described herein. Figure 2B As shown, the counter register corresponding to position "1" has a value that is already equal to 1, so when incremented by 1, it becomes equal to 2. Likewise, each of the counter registers corresponding to positions "5" and "7" is equal to zero, and so when incremented, each is equal to 1. Therefore, the updated counting Bloom filter 212 has a value of 2 at position "1", a value of 1 at position "3", a value of 1 at position "5", a value of 1 at position "7", and a value of 1 at position "9".

[0222] Reference now Figure 2C , depicts an exemplary illustration of a flowchart 200C, which illustrates inserting data record X into the above combined Figure 2CIn the updated counting Bloom filter 212. At block 214, the data processing system may indicate the data record X to be inserted into the counting Bloom filter. Note that, as described above, Figure 2A As described, although data record X has been inserted into the counting Bloom filter, due to the nature of the counting Bloom filter, this does not necessarily preclude the same data record from being inserted into the counting Bloom multiple times. This is different from, for example, a standard Bloom filter, in which each position may correspond to a binary value rather than a counter register. The indicated data record may be selected, for example, from a database (e.g., database 115). The data processing system may select a plurality of hash functions, shown here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system may utilize any number of hash functions to insert data records into the standard counting Bloom filter. In blocks 216A-C, the data processing system may copy and hash data record X at least once using each identified hash function. The hash function may be, for example, an ElGamal hash as described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By copying and hashing data record X three times (e.g., once for each hash), the data processing system has generated three hashed data records, Figure 2C , as h1(x), h2(x), and h3(x). Still referring to blocks 214A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 2C In the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting bloom filter. Although the counting bloom filter uses only 11 register positions, it should be understood that any number of counting registers may be used to implement a counting bloom filter.

[0223] exist Figure 2C In further detail, the modulus 11 of h1(x) is equal to 1, the modulus 11 of h2(x) is equal to 5, and the modulus 11 of h3(x) is equal to 9. Note that each of these values ​​is equal to Figure 2A This is because the data processing system is hashing the same data record using the same hash function, so each hash result is different from the previous one. Figure 2AThe data processing system can use each of these index values ​​as a pointer to a counter register associated with a respective position in the counting Bloom filter (e.g., an ID value, etc.). For example, h1(x) modulo 11 equal to 1 can point to position "1" in the counting Bloom filter, h2(x) modulo 11 equal to 3 can point to position "3" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the description of the counting Bloom filter. The data processing system can update (e.g., insert a data record) the counting Bloom filter by incrementing each counter register pointed to by the respective hash function, resulting in an updated counting Bloom filter 218. Note that although Figure 2C Each counter register is depicted incrementing by only 1, but it should be understood that the data processing system can increment any counter register by any value, such as by a number of bytes, a number of bits, or relative to any other value, threshold, or estimate described herein. Figure 2C As shown, the counter register corresponding to position "1" has a value that is already equal to 2, so when incremented by 1, it becomes equal to 3. Likewise, each of the counter registers corresponding to positions "3" and "9" is equal to 1, and therefore equal to 2 when incremented. Therefore, the updated counting Bloom filter 218 has a value of 3 at position "1", a value of 2 at position "3", a value of 1 at position "5", a value of 1 at position "7", and a value of 2 at position "9".

[0224] Reference now Figure 3A , depicts an exemplary illustration of a flowchart 300A illustrating the insertion of a data record X into a minimum increment counting Bloom filter by at least one data processing system (e.g., at least one of the data processing systems 105, etc.). At block 302, the data processing system may indicate a data record to be inserted into the counting Bloom filter, such as data record X. The indicated data record may be selected, for example, from a database (e.g., database 115). The data processing system may select a plurality of hash functions, shown here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system may utilize any number of hash functions to insert the data record into the standard counting Bloom filter. At blocks 304A-C, the data processing system may copy and hash the selected data record (e.g., data record X) at least once using each of the identified hash functions. The hash function may be, for example, an ElGamal hash as described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By duplicating and hashing data record X three times, the data processing system has generated three hashed data records. Figure 3A, as h1(x), h2(x), and h3(x). Still referring to blocks 304A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 3A In the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting Bloom filter. Although only 11 register positions are used for the Bloom filter, it should be understood that any number of counting registers may be used to implement the Bloom filter.

[0225] exist Figure 3A In further detail, the modulus 11 of h1(x) is equal to 1, the modulus 11 of h2(x) is equal to 3, and the modulus 11 of h3(x) is equal to 9. Each of these values ​​can be used by the data processing system as a pointer to a counter register associated with a respective position (e.g., ID value, etc.) in the counting Bloom filter. For example, the modulus 11 of h1(x) equal to 1 can point to position "1" in the counting Bloom filter, the modulus 11 of h2(x) equal to 3 can point to position "3" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the description of the counting Bloom filter. In order to insert a data record into the minimum increment counting Bloom filter, the data processing system may increment the counter register corresponding to the minimum value of the counter register pointed to by the calculated index value. For example, the data processing system may access each counter register pointed to by the calculated index value. As Figure 3A As shown, these are the counter registers corresponding to positions "1", "3", and "9". Since the minimum delta count Bloom filter has not yet been updated, each of these positions is equal to 0.

[0226] The data processing system may compare each of these accessed data registers to determine a minimum value in the counter registers. For example, the minimum value may be the smallest counter register value among the accessed counter registers. Note that more than one counter register may be equal to the minimum value. The data processing system may select a subset of the accessed counter registers having values ​​equal to the determined minimum value of the counter registers. Figure 3A As shown, each accessed counter register is equal to 0, and therefore each accessed counter register is equal to the minimum value (here, zero). Therefore, each accessed counter register is selected. The data processing system can update the minimum increment count Bloom filter by incrementing each selected subset of counter registers (e.g., inserting a data record), resulting in an updated count Bloom filter 306. Note that although Figure 3AEach counter register is depicted incrementing only by 1, but it should be understood that the data processing system may increment any of a selected subset of counter registers by any amount of any value, such as by a number of bytes, bits, or relative to any other value, threshold, or estimate described herein.

[0227] Reference now Figure 3B , depicts an exemplary illustration of a flowchart 300B illustrating the insertion of a data record Y into a minimum increment counting Bloom filter by at least one data processing system (e.g., at least one of the data processing systems 105, etc.). At block 308, the data processing system may indicate a data record to be inserted into the counting Bloom filter, such as data record Y. The indicated data record may be selected, for example, from a database (e.g., database 115). The data processing system may select a plurality of hash functions, shown here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system may utilize any number of hash functions to insert the data record into the standard counting Bloom filter. At blocks 310A-C, the data processing system may copy and hash the selected data record (e.g., data record Y) at least once using each of the identified hash functions. The hash function may be, for example, an ElGamal hash as described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By duplicating and hashing data record Y three times, the data processing system has generated three hashed data records. Figure 3B , as h1(y), h2(y), and h3(y). Still referring to blocks 310A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 3B In the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting Bloom filter. Although only 11 register positions are used for the Bloom filter, it should be understood that any number of counting registers may be used to implement the Bloom filter.

[0228] exist Figure 3BIn further detail, the modulus 11 of h1(y) is equal to 1, the modulus 11 of h2(y) is equal to 5, and the modulus 11 of h3(y) is equal to 7. Each of these values ​​can be used by the data processing system as a pointer to a counter register associated with a respective position (e.g., ID value, etc.) in the minimum incremental counting Bloom filter. For example, the modulus 11 of h1(y) equal to 1 can point to position "1" in the counting Bloom filter, the modulus 11 of h2(y) equal to 5 can point to position "5" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the description of the counting Bloom filter. In order to insert a data record into the minimum incremental counting Bloom filter, the data processing system may increment the counter register corresponding to the minimum value of the counter register pointed to by the calculated index value. For example, the data processing system may access each of the counter registers pointed to by the calculated index value to determine their values ​​before the update operation. As Figure 3B As shown, these are the counter registers corresponding to positions "1", "5", and "7". Before the update, the value corresponding to position "1" is equal to 1, the value corresponding to position "5" is equal to 0, and the value corresponding to position "7" is also equal to 0.

[0229] The data processing system can compare each of these accessed data registers to determine a minimum value in the counter register. For example, the minimum value can be the smallest counter register value among the accessed counter registers. Note that more than one counter register can be equal to the minimum value. In this case, the minimum values ​​are indicated in positions "5" and "7", which are both equal to zero prior to the updating step. The data processing system can select a subset of the accessed counter registers having values ​​equal to the determined minimum value of the counter registers, in this case, the counter registers corresponding to positions "5" and "7". The data processing system can update the minimum increment count Bloom filter by incrementing each selected subset of the counter registers (e.g., inserting data records), resulting in an updated count Bloom filter 312. Although h1(y) points to position '1', it does not increment because it is not equal to the minimum value pointed to by the counter register. Note that although Figure 3B Each counter register is depicted incrementing only by 1, but it should be understood that the data processing system may increment any of a selected subset of counter registers by any amount of any value, such as by a number of bytes, bits, or relative to any other value, threshold, or estimate described herein.

[0230] Reference now Figure 3C, depicts an exemplary illustration of a flowchart 300C that illustrates inserting a data record X into a minimum increment count Bloom filter by at least one data processing system (e.g., at least one of the data processing systems 105, etc.). At block 314, the data processing system may indicate a data record to be inserted into the minimum increment count Bloom filter, such as data record X. Note that although the above description is combined with Figure 3A As described, data record X has been inserted into the minimum delta Bloom filter, which does not necessarily preclude the data processing system from inserting data record X multiple times. The indicated data record can be selected, for example, from a database (e.g., database 115). The data processing system can select multiple hash functions, represented here as h1, h2, and h3. Although only three hash functions are shown, it should be understood that the data processing system can utilize any number of hash functions to insert data records into a standard counting Bloom filter. In boxes 316A-C, the data processing system can use each of the identified hash functions to copy and hash the selected data record (e.g., data record X) at least once. The hash function can be, for example, the ElGamal hash described herein, or any other type of hash, such as SHA-1, SHA-2, MD5, etc. By copying and hashing data record X three times, the data processing system has generated three hashed data records. Figure 3C , as h1(y), h2(y), and h3(y). Still referring to blocks 316A-C, the data processing system may extract an index value from each hash data record. The extracted index value may correspond to at least one corresponding position in the counting Bloom filter. Figure 3C In the example provided, each hash is calculated modulo 11, which is the number of register positions in the counting Bloom filter. Although only 11 register positions are used for the Bloom filter, it should be understood that any number of counting registers may be used to implement the Bloom filter.

[0231] exist Figure 3BIn further detail, the modulus 11 of h1(x) is equal to 1, the modulus 11 of h2(x) is equal to 3, and the modulus 11 of h3(x) is equal to 9. Each of these values ​​can be used by the data processing system as a pointer to a counter register associated with a respective position (e.g., ID value, etc.) in the minimum incremental counting Bloom filter. For example, the modulus 11 of h1(x) equal to 1 can point to position "1" in the counting Bloom filter, the modulus 11 of h2(x) equal to 3 can point to position "3" in the counting Bloom filter, and so on. These are purely example values ​​for the purpose of illustrating operations related to the counting Bloom filter and should not be construed as limiting the scope of any implementation of the description of the counting Bloom filter. In order to insert a data record into the minimum incremental counting Bloom filter, the data processing system may increment the counter register corresponding to the minimum value of the counter register pointed to by the calculated index value. For example, the data processing system may access each of the counter registers pointed to by the calculated index value to determine their values ​​before the update operation. As Figure 3C As shown, these are the counter registers corresponding to positions "1", "3" and "9". Before the update, the values ​​corresponding to positions "1", "3" and "9" are equal to 1, respectively.

[0232] The data processing system can compare each of these accessed data registers to determine a minimum value in the counter register. For example, the minimum value can be the smallest counter register value among the accessed counter registers. Note that more than one counter register can be equal to the minimum value. In this case, the minimum value is shared by positions "1", "3", and "9", all of which are equal to 1 before the updating step. The data processing system can select a subset of the accessed counter registers that have values ​​equal to the determined minimum value of the counter registers, in this case, the counter registers corresponding to positions "1", "3", and "9". The data processing system can update the minimum delta count Bloom filter by incrementing each selected subset of the counter registers (e.g., inserting data records), resulting in an updated count Bloom filter 318. In the updated minimum delta Bloom filter 318, each of positions "1", "3", and "9" are incremented to have a value of 2, while the other positions remain unchanged. Although Figure 3C Depicted as incrementing each counter register by one, it should be understood that the data processing system may increment any of a selected subset of counter registers by any amount of any value, such as by a number of bytes, bits, or relative to any other value, threshold, or estimate described herein.

[0233] Now back to Figure 1, the functions and modules of the data processing system will continue to be described with reference to the operation of the worker computing device. Although shown as part of the same data processing system 105, it can be executed by a worker computing device that includes and implements the same modules and functions. Figures 4A-4C The operations shown are each of the components described in detail below (e.g., encryption key generator 145, vector encryptor 150, encryption vector communicator 155, vector combiner 160, histogram constructor 165, and cardinality estimator 170) and Figures 4A-4C . Thus, it should be understood that although data processing system 105 may include such modules, other embodiments may provide for the execution, maintenance, and implementation of these operations and components on one or more worker computing devices. In addition, it should be understood that only a subset of the components described below may reside on a worker computing device, for example, a worker computing device that only includes encryption key generator 145, encryption vector communicator 155, vector combiner 160, histogram constructor 165, and cardinality estimator 170. Thus, these worker computing devices may communicate with data processing system 105, for example, via network 110, and may only exchange encryption vectors or encryption keys to maintain the overall differential privacy of the system.

[0234] The encryption key generator 145 may generate one or more private keys and public keys to encrypt at least one vector. The encryption key generator 145 may further identify other worker computing devices, or receive data from other worker computing devices, which have also generated their own public and private key pairs. The encryption key generator 145 may communicate with other worker computing devices to receive at least one other public key. The encryption key generator 145 may aggregate, concatenate, or otherwise combine each received public key and the public key generated by the encryption key generator 145 to create an aggregated (e.g., combined) encryption key. The generated encryption key may be any kind of homomorphic encryption key or scheme, such as an ElGamal encryption key, etc. The encryption key generator 145 may communicate the generated and aggregated encryption key to the vector encryptor 150 to encrypt the minimum increment count Bloom filter maintained by each data processing system 105. The encryption key generator 145 may further distribute each aggregated encryption key to each data processing system 105A-N (e.g., each identifier server, etc.).

[0235] The vector encryptor 150 may encrypt each of the one or more counter registers of the minimum increment count Bloom filter using the aggregate encryption key received by the encryption key generator 145 to generate an encrypted vector. In order to ensure the differential privacy of the minimum increment count Bloom filter, the vector encryptor 150 may employ one or more encryption techniques to encrypt the vector generated and maintained by the corresponding data processing system 105 (e.g., the corresponding identifier server). For example, the data processing system may use an aggregate public key received from the encryption key generator 1 using an encryption scheme (e.g., ElGamal encryption, an encryption scheme supporting threshold decryption, homomorphic encryption, etc.). In some embodiments, the vector encryptor 150 may encrypt each counter register corresponding to the coordinates of the vector separately using the aggregate encryption key. In such an embodiment, each encrypted counter register may be aggregated to create an encrypted vector representing the minimum increment count Bloom filter.

[0236] The encryption vector communicator 155 may communicate the encryption vector to at least one worker computing device. In some embodiments, the encryption vector communicator 155 may receive one or more requests for encryption vectors, which in turn may trigger the generation or communication of encryption vectors as described herein. The request may be received, for example, by at least one worker computing device. Transmitting the encryption vector may include providing the encryption vector to the worker computing device via the network 110. The encryption vector communicator 155 may select the worker computing device as the first of the one or more worker computing devices to process the encryption vector. In some embodiments, the encryption vector communicator 155 may transmit the encryption vectors bucket by bucket, i.e., each bucket is transmitted to the worker computing device separately. In some embodiments, the encryption vector communicator 155 may transmit the encryption vectors in batch transactions, wherein most or all of the encryption vectors are transmitted in a single message.

[0237] Vector combiner 160 may receive one or more encrypted vectors from one or more identifier servers (e.g., data processing systems 105A-N). Each received encrypted vector may include at least one encrypted counter register corresponding to the coordinates of the encrypted vector. In some embodiments, vector combiner 160 may receive vectors periodically or in burst transactions. Each vector may be associated with a corresponding identifier reflecting the identifier server from which the vector was received. Each encrypted vector received from an identifier server may be encrypted using a combined public key generated by encryption key generator 145 and distributed to the corresponding identifier server (e.g., data processing systems 105A-N). The combined public key may allow a worker computing device to partially decrypt an encrypted vector received from an identifier server. In the following, in conjunction with Figures 4A-4C These operations are illustrated in further detail.

[0238] Reference now Figure 4A , depicts a system flow diagram 400A for generating and distributing encryption keys by worker computing devices. System flow diagram 400A may include one or more worker computing devices 405A-C (sometimes generally referred to as multiple workers 405 or workers 405). Although only three worker computing devices, it should be understood that any number of worker computing devices may be used to implement the functionality described herein. Workers 405 may be at least one of data processing systems 105, or may include a subset of components of data processing system 105, such as encryption key generator 145, encryption vector communicator 155, vector combiner 160, histogram constructor 165, and cardinality estimator 170.

[0239] like Figure 4A As shown, worker 405 can generate a combined key. Generating the combined key may include generating at least one public key and at least one private key. In some embodiments, worker 405 can generate a key that can be implemented as at least a portion of the ElGamal encryption technique. For example, worker 405 can generate or select a random (e.g., pseudo-random, etc.) integer X modulo q (e.g., the order of the elliptic curve group). Worker 405 can use integer X as a private key for decryption, and can use g X Used as a public key, where g is a generator. The generator can be, for example, a member of a cyclic group. For example, the public key can be shared with one or more other workers 405. Each of the other workers 405 can generate its own public and private key pair and transmit it to each of the other workers 405. In order to generate a combined key, each worker 405 can combine each public key received from the other workers 405 with its own public key.

[0240] Reference now Figure 4B , depicts a system flow chart 400B for distributing encryption vectors by an identifier server. The system flow chart 400B may include at least one identifier server 415A-N and at least one worker 405A-N. Figure 4A , further describing worker 405. Each of identifier servers 415A-N can be, for example, Figure 1 The one or more data processing systems 105. In system flow diagram 400B, worker 405A has been selected (e.g., arbitrarily, via request, via internal configuration setting, etc.) as the first worker 405. Each identifier server may provide an associated encryption vector that may include an encryption register bucket as described above.

[0241] After the combined key for encryption is transmitted by the identifier server, the worker 405 (e.g., the first worker 405A) can receive at least one encryption vector from each identifier server 415A-N. In some embodiments, the first worker 405A can receive the vectors periodically or in burst transactions. Each vector can be associated with a corresponding identifier that reflects the identifier server 415A-N from which the vector was received. Figure 1 and Figure 4A The generated combined public key encrypts each encryption vector received from the identifier servers 415A-N. The combined public key may allow each worker 405 to partially decrypt the encryption vector received from the identifier server.

[0242] Reference now Figure 4C , depicts a system flow chart 400C for sequentially decrypting an aggregate vector with noise. The system flow chart 400C may include at least one worker 405A-N. Figure 4A and 4B , further describing the worker 405. In the system flow chart 400C, the first worker 405A can be combined with Figure 4B To process the encryption vector, the first worker 405A may perform the steps of method 600 and method 700, as described below in conjunction with Figure 6 and 7 After processing the vectors received from the identifier servers 415A-N, the worker 415 may forward the processed encrypted vectors to the aggregator computing device 410 along with their attached decoding lookup tables.

[0243] Aggregator 410 computing device may include one or more modules of data processing system 105A-N or one or more modules of worker computing device, as described above. For example, aggregator 410 may include all components of data processing system 105 (e.g., vector generator 130, hash identifier 135, data record hasher 140, encryption key generator 145, vector encryptor 150, encryption vector communicator 155, vector combiner 160, histogram constructor 165, and cardinality estimator 170, etc.). In some embodiments, aggregator 410 may include some components of data processing system 105 (e.g., encryption key generator 145, encryption vector communicator 155, vector combiner 160, histogram constructor 165, and cardinality estimator 170). In some embodiments, aggregator 410 may include encryption vector communicator 155, histogram constructor 165, and cardinality estimator 170. Aggregator 410 may be at least one of data processing systems 105A-N, at least one of workers 405A-N, or a separate discrete computing device in communication with workers 405A-N and data processing systems 105A-N.

[0244] Back to Figure 1 , and the following components are described in conjunction with the operation of aggregator 410 (which may be any of at least one data processing system 105A-N or at least one worker 405, etc.), encryption vector communicator 155 may receive an encryption permutation vector from a worker computing device (e.g., worker 405, etc.). The encryption permutation vector may be an aggregate vector as processed by each worker computing device (e.g., worker 405) in conjunction with methods 500 and 600 described below. The encryption vector communicator 155 may store the encryption permutation vector in one or more data structures in a computer memory. In some embodiments, the encryption vector communicator 155 may receive a decoding lookup table associated with the permuted encryption vector. In some embodiments, the permuted encryption vector may be concatenated with or otherwise appended to the decoding lookup table.

[0245] The histogram constructor 165 can construct a bucket histogram based on the coordinate values ​​of the encrypted permutation vector. Constructing the histogram can include decoding the encrypted permutation vector using a decoding lookup table attached or cascaded to the encrypted permutation vector. The decoding lookup table can be, for example, a corresponding decoding key created by at least one of the workers 405. The histogram constructor 165 can use the decoding lookup table to reveal the value of the aggregate vector corresponding to the identifier server. Once decrypted, the aggregate vector can include a decrypted bucket value corresponding to the target frequency value. The target frequency value can be provided by an internal configuration setting, provided in a request received from any computing device in the system 100 or provided from one of the workers 405 or aggregators 410. The target frequency value can include any kind of numerical value greater than or equal to 0, and the histogram constructor 165 can be used to decode the bucket of the encrypted vector that is only greater than or equal to the target frequency value. For example, if the target frequency value is 3, the histogram constructor 165 can decode the bucket of the encrypted vector equal to 3 or more, and cannot decode the value of the bucket less than the target frequency value.

[0246] In some embodiments, the worker 405 can merge the target frequency value when generating the decoding lookup table. In such an embodiment, the worker 405 can configure the decoding lookup table to decode only the bucket with a value greater than or equal to the target frequency value. The worker 405 can obtain the target frequency value, for example, in a request or message, from any computing device of the system 100, or from an internal configuration setting. In such an embodiment, the decoding lookup table can be configured to decode the bucket with a value equal to or greater than the target frequency value. Each worker 405 can update the decoding lookup table with their share of their deterministic encryption key when partially decrypting their share of the encrypted vector. The worker 405 can configure the decoding lookup table to decode their share of the bucket of the encrypted vector greater than or equal to the threshold, but cannot decode the bucket corresponding to the value less than the threshold. In this way, when the histogram constructor 165 decodes the encrypted vector to create a histogram, the decoding lookup table can be used to decode each bucket greater than or equal to the target frequency threshold, and those buckets less than the target frequency threshold can remain encrypted. As described herein, when constructing a bucket histogram, each bucket that remains encrypted can be set to a max_frequency value. The histogram constructor 165 can receive the max_frequency value, for example, from a request or message, from any computing device of the system 100, or from an internal configuration setting. By decoding the encrypted vector, the histogram constructor 165 can generate a decoded vector that includes each decoded value of the encrypted vector.

[0247] After the encrypted vector is decoded using the decoding lookup table, the histogram constructor 165 can generate or create a bucket histogram using the bucket or counter register of the decoded vector. The bucket histogram can correspond to the frequency of each bucket value of the decoded vector. For example, each interval in the bucket histogram can have a range such as [0,1); [1,2); [2,3); [3,4) and the like. In order to generate a bucket histogram, the histogram constructor 165 can access each coordinate of the decoded vector to determine its value. After determining its value, the histogram constructor 165 can increment or add to the corresponding interval in the bucket histogram. For example, if the histogram constructor 165 accesses the decoded vector coordinate value equal to 51, the histogram constructor 165 can increment the bucket histogram interval corresponding to the range [51,52). Although it has been proposed in these examples that the histogram interval range is equal to a single integer range, it should be understood that the bucket histogram interval can correspond to an interval reflecting any type of numerical range. Thus, in some implementations, bucket histogram intervals may correspond to a range that is wider or narrower than a single range of integer values.

[0248] The histogram constructor 165 can traverse each value of the decoded vector as described above, and update the histogram. The histogram constructor 165 can store the histogram in one or more data structures in a computer memory. After traversing each coordinate storage bucket of the decoded vector, the histogram constructor 165 can remove noise from the histogram. Recall that other storage buckets are added by one or more workers 405 before partial decryption and shuffling the vector. Before the noise bucket value is attached to the encrypted vector, each worker 405 agrees to the baseline noise value B. In this way, the bias is the result presented in the histogram, and noise can be removed to achieve accurate measurement. In order to remove noise, the histogram constructor 165 can traverse each storage bucket histogram interval, and subtract B*w, where w is the number of workers 405 adding noise to the storage bucket. The histogram constructor 165 can receive the number of workers 405 adding noise to the encrypted vector and the baseline noise value from one or more workers 405. In some embodiments, the histogram constructor 165 is executed on the workers 405 who have agreed to the baseline noise value B. Like this, may need to request or receive baseline noise value, because it may reside in computer memory.By subtracting noise from each interval of histogram, histogram constructor 165 can generate the histogram of filtering.Although removed baseline, it should be appreciated that, still may have two-tailed geometric noise in the histogram of filtering.This can further improve the security of system, because any noise all can further blur the value in histogram, and can not significantly affect the result of the estimation of base number or frequency.

[0249] The cardinality estimator 170 may estimate the cardinality (e.g., the number of unique members of the multiset, etc.) of the set of device identifiers and device attributes based on the filtered histogram generated by the histogram generator 165. To estimate the total cardinality of the multiset, the cardinality estimator 170 may use the formula included below:

[0250]

[0251] In the above formula, n is the cardinality of the multiset, k is the number of hash functions used to fill each minimum increment count bloom filter, m is the number of counter register buckets in the decoded vector, and x is the number of filled buckets in the decoded vector. The cardinality estimator 170 can determine the number of filled buckets by counting each interval greater than or equal to 1 in the filtered histogram. The cardinality estimator 170 can receive each of the other values ​​(e.g., the number of hash functions, the number of counter register buckets in each decoded vector, etc.) from any one of the one or more computing devices or workers 405 or aggregators 410 of the system 100. In order to estimate the K+ frequency of the multiset, the cardinality estimator 170 can utilize the formula provided above using one or more alternatives. In order to estimate the K+ frequency, the cardinality estimator 170 can further filter the histogram so that the cardinality estimator 170 treats the interval of the filtered histogram corresponding to the range less than the target frequency value K as empty. For example, if the target frequency is 3, the cardinality estimator 170 may treat all ranges less than 3 (e.g., [0, 1), [1, 2), [2, 3), etc.) as empty and not include those buckets in the cardinality estimation. Thus, the x value in the above formula is treated as the number of buckets of decoded vectors that are greater than or equal to the frequency threshold. The cardinality estimator 170 may receive the frequency threshold, for example, from an internal configuration setting, or from one or more computing devices of the system 100, or from a worker 405 or an aggregator 410. After calculating the cardinality or frequency of the multiset, the cardinality estimator 170 may provide (e.g., transmit or otherwise communicate, etc.) the cardinality or frequency to the requesting computing device in one or more messages. Cardinality estimator 170 may receive a request for cardinality from any computing device in system 100 (e.g., data processing systems 105A-N, client device 120, or another external computing device not illustrated in system 100 but that may be communicatively coupled to network 110 and configured to communicate the request to cardinality estimator 170 and receive cardinality data from cardinality estimator 170).

[0252] Reference now Figure 5, depicts a flow chart of a method 500 for generating an encryption vector based on a device identifier value and attribute data. Method 500 may be performed, for example, by at least one data processing system (e.g., at least one data processing system 105, etc.) or any other computing device described herein. The data processing system may maintain a data record (act 502). The data processing system may generate a vector (act 504). The data processing system may select the kth data record (act 506). The data processing system may hash the selected data record (act 508). The data processing system may extract a register identifier (act 510). The data processing system may select the jth register identifier (act 512). The data processing system may increment the selected register identifier (act 514). The data processing system may determine whether a counter register j is equal to a number m of register identifiers (act 516). The data processing system may increment a counter register j (act 518). The data processing system may determine whether a counter register k is equal to a number n of data records (act 520). The data processing system may increment a counter register k (act 522). The data processing system may obtain the aggregate encryption key (act 524). The data processing system may encrypt the vector counter register (act 526). The data processing system may transmit the encrypted vector (act 528).

[0253] The data processing system may maintain a data record (act 502). The data record (e.g., data record 122A-N) may include, for example, one or more device identifiers (e.g., client identifiers 125A-N) and one or more attributes (e.g., attributes 127A-N). The data record may be one or more data structures stored in a database (e.g., database 115) that is communicatively coupled to the data processing system. Maintaining the data record may include storing the one or more data records in a computer memory. In some implementations, the data processing system may maintain the data record in response to receiving one or more messages (e.g., requests, instructions, data packets, etc.) from at least one client device (e.g., at least one client device 120). The data processing system may extract at least one identifier and any attributes present in the message from the message and generate the data record to include the identifier and the attributes. The data processing system may then maintain (e.g., store, upload, or otherwise record) the data record in a computer memory, such as a database, one or more data structures, or a non-volatile computer-readable medium.

[0254] The data processing system may generate a vector (act 504). To generate the vector, the data processing system may allocate one or more areas of memory to accommodate at least one counter register. The allocated counter register may correspond to at least one coordinate of the vector. By generating and allocating memory for one or more counter registers, the data processing may generate a vector containing counter registers. The data processing system may initialize each counter register of the vector to an initialization value, such as 0 or 1. The data processing system may generate a vector that may correspond to a minimum increment count Bloom filter to have an arbitrary number of counter registers (sometimes referred to as "buckets"). For example, the data processing system may receive an instruction to generate a minimum increment count Bloom filter with n buckets, or may access an internal configuration setting provided by an external computing device that specifies the size of the minimum increment count Bloom filter by the number of buckets or counter registers.

[0255] The data processing system may select the kth data record (action 506). In order to process each data record maintained in (action 502) and add it to the generated minimum increment count Bloom filter, the data processing system may traverse each data record maintained by the data processing system. The data processing system may iterate through each data record based on the counter register k. For example, each data record may be indexed in the data structure by an index value (e.g., index 0, index 1, index 2, etc.). In order to process the data record, the data processing system may select a data record including an index value equal to or approximately equal to the counter register k or associated with the index value. If it is the first iteration of the loop, the counter register k may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the kth data record. Selecting the data record may include copying the data associated with the data record to a different area of ​​a computer memory in the data processing system, such as a working area of ​​the memory. Selecting the data record may include retrieving the data record from the database if the data record is located in a database; and copying the data associated with the sample to a different area of ​​a computer memory in the data processing system (e.g., a working area of ​​the memory).

[0256] The data processing system may hash the selected data records (action 508). The data processing system may identify and execute one or more hash functions to populate the minimum incremental counting Bloom filter. For example, each hash identified in the hash list may provide a normal distribution or expectation of randomness based on the input value. That is, for example, similar inputs to the hash function do not necessarily have similar outputs of the hash function. The hash function may be selected as the best hash function for the counting Bloom filter. For example, the data processing system may select an independent and uniformly distributed hash function. Such hash functions may include, for example, a noise hash, a Fowler-Noll-Vo series hash, or a Jenkins hash, etc. The data processing may select or identify multiple hash functions, and apply each hash function to the selected data records to generate a hashed set of data records.

[0257] The data processing system may extract a register identifier (act 510). Each hash data record of the set of hash data records may correspond to a counter register of the vector generated in act 504. To identify the corresponding counter register, the data processing system may extract the register identifier from each hash data record. The data processing system may extract the register identifier, for example, by performing a modulo operation on each hash data identifier using the number of counter registers in the minimum increment count Bloom filter. For example, if one of the hash data records is equal to 500 and there are 15 positions in the minimum increment count Bloom filter, the data processing system may calculate 500%15=5 to determine that the hash data record corresponds to the fifth counter register in the minimum increment count Bloom filter. In some embodiments, if the number of counter registers in the minimum increment count Bloom filter is a power of 2, the data processing system may select a number of bits equal to log2(b), where b is equal to the number of counter registers in the minimum increment count Bloom filter.

[0258] In a minimum increment bloom filter implementation, the data processing system may further access the counter register bucket associated with each register identifier extracted in (action 510) to retrieve a set of bucket values. In order to determine which bucket value is incremented, the data processing system may determine a subset of counter register buckets that are equal to a minimum value in the counter register buckets. The minimum value may be determined by comparing each counter register bucket and determining the minimum (e.g., the value closest to zero) bucket value. For example, if there are five buckets with values ​​of 3, 91, 30, 88, and 10, respectively, the minimum bucket value is 3. Note that although only one bucket is shown as being equal to the minimum value, there may be any number of buckets that are equal to the minimum value. To illustrate this concept, consider a second example in which five buckets are equal to 5, 10, 30, 5, and 28, respectively. In this example, there are two buckets that are equal to 5. The minimum value of all buckets is also 5. The data processing system may then select the bucket that is equal to the minimum value to include in the subset of counter register buckets. This means that in the first example where the buckets are equal to 3, 91, 30, 88, and 10, respectively, the data processing system can select the bucket equal to the minimum value of 3 as the counter register in the subset. In the second example where the five buckets are equal to 5, 10, 30, 5, and 28, respectively, the data processing system can select two buckets equal to 5 (the minimum value of the counter register buckets). Selecting the counter registers can include storing the register identifiers identifying the corresponding buckets in a data structure in a memory of the data processing system. The data processing system can then continue to traverse (act 512) and beyond the list of subsets of register identifiers.

[0259] The data processing system may select the jth register identifier (act 512). To process and update each register identifier extracted in (act 510), the data processing system may traverse each register identifier. The data processing system may iterate through each register identifier based on the counter register j. For example, each register identifier may be indexed in a data structure by an index value (e.g., index 0, index 1, index 2, etc.). To process the register identifier and its associated counter register bucket, the data processing system may select a register identifier that includes an index value that is equal to or approximately equal to the counter register j or is associated therewith. If it is the first iteration of the loop, the counter register j may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the jth register identifier. Selecting a register identifier may include copying data associated with the register identifier to a different area of ​​a computer memory in the data processing system (e.g., a working area of ​​the memory).

[0260] The data processing system may increment the selected register identifier (action 514). Incrementing the register identifier may include adding 1 to the counter register corresponding to the register identifier. In some embodiments, the quantity added to the counter register may be a value other than 1. For example, the data processing system may add other values ​​to each counter register, which may correspond to any value determined, generated, or calculated herein. In some embodiments, the data processing system may subtract from the counter register for various reasons discussed herein. In some embodiments, as an alternative to subtraction, the data processing system may add a quantity (e.g., 1 or some other value, etc.) to each other counter register bucket that is not currently selected by the data processing system.

[0261] The data processing system may determine whether the counter register j is equal to the number m of register identifiers (act 516). To determine whether the data processing system has incremented or updated each counter register bucket corresponding to the extracted register identifier, the data processing system may compare the counter register (e.g., j) used to select each register identifier with the total number m of the extracted register identifiers. If the counter register j is not equal to (e.g., less than) the total number m of the extracted register identifiers, the data processing system may perform (act 518). If the counter register j is equal to (e.g., equal to or greater than) the total number m of the extracted register identifiers, the data processing system may perform (act 520).

[0262] The data processing system may increment a counter register j (act 518). In some implementations, the data processing system may add 1 to register j to indicate the next unprocessed register identifier in the set of extracted register identifiers (e.g., or a subset of the extracted register identifiers, etc.). In some implementations, the data processing system may set counter register j to the memory address value (e.g., a location in a computer memory) of the next unprocessed extracted register identifier. In some implementations, the memory address value of the next unprocessed extracted register identifier may be included in a data structure at the location of the current (e.g., selected) register identifier. After incrementing the value of counter register j, the data processing system may execute (act 512).

[0263] The data processing system may determine whether the counter register k is equal to the number of data records n (act 520). To determine whether the data processing system has updated the minimum increment (e.g., or standard) counting Bloom filter with each data record, the data processing system may compare the counter register (e.g., k) used to select each data record with the total number of data records n. If the counter register k is not equal to (e.g., less than) the total number of data records n, the data processing system may execute (act 522). If the counter register k is equal to (e.g., equal to or greater than) the total number of data records n, the data processing system may execute (act 524).

[0264] The data processing system may increment a counter register k (act 522). In some implementations, the data processing system may add 1 to register k to indicate the next unprocessed data record in the set of maintained data records (e.g., the data records maintained by the data processing system in act 502, etc.). In some implementations, the data processing system may set the counter register k to a memory address value (e.g., a location in a computer memory) of the next unprocessed data record. In some implementations, the memory address value of the next unprocessed data record may be included in a data structure at the location of the current (e.g., selected) data record. After incrementing the value of the counter register k, the data processing system may execute (act 524).

[0265] The data processing system may obtain an aggregate encryption key (action 524). For example, the data processing system may receive an aggregate public key generated by one or more worker computing devices. In some embodiments, the data processing system may receive one or more public keys from other computing devices (e.g., other data processing systems, worker computing devices, etc.) and aggregate the public keys into an aggregated public encryption key. In some embodiments, an aggregate key may be used to partially or completely encrypt one or more vectors (e.g., a counting Bloom filter vector including an updated counter register bucket, etc.). In some embodiments, the aggregate key may simply be a single public key that is distributed to the data processing system to encrypt the counting Bloom filter maintained by the data processing system. In some embodiments, the aggregate encryption key may include one or more ElGamal encryption keys, or any other type of homomorphic encryption scheme. In some embodiments, the aggregate encryption key may be any type of public encryption key that supports a threshold decryption scheme.

[0266] The data processing system may encrypt the vector counter registers (act 526). To ensure differential privacy of the minimum delta count Bloom filter, the data processing system may employ one or more encryption techniques to encrypt the vectors generated and maintained by the data processing system. For example, the data processing system may use an aggregate public key obtained in (act 526) using an encryption scheme (e.g., ElGamal encryption, an encryption scheme that supports threshold decryption, homomorphic encryption, etc.). In some embodiments, the data processing system may use the aggregate encryption key to encrypt each counter register corresponding to the coordinates of the vector separately. In such an embodiment, each encrypted counter register may be aggregated to create an encrypted vector representing the minimum delta count Bloom filter.

[0267] The data processing system may send the encryption vector (act 528). Transmitting the encryption vector may include providing the encryption vector to the worker computing device. The data processing system may select the worker computing device as a first of one or more worker computing devices to process the encryption vector. In some embodiments, the data processing system may transmit the encryption vector on a bucket-by-bucket basis, i.e., each bucket is transmitted to the worker computing device individually. In some embodiments, the data processing system transmits the encryption vector in a batch transaction in which most or all of the encryption vector is transmitted in a single message.

[0268] Reference now Figure 6 , depicting a flow diagram of a method 600 for generating and aggregating encryption keys for processing encryption vectors by a worker computing device. The method 600 may be performed, for example, by at least one data processing system (e.g., at least one data processing system 105, etc.) or any other computing device described herein. The data processing system may generate a combined key (act 602). The data processing system may transmit the combined key to an identifier server (act 604). The data processing system may receive an encryption vector (act 606). The data processing system may select the kth encryption vector (act 608). The data processing system may utilize homomorphic encryption to calculate a sum (act 610). The data processing system may determine whether a counter register k is equal to the number n of encryption vectors (act 612). The data processing system may attach a decoding lookup table to the encryption vector (act 614). The data processing system may attach a decoding lookup table (act 616). The data processing system may partially decrypt the encryption vector (act 618). The data processing system may apply deterministic encryption (act 620). The data processing system may shuffle the encryption vector (act 622). The data processing system may forward the processed encryption vector to the second worker (act 624).

[0269] The data processing system may generate a combined key (act 602). Generating the combined key may include generating at least one public key and at least one private key. In some embodiments, the data processing system may generate a key that may be implemented as at least a portion of an ElGamal encryption technique. For example, the data processing system may generate or select a random (e.g., pseudo-random, etc.) integer X modulo q (e.g., the order of an elliptic curve group). The data processing system may use integer X as a private key for decryption, and may use g X , where g is the generator. The generator may be, for example, a member of a cyclic group. The public key may be shared, for example, with one or more other worker computing devices. Each other worker computing device may generate its own public and private key pair and transmit it to the data processing system. To generate a combined key, the data processing system may combine each public key received from the other worker computing devices with its own public key.

[0270] The data processing system may transmit the combined key to an identifier server (act 604). The identifier server may be, for example, responsible for performing the above combination. Figure 5 The data processing system of the method 500 described above. The identifier server may be the above-mentioned Figure 1 In some embodiments, the data processing system may transmit each of the public keys of the combined key generated in act 602 one at a time, wherein each public key occupies a single message. In some embodiments, the data processing system may transmit the combined key to the identifier server in a single message (e.g., a single packet, a single transaction, a series of packets, etc.).

[0271] The data processing system may receive the encryption vectors (act 606). After the combined public key used for encryption is transmitted by the identifier server, the data processing system may receive at least one encryption vector from each identifier server. In some embodiments, the data processing system may receive the vectors periodically or in burst transactions. Each vector may be associated with a corresponding identifier reflecting the identifier server from which the vector was received. Each encryption vector received from the identifier server may be encrypted using the combined public key generated in act 602. The combined public key may allow each worker to partially decrypt the encryption vector received from the identifier server.

[0272] The data processing system may select the kth encryption vector (act 608). In order to process and aggregate each encryption vector received in act 606 using homomorphic addition, the data processing system may traverse each encryption vector received by the data processing system. The data processing system may iteratively loop through each encryption vector based on the counter register k. For example, each encryption vector may be indexed in a data structure by an index value (e.g., index 0, index 1, index 2, etc.). In order to process the encryption vector, the data processing system may select an encryption vector that includes an index value that is equal to or approximately equal to the counter register k or is associated with the index value. If it is the first iteration of the loop, the counter register k may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the kth encryption vector. Selecting an encryption vector may include copying data associated with the encryption vector to a different area of ​​a computer memory in the data processing system, such as a working area of ​​the memory.

[0273] The data processing system may calculate the sum of the encrypted vectors using homomorphic addition (action 610). The data processing system may accumulate, add, or otherwise aggregate each encrypted vector into an aggregated encrypted vector. The aggregated encrypted vector may include, for example, an aggregated total of each encrypted counter register bucket updated by the identifier server. Recall that the identifier servers each maintain and update a minimum increment count Bloom filter to represent the number of devices and attributes associated with the corresponding identifier server. By encrypting the servers using homomorphic encryption, each identifier server can hide any information or data about the number of devices or attribute types associated with the server. In this step, the data processing system (e.g., a worker computing device, etc.) may aggregate each encrypted vector to create an aggregated vector representing the total number and attributes of devices on all identifier servers. By using homomorphic addition, the data processing system does not need to decrypt the encrypted vectors before aggregation, thereby protecting the differential privacy of the system. To perform homomorphic addition, the data processing system may homomorphically add the selected encrypted vector to the accumulator vector. If it is the first iteration of the loop (e.g., k is equal to an initialization value, etc.), the data processing system may store the selected vector as the accumulator encrypted vector. If it is not the first iteration of the loop, the data processing system may perform a homomorphic addition between the selected vector and the accumulator vector and store the result of the homomorphic addition as the accumulator vector.

[0274] The data processing system may determine whether the counter register k is equal to the number of encryption vectors n (act 612). To determine whether the data processing system has homomorphically added each encryption vector, the data processing system may compare the counter register (e.g., k) used to select each data record with the total number of encryption vectors n. If the counter register k is not equal to (e.g., less than) the total number of encryption vectors n, the data processing system may perform (act 614). If the counter register k is equal to (e.g., equal to or greater than) the total number of encryption vectors n, the data processing system may perform (act 616). After adding all encryption vectors, the data processing system may copy the accumulator vector to a different area of ​​computer memory, thereby generating a cumulative or aggregated encryption vector.

[0275] The data processing system may append the decoding lookup table to the encryption vector (act 614). In some embodiments, the data processing system may add 1 to register k to indicate the next unprocessed encryption vector in the set of encryption vectors (e.g., the encryption vector received by the data processing system in act 606, etc.). In some implementations, the data processing system may set the counter register k to the memory address value (e.g., the location in computer memory) of the next unprocessed encryption vector. In some implementations, the memory address value of the next unprocessed encryption vector may be included in a data structure at the location of the current (e.g., selected) encryption vector. After incrementing the value of the counter register k, the data processing system may execute (act 608).

[0276] The data processing system may partially decrypt the encrypted vector buckets (action 616). In order to deterministically encrypt each bucket of the aggregated or accumulated encrypted vector, the data processing system may partially decrypt the value corresponding to the data processing system. For example, certain buckets of the aggregated encrypted vector may be decrypted using one or more keys maintained by the data processing system. For example, the one or more keys may include a security key generated by the data processing system in action 602. For example, in action 602, the data processing system generates a public key and a private key, and continues to exchange public keys with other worker computing devices that communicate with the data processing system. To create a combined key, the data processing system may cascade, aggregate, or otherwise combine private keys. Due to the nature of ElGamal or homomorphic encryption keys, the data processing system may partially decrypt any value encrypted using an aggregated public key. By allowing only partial decryption using a distributed homomorphic encryption scheme, method 600 may preserve the differential privacy of the vectors generated by the identifier server.

[0277] The data processing system may apply deterministic encryption (action 618). Deterministic encryption may be applied to, for example, partially decrypted values ​​generated by the data processing system in action 616. Deterministic encryption may be implemented by applying a security key known only to the data processing system. For example, the data processing system may apply a security index to all partially decrypted buckets generated in action 616. This operation may be performed via homomorphism (e.g., equivalent to changing the generator g to a random group element, etc.). The security key may be a threshold security key that can only encrypt or decrypt values ​​that meet certain thresholds. In this way, the data processing system can retain the overall privacy and security of the system. The security key may also be associated with a lookup table that can be used to decode the results of deterministic encryption or aggregated deterministic encryption on all worker computing devices.

[0278] The data processing system may attach a decoding lookup table (act 620). The decoding lookup table may be attached to the deterministic encryption vector that was partially decrypted in act 616. The decoding lookup table may be used, for example, to decode the final output of a distributed deterministic encryption scheme on all worker computing devices. By using a deterministic encryption scheme and partial decryption of values, the data processing system may preserve the differential privacy of the system and protect any private or protected data indicated by the identifier server in its minimum delta Bloom filter. Attaching a decoding lookup table may include, for example, cascading a lookup table to the deterministic encryption and partially decrypted vector. Because the lookup table can only decrypt the worker's contribution to the decryption, no subset of the worker computing devices may be able to fully decrypt the data set. The security of the system may be further improved by considering the use of threshold encryption, where only values ​​that meet a threshold are decrypted and provided to the worker computing devices. Prior to shuffling the encryption vector buckets, the data processing system may use the following Figure 7 In the process outlined in method 700 described in , a noise value is appended to the vector.

[0279] The data processing system may shuffle the encryption vector buckets (act 622). Shuffling the encryption vector buckets may include randomly permuting the vector buckets. For example, the data processing system may access each bucket of the encryption vector and change their order in a random (e.g., pseudo-random, etc.) manner. The data processing system may shuffle or permute the buckets in secret so that other computing devices cannot know or determine the permutation order of the permuted buckets. Permuting or shuffling the encryption vector may include not shuffling the order of the lookup table attached to the encryption vector. This may ensure that the final determination of the value of the encryption vector can be calculated using the lookup table.

[0280] The data processing system may forward the processed encryption vector to a second worker (action 624). In order to fully process and deterministically encrypt the entire vector, the encryption vector may be processed by each worker computing device that contributes to the combined key generated in action 602. The combined key value includes each public key generated by each worker computing device (and including the data processing system). Because the encryption scheme is homomorphic, each private key of the worker can partially decrypt the aggregated encryption vector combined using the homomorphic scheme, but no worker computing device can fully decrypt the vector. This allows each worker computing device to deterministically encrypt a partial decryption value and forward it to the next worker device. After the worker device has completed the deterministic encryption vector based on the partial decryption, the results can be aggregated and the final result can be calculated using a lookup table attached to the encryption vector.

[0281] Reference now Figure 7 , depicting a flow chart of a method 700 for incorporating noise into an encrypted aggregate vector to provide differential privacy between worker computing devices. Method 700 may be performed, for example, by at least one data processing system (e.g., at least one data processing system 105, etc.) or any other computing device described herein. The data processing system may agree on a noise baseline B (act 702). The data processing system may generate a plurality of random variables (act 704). The data processing system may generate a noise array (act 706). The data processing system may select a kth noise array value (act 708). The data processing system may fill the noise array with the random variables (act 710). The data processing system may determine whether k is equal to the number of noise array values ​​n (act 712). The data processing system may increment a counter register k (act 714). The data processing system may shuffle the noise array (act 716). The data processing system may encrypt the noise array (act 718). The data processing system may append noise to the encrypted vector before partial decryption (act 720).

[0282] The data processing system can reach an agreement on a noise baseline B (action 702). The noise baseline can be, for example, an integer that will likely be greater than any negative noise value generated by a single worker computing device (e.g., a data processing system, other data processing systems, etc.). For example, the data processing system can use a specific threshold for noise calculations so that any generated noise will not or cannot exceed the threshold. The noise baseline can be configured so that the noise added or subtracted from the baseline value (e.g., an integer value, etc.) does not result in a negative number. In order to reach an agreement on the baseline noise value, each worker computing device can exchange the generated baseline value until each worker is satisfied that the baseline noise value does not result in a negative value. If the worker computing device is consistent with the baseline noise value, the worker computing device can broadcast a consent message to other computing devices together with the baseline noise value. Once the consent message is received from each worker computing device, the devices have reached an agreement on the baseline noise value.

[0283] The data processing system may generate a plurality of random variables (act 704). The number of random variables may be, for example, the maximum expected frequency to be measured by the system (e.g., K+frequency, etc.) plus 1. This may be designated as max_frequency+1. The random variables may be any kind of random variables (e.g., Polya random variables, etc.). The random variables may be generated as a set of random variables. For example, the set of random variables may be organized as [X0, X1, X2, ..., X i ,…,X mf ], where Xi represents the index value of the set (for example, any X in the set of random variables i ), and X mf Indicates the maximum frequency to be measured by the system.

[0284] The data processing system may generate a noise array (act 706). The data processing system may allocate a noise array having a specific size. For each X in the set of random variables generated in act 704 i , the size of the noise array can be, for example, Σ(B–X i ). The data processing system can determine the sum of the base minus random variables, for example by calculating the difference between each random variable and a baseline noise value, and summing each difference. The total size of the noise array can be equal to the sum of the differences. Generating the noise array can include allocating a memory area equal to the size of the noise array.

[0285] The data processing system may select the kth noise array value (act 708). To fill the noise array based on each random variable generated in act 704, the data processing system may traverse each noise array value (e.g., each random variable generated in act 704, etc.). The data processing system may iterate through each noise value based on the counter register k. For example, each noise value may be indexed in a data structure by an index value (e.g., index 0, index 1, index 2, etc.). To process the noise value, the data processing system may select a noise value including an index value that is equal to or approximately equal to the counter register k or associated with the index value. If it is the first iteration of the loop, the counter register k may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the kth noise value. Selecting the noise value may include copying data associated with the noise value to a different area of ​​a computer memory in the data processing system, such as a working area of ​​the memory.

[0286] The data processing system may fill a noise array with random variables (act 710). Using selected noise values ​​(e.g., the selected random variable X k ), the data processing system can calculate the difference between the baseline noise value and the random variable. The formula D = B – X can be used k The value is calculated, where D is the respective difference. The data processing system can then fill the noise array with D copies of k, where the value of k is equal to the noise value. This can include, for example, accessing the kth position in the noise array and adding k*D to the noise array. In this way, each position in the noise array can be filled with a pseudo-random noise value based on the baseline value and the random variable generated by the system.

[0287] The data processing system may determine whether k is equal to the number of noise array values ​​n (act 712). To determine whether the data processing system has updated each position of the noise vector, the data processing system may compare the counter register (e.g., k) used to select each noise value with the total number of noise values ​​n. If the counter register k is not equal to (e.g., less than) the total number of noise values ​​n, the data processing system may execute (act 714). If the counter register k is equal to (e.g., equal to or greater than) the total number of noise values ​​n, the data processing system may execute (act 716).

[0288] The data processing system may increment a counter register k (act 714). In some implementations, the data processing system may add 1 to register k to indicate the next unprocessed data record in the set of maintained data records (e.g., data records maintained by the data processing system in act 502, etc.). In some implementations, the data processing system may set the counter register k to a memory address value (e.g., a location in a computer memory) of the next unprocessed data record. In some implementations, the memory address value of the next unprocessed data record may be included in a data structure at the location of the current (e.g., selected) data record. After incrementing the value of the counter register k, the data processing system may execute (act 524).

[0289] The data processing system may shuffle the noise array (act 716). Shuffling the noise array may include randomly (e.g., pseudo-randomly, etc.) swapping the positions of the values ​​in the noise array, thereby generating a randomly permuted noise array. Because the value of each position of the noise array increases in size as the size of k increases (e.g., for each position k of the noise array, the value of the noise is equal to k*D, where D is equal to the baseline noise level minus the random variable X k ). In one embodiment, shuffling the noise array may include selecting a random (e.g., pseudo-random, etc.) position of the noise array and swapping it with another pseudo-random position of the noise array. In another embodiment, shuffling the noise array may include generating a second noise array including values ​​of the noise array pseudo-randomly assigned to positions in the second noise array. This may ensure that the data processing system generates a noise array that is at least pseudo-randomly distributed with respect to the array positions.

[0290] The data processing system may encrypt the noise array (act 718). The data processing system may use the method described above in conjunction with Figure 6 The data processing system may encrypt each position of the noise array using the combined key generated in act 602 of method 600. In some embodiments, the data processing system may encrypt the entire noise array using the combined key in a single step, rather than encrypting each position of the noise array individually. By encrypting the noise array using the same public key that was used to encrypt the aggregate vector, the data processing system is able to combine the noise array with the aggregate vector in future steps to improve the differential privacy of the system. Later, when the data processing system decodes the aggregated result, the data processing system may perform additional calculations to "extract" the noise from the result, leaving only the differential calculation of the K+frequencies of the device identifier and attribute.

[0291] The data processing system may append noise to the encrypted vector before partial decryption (action 720). Appending noise to the encrypted vector may include adding the noise itself to the encrypted vector value, thereby introducing an additional level of privacy to the data vector without reducing the overall accuracy of the data. In some embodiments, the data processing system may append each noise value (e.g., each position in the noise array) to the encrypted vector before the partial decryption step (e.g., action 616). This may mean that when the final histogram is constructed by the accumulator computing device, the data processing system may simply remove the number of B* noise vectors from each bucket of the histogram to remove noise from the data. In some embodiments, the data processing system may receive a noise vector from each worker computing device and append each noise value to the encrypted vector before the partial decryption step. In this way, the data processing system may create a large vector with many noise values ​​that are permuted as the vector travels throughout the system. Because no worker device knows which value is the noise value, a single worker cannot determine the original data provided to the data processing system from the identifier server. This is a significant improvement in the security of the data analysis system.

[0292] Figure 8 The overall architecture of an exemplary computer system 800 is shown, which may be used to implement any of the computer systems discussed herein, according to some embodiments. The computer system 800 may be used to provide information via the network 110 for display. Figure 8 The computer system 800 includes one or more processors 820 communicatively coupled to a memory 825, one or more communication interfaces 805, and one or more output devices 810 (e.g., one or more display units) and one or more input devices 815. The processor 820 may be included, for example, in the data processing systems 105A-N or other components of the system 100 (such as the client devices 120A-N).

[0293] exist Figure 8 In the computer system 800 of the present invention, the memory 825 may include any computer-readable storage medium and may store computer instructions such as processor-executable instructions for implementing the various functions described herein for the various systems, as well as any data related thereto, generated thereby, or received via a communication interface or input device (if present). Again, referring to Figure 8 In the system 800, the data processing system 105A-N may include a memory 825 that stores information related to the set of user identifiers, the generated vectors, etc. Figure 8 The processor 820 shown in FIG. 8 can be used to execute instructions in the memory 825 , and in doing so, can also read from or write to the memory various information processed or generated according to the execution of the instructions.

[0294] Figure 8 The processor 820 of the illustrated computer system 800 may be communicatively coupled to the communication interface 805 or control the communication interface 805 to transmit or receive various information according to the execution of instructions. For example, the communication interface 805 may be coupled to a wired or wireless network, bus, or other communication means, thereby allowing the computer system 800 to transmit information to or receive information from other devices (e.g., other computer systems). Although in Figure 8 One or more communication interfaces facilitate the flow of information between components of the system 800, but are not explicitly shown in the system 800. In some implementations, the communication interface can be configured (e.g., via various hardware components or software components) to provide a website as an access portal to at least some aspects of the computer system 800. Examples of the communication interface 805 include a user interface (e.g., a web page) through which a user can communicate with the computer system 800.

[0295] Can provide Figure 8 Output devices 810 of the computer system 800 shown in the figure are provided to, for example, allow viewing or otherwise perceiving various information in conjunction with the execution of instructions. Input devices 815 may be provided to, for example, allow a user to make manual adjustments, make selections, enter data, or interact with the processor in various ways during the execution of instructions. Additional information related to a general computer system architecture that can be used for the various systems discussed herein is further provided herein.

[0296] Measurement accuracy

[0297] This section focuses on comparing the FreqLogLog (FLL), CBF, and Minimum Incremental CBF (MICBF) methods across a range of configurations. Figures 9A-17B The description is exemplary and should not be construed as limiting in any way. Each configuration can simulate more than 100 trials, where each trial includes inserting one million elements according to a specific frequency distribution, which can be used as a parameter of the simulation. For example, element 1234 will be inserted 1 or more times depending on the drawing of the simulated frequency distribution. This means that for a uniform distribution (described below), approximately 27,500 unique elements are inserted for each of the 8 frequencies, for a total of approximately 220,000 unique elements. Finally, a fixed random seed is used between configurations to ensure that the set of cardinality and element frequencies being estimated is the same for each configuration.

[0298] Consider the following frequency distribution in order to demonstrate that the measurement accuracy does not depend on the distribution of the element frequencies. More work could be done here to make this more explicit, but overall the distribution does not appear to have an effect. Therefore, after an initial set of simulations, only UNIFORM 1 to 8 was used. Figures 9A-17B The indicated data provide the descriptions indicated in Table 2 below.

[0299]

[0300] Table 2

[0301] Several different configurations of FLL and CBF can be considered. For FLLS, the main parameter is the number of buckets to use, which is a power of 2. So FLL_2_16 means 2^16 buckets are used. For CBF, there are three parameters, whether to enable the minimum increment feature, the number of buckets (m), and the number of hash functions (k).

[0302] The table below shows the set of configurations simulated and their memory usage. For CBF, the total memory usage is reported assuming 1 byte per bucket, but it is possible to reduce this to 4 bytes per bucket or less, depending on the maximum frequency one wants to measure. However, the practicality of this reduction is not that important when considering it from the perspective of MPC protocols, which, as described in the paper, can bring equal ciphertext expansion to the buckets, independent of the plaintext size. For FLL, the total memory is reported assuming 3 bytes per bucket. Bloom filters can utilize significantly more memory than HLL, but they can provide more accurate measurements and are suitable for secure multi-party protocols that leak little information.

[0303]

[0304] Table 3

[0305] Fig. 9A The graphs shown in –17B show the logarithm of the mean absolute error (log10(MAE)), the mean absolute error rate (MAER), the logarithm of the root mean square error (log10(RMSE)), and the mean error (ME). The graph reporting the error shows the k+ arrival rate for values ​​up to 10, while the graph reporting the rate only shows values ​​up to 8. This is because the maximum frequency of the simulation is always 8, so any non-zero value for the 9+ and 10+ values ​​is an error.

[0306] Figures 9A-9BSeveral configurations of CBF and FLL_2_14_Uniform are considered. For CBF to be competitive, it may be necessary to activate the minimum increment feature, so all future results can take advantage of MICBF. Minimum increment CBF can significantly outperform FLL, despite the fact that FLL has an error rate of only about 1%, which is already quite good. On the other hand, the error of the best MICBF is almost zero, but this comes at the cost of greatly increased memory. As shown in the ME graph, all methods are biased towards overestimation. At frequency 8, MI_CBF_0_4 has comparable performance to FLL, but the memory usage is about 50 times. However, MICBF performs much better at lower frequencies.

[0307] Next, in Figures 10A-10B , multiple higher memory FLLs were tested. Plotted are the same metrics as above for the MICBF and three higher memory FLLs. The main observation is that even the highest memory FLL (FLL_2_22 (yellow line)) using 12.6MB of memory outperforms the CBF_MI_0_01 using 9.6MB of memory. Another observation is that the FLL is less accurate in estimating higher frequencies, while the MICBF has a more consistent error across frequency. The final interesting and somewhat puzzling result has to do with the shape of the curves. Looking at the log10(MAE) plots, it appears that the general shape of the MICBF and FLL errors are the same across parameterizations, but upon closer inspection, the curve for FLL_2_18 looks very similar to the MICBF curve family, while the CBF_MI_0_1 looks similar to the FLL curve family. This is not a bug, the results have been confirmed multiple times.

[0308] Another consideration regarding the baseline set of measurements is how the two methods operate relative to different frequency distributions. Here, FLL_2_14 and CBF_MI_0_01 were tested relative to the above frequency distributions, and the results are given in Figures 11A-11B . Overall, MICBF is resilient to changes in the frequency distribution, showing a stable almost zero error rate across the three distributions, while the error rate of FLL fluctuates by up to 2.5% depending on the frequency distribution. Specifically, FLL tends to overestimate the cardinality when the frequency distribution is not too dense. For the LINEAR_8_1 distribution, the 1+ arrival rate is overestimated (~1.5%), and for the LINEAR_1_8 distribution, the 8+ arrival rate is overestimated (~4.5%). Presumably, the latter shows larger errors because the 1+ arrival rate includes all frequencies, while 8+ does not, which means there are fewer buckets to average.

[0309] at last, Fig.12The variability of the estimators is taken into account. Here, the logarithmic scale plots are omitted (only MAER and ME are shown) and only two estimates are shown in order to prevent the diagram from becoming too busy. Furthermore, for a completely fair comparison, the CBF_MI_0_25_Uniform is compared with the FLL_2_14_Uniform. It is clear that the FLL has an increased variability at higher frequencies, which, as mentioned above, can be explained by the fact that at higher frequencies fewer buckets are available for averaging. However, even at the lowest frequencies, the variability of the FLL is greater than that of the MICBF, while the variability of the MICBF is always small at all frequencies.

[0310] Overall, MICBF is more accurate over a larger range of frequency distributions and has less variability than FLL, although memory usage is significantly increased. Next, we consider how differential privacy can be applied to MICBF.

[0311] This paper proposes at least two methods to make MICBF differentially private, both of which use a two-sided geometric distribution for noise. The first one is to apply differential privacy (DP) to individual CBF buckets, which leads to rather poor measurement quality, and its details will be reviewed below. On the other hand, the second method of applying DP to the histogram of bucket values ​​has reliable results.

[0312] Assuming that the cardinality estimate can use the histogram of bucket values, and assuming that the histogram can be computed without revealing the bucket values ​​(in the next section, we will show that this is possible), we can then apply differential privacy to the bucket value histogram itself. Now, normally the sensitivity of a histogram query would be 1, but since we are considering a histogram of bucket values, and each client device identifier or attribute data is represented k times, the sensitivity is actually k, or just the number of hash functions. For the CBF_MI_0_01 series, this value is 7.

[0313] Fig.13A –B shows the estimates given for ε values ​​of 0.1, 0.5, 1, and 2. These correspond to two-sided geometric distribution parameters of 0.0142, 0.0689, 0.1331, and 0.2485, respectively. Adding noise to the histogram has relatively no effect on moderate values ​​of ε, and the measurements are reasonable even when ε is equal to 0.1.

[0314] at last, Figures 14A-14B The accuracy of several parameterizations of MICBF is shown for ε of 1. Here, even with differential privacy, CBF_MI_0_4 is executed at a higher frequency like FLL.

[0315] Fig.15The log10 of the MAE for CBF_MI_0_01 is shown without any added noise (uniform), with added noise and no correction (GEO_NOCOR), and with added noise and then correction (GEO_COR). Using an ε of 1 and setting the sensitivity of the query to 8 means using a two-sided geometric distribution with parameter 0.1175. For reference, FLL_2_14 is also shown. The CBF with geometric noise before correction is unusable, but even with the denoised version shows an order of magnitude higher error than the FLL. Fig.16A –B shows the full set of graphs but with GEO_NOCOR removed. One observation that can be made from inspecting the mean error plot is that the estimates fluctuate between over-estimates and under-estimates as the frequency changes.

[0316] This observation leads to another question about the estimated variance under the denoising scheme, which is investigated by taking a single CBF and applying 100 different noise vectors to it. This is done for queries with 8 sensitivities and four different ε values ​​(0.5, 1, 2, and 3), but what is important is the parameters of the geometric distribution implied by these values, which are Fig.17A – Listed in B. Observe that for p = 0.06, the estimated standard deviation varies by about 5% around the mean. Furthermore, given that the sensitivity of the query may be much higher than 8, p = 0.06 may be the maximum value expected to be seen for the noise distribution.

[0317] B. Cascade Legion Frequency and Base Estimation

[0318] The embodiments, techniques, systems, methods, or processes described in this section may be executed, performed, or otherwise implemented by any computer system described in Section A above or any computer system described in this section.

[0319] An identifier server may be associated with a set of client devices, for example, by maintaining client identifiers associated with respective client devices. Each client identifier may include attribute information describing the association between each identifier server and the client device. The attribute information may include information about the relationship between the client device and the identifier server (e.g., web browsing history, interaction data, association time, network analysis data, etc.), and may include protected or private information received from the respective client devices. Different identifier servers may maintain different attribute data and different client identifiers corresponding to the same respective client devices. Typically, in order to determine whether there is duplicate attribute data between each identifier server, the identifier server may share the attribute data, which may include protected information or private information, with a centralized server to deduplicate any client attribute information.

[0320] However, the transmission of all client attribute data presents scalability issues. As the number of client identifier servers increases, the amount of client device attribute data transmitted over the network typically also increases. Because the attribute data can be detailed and relatively large for each client device, transmitting this information on a large scale can exhaust network bandwidth and computing resources. In addition, it would be beneficial for the system to count not only the total number of user identifiers, but also the number of client devices that meet specific attribute data criteria (such as the frequency of a particular attribute) without transmitting protected or private attribute information over the network. In addition, implementations of encrypted probabilistic data structures used to address these issues suffer from impractically large (e.g., on the order of gigabytes) sketch sizes.

[0321] In order to solve the above problems, various aspects of the system and method of the present technical solution can utilize a cascade legion scheme. The probabilistic data structure described herein can grow logarithmically in size based on the number of members in the multiple set of client device identifiers. The publisher computing device can calculate its hash as an associated set of client devices and their activity frequencies (for example, the frequency of interaction with content items, etc.) to generate a set of hashed device identifiers. The publisher can generate a cascade legion data structure, which includes a bit value matrix. Each row of the matrix can correspond to the number of least significant zeros in each hash data record. Each column of the matrix can correspond to the modulus value of each hash data record.

[0322] The publisher computing device may fill the cascade legion matrix by determining the number of least significant zeros in the data record. For example, the first row in the matrix may correspond to a single least significant zero (e.g., 1111 1110), the second row in the matrix may correspond to two least significant zeros (e.g., 1111 1100), and so on. Each device identifier may be hashed using a hash function that produces a uniformly distributed output. Thus, the probability p of any hashed identifier corresponding to a row in the matrix may be equal to 2-k, where k is the index of the matrix. For example, any given hashed identifier may have a 50% chance (e.g., p=0.5) of filling the first row, a 25% chance (e.g., p=0.25) of filling the second row of the matrix, and so on. If the publisher computing device determines that the hashed identifier corresponds to a row of the matrix, the publisher may perform a modulus operation on the hashed data record to select the position of the row and set the bit of the position to 1. The publisher computing device may perform this operation on all identifiers associated with the publisher. After the publisher computing device fills the matrix with all the identifiers, the publisher computing device can randomly flip the bits of each row of the matrix with probability p, thereby making the sketch differentially private.

[0323] Techniques for implementing cascaded legionary data structures can address the challenges of HyperLogLog. As described above with respect to counting bloom filters (e.g., in Section A and throughout the text, etc.), cascaded legionary data structures can be generated by one or more identifier servers (e.g., data processing systems 105A-N, etc.). Sketches can be merged in a privacy-preserving manner via a combination of secure multi-party computation (e.g., based on homomorphic encryption, etc.) and adding differential privacy noise.

[0324] Privacy-secure arrival and frequency deduplication can be provided across multiple publishers using a counting bloom filter (CBF) based approach described above in Section A. Such a solution can implement an encryption scheme that exploits multiplicative homomorphism, which can improve the computational performance of distributed verification techniques. In such an approach, the size of the sketch can store an audience size approaching the total Internet population or other populations of various sizes. Such an approach can allow each publisher to upload a dataset of several GB per request or some form of feedback loop where the system can start with a small sketch and then request a larger sketch if the audience is large, or based on other aspects of the approach.

[0325] HyperLogLog (HLL) based approaches can implement min / max operations that can exploit more computationally expensive encryption. Maintaining differential privacy of user identifiers placed in the sketch also appears to be a long-term challenge in HLL implementations.

[0326] The method of implementing the Cascaded Corps Cardinality Estimator (CLCE) technology described herein can combine the ideas of counting bloom filters (e.g., as described above in Section A, etc.) and HyperLogLog, and solve at least the aforementioned problems. Therefore, the CLCE implementation detailed herein presents an improvement to the cardinality determination algorithm across multiple data sets without compromising the differential privacy of device identifiers. Unlike other implementations and techniques, the size of the Cascaded Corps sketch can grow logarithmically with the size of the number of identifiers associated with a particular identifier server (e.g., data processing system 105, etc.). No min / max operations are required to implement these techniques, so computationally inexpensive encryption schemes can be used for CLCE. The structure of the sketch is similar to the counting bloom filter method described above in Section A, so multi-party computation (MPC) developed for CBF (e.g., as described herein in Section A above) can be applied to the CLCE sketch to calculate the frequency and cardinality of the collection of device identifiers and target attributes.

[0327] At the same time, the cardinality estimate obtained by CLCE can be unbiased, and the union operation is commutative, which can provide high-quality results compared to other implementations. The CLCE sketch can include at least two parameters: the number of legions l and the number of positions n in the legion. The sketch can be a two-dimensional n×l array of bits. In some implementations, the sketch can be a two-dimensional n×l array of counter registers, or can be another type of variable or data type stored in one or more data structures in a computer memory (e.g., the memory 105 of a data processing system, etc.). An empty sketch can be initialized to an initialization value (e.g., zero).

[0328] In the following, an exemplary representation of an estimator is included in the following pseudo code:

[0329] class CascadingLegions:

[0330] def__init__(self,l,n):

[0331] self.l=l#Number of legions

[0332] self.n = n # the number of positions in the legion

[0333] self.legions=new array l by n filled with zeros

[0334] def Add(self,element):

[0335] binary_fingerprint=binary fingerprint of element

[0336] legion=number of least significant zeros in binary_fingerprint

[0337] #The elements outside the last legion are placed in the last legion.

[0338] if legion>=self.l:

[0339] legion = self.l-1

[0340] #The position uses the number of bits of binary_fingerprint that remain after removing the trailing 0s and 1s.

[0341] position = (binary_fingerprint / / 2 ** (legion + 1)) % self.n

[0342] self.legions[legion, position] = 1

[0343] @staticmethod

[0344] def ExpectedBits(num_elements):

[0345] # It is easy to understand that the following is the formula for the expected number of bits activated after adding num_elements elements

[0346] return sum(

[0347] 1 - exp(num_elements / (2 ** i * self.n)) * self.n

[0348] for i in range(1, self.l)) + (

[0349] 1 - exp(num_elements / (2 ** (self.l - 1) * self.n)) * self.n

[0350] def EstimateCardinality(self):

[0351] b = count bits in self.legions

[0352] return average num_elements for which int(ExpectedBits) is equal to b

[0353] def Merge(self, other_sketch):

[0354] self.legions = elementwise OR of self.legions and other_sketch.legions.

[0355] Although the above representation of the estimator may indicate that the functionality of the estimator (e.g., construction of cascaded legion sketches, adding elements to sketches, determining the expected number of bits based on legions, estimating the cardinality of a collection based on sketches, merging of other sketches, etc.) is performed as part of a single class on a single computing device, it should be understood that the above pseudo code is constructed in this manner purely for exemplary algorithmic representation and should not be interpreted as describing the construction of any system that performs such techniques. It should be understood that any computing device described herein can perform any of the above functions, and such techniques can be distributed across one or more computing devices (e.g., data processing systems 105A-N, worker computing devices 405A-N, aggregator computing device 410, etc.). The above pseudo code should also not be interpreted as any limitation on the systems and methods described herein, as it should be understood that the above representation is for exemplary purposes only and may only describe one or more aspects of the embodiments described herein.

[0356] The cascade legion sketch with parameters (l,n) can be obtained by equals (e.g., equals, approximately equals, etc.) The relative error of the standard deviation is estimated up to 2 l The cardinality of the set.

[0357] Reference now Fig.18 The graph shown in , depicts the theoretically estimated number of bits occupied by the device identifiers added to the sketch, while performing 10 simulations. The CLCE parameters n = 10K, l = 7 were used. Fig.18 The data represented in the should be regarded as purely exemplary data, and the implementation of the technology described in this article can produce different results. Therefore, it should be understood that the data is purely exemplary data and should not be regarded as limiting in any aspect.

[0358] Fig.18 The lines in may not be visually distinguishable. Fig.18 The relative error of the device identifier estimate and the number of legions is kept below 2% for the 2000-th session. For smaller audiences, the error reaches 4% because user identifiers outside the last legion are discarded for simplicity. In some embodiments, user identifiers outside the last legion are not discarded.

[0359] Fig.19 It is depicted that exemplary data from a sketch having 32 legions and 10K positions may be sufficient to accurately measure any modern device identifier set. The sketch may contain 320 kilobits, but may include a different number of bits, legions, or legion positions with varying parameters.

[0360] To perform cascade legion cardinality or frequency estimation, a system (e.g., system 100, system flow charts 400A-C, any combination thereof, etc.) can perform any combination of the following processes. First, the system can include a large number (e.g., greater than 1, 10, 100, 1000, or 10,000, etc.) of publisher computing devices (e.g., data processing systems 105A-N, other computing devices described herein, identifier servers, etc.) that can generate sketches (e.g., cascade legion sketches as described herein, other data structures or sketches described herein, etc.) and a small number of workers (e.g., worker computing devices 405A-N, other computing devices described herein, etc.) to execute a security protocol for combining sketches. Using the cascade legion sketches described in this section, the security protocol for combining sketches can be the MPC protocol described in Section A above. Next, the system can encrypt the sketch using the ElGamal cryptosystem, and as with the CBF design described in Section A above, to decrypt well-known values, the system can use multiplication homomorphism (e.g., using ElGamal encryption, etc.) to implement addition operations by observing that exponents are additive when multiplying with the same base. For example, 2^5*2^5=2^10. Third, recall that different ElGamal public keys can be combined, and decryption (or partial decryption if only some private keys are used, etc.) can apply each private key whose public key is part of the combination. Each worker can generate a key pair, and the combined public key can be used by a publisher computing device (e.g., data processing system 105A-N, other computing devices described herein, identifier server, etc.) to encrypt its sketch.

[0361] Each worker computing device (e.g., worker computing devices 405A-N, aggregator computing device 410, etc.) can exchange and combine public keys as described herein to generate an aggregated public key. Once the aggregated public key (e.g., a combined ElGamal or homomorphic addition encryption scheme key, etc.) is generated, the protocol can proceed as follows. Each publisher computing device can encrypt its sketch and provide it to at least one worker computing device (e.g., worker computing device 405A, aggregator computing device 410, etc.), which can sometimes be referred to as a first worker computing device.

[0362] The first worker computing device may sum each sketch position by position (e.g., bucket by bucket, combining each counter register, variable, or data entry with a similar index value or position or each position of each corresponding legion, etc.) to generate a combined sketch. The combined sketch may be the same size as or constructed to accommodate the size of each sketch received from each identifier server (e.g., data processing systems 105A-N, sometimes referred to as publisher computing devices, etc.). In some embodiments, if the cascaded legion sketch is a bit matrix data structure, combining the sketch may include performing a bitwise OR operation on all sketches to be combined. In some embodiments, if the cascaded legion sketch is a value matrix data structure (e.g., another matrix of variables, values, or counter registers, etc.), the first worker may perform another combination operation (e.g., addition, multiplication, homomorphic addition, etc.) on the sketches to be combined, as described herein.

[0363] Worker computing devices (e.g., worker computing devices 405A-N, aggregator computing device 410, etc.) of a system (e.g., system 405A-C) may shuffle the combined sketch while applying deterministic encryption layers and removing nondeterministic encryption layers, as described herein above with reference to the MPC protocol described in Section A. For example, a first worker computing device may shuffle the bits on the positions and legions (or other types of data in a matrix) and then pass the result to a second worker computing device. Prior to shuffling the encrypted and combined sketch, each worker computing device may partially decrypt the sketch using a private decryption key corresponding to the worker's contribution to an aggregate encryption key (e.g., an aggregate ElGamal encryption key created by the worker computing device, etc.). After partially decrypting the sketch using the private decryption key, the worker computing device currently processing the sketch may apply a deterministic encryption scheme to the sketch. After applying the deterministic encryption layer, the worker computing device may permute or shuffle the positions in the encrypted data structure. If the data structure is a cascaded legion data structure, the worker computing device may permute n positions in each legion of l legions. In some implementations, the worker computing devices may permute the order of the l legions.

[0364] The process can continue for each worker computing device 405. For example, a second worker computing device (e.g., worker 405B, etc.) can remove its non-deterministic encryption layer and add a deterministic encryption layer, and optionally permute. The second worker can then transmit the processed sketch result to a third worker computing device (e.g., worker 405C, etc.). The process can continue until each worker computing device has removed the non-deterministic encryption layer (e.g., using a private decryption key generated from the public encryption key used to create the aggregate encryption key) and applied its deterministic encryption layer, and optionally permute the sketch.

[0365] Workers (e.g., workers 405A-N, aggregator computing device 410, etc.) can be arranged in a ring configuration. In such a configuration, a first worker computing device (e.g., worker 405A or aggregator computing device 410, etc.) can process an encrypted sketch and transmit the output to a second worker computing device, the second worker can transmit the output to a third worker computing device, and so on. Once the last worker computing device (e.g., worker 405N, where N is the number of worker computing devices, etc.) has processed the sketch, the output can be transmitted to the first worker computing device (e.g., worker computing device 405A, aggregator computing device 410, etc.). The first worker computing device can then remove its non-deterministic encryption and add a deterministic encryption layer (if it has not already done so in the first step of the process). In some embodiments, in the ring configuration, after each worker computing device has processed the sketch, the first worker computing device can combine each sketch and transmit the combined encrypted sketch to the second worker computing device and remove its non-deterministic encryption layer and apply its deterministic encryption layer as the last processing step.

[0366] Next, each worker deterministically encrypts the value 0, revealing the number of zeros in the sketch. From this, an estimate of the cardinality can be calculated.

[0367] In some implementations, the number of zeros can be counted without doing deterministic encryption. Since the message is in the exponent, the system can rely on the fact that encrypting 0 is just an identifying element of the group. So in addition to deterministic encryption, the system can choose a random exponent for each ciphertext (rather than using the same exponent for all ciphertexts, which deterministic encryption does). The "0" element can remain 0, and the rest can be randomized. This can improve the overall privacy of the system because it reveals the number of 0s and nothing more. The system can determine a "reference legion" from the total cardinality, and then shuffle the legions from gold upwards.

[0368] Note that for the purpose of making the estimate, the system can be shown a partial histogram of the bucket values. That is, the system can know the counts of zeros that are present, and can assume the counts of all other values ​​are 1. Next, observe that for any user identifier added to the sketch, its contribution to the histogram can increase the count of "1" by at most 1, where the contribution of any single identifier to the histogram may actually be zero due to hash collisions. Therefore, the sensitivity of the query can be 1.

[0369] Adding noise, which can be drawn from a two-tailed geometric distribution, can be accomplished in at least one of two ways. A simpler implementation can include masking the histograms to the worker and then simply adding the correct amount of noise to each histogram bucket before computing the estimate. This can result in a differentially private output computation, but the worker will be aware of the true histogram values.

[0370] A more complex but safer implementation of adding noise may include distributing its generation among the workers. In such an implementation, each worker may draw two Polya random variables (X i ,Y i ), which represent the number of 0s and 1s added to the histogram by the ith worker, respectively. Note that one can construct a Polya random variable that is a special case of the negative binomial so as to sum to a two-tailed geometric random variable.

[0371] First, the workers can agree on an arbitrary baseline for the noise that will be added to each bucket. Call this value B. Then, during the shuffle phase, each worker can add BX zeros to the sketch and BY ones to the sketch. Finally, the worker aggregating the histogram can subtract the value B*W from each histogram bucket, where W is the number of workers. We then have the desired noise distribution.

[0372] There are at least two options for frequency histogram estimation, including probabilistic deconvolution and frequency histogram estimation.

[0373] At least one technique for estimating the frequency of a multiset using cascade legions is based on probabilistic deconvolution. The probabilistic deconvolution technique can generate a frequency histogram based on the final decrypted, aggregated, and optionally shuffled cascade legion sketch generated by a worker computing device (e.g., worker computing device 405A-N, aggregator computing device 410, etc.). In order to estimate the frequency histogram, self.legions (e.g., legion data structure, etc.) can store the frequency associated with the user identifier, not just a little bit. In such an embodiment, the cascade legion data structure is not a matrix of bit values, but is generated as a matrix of frequency values ​​updated as described herein. When encrypted using the aggregate public key generated by the worker computing device 405A-N, the frequency value of each position in each legion can be converted to a power of some prime number (e.g., each position in each legion is encrypted independently using the aggregate key, etc.). In some embodiments, other encryption schemes are used, and each legion is encrypted independently using the aggregate public key. In some embodiments, the entire cascade legion data structure is encrypted once using the aggregate public key instead of position by position or legion by legion.

[0374] The system may decrypt the legions from left to right (e.g., in ascending or descending order of legion index, etc.) until a reference legion is hit (e.g., the first legion that activates less than half of the positions, etc.). For example, once the aggregate data structure has been processed by each worker computing device (e.g., worker computing device 405, aggregator computing device 410, etc.), the aggregator computing device may incrementally decrypt each legion in the cascade legion data structure. Once the legion is decrypted, the aggregator computing device may determine the number of positions filled in the legion. The aggregator computing device may determine the number of positions in the legion that are filled by iteratively traversing each position in the decrypted legion, and determine whether the position value is equal to zero (or below a threshold or equal to another predetermined value, or meets some other non-population criteria, etc.). If less than half of the positions in the legion are filled, the aggregator computing device may determine that the particular legion is a reference legion. If the aggregator computing device determines that the legion is not a reference legion, the aggregator computing device may decrypt the next legion in the cascade legion data structure. The next legion in the cascade legion data structure may be, for example, a legion corresponding to the next largest legion index, or some other metric that identifies the next legion (e.g., the next memory address, etc.).

[0375] Starting with a reference legion, a small number of collisions may occur. Therefore, the system can shuffle all the legions together and then decrypt. These frequencies are used as a sample to determine the resulting frequency histogram. Some adjustments can be made by finding the most likely original histogram that led to the observed histogram after the collision. The method can include homomorphic encryption to filter out registers (such as positions, etc.) that multiple users act on, and a clean sample of user frequencies is obtained.

[0376] The same key aggregation structure is a pair of encrypted counters and keys (E(count), E(key)). Addition on the cascade legion data structure can be defined as:

[0377] (E(count1),E(key1))+(E(count2),E(key2))=(E(count1+count2+R*(key1-key2)),E(key1+R*(key1-key2)).

[0378] Where R is a random number. The addition operator can be computed homomorphically.

[0379] The structure behaves as follows:

[0380] If key1=key2=key, then

[0381] (E(count1),E(key))+(E(count2),E(key))=(E(count1+count2),E(key)).

[0382] At least one other technique for estimating the frequency of multiple sets using cascaded legions is based on frequency histogram estimation. Techniques based on frequency histogram estimation can estimate the frequency of specific target standards by generating frequency histograms for further estimation and processing. For each register (e.g., legion location, etc.), the system can add the same key aggregator. The publisher computing device (e.g., identifier server, data processing system 105A-N, etc.) can use a hash of a virtual id that starts the register as a key. If the publisher computing device does not have a device identifier, a special empty token is added. The register boolean values ​​are first combined, and then the non-combined impression aggregators can be shuffled with them. For non-zero registers, the empty tokens will be decrypted and discarded. The remaining impression aggregators can be combined. The counter is then decrypted.

[0383] The system can apply differential privacy protection to each cascade legion data structure to obfuscate or otherwise protect the privacy of device identifiers and attributes that contribute to the generation of each cascade legion data structure. For example, each publisher computing device (e.g., identifier server, data processing system 105A-N, etc.) can protect the differential privacy noise applied to the cascade legion sketch by randomly flipping bits, similarly to the bloom filter described herein in Section A above. In some embodiments, if each position in the sketch is a counter register for frequency estimation, differential privacy can be achieved by randomly adding, updating, or otherwise incrementing a random position in the legion. For example, these noises can be increased by incrementing a predetermined amount (such as incrementing by 1, 2, etc. or incrementing a random amount within some threshold (e.g., a random number between 0 and 100 or any other range, etc.).

[0384] The system can apply noise by flipping a bit at each legion x position (e.g., or adding to a counter register, etc. as described above) with probability p. For k sketches, and at some positions with a combination of bit b, then the combination transforms into a combination of bit (b') with probability p^(ka)*(1-p)^a, where a is the number of positions i where b_i=b'_i. When this basic principle is applied to frequency legions based on counter registers, the same analysis applies to positions that are equal to or not equal to zero (e.g., for this analysis, all positions that are equal to zero can be considered binary 0, for this analysis, all positions that are not equal to zero can be considered binary 1, etc.). Therefore, the system can calculate a random matrix of combinatorial transformations, and obtain the noise correction matrix by inversion.

[0385] The system can estimate the cardinality or frequency based on the reference legion. Thus, the system can treat the combined cascaded legion sketch (e.g., after processing by the worker computing device and the aggregator computing device) as a collection of bloom filters or counting bloom filters and select the one with the least noise. The system can use a heuristic approach to select the reference legion: it can be selected as the first legion with less than half of the bits saturated (after applying noise removal), or in the case of a counter register, the first legion with less than 1 half position filled. Each legion can be analyzed in order of probability of decreasing population. For example, due to the padding of each legion based on.

[0386] Reference now Figure 5, depicting a flow chart of a method 2000 for generating a cascaded legion data structure based on a device identifier value and attribute data. The method 2000 may be performed, for example, by at least one data processing system (e.g., at least one data processing system 105, etc.) or any other computing device described herein. The data processing system may maintain a data record (act 2002). The data processing system may generate an empty cascaded legion data structure (act 2004). The data processing system may select the kth data record (act 2006). The data processing system may hash the selected data record (act 2008). The data processing system may select a legion (act 2010). The data processing system may extract a location identifier (act 2012). The data processing system may locate in the selected register legion (act 2014). The data processing system may determine whether a counter register k is equal to a number of data records n (act 2016). The data processing system may increment a counter register k (act 2018). The data processing system may obtain an aggregate encryption key (act 2020). The data processing system may encrypt the vector counter register (act 2022). The data processing system may transmit the encrypted vector (act 2024).

[0387] The data processing system may maintain a data record (act 2002). The data record (e.g., data record 122A-N) may include, for example, one or more device identifiers (e.g., client identifiers 125A-N) and one or more attributes (e.g., attributes 127A-N). The data record may be one or more data structures stored in a database (e.g., database 115) that is communicatively coupled to the data processing system. Maintaining the data record may include storing the one or more data records in a computer memory. In some implementations, the data processing system may maintain the data record in response to receiving one or more messages (e.g., requests, instructions, data packets, etc.) from at least one client device (e.g., at least one client device 120). The data processing system may extract at least one identifier and any attributes present in the message from the message and generate the data record to include the identifier and the attributes. The data processing system may then maintain (e.g., store, load, or otherwise record) the data record in a computer memory (such as a database, one or more data structures, or a non-volatile computer-readable medium). In some implementations, the data processing system may receive the one or more data records from one or more client devices (e.g., client devices 120A-N, etc.).

[0388] The data processing system may generate a cascaded legion data structure (action 2004). To generate the cascaded legion data structure, the data processing system may allocate one or more memory areas to accommodate at least one bit array, at least one counter register array, or at least one counter register. The allocated at least one bit array, at least one counter register array, or at least one counter register may correspond to at least one coordinate of the cascaded legion data structure (e.g., a position in a particular legion, etc.). By generating and allocating memory for one or more counter registers, the data processing may generate a vector containing counter registers. The data processing system may generate at least one legion, which may be an array of bits or an array of counter registers. The data processing system may assign a legion ID to each generated legion (e.g., the legion identifier 1 used above, etc.), and may assign a position identifier to each position in each legion (e.g., each bit, counter register, etc.). In some embodiments, the position identifier may be the same between legions, but different in the same legion. For example, all positions in a particular legion may have different position identifiers, but similar positions in two different legions may have the same identifier. The data processing system may initialize each position (e.g., a bit value or a counter register, etc.) of the cascaded legion data structure to an initialization value, such as 0 or 1. The data processing system may generate a cascaded legion data structure that may correspond to a matrix of counter registers or bit values, where each position in the matrix is ​​sometimes referred to as a "bucket" or "buckets." For example, the data processing system may receive an instruction to generate a cascaded legion data structure having l legions and n positions per bucket, or lxn buckets spanning l legions. The data processing system may access an internal configuration setting provided by an external computing device that specifies the size of the cascaded legion data structure by number of legions, buckets, bit positions, counter registers, or any other possible parameter described herein.

[0389] The data processing system may select the kth data record (action 2006). In order to process each data record maintained in (action 2002) and add it to the generated cascade legion data structure, the data processing system may traverse each data record maintained by the data processing system. The data processing system may iterate through each data record based on the counter register k. For example, each data record may be indexed in the data structure by an index value (e.g., index 0, index 1, index 2, etc.). In order to process the data record, the data processing system may select a data record including an index value equal to or approximately equal to the counter register k or associated with the index value. If it is the first iteration of the loop, the counter register k may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the kth data record. Selecting the data record may include copying the data associated with the data record to a different area of ​​a computer memory in the data processing system, such as a working area of ​​the memory. Selecting the data record may include retrieving the data record from a database if the data record is located in a database; and copying the data associated with the sample to a different area of ​​a computer memory in the data processing system (e.g., a working area of ​​the memory).

[0390] The data processing system may hash the selected data records (action 2008). The data processing system may identify and execute a hash function for populating the cascade legion data structure. For example, each hash identified in the hash list may provide a normal distribution or expectation of randomness based on the input value. That is, for example, similar inputs to the hash function do not necessarily have similar outputs of the hash function. A hash function may be selected as the best hash function for the cascade legion data structure. For example, the data processing system may select an independent and uniformly distributed hash function. Such hash functions may include, for example, a noise hash, a Fowler-Noll-Vo series hash or a Jenkins hash, a SHA-1 hash, a SHA-2 hash, or any other type of hash function known in the art that can produce a uniformly distributed or substantially uniformly distributed output distribution, etc. The data processing may select or identify a hash function and apply the hash function to the selected data record to generate a hashed data record.

[0391] The data processing system may select a legion of the generated cascade legion data structure (action 2010). The cascade legion data structure may be generated to include a plurality of legions, each legion being indexed by a corresponding index value. As the index value increases, the probability that the value updates a position in the corresponding legion decreases. For example, consider a cascade legion data structure having l legions. Each of the l legions may be numbered with an index value (e.g., 1, 2, 3, ..., l). In some embodiments, the index value of each legion may start and end with a different number (e.g., the first legion has an index value of 0, while the last legion has an index value of l-1, etc.). Each hash data record may update the position of a legion in the cascade legion data structure. In order to determine which legion to select for update based on the hash data record, the data processing system may determine the number of zeros at certain positions of the hash data record. For example, for a hash data record equal to the value "0110 1010 0100", the data processing system may determine that the hash data record has two consecutive least significant zeros. Based on this determination, the data processing system may select the second (e.g., the cascade legion with an index value of 2, etc.) to update. Next are three consecutive zeros (which will be placed in the legion with index value 3), and four consecutive zeros (which will be placed in the legion with index value 4), etc. Accordingly, since the output of the hash function is uniformly distributed, there is a 50% chance that any hash data record has one least significant zero, a 25% chance that any hash data record has two consecutive least significant zeros, a 12.5% ​​chance that any hash data record has three consecutive least significant zeros, and so on, with any given hash data record having an increasingly smaller chance of filling each legion. In some embodiments, as long as the same bit position is used, another series of bits is used to select legions in a similar manner (e.g., consecutive most significant bits, or a series of consecutive or non-consecutive bits throughout each hash data record, etc.), and a consecutive value scheme is used for each hash data record, and each hash data record is used to fill the cascaded legion data structure.

[0392] The data processing system may extract a location identifier from the hash data record (act 2012). The hash data record may correspond to the location of the legion selected in act 2010. In order to identify the corresponding location in the selected legion, the data processing system may extract a register identifier from the hash data record. The data processing system may extract the register identifier, for example, by performing a modulus operation on each hash data identifier having the number of locations in the selected legion. In some embodiments, the data processing system may perform a modulus operation on bits of the hash data record that are not used to select the legion. For example, if the hash data record is equal to "0110 1010 0100", and the legion is selected by the number of consecutive 0s starting from the least significant bit, the data processing system may perform a modulus operation on the remaining hash data records, which in this example would be "01101010 01". If the number of least significant bits of consecutive zeros is 4 (e.g., the hash data record is equal to 1001 00110000'), the data processing system can use the bits in the hash data record that are not used to select a legion to select a position in the legion (e.g., "1001 0011"). If the number of bits remaining after removing the bits used to select the legion is less than the number of bits required to select a position, the data processing system can generate random (e.g., pseudo-random, uniformly distributed) bits until the number required to select the position in the legion is reached. For example, if there are 16 positions in a legion, but only 2 bits remain after extracting the remaining positions, the data processing system can randomly (e.g., pseudo-random, etc.) generate more than 2 bits and concatenate them to the 2 remaining bits. In this example, this will generate a bit string of 4 uniformly distributed bits, which can be used to select from the 16 positions in the legion.

[0393] The data processing system may update the selected position in the selected legion (action 2014). Updating the selected position may include, for example, adding 1 to a counter register corresponding to a position identifier in the selected legion. In some embodiments, the data processing system may set a bit corresponding to the position identifier in the selected legion. In some embodiments, the number added to the counter register may be a value other than 1. For example, the data processing system may add other values ​​to each counter register, which may correspond to any value determined, generated, or calculated herein. In some embodiments, the data processing system may subtract from the counter register for various reasons discussed herein. In some embodiments, as an alternative to subtraction, the data processing system may add a number (e.g., 1 or some other value, etc.) to each other counter register bucket that is not currently selected by the data processing system. For example, the data processing system may increment a value by a certain number of accesses associated with a particular data record. If a device associated with a device identifier accesses a particular content item a certain number of times, the data processing system may increment a position in a cascade legion data structure (e.g., any other probabilistic data structure described herein, including in any other section, etc.) by the number of times the device corresponding to the hash data record accesses the particular content item. In some implementations, the number of times the particular content item is accessed is stored in a corresponding data record.

[0394] The data processing system may determine whether the counter register k is equal to the number of data records n (act 2016). To determine whether the data processing system has updated the cascade legion data structure with each data record, the data processing system may compare the counter register (e.g., k) used to select each data record with the total number of data records n. If the counter register k is not equal to (e.g., less than) the total number of data records n, the data processing system may perform (act 2018). If the counter register k is equal to (e.g., equal to or greater than) the total number of data records n, the data processing system may perform (act 2020).

[0395] The data processing system may increment a counter register k (act 2018). In some implementations, the data processing system may add 1 to register k to indicate the next unprocessed data record in the maintained set of data records (e.g., the data records maintained by the data processing system in act 2002, etc.). In some implementations, the data processing system may set the counter register k to a memory address value (e.g., a location in a computer memory) of the next unprocessed data record. In some implementations, the memory address value of the next unprocessed data record may be included in a data structure at the location of the current (e.g., selected) data record. After incrementing the value of counter register k, the data processing system may execute (act 2006).

[0396] The data processing system may obtain an aggregate encryption key (action 2020). For example, the data processing system may receive an aggregate public key generated by one or more worker computing devices (e.g., worker computing devices 405A-N, aggregator computing device 410, etc.). In some embodiments, the data processing system may receive one or more public keys from other computing devices (e.g., other data processing systems, worker computing devices, etc.) and aggregate the public keys into an aggregated public encryption key. In some embodiments, the worker computing devices may exchange and aggregate public keys and generate an aggregate public key and transmit it to each data processing system that has generated a cascaded legion data structure. In some embodiments, the aggregate key may be used to partially or fully encrypt one or more positions, legions, or cascaded legion data structures described herein. In some embodiments, the aggregate key may be simply a single public key that is distributed to the data processing system to encrypt the cascaded legion data structure maintained by the data processing system. In some embodiments, the aggregate encryption key may include one or more ElGamal encryption keys, or any other type of homomorphic encryption scheme. In some embodiments, the aggregate encryption key may be any type of public encryption key that supports a threshold decryption scheme.

[0397] The data processing system may encrypt the cascade data structure (action 2022). In order to ensure the differential privacy of the cascade legion data structure, the data processing system may use one or more encryption techniques to encrypt the cascade legion data structure generated and maintained by the data processing system. For example, the data processing system may use the aggregate public key obtained in (action 2020) using an encryption scheme (e.g., ElGamal encryption, an encryption scheme supporting threshold decryption, homomorphic encryption, etc.). In some embodiments, the data processing system may use the aggregate encryption key to encrypt each of the counter registers or bit values ​​corresponding to the position of each legion to encrypt the cascade legion data structure. In such an embodiment, each encrypted counter register or bit value may be aggregated to create an encrypted data structure representing the cascade legion data structure. In some embodiments, the data processing system may encrypt the cascade legion data structure legion by legion, that is, each legion may be independently encrypted and aggregated into an encrypted data structure representing the cascade legion data structure.

[0398] The data processing system may transmit the encrypted concatenated legion data structure (act 2024). Transmitting the encrypted concatenated legion data structure may include providing the encrypted concatenated legion data structure to a worker computing device (e.g., any of worker computing devices 405A-N, aggregator computing device 410, etc.). The data processing system may select the worker computing device as the first of one or more worker computing devices to process the encrypted concatenated legion data structure. In some embodiments, the data processing system may transmit the encrypted concatenated legion data structure on a location-by-location basis, i.e., each location of each legion may be transmitted to the worker computing device separately. In some embodiments, the data processing system transmits the encrypted concatenated legion data structure in a batch transaction, wherein most or all of the encrypted vectors are transmitted in a single message. In some embodiments, the data processing system may transmit the encrypted concatenated legion data structure on a legion-by-legion basis, wherein each encrypted legion is transmitted to the worker computing device in its own message.

[0399] C. Alternating Cascade Legion Technique for Frequency and Cardinality Estimation

[0400] For example, an identifier server may be associated with a set of client devices by maintaining client identifiers associated with respective client devices. Each client identifier may include attribute information describing the association between each identifier server and the client device. The attribute information may include information about the relationship between the client device and the identifier server (e.g., web browsing history, interaction data, association time, network analysis data, etc.), and may include protected or otherwise private information received from the respective client devices. Different identifier servers may maintain different attribute data and different client identifiers corresponding to the same respective client devices. Typically, in order to determine whether there is duplicate attribute data between each identifier server, the identifier server may share the attribute data, including protected information or private information, with a centralized server to deduplicate any client attribute information.

[0401] However, the transmission of all client attribute data presents scalability issues. As the number of client identifier servers increases, the amount of client device attribute data transmitted over the network typically also increases. Because the attribute data can be detailed and relatively large for each client device, transmitting this information on a large scale can exhaust network bandwidth and computing resources. In addition, it would be beneficial for the system to count not only the total number of user identifiers, but also the number of client devices that meet specific attribute data criteria (such as the frequency of a particular attribute) without transmitting protected or private attribute information over the network. Additionally, implementations of encrypted probabilistic data structures used to address these issues suffer from impractically large (e.g., on the order of gigabytes) sketch sizes.

[0402] To address the foregoing, aspects of the systems and methods of the technical approach may be combined with a denoised cascade legion data structure generated as described in U.S. Provisional Patent Application No. 62 / 981,960. Recall that each publisher computing device may generate a probability matrix data structure that represents a device identifier associated with that publisher. To maintain differential privacy, each publisher may randomly flip the bits in each row of the matrix. The data processing system may receive a noise matrix, sometimes referred to herein as a sketch, from all publisher computing devices and compute the union or cardinality of multiple sets of identifiers on all publisher computing devices.

[0403] At least one embodiment of computing the union of a multiset of identifiers using a sketch from each publisher includes first computing the cardinality of each noisy sketch (e.g., an estimated number of identifiers used to generate the sketch), and sorting the noisy sketches by descending cardinality. The data processing system can group the noisy sketches into groups of a predetermined size, and can estimate denoised noise. The data processing system can estimate a denoised union sketch for each group of sketches using Monte Carlo sampling. Once the estimated denoised sketches are generated, the data processing system can combine the sketches and determine the cardinality or union representing all device identifiers from all publisher computing devices.

[0404] The techniques described herein allow a publisher computing device to find the total number of identifiers (e.g., device identifiers, attributes, etc.) of a set of publisher computing devices without revealing any information about the device identifiers or attributes stored in association with the device identifiers in data records maintained by the publisher computing devices (e.g., data processing systems 105A-N).

[0405] Mathematically, this is an instance of the general problem of finding the union S1,...,S kcardinality of, where each set Si is maintained by an agent Ai (e.g., data processing system 105I, etc.). If a data set does not reveal certain information about any individual member of the data set (e.g., device identifiers, attribute data, any single or aggregated data records, etc.), it is called differential privacy. It is desirable to create a sketch of user sets so that they have differential privacy and the cardinality of the union of sets (e.g., multisets) can be efficiently determined. This section describes algorithms for efficient unions of differential privacy and noisy cascade legions (e.g., the cascade legions described in Section B above, etc. in this article). Section B details an implementation of the system outlined in Section A to provide a cascade legion scheme to determine the cardinality and frequency of multisets of identifiers. This section details techniques for adding differentially private (DP) noise to each cascade legion data structure (e.g., sketch, etc.) at the data processing level) (e.g., each data processing system 105A-N can add noise to its respective cascade legion sketch, etc.), and using techniques that can reduce or eliminate the impact of DP noise on the accuracy of the final cardinality or frequency estimate to efficiently determine the cardinality and frequency of a multiset.

[0406] k DP noisy cascade legionary sketches can be deduplicated in linear time. The algorithm is computationally efficient. A heuristic method is described that can be used to deduplicate any number of sketches. If certain assumptions are met, the noise is small. In particular, if the cardinality of the union sketch is dominated by the cardinality of the largest sketch, the noise is small. Using the techniques described in this section, the complexity of the deduplication algorithm for Bloom filters (e.g., as described in Section A of this article) can be improved from exponential time to linear time.

[0407] Noise is added by randomly flipping each legion x position with probability p. This probability is considered to be related to differential privacy ε:

[0408]

[0409] For example, the scheme can be made efficient by reducing the cascaded legion data structure to a Bloom filter (e.g., or, as described in Section B, a counting Bloom filter if counter registers are used instead of bit values, etc.). The cascaded legion sketch can consist of l legions, each with n positions. An entry (e.g., a data record including a device identifier and associated attribute data, etc.) can be hashed to a position in a legion. The probability of an entry hashing to the kth legion is 2 -k Given a legion, for each position in the chosen legion, the probability of either position being filled or updated by any given data record is the same.

[0410] In secure multi-party computation, the cardinality is estimated by the total number of positions set to 1 (e.g., or not set to 0, etc.). In the case of differential privacy, the noise in the total number of positions will be dominated by empty legions and saturated legions. Therefore, an estimate can be made from the legions in a saturated state. The selection of a legion in a saturated state is described above in Section B, but includes determining the first legion in a cascaded legion data structure that has less than half of the positions filled with values. As such, the legion in a saturated state can be a uniform Bloom filter (or a counting Bloom filter if a counter register is used, etc.). The algorithm for uniform Bloom filter cardinality estimation can be applied to cascaded legions, as described in the following purely exemplary and non-limiting pseudo code:

[0411] Input: CascadingLegion(l,n)sketches s[0],...,s[k-1]noised withprobability

[0412] Output: The cardinality of the union

[0413] for legion in range(l):

[0414] estimate C to be denoised number of bits set to 1in the

[0415] union of sketeches

[0416] if C<(n / 2):

[0417] #Located in the reference area

[0418] Return estimation C*2^legion

[0419] The algorithm can process a vector of the volume of bit combinations observed in the positions of the Bloom filter. The algorithm can be performed as follows:

[0420] 1. For any pair of bit combinations b1, b2, the probability of a random flip from b1 to b2 is calculated.

[0421] 2. The probabilities calculated in 1 are assembled into the transformation matrix M.

[0422] 3. The transformation matrix M can be inverted to calculate the correction matrix C.

[0423] 4. Given a collection of sketches:

[0424] a. Calculate the volume of the bit pattern vector.

[0425] b. Apply the correction matrix to the vector to estimate the pre-noise vector of the volume of the bit pattern.

[0426] The pre-noise vector of the volume of bit combinations is describing the complete multiset of data records. To calculate the union, the system can sum all combinations except (0,...,0). Calculating the correction matrix can be implemented in at least one embodiment, for example, as described in the following exemplary and non-limiting pseudo code:

[0427] def NoiseCorrection(s,p=0.1):

[0428] """Noise correction matrix.

[0429] Args:

[0430] s: number of bloom filters

[0431] p: DP flip probability

[0432] return:

[0433] A matrix that will be applied to the combined counts to recover the estimated combined counts before DP noise.

[0434]

[0435] In another embodiment, the process can be performed on a vector of numbers of 1s, rather than on a combined vector. The binomial coefficient can be used to determine the transition probability for the number of 1s. The first row of the vector can be used to estimate the number of denoised buckets that are all zero. In at least one embodiment, computing the transition probability in the space of numbers of 1s can be implemented in linear time as described in the following exemplary pseudo code:

[0436]

[0437]

[0438] The techniques described in this section of the article may include inverting a random matrix. The result of this inversion may become noisy for large sizes. Given a small set of sketches (e.g., 5 of them), a sample of a denoised sketch of the union can be obtained. The embodiment shown below obtains a denoised sketch for a union of 2 sketches, although the method shown below can be generalized to any number of sketches, and to sketches of locations that include integer values ​​(e.g., counts, etc.), rather than single bits. The method is a Monte Carlo sampling heuristic, and is shown below in the following exemplary pseudo code:

[0439]

[0440]

[0441] Using the above techniques, the system can calculate the union over large (e.g., 10 or more, etc.) noise sketches without losing accuracy. In some embodiments, the algorithm can include a tuning parameter k, which can be set to about 5. However, the tuning parameter k can also be set to other values.

[0442] 1. Estimate the cardinality of each sketch individually, using the direct estimation technique described above that can estimate the cardinality of a single sketch (e.g., by determining the transition probability for a particular sketch and removing that number from that position and then determining the cardinality of the sketch).

[0443] 2. Sort the sketches in descending order by their cardinality (e.g., the first sketch in the sketch list has the largest cardinality, the second sketch in the list has the second largest cardinality, etc.).

[0444] 3. Group the sketches into groups of size k while maintaining their cardinality order (e.g., the first k sketches in the list are in the first group, the next k sketches in the list are in the second group, and so on). This generates g groups of sketches.

[0445] 4. For each of the g sketches, use the Monte Carlo method to sample the denoised union of the groups. This returns a sketch of the union of the g Monte Carlo samples.

[0446] 5. As shown in step 1, directly take the union of g sketches.

[0447] The accuracy of Monte Carlo sampling can be further improved if a superset of all sets to be unioned is provided. In such an implementation, all registers that have no data mapped to them are filled with zeros.

[0448] Reference now Fig.21, depicts an exemplary flow chart of a method 2100 for estimating the cardinality of a differentially private noisy cascade legionary sketch. The method may be performed, executed, or otherwise implemented by any computing device described herein in Section A or any other computing device described herein (e.g., one or more of data processing systems 105A-N, one or more of client devices 120A-N, one or more of worker computing devices 405A-N, aggregator computing device 410, etc.), such as an aggregator computing device (e.g., aggregator computing device 410, etc.). The aggregator computing device may receive one or more differentially private cascade legionary sketches (act 2102). The aggregator computing device may select a kth sketch (act 2104). The aggregator computing device may estimate the cardinality of the selected sketch (act 2106). The aggregator computing device may determine whether a counter register k is equal to the number of sketches n (decision 2108). The aggregator computing device may increment a counter register k (act 2110). The aggregator computing device may sort the sketches by cardinality (act 2112). The aggregator computing device may group the sorted sketches (act 2114). The aggregator computing device may select the g-th group (act 2116). The aggregator computing device may estimate the union of the selected groups using Monte Carlo sampling (act 2118). The aggregator computing device may determine whether the counter register g is equal to the number of groups m (decision 2120). The aggregator computing device may increment the counter register g. The aggregator computing device may estimate the cardinality from the union of the g-group union values ​​(act 2124).

[0449] The aggregator computing device may receive one or more differentially private cascade legion sketches (act 2102). In some embodiments, the aggregator computing device may receive differentially private (e.g., noise, etc.) cascade legions periodically or in burst transactions. Each cascade legion sketch may be associated with a respective identifier reflecting an identifier server (e.g., data processing system 105A-N, etc.) by which the cascade legion sketch was generated and received. Each differentially private cascade legion sketch received from the identifier server may be encrypted using an aggregate encryption key. In some embodiments, the cascade legion sketches are not encrypted, and differential privacy is maintained by the noise added to the cascade legion sketches by the respective identifier servers.

[0450] The aggregator computing device may select the kth sketch (act 2104). In order to process and determine the noise base of each cascade legion sketch received in act 2102, the aggregator computing device may iterate each sketch received by the aggregator computing device. The aggregator computing device may iterate through each cascade legion sketch based on a counter register k. For example, each cascade legion sketch may be indexed in a data structure by an index value (e.g., index 0, index 1, index 2, etc.). In order to process the cascade legion sketch, the data processing system may select a cascade legion sketch that includes an index value that is equal to or approximately equal to the counter register k or is associated with the index value. If this is the first iteration of the loop, the counter register k may be initialized to an initialization value (e.g., k=0, k=1, etc.) before selecting the kth cascade legion sketch. Selecting a cascade legion sketch may include copying data associated with the cascade legion sketch to a different area of ​​a computer memory in the aggregator computing device, such as a working area of ​​the memory.

[0451] The aggregator computing device may estimate the cardinality of the selected sketch (action 2106). In order to rank the list of cascaded legion sketches received by the aggregator computing device, the aggregator computing device may rank the cardinality (e.g., noise cardinality) of the selected cascaded legion sketches. To do this, the aggregator computing device may iterate each of the l legions in the sketch, starting with the legion with the highest population probability (e.g., i=1, where i is the selected legion, etc.) and ending with the legion with the lowest population probability (e.g., i=l, where i is the selected legion, etc.). For each selected legion, the aggregator computing device may compare the number of filled positions (e.g., the number of digits equal to the population value, such as 1, etc.) to the number of unfilled positions in the legion. If the aggregator computing device determines that the number of filled positions is greater than or equal to the number of unfilled positions for the selected legion, the aggregator computing device may move to the next legion in the cascaded legion data structure. If the aggregator computing device determines that the number of filled positions is less than the number of unfilled positions, the aggregator computing device may store the selected legion as a reference legion associated with the current legion index (e.g., if the aggregator computing device iterates to the third legion in the cascaded legion data structure, and the index of the first legion is 0, the reference legion index may be equal to 2, etc.). The aggregator computing device may estimate the cardinality of the selected noisy legion data structure by multiplying the number of filled positions in the reference legion by 2^(golden_legion_index). For example, if there are 10 filled positions in the reference legion and the reference legion index is equal to 4, the aggregator computing device may estimate the noisy cardinality of the noisy cascaded legion data structure to be 10*2^4, or 160.

[0452] The aggregator computing device may determine whether the counter register k is equal to the number of sketches n (decision 2108). To determine whether the aggregator computing device has estimated the noise base using each noise cascade legion sketch, the aggregator computing device may compare the counter register (e.g., k) used to select each noise cascade legion sketch with the total number of noise cascade legion sketches n. If the counter register k is not equal to (e.g., less than) the total number of noise cascade legion sketches n, the aggregator computing device may perform (action 2110). If the counter register k is equal to (e.g., equal to or greater than) the total number of noise cascade legion sketches n, the aggregator computing device may perform (action 2112).

[0453] The aggregator computing device may increment a counter register k (act 2110). In some embodiments, the aggregator computing device may add 1 to register k to indicate a next unprocessed noise cascade legion sketch in the set of received cascade legion sketches (e.g., the cascade legion sketch received by the aggregator computing device in act 2102, etc.). In some embodiments, the aggregator computing device may set the counter register k to the memory address value (e.g., the location in a computer memory) of the next unprocessed cascade legion sketch. In some embodiments, the memory address value of the next unprocessed cascade legion sketch may be included in a data structure at the location of the current (e.g., selected) cascade legion sketch. After incrementing the value of the counter register k, the aggregator computing device may execute (act 2104).

[0454] The aggregator computing device may sort the sketches by cardinality (action 2112). After estimating the noise cardinality of each differentially private cascade legion sketch, the aggregator computing device may generate a list of sorted differentially private cascade legion sketches based on its estimated noise cardinality value. The noise cardinality value may not be an accurate representation of the cardinality of the collection of corresponding cascade legion sketches, but is sufficiently accurate for the purpose of sorting the sketches as described in the method 2100. Sorting the cascade legion sketches may include comparing each estimated noise cardinality of the sketch using an effective sorting algorithm (e.g., a heap sort) or any other type of sorting algorithm. Using the sorting algorithm, the aggregator computing device may generate a list of sorted cascade legion sketches in descending order. For example, the first entry in the list may be the cascade legion sketch associated with the maximum noise cardinality calculated in action 2106, the second entry in the list may be the cascade legion sketch associated with the second largest noise cardinality, and so on.

[0455] The aggregator computing device may group the sorted sketches (act 2114). After sorting the cascading legion sketches, the aggregator computing device may group each sketch into m groups of size j, where j is a parameter approximately equal to 5, but may be equal to other values. The parameter j may be retrieved from one or more data structures in a memory of the aggregator computing device. For example, the aggregator computing device may select the first j sketches in the list and assign them to the first group. The aggregator computing device may select the next j ungrouped sketches in the list and assign them to the next group, and so on, until the aggregator computing device creates m groups of size j.

[0456] The aggregator computing device may select the g-th group (action 2116). In order to process and determine the Monte Carlo sampling cardinality of each group created in action 2114, the aggregator computing device may iterate each group created by the aggregator computing device. The aggregator computing device may iterate through each group based on the counter register g. For example, each group may be indexed in a data structure by an index value (e.g., index 0, index 1, index 2, etc.). In order to process the group, the data processing system may select a group including an index value equal to or approximately equal to the counter register g or associated with the index value. If it is the first iteration of the loop, the counter register g may be initialized to an initialization value (e.g., g=0, g=1, etc.) before selecting the g-th group. Selecting the group may include copying the data associated with the group to different areas of a computer memory in the aggregator computing device, such as a working area of ​​the memory.

[0457] The aggregator computing device may estimate the union of the selected groups using Monte Carlo sampling (act 2118). Estimating the cardinality using Monte Carlo sampling may include determining a combination vector of the vectors in the group, calculating the probability of a bit flipping in any particular position, and generating a denoised estimation sketch that estimates the denoised union of each input sketch. This process is shown below for two sketches in the following pseudo code, but can be extended to more than two sketches with slight modifications:

[0458]

[0459]

[0460] Although the pseudo code above is shown to include a probability of 0.1, it should be understood that the value of p can be modified to any value as long as the inverse matrix used to multiply the combination vector v is modified accordingly. In addition, although only two sketches can be combined in the pseudo code above, it should be understood that this number can be expanded by modifying the parameters of the combination vector, the size of the inverse matrix, and the ProbabilityOfOr function to accommodate more than 2 vectors. In another embodiment, a method for determining the denoised union of two groups can be used (for example, the parameter j that determines the group size can be set to two, etc.).

[0461] The aggregator computing device may determine whether the counter register g is equal to the number of groups m (decision 2120). To determine whether the aggregator computing device has estimated the union Monte Carlo sampled values ​​using each group of cascaded legionary sketches, the aggregator computing device may compare the counter register (e.g., g) used to select each group with the total number of groups m. If the counter register g is not equal to (e.g., less than) the total number of groups m, the aggregator computing device may perform (action 2122). If the counter register g is equal to (e.g., equal to or greater than) the total number of groups m, the aggregator computing device may perform (action 2124).

[0462] The aggregator computing device may increment a counter register g. In some embodiments, the aggregator computing device may add 1 to register g to indicate a next unprocessed cascade legion sketch group in the set of cascade legion sketch groups (e.g., a cascade legion sketch group created by the aggregator computing device in act 2114, etc.). In some embodiments, the aggregator computing device may set the counter register g to a memory address value (e.g., a location in a computer memory) of the next unprocessed group. In some embodiments, the memory address value of the next unprocessed group may be included in a data structure at the location of the current (e.g., selected) group. After incrementing the value of the counter register g, the aggregator computing device may execute (act 2116).

[0463] The aggregator computing device may estimate the cardinality from the union of the g group union values ​​(action 2124). As described above, the sketch generated by each group of the Monte Carlo sampled m groups of cascade legionary sketches represents the denoised union of the members of each group. Therefore, the union of each Monte Carlo sample sketch may be determined by basic aggregation (e.g., bitwise OR operation of each group, etc.) to determine a combined union sketch representing the denoised aggregation of all cascade legionary sketches received in step 2102. The aggregator computing device may aggregate (e.g., iteratively bitwise "OR", "add", etc.) each generated Monte Carlo sample sketch to generate a combined cascade legionary sketch. The aggregator computing device may use the combined sketch to determine the denoised cardinality of the union of the sketches received in step 2102.

[0464] To this end, the aggregator computing device may iterate each of the l legions in the combined sketch, starting with the legion with the highest population probability (e.g., i=1, where i is the selected legion, etc.) and ending with the legion with the lowest population probability (e.g., i=l, where i is the selected legion, etc.). For each selected legion, the aggregator computing device may compare the number of filled positions (e.g., the number of digits equal to the population value, such as 1, etc.) with the number of unfilled positions in the legion. If the aggregator computing device determines that the number of filled positions is greater than or equal to the number of unfilled positions for the selected legion, the aggregator computing device may move to the next legion in the combined sketch. If the aggregator computing device determines that the number of filled positions is less than the number of unfilled positions, the aggregator computing device may store the selected legion as a reference legion associated with the current legion index i (e.g., if the aggregator computing device iterates to the third legion in the combined sketch and the index of the first legion is 0, the reference legion index i may be equal to 2, etc.). The aggregator computing device may estimate the denoising cardinality of the combined sketch by multiplying the number of filled positions in the reference legion by 2^(golden_legion_index). For example, if there are 10 filled positions in the reference legion and the reference legion index is equal to 4, the aggregator computing device can estimate the noise base of the noisy cascade legion data structure to be 10*2^4, or 160.

[0465] The aggregator computing device may perform the steps of method 2100 in response to a request. For example, an external computing device may provide the aggregator computing device with a request for a denoised cardinality of an identifier and attribute data set residing on an identifier server. The aggregator computing device may then request a cascade legion sketch from each identifier server (e.g., each data processing system 105A-N, etc.). As described in Section B, each data processing system 105 may generate a cascade legion sketch and apply probabilistic noise by flipping bits in the sketch with probability p. After generating the sketch, the data processing system 105 may transmit its sketch to the aggregator computing device for further processing. Then, as in step 2102 of method 2100, the aggregator computing device may receive the sketch from the data processing system 105 and then perform the steps of the method to determine the cardinality of the identifiers contributing to the sketch. After determining the cardinality, the aggregator computing device may transmit the estimated multiset cardinality to the external computing device responsible for the request.

[0466] The techniques described herein provide a number of technical advantages. Instead of each data processing system 105 transmitting a large amount of data over a network, thereby exhausting network resources, each data processing system can use computational techniques to generate a small data structure that (1) represents the entire set of identifiers and attributes and (2) is differentially private. In addition, the computational techniques described herein for generating cascaded legion sketches scale linearly in computational complexity with the number of identifiers maintained by the identifier server. Because a sketch can be several orders of magnitude smaller than the data it represents, the differentially private distribution of the sketch instead of the data itself reduces the burden on network resources. This is an improvement over networking technology. In addition, because the sketch is differentially private, the data represented by the sketch does not need to be distributed to any other computing device, thereby improving the security of the networked system and the cardinality estimator system.

[0467] D. Continuous Liquid Corps Technique for Frequency and Cardinality Estimation

[0468] Cardinality and frequency estimation techniques are introduced. These methods can combine aspects of HyperLogLog and Bloom filters to build sketches that are smaller than Bloom filters by geometrically distributing the assignment of entries between buckets. The systems and methods described herein can combine sketches using bucket-by-bucket summation, which can enable the creation of secure multi-party computation protocols that utilize homomorphic encryption to combine sketches across multiple untrusted parties while ensuring that the parties to the protocol learn differentially private estimates of an agreed-upon output.

[0469] The frequency of a device identifier may be the number of device identifiers (hereinafter sometimes interchangeably referred to as devices or identifiers) that have accessed a particular content item. As such, cardinality is a relevant value because cardinality may be the number of unique device identifiers that have accessed a content item, while frequency may be the number of unique device identifiers that have accessed a content item more than a predetermined number of times. For example, 1+frequency (e.g., the number of unique device identifiers that have accessed content more than once, etc.) may be the cardinality of a multiset of sets of identifiers across different publisher computing devices. Described herein are at least two methods for determining content frequency: a frequency histogram and k+reach. A frequency histogram may show the proportion of devices with each frequency, while a k+reach may represent the cardinality of a set of devices with a frequency greater than k. Using frequencies that estimate a range of values ​​using only one data set represents an improvement to a cardinality estimation computer system because it reduces the amount of computing resources required to perform the estimation. The maximum value for the frequency calculation may be based on a predetermined maximum frequency value because content providers may use this metric to help limit exposure to content.

[0470] The system and method of the technical solution can determine the arrival rate and frequency on the content publisher, wherein the content publisher computing device (e.g., any one of the data processing systems 105A-N, etc.) is defined as an entity that hosts and provides content. However, because content publishers may not trust each other, the sketches used to determine the cardinality and frequency may not be shared directly. The system and method for cardinality and frequency measurement described herein can protect the privacy of the identifiers or devices that constitute the sketch, and can prevent the content publisher computing devices from knowing each other's information, thereby improving the overall security of the networked system.

[0471] Various methods for determining the cardinality and frequency of identifiers on one or more publisher computing devices in a secure and privacy-preserving manner will be described: Cascade Legion (e.g., as described herein above in Sections B and C, etc.), which can be a geometrically distributed array of Bloom filters for estimating cardinality and frequency; Liquid Legion (e.g., as described in this section, etc.), which can be a continuous version of the Cascade Legion algorithm; two mechanisms for applying differential privacy to estimate multi-publisher arrival rates; and a multi-party computation protocol for combining sketches of either type and producing frequency estimates that are differentially private.

[0472] One other such technique for estimating cardinality is HyperLogLog. HyperLogLog (HLL) can be a cardinality estimator characterized by low error rate, low variance, and low memory usage. In addition, the union of two HLLs can be trivial to compute, which means that HLLs may be ideal for distributed counting applications. An extension of HLL that can estimate cardinality and frequency is called FreqLogLog. To achieve this, FreqLogLogs (FLL) can store two additional values ​​for each register, a count and a fingerprint. When an HLL register value is updated, the fingerprint of the entry is stored and the counter is reset to 1. Then, when another entry assigned to the register has the same number of leading zeros as the previous item, the fingerprints are compared. If they are the same, the count is incremented. Otherwise, if the new fingerprint is greater than the old fingerprint, the new fingerprint is stored and the count is reset to 1. Otherwise, the old fingerprint is larger and no modification is made.

[0473] Another such technique is based on Bloom filters. Like HLL, Bloom filters can be used to calculate cardinality and frequency and may have relatively high memory requirements. The cardinality of a Bloom filter is determined by evaluating:

[0474]

[0475] Where k is the number of hashes used to generate the Bloom filter, m is the number of bits in the Bloom filter, x is the number of filled buckets in the Bloom filter, and n is the estimated number of cardinality of the Bloom filter.

[0476] Allowing k to become 1 and reversing the function, the following formula can be used to estimate the number of significant bits for a given set size:

[0477]

[0478] To maintain the differential privacy of the sketch when transmitted to other computing devices, ElGamal encryption can be used (e.g., as described in Section A, etc.). ElGamal encryption can be a simple public key encryption scheme that can be modified to support threshold decryption. It can be viewed as an offline variant of the Diffie-Hellman key exchange protocol. For a group with generator G, the basic scheme is as follows:

[0479] KeyGen: Choose a random integer X modulo q (the order of the group). This can be the private key used for decryption. The public key is G^X.

[0480] Encrypt(pk,m): Select a random integer R modulo q. The ciphertext can be (G^R,m pk^R), that is, (G^R,m G^(XR)).

[0481] Decrypt(sk,m): Calculate G^(XR) using the security key, then m=m pk^R / G^(XR).

[0482] An N-of-N threshold version of the scheme can be constructed by multiplying all the public keys together. An example of this threshold variant is as follows: two parties can generate keys G^X and G^Y. These public keys, when multiplied together, will compute G^(X+Y), which can be used as the public key for encryption; the corresponding security key is X+Y. For decryption, the original security keys can be applied one by one (in any order), so no party needs to know the joint private key.

[0483] ElGamal encryption can support multiplicative homomorphism. Given two ciphertexts (G^R1,M1 G^XR1), (G^R2,M2 G^XR2), we can compute the value (G^(R1+R2),M1 M2 G^X(R1+R2)) that decrypts to the product of the two messages. This can be an additive homomorphism over the discrete logarithm of the messages; in other words, we can compute the value (G^(R1+R2),G^(M1+M2)G^X(R1+R2)), which can be used for small message spaces (small enough to efficiently compute discrete logarithms).

[0484] It is sufficient to perform the summation with an exponent. For example, two values ​​v1,v2, represented as 2^v1 and 2^v2, can be combined multiplicatively, resulting in the combined ciphertext 2^(v1+v2). Furthermore, since the sketch below can use element counts less than the maximum expected frequency, a lookup table can be used to decode only these well-known values. There is also a small security benefit here: the aggregator can know the count of values ​​above a threshold without knowing what these values ​​are. To do this, the workers can use encryption (e.g., Pohlig-Hellman cipher, etc.), which may involve each worker choosing a secure exponent that is applied to all partially decrypted buckets. This can be performed via homomorphism and can be equivalent to changing the generator G to some random group element.

[0485] Another technique for estimating the cardinality and frequency of multisets can be implemented using cascading legion sketches. The number of bits of Bloom filter precision may grow linearly with the cardinality of the set that needs to be measured. The linear growth of the number of bits can be mitigated by arranging the registers of Cascading Legions (CL) (i.e., the bits that record the presence of an entry) into a two-dimensional array (or matrix). The columns of the array are called legions and the rows are called positions. Therefore, each entry is mapped to a (legion, position) tuple of a legion, which is a register. The probability distribution over the legions is geometric and the probability distribution over its positions is uniform, so each legion can be a single hashed Bloom filter. This scheme can consider estimating the cardinality with a fixed relative error, and the required sketch size can grow logarithmically with the cardinality of the set that needs to be measured. In addition, as with Bloom filters, CL sketch registers can be combined via a bitwise OR operation, or when the sketch contains counters (which is necessary for the frequency problem), the sketch can be combined by register-by-register summation.

[0486] In this document, Algorithm 1 described below (and based on the disclosure provided in Sections B, etc.) describes the initialization of the CL sketch. This can include allocating a register array (s) and allocating a same key aggregator array (b). When an entry is initially inserted into a register (r), the same key aggregator can store the fingerprint of the entry and set s[r] to 1. Then, the next time an entry is allocated to the register, its fingerprint can be compared to the existing fingerprint. If the fingerprints are equal, s[r] can be incremented. If the new fingerprint is larger than the existing fingerprint, the existing fingerprint can be replaced and s[r] can be reset to 1. Otherwise, the new fingerprint is smaller and no modifications are made. Below, the process of updating the same key aggregator is described as part of Algorithm 3, which describes how entries are inserted into the sketch.

[0487] Algorithm 1, sketch initialization:

[0488] Settings: None

[0489] Input: Number of corps l and number of positions m

[0490] Output: CascadingLegions sketch and same key aggregator (s,b)

[0491] let s = integer array of size l*n

[0492] let b = array of SameKeyAggregator structures

[0493] Initialize s with zeros

[0494] Before moving on to the insertion algorithm, the register allocation algorithm is introduced. To assign entries to registers, they can be hashed first. Next, the legions can be assigned by determining the number of leading zeros (e.g., most significant, least significant, etc.) in the hash value. Next, the first non-zero bit is stripped off, and the remaining bits are modulo the number of positions to determine the position in the legion. See Algorithm 2 described below. Entries can be assigned to legions using a binomial distribution by using the sum of the significant bits in the hash value as a way to determine the legion.

[0495] Algorithm 2, register allocation:

[0496] Setup: number of corps l, number of locations m.

[0497] Input: Fingerprint of the entry to be assigned (f).

[0498] Output: CascadingLegions register (i, j)

[0499] let i=0

[0500] while f%2==0and i <l-1:

[0501] let i+=1

[0502] let f / =2

[0503] let f / =2

[0504] let j=f%m

[0505] return(j,i)

[0506] Insertion can be done by assigning the entry to register (i,j). The next step is to check for the same key aggregator as described above, and adjust the register value accordingly. The algorithm may assume the use of a counter, but in implementations where frequency is not expected (e.g., cardinality is expected, etc.), each legion may be represented by an array of bits.

[0507] Algorithm 3, entry insertion:

[0508] Input: Entry

[0509] Output: Modified sketch (s, b)

[0510]

[0511] To estimate the cardinality of a set of entries, the expected number of registers activated by a certain cardinality can be derived. Each legion can be a uniform Bloom filter, so if t j The entry falls into legion j, then:

[0512]

[0513] A portion of the registers can be activated. And when it is expected that legion l is hit by 2^-(j+1) of entries, then the total number of activated registers can be equal to:

[0514]

[0515] Since F(t) can be monotonic, a binary search can be used to efficiently find the cardinality t given the number of observed activation registers. See Algorithm 4, described below.

[0516] Algorithm 4, cardinality estimation from Cascade Legion sketch:

[0517] Settings: Number of corps l, number of positions m

[0518] Input: Cascade Legion Sketches

[0519] Output: estimated cardinality of the set stored in s

[0520]

[0521]

[0522] For frequency estimation, the distribution of counts can be extracted from the registers, and the frequency distribution can be inferred from the samples.

[0523] These sketches can be extended to be differentially private by introducing random noise. Random noise can be introduced by randomly flipping the bits present in the cascade legion sketch. By flipping each bit of the sketch with probability p, the sketch can be made differentially private by parameter ∈:

[0524]

[0525] For example, for a DPε of ln(3), a bit may be flipped with probability 0.25. In Algorithm 4, given a list of filters S, all of which have their bits flipped with probability p, the number of zero registers in the union is estimated by denoising the whole. This strategy could be applied to the entire sketch, but since many legions are expected to be completely saturated, or completely zero, the error in this estimate would be large. Instead, denoising can be applied to each legion individually, and the legions that are in a saturated state (e.g., the first legion with less than half of its values ​​filled, etc.) can be used for the estimate.

[0526] Algorithm 5, estimates the cardinality of the union using the reference legion of the noisy cascade legion sketch:

[0527] Settings: Number of corps l, number of positions m, flip probability p

[0528] Input: List S of concatenated legion sketches whose bits are flipped with probability p

[0529] Output: estimated cardinality of the union of the sets stored in S

[0530]

[0531]

[0532] Another such technique, Liquid Legion, is an extension of the Cascading Legion technique using a continuous distribution. The decision that a legion has an assignment probability that decreases in steps of 1 / 2 is arbitrary. It allows the formula F for the expected number of legions to use a sum with 1 term. Instead, entries can be assigned to registers using a geometric distribution with a variable decay factor. Consider the bounded geometric distribution:

[0533]

[0534] To perform this sampling efficiently and simplify the analysis, an exponential distribution can be used:

[0535]

[0536] The segment is cut into [0,1], and the resolution is m.

[0537] To assign entries to registers, the segment [0, 1] can be divided into m segments of equal length, assuming that the i-th segment corresponds to the i-th register. Real-valued quantities can be sampled from an exponential distribution, and entries can be assigned to registers corresponding to intervals where real numbers fall.

[0538] To sample quantities from a real-valued distribution, we can uniformly sample quantities from the segment [0,1] and apply the inverse cumulative distribution function (CDF). The inverse CDF of the truncated exponential distribution above can be equal to:

[0539]

[0540] We thus derive the algorithm 1L for sampling legions for liquid legion sketches.

[0541] Algorithm 1L: Liquid Legion Register Allocation:

[0542] Settings: decay parameter a, number of positions m.

[0543] Input: The entry to be assigned.

[0544] Output: Cascade Legion Register (i, j)

[0545] let f=fingerprint64bit(item)

[0546] let u=f / 2^64

[0547] let x=1-log(exp(a)+u*(1-exp(a))) / a

[0548] return integer floor of x*(m+1)

[0549] The algorithm for sketch creation for Liquid Legion could be the same as for Cascade Legion with appropriate register allocation functions. For cardinality estimation, a function could map the cardinality to the expected number of activated registers, r.

[0550] The function that maps t=c / m to r / m can be obtained for any distribution P by integration:

[0551]

[0552] This formula can be obtained by taking the probability of writing to the i-th register allocated by at least one entry and reaching a limit when m goes to infinity:

[0553]

[0554] In the following, the algorithm for cardinality estimation is described. It can be the same as the Cascade Legion copy except that the cardinality function is replaced.

[0555] Algorithm 3L Appendix. Inverse cardinality estimation function from Liquid Legion sketch:

[0556] define function F(t):

[0557] return1-(-expi(-a*t / (exp(a)-1))

[0558] +expi(-a*exp(a)*t / (exp(a)-1))) / a

[0559] The differentially private version of the Liquid Legion sketch can be the same as the Cascade Legion, except that the reference legion can slide continuously, and its length can be optimized for the minimum estimation variance. The optimal reference legion can be found via a differential inverse cardinality estimator and finding the point where the probability of the incremental increase of the derivative multiplied by the number of activated registers is the largest. The data processing system can utilize any or all of the algorithms in conjunction with or in place of any algorithm described in Section C of the previous article of this document. For example, the algorithm for determining the cardinality of the sketch is replaced by the algorithm of this section, or the algorithm for filling the Liquid Legion sketch is replaced by the algorithm used by the Cascade Legion implementation, as well as any other algorithm described herein. It should be understood that any of the data processing systems 105A-N, the worker computing device 405, or the aggregator computing device 410 can perform any or all of the functions described in this section.

[0560] The techniques used for the analysis of liquid legionary sketches can be...

Claims

1. A method of generating a cryptographic data structure representing a set of identifiers having properties that satisfy target criteria for secure and computationally efficient transmission, the method include: maintaining, by a data processing system including one or more processors and memory, a set of device identifiers in a database, each of the set of device identifiers including device attributes; generating, by the data processing system, a vector data structure including a plurality of coordinates, each coordinate corresponding to a respective one of a plurality of counter registers; hashing, by the data processing system, device identifiers in the set of device identifiers using each of a plurality of hash functions to generate a plurality of hashed data record values; extracting, by the data processing system, a plurality of register identifiers from the plurality of hashed data record values, each of the plurality of register identifiers corresponding to a respective counter register of the plurality of counter registers; accessing, by the data processing system, each of the plurality of counter registers corresponding to the plurality of register identifiers to identify a set of counter registers that satisfy a minimum value threshold; incrementing, by the data processing system, each of the set of counter registers that satisfies the minimum threshold; encrypting, by the data processing system, the vector data structure to create an encrypted data structure such that the encrypted data structure can be combined with a second encrypted data structure; as well as The encrypted data structure is transmitted to a worker computing device via the data processing system.

2. The method according to claim 1, further comprising: include: receiving, by the data processing system, a first device identifier including first device attributes; as well as The first device identifier including the first device attribute is stored, by the data processing system, as a member of the set of device identifiers.

3. The method of claim 1 , further comprising identifying, by the data processing system, a uniformly distributed hash function as one of the plurality of hash functions, in, The uniformly distributed hash function outputs uniformly distributed values.

4. The method according to claim 1, in, Hashing the device identifier in the set of device identifiers further includes storing, by the data processing system, each of the plurality of hashed data record values ​​associated with the device identifier in the database.

5. The method according to claim 1, in, Extracting the plurality of register identifiers further includes performing a modulus operation on each of the plurality of hashed data record values ​​using ones of the plurality of counter registers.

6. The method according to claim 1, in, The vector data structure is the first vector in a matrix data structure including a first vector and a second vector, and wherein generating the vector data structure further comprises: selecting, by the data processing system, a selected vector using a hash function from the plurality of hash functions and the device identifier from the set of device identifiers, wherein the selected vector is one of the first vector or the second vector; and Coordinates of a selected vector of the matrix data structure are updated, by the data processing system, using the hash function and a device identifier from the set of device identifiers.

7. The method according to claim 6, in, Selecting the selected vector further includes: hashing the device identifier in the set of device identifiers by the data processing system to generate a hashed device identifier; determining, by the data processing system, the number of least significant bits in the hashed device identifier that satisfies a predetermined bit value; and The first vector is selected as the selected vector, or the second vector is selected as the selected vector, by the data processing system based on the number of least significant bits in the hashed device identifier that satisfy the predetermined bit value.

8. The method according to claim 7, in, Updating the coordinates of the selected vector of the matrix data structure further comprises: performing, by the data processing system, a modulus operation on the hashed device identifier to calculate a counter register index value; selecting the coordinates by the data processing system using the counter register index value; and The coordinate selected using the counter register index value is incremented by the data processing system.

9. A system for generating a cryptographic data structure representing a set of identifiers having properties that meet target criteria for secure and computationally efficient transmission, the system include: A data processing system comprising one or more processors and a memory, the data processing system being configured to: maintaining a set of device identifiers in a database, each of the set of device identifiers comprising device attributes; generating a vector data structure comprising a plurality of coordinates, each coordinate corresponding to a respective one of a plurality of counter registers; hashing the device identifiers in the set of device identifiers using each of a plurality of hash functions to generate a plurality of hashed data record values; extracting a plurality of register identifiers from the plurality of hashed data record values, each of the plurality of register identifiers corresponding to a respective counter register of the plurality of counter registers; accessing each of the plurality of counter registers corresponding to the plurality of register identifiers to identify a set of counter registers that satisfy a minimum value threshold; incrementing each of a set of counter registers that satisfies the minimum threshold; encrypting the vector data structure to create an encrypted data structure such that the encrypted data structure can be combined with a second encrypted data structure; as well as The encrypted data structure is transmitted to a worker computing device.

10. The system according to claim 9, in, The data processing system is further configured to: receiving a first device identifier including a first device attribute; and The first device identifier including the first device attribute is stored as a member of the set of device identifiers.

11. The system according to claim 9, in, The data processing system is further configured to identify a uniformly distributed hash function as one of the plurality of hash functions, wherein the uniformly distributed hash function outputs uniformly distributed values.

12. The system according to claim 9, in, The data processing system is further configured to store each of the plurality of hashed data record values ​​associated with the device identifier in the database.

13. The system according to claim 9, in, The data processing system is further configured to perform a modulus operation on each of the plurality of hash data record values ​​using ones of the plurality of counter registers.

14. The system according to claim 9, in, The vector data structure is the first vector in a matrix data structure comprising a first vector and a second vector, and wherein the data processing system is further configured to: selecting a selected vector using a hash function from the plurality of hash functions and the device identifier from the set of device identifiers, wherein the selected vector is one of the first vector or the second vector; and Coordinates of a selected vector of the matrix data structure are updated using the hash function and a device identifier from the set of device identifiers.

15. The system according to claim 14, in, The data processing system is further configured to: hashing the device identifier in the set of device identifiers to generate a hashed device identifier; determining a number of least significant bits in the hashed device identifier that satisfy a predetermined bit value; as well as The first vector is selected as the selected vector or the second vector is selected as the selected vector based on the number of least significant bits in the hashed device identifier that satisfy the predetermined bit value.

16. The system according to claim 15, in, The data processing system is further configured to: performing a modulus operation on the hashed device identifier to calculate a counter register index value; selecting the coordinate using the counter register index value; and Increment the selected coordinate using the counter register index value.