WO2021120228A1 - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
WO2021120228A1
WO2021120228A1 PCT/CN2019/127223 CN2019127223W WO2021120228A1 WO 2021120228 A1 WO2021120228 A1 WO 2021120228A1 CN 2019127223 W CN2019127223 W CN 2019127223W WO 2021120228 A1 WO2021120228 A1 WO 2021120228A1
Authority
WO
WIPO (PCT)
Prior art keywords
privacy
processing
data
noise
protection mechanism
Prior art date
Application number
PCT/CN2019/127223
Other languages
French (fr)
Chinese (zh)
Inventor
傅培森
郑文琛
杨强
Original Assignee
深圳前海微众银行股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Priority to PCT/CN2019/127223 priority Critical patent/WO2021120228A1/en
Publication of WO2021120228A1 publication Critical patent/WO2021120228A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Definitions

  • the present invention relates to the field of financial technology (Fintech) and computer software, in particular to a data processing method and device.
  • the privacy treatment of the conversion data may be too strict or too loose. If the conversion data is subjected to too strict privacy treatment, the information will be extremely distorted, leading to the estimation of the analysis model The accuracy is low. If the privacy treatment of the conversion data is too loose, the privacy protection of the conversion data will be weaker, and the security of the conversion data will be lower.
  • the present application provides a data processing method and device, which solves the problem of seeking a balance between privacy protection and the prediction effect of an analysis model in the prior art.
  • this application provides a data processing method: obtaining click data of a resource to be processed; querying conversion data of the resource based on the click data and outputting a privacy level setting interface; receiving information set through the privacy level setting interface Privacy level, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism to perform privacy processing on the converted data, and convert the privacy processing
  • the data is sent to the resource recommendation platform for analysis model establishment.
  • said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
  • said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm
  • the data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
  • the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform
  • the establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
  • the method before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
  • the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
  • the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
  • the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
  • this application provides a data processing device, including: an acquisition module for acquiring click data of a resource to be processed; a query module for querying conversion data of the resource based on the click data and outputting privacy level settings Interface; receiving the privacy level set through the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level, wherein different privacy levels correspond to different privacy protection mechanisms; processing module used to use query privacy protection The mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
  • the processing module is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; add noise to the conversion data by adding noise corresponding to the noise variance to the conversion data ; According to the preset public key and the preset homomorphic encryption algorithm, the converted data after the noise processing is encrypted, so as to complete the privacy processing of the converted data.
  • the processing module is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm; Noise corresponding to the variance of the noise is added to the data, and noise is added to the encrypted converted data to complete the privacy processing of the converted data.
  • the processing module is further configured to: perform mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data; and perform privacy processing on the mixed data by using the privacy protection mechanism of the query, And send the mixed data after privacy processing to the resource recommendation platform for analysis model establishment.
  • the acquisition module is further used to: acquire different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and the different privacy protection mechanisms.
  • the acquisition module is further configured to: receive privacy model parameters sent by the resource recommendation platform; and the processing module is further configured to: use a preset privacy protection mechanism to perform privacy removal processing on the privacy model parameters , Obtain de-privacy model parameters; perform click conversion analysis on the resource based on the de-privacy model parameters to obtain the click conversion rate of the resource.
  • the processing module is specifically configured to: if the converted data is subjected to privacy processing by means of noise addition and encryption with a preset homomorphic encryption algorithm, obtaining a preset corresponding to the preset homomorphic encryption algorithm Private key; use the preset private key to decrypt the privacy model parameters, complete the deprivacy processing of the privacy model parameters, and obtain deprivacy model parameters.
  • the acquisition module is specifically configured to: send a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receive the resource recommendation platform according to the characteristic information The click data of the query.
  • the present application provides a computer device including a program or instruction.
  • the program or instruction When the program or instruction is executed, the following steps are realized: obtaining click data of the resource to be processed; querying the conversion of the resource according to the click data Data and output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the queried privacy
  • the protection mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
  • said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
  • said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm
  • the data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
  • the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform
  • the establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
  • the method before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
  • the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
  • the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
  • the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
  • the present application provides a storage medium including a program or instruction.
  • the program or instruction When the program or instruction is executed, the following steps are implemented: obtain click data of the resource to be processed; query the conversion of the resource according to the click data Data and output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the queried privacy
  • the protection mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
  • said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
  • said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm
  • the data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
  • the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform
  • the establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
  • the method before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
  • the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
  • the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
  • the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
  • the data processing method and device provided in this application can query the conversion data of the resource based on the click data of the resource to be processed, and can output a
  • the privacy level setting interface can be flexibly set according to specific needs, and the privacy protection mechanism corresponding to the privacy level can be queried. Since different privacy levels correspond to different privacy protection mechanisms, different privacy protection mechanisms can be used to perform different operations on the conversion data. Privacy processing of the privacy level, and sending the converted data after privacy processing to the resource recommendation platform for analysis model establishment, that is, it can flexibly select the privacy protection mechanism to process the converted data, which can be in the privacy protection and the estimated effect of the analysis model. Seeking a balance between the two, that is, it can ensure that the accuracy of the analysis model is improved while protecting user privacy.
  • FIG. 1 is a schematic flow diagram of the steps of a data processing method provided by an embodiment of this application;
  • FIG. 2 is a schematic diagram of an applicable architecture of a data processing method provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of a corresponding interface of a data processing method provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the application.
  • information recommendation in the field of financial technology is particularly important and is the main channel for expanding financial product customers.
  • the resource provider wants to improve the conversion effect of the users recommended by the information
  • the information recommendation source needs to transfer the user conversion data to the resource recommendation platform, and the resource recommendation platform analyzes the user conversion data.
  • a fixed privacy protection mechanism is usually used to process user conversion data. This method may cause the privacy treatment of user conversion data to be too strict or too loose.
  • an embodiment of the present application provides a data processing method, which includes the following steps:
  • Step 101 Obtain the click data of the resource to be processed.
  • Step 102 Query the conversion data of the resource according to the click data and output a privacy level setting interface.
  • Step 103 Receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level.
  • Step 104 Use the privacy protection mechanism of the query to perform privacy processing on the converted data, and send the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
  • users can be divided into three categories in chronological order: exposure users, click users, and converted users.
  • Exposure users are users who have recommended resources for the resource recommendation platform; click users are users who have clicked on the resources recommended by the resource recommendation platform. Obviously, the click users must be exposed users; the converted users are users who have clicked on the resources recommended by the resource recommendation platform.
  • conversion behaviors such as registration behavior purchase behaviors
  • the exposure data includes at least feature information and an exposure label value (for example, the exposure label value is represented by 0).
  • Click data includes at least feature information and click tag value (for example, the click tag value is represented by 1).
  • the conversion data includes at least the characteristic information and the conversion tag value (for example, the conversion tag value is represented by 2).
  • the conversion data is the original conversion data without privacy treatment, and the conversion data is also It can be called raw conversion data.
  • the feature information can include multiple types of features, such as user features, resource features, and scene features.
  • User characteristics refer to the basic attributes of users, such as age and gender.
  • Resource characteristics refer to the basic attributes of recommended resources, such as the format and layout of recommended resources.
  • Scenario features refer to scenarios in which recommended resources are recommended to users, such as recommended locations and user actions that trigger recommendations.
  • the execution subject in step 101 to step 104 may be the resource provider, and the resource provider will entrust the resource recommendation platform to perform resource recommendation. Since the user’s conversion behavior occurs on the resource provider side, the resource provider side will have a large amount of user conversion data. Because the processing resources recommended to the user are executed by the resource recommendation platform, and the resource recommendation platform will respond when the user clicks on the processing resource Therefore, the resource recommendation platform will have a large amount of user exposure data and user click data.
  • step 101 obtain different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and the different privacy The mapping relationship between protection mechanisms.
  • the specific methods of the privacy protection mechanism are not limited, as long as the privacy protection effect of the converted data is achieved. For example, change the conversion data according to certain rules, such as randomly changing the label value of the conversion data, and then cover the conversion data according to certain rules, such as encrypting the conversion data through a symmetric encryption algorithm.
  • Each privacy protection mechanism can correspond to a degree of data change. The degree of data change is the degree of difference between the changed converted data and the original converted data.
  • the mapping relationship between the privacy level and the privacy protection mechanism it can be set to be positively correlated with the degree of data change of the privacy protection mechanism, or it can be set to be negatively correlated, which is not limited here. It can also be set without the degree of data change of the privacy protection mechanism. For example, directly establish a mapping relationship between privacy level one and privacy protection mechanism one, and establish a mapping relationship between privacy level two and privacy protection mechanism two, and so on.
  • step 101 the specific manner may be:
  • the resource recommendation platform When the resource recommendation platform recommends processing resources to users, it can record which users are recommended which resources and record the characteristic information of the resources. Then, the resource provider can query which click data puts the resource with corresponding characteristic information according to the characteristic information of the resource, so as to query the corresponding click data.
  • the download request is q
  • q includes the characteristic information t of the resource
  • the click data of the characteristic information resource of t placed in the resource platform includes 10 items such as a1, a2,..., a10, then a1, a2 are received ,..., a10 and other 10 click data.
  • step 102 determine the noise variance corresponding to the privacy protection mechanism of the query; add noise to the conversion data by adding noise corresponding to the noise variance to the conversion data; It is assumed that the public key and the preset homomorphic encryption algorithm perform encryption processing on the converted data after the noise processing, so as to complete the privacy processing of the converted data.
  • the specific noise type is not limited.
  • the noise is Laplace noise. Since the noise variance characterizes the degree of fluctuation of the noise, noise with different fluctuation degrees corresponding to the noise variance can be added to the conversion data. Obviously, the greater the noise variance, the stronger the uncertainty of adding noise, and the greater the transformation of the noise-added conversion data from the original conversion data. Therefore, noise acts as a confusing information.
  • the noise variance can be used to flexibly control the degree of transformation of the converted data after adding noise, that is, control the degree of privacy.
  • the conversion data after the noise processing can continue to encrypt the converted data after the noise processing according to the preset public key and the preset homomorphic encryption algorithm, and further cover the converted data after the noise processing, thereby providing a noise-based fluctuation The extent to which the conversion data is changed and covered up.
  • the transformed data is covered first, and then the encrypted transformed data is obfuscated, and the degree of transformation of the transformed data after adding noise can also be flexibly controlled through the noise variance.
  • the homomorphic encryption algorithm of the original conversion data can be decrypted and restored to the original conversion data by the corresponding homomorphic decryption algorithm after encryption. Because the encryption is homomorphic, the homomorphic encryption will not predict the effect of the analysis model. The conversion data added with noise is a transformation of the conversion data, and this transformation will have an impact on the estimated effect of the analysis model.
  • the click data and the conversion data are mixed according to a preset mixing algorithm to obtain mixed data; in step 104, the query privacy protection mechanism is used to perform the mixed processing on the mixed data.
  • the data is subjected to privacy processing, and the mixed data after privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the mixed data that mixes the click data and the conversion data is subjected to privacy processing, so that the click data is also subjected to privacy processing, and the mixed data can also seek a balance between privacy protection and model prediction effect .
  • step 104 receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism to perform privacy removal processing on the privacy model parameters to obtain privacy model parameters; based on The deprivation model parameter performs a click conversion analysis on the resource to obtain the click conversion rate of the resource.
  • the analysis model parameters obtained by the resource recommendation platform are also privacy model parameters with privacy protection; the direct use of the privacy model parameters will reduce the analysis model Therefore, the preset privacy protection mechanism can be used to deprivacy processing the privacy model parameters to obtain the privacy model parameters; based on the privacy model parameters, click conversion analysis of the resources to obtain more Accurate click conversion rate of the resource.
  • a preset privacy protection mechanism is used to perform privacy removal processing on the privacy model parameters, and the specific method for obtaining the privacy model parameters may be as follows:
  • the converted data is subjected to privacy processing by adding noise and encrypting with a preset homomorphic encryption algorithm, obtain the preset private key corresponding to the preset homomorphic encryption algorithm;
  • the privacy model parameters are decrypted, the privacy removal processing of the privacy model parameters is completed, and the privacy model parameters are obtained.
  • the encryption algorithm used is the preset homomorphic encryption algorithm, so the encrypted data can be trained to get the same effect as the data before encryption. Only the preset private key corresponding to the preset homomorphic encryption algorithm is required to perform the privacy model parameters. Decryption, completes the de-privacy processing of the privacy model parameters, and obtains the de-privacy model parameters. Therefore, this method can not only protect the privacy of the converted data, but also obtain more accurate privacy model parameters.
  • the data processing method shown in Figure 1 can provide tools for the resource provider to set the privacy level.
  • the core is that the resource provider can balance the privacy level and model prediction effect by itself.
  • the privacy level and the privacy protection mechanism are positively correlated, that is, the higher the privacy level, the greater the degree of modification to the conversion data, and the higher the degree of encryption of the conversion data.
  • Step 1 The resource provider obtains click data from the resource recommendation platform.
  • Step 2 The resource provider mixes user click data and conversion data.
  • Step 3 The resource provider uses tools to set different privacy levels (for example, the higher the privacy level, the higher the degree of data conversion) is equivalent to adding noise to the data. As shown in Figure 3, this step of operation is visual and measurable for the resource provider.
  • the first type Randomly convert the label value of the conversion data to 0 or randomly to 1.
  • the resource provider reverses the tag value 0, 1 of the user conversion data with a certain probability; the higher the probability of reversal, the stronger the degree of privacy protection, but the worse the estimated effect.
  • the second type the resource provider adds a noise conforming to the Laplacian distribution, for example, adding Laplace noise conforming to L(0,0.1) on the basis of 0 and 1.
  • a noise conforming to the Laplacian distribution for example, adding Laplace noise conforming to L(0,0.1) on the basis of 0 and 1.
  • the degree of privacy protection and the estimated effect need to be balanced.
  • machine learning methods can be used to estimate the subsequent effects of different privacy protections based on the effects of different levels of privacy protection in the past.
  • this kind of privacy leakage of the machine learning model is contradictory to the effect of the model. Therefore, a corresponding level of privacy protection can be applied according to the effect of the model and the similarity of the model.
  • a corresponding level of privacy protection can be applied according to the effect of the model and the similarity of the model.
  • a large amount of noise is applied to provide a certain level of privacy protection.
  • a smaller noise can be applied to provide a certain level of privacy protection.
  • the level of protection that the resource provider hopes to provide to its users also affects the degree of noise imposed. Specifically, when the machine learning model is fixed, larger noise addition generally represents stricter privacy protection.
  • Step 4 The resource provider encrypts the converted data.
  • the specific encryption method can be a homomorphic encryption method, which is mainly used to protect the security during data transmission.
  • Step 5 The resource provider transmits the user's encrypted data to the resource recommendation platform.
  • the resource recommendation platform establishes a conversion estimation model based on the conversion data after privacy processing. Used to estimate click conversion rate.
  • Step 6 The resource provider downloads the privacy model parameters and decrypts to obtain the privacy model parameters.
  • the present application provides a data processing device, which includes: an acquisition module 401, configured to acquire click data of a resource to be processed; and a query module 402, configured to query conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; processing module 403 for The privacy protection mechanism of the query is used to perform privacy processing on the converted data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the processing module 403 is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; The data is subjected to noise processing; the converted data after the noise processing is encrypted according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
  • the processing module 403 is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm; Noise corresponding to the variance of the noise is added to the encrypted conversion data, and noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
  • the processing module 403 is further configured to: perform mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data;
  • the data is subjected to privacy processing, and the mixed data after privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the acquisition module 401 is further configured to: acquire different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and The mapping relationship between the different privacy protection mechanisms.
  • the obtaining module 401 is further configured to: receive privacy model parameters sent by the resource recommendation platform; the processing module 403 is further configured to: use a preset privacy protection mechanism to protect the privacy
  • the model parameters are subjected to de-privacy processing to obtain de-privacy model parameters; based on the de-privacy model parameters, click conversion analysis is performed on the resource to obtain the click conversion rate of the resource.
  • the processing module 403 is specifically configured to: if the converted data is subjected to privacy processing by means of noise addition and encryption with a preset homomorphic encryption algorithm, then obtain the data with the preset homomorphic encryption The preset private key corresponding to the algorithm; decrypt the privacy model parameters by using the preset private key, complete the deprivacy processing of the privacy model parameters, and obtain the deprivacy model parameters.
  • the acquisition module 401 is specifically configured to: send a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receive the resource recommendation platform The click data queried according to the characteristic information.
  • the embodiment of the present application provides a computer device including a program or instruction.
  • the program or instruction When the program or instruction is executed, the following steps are implemented: obtaining click data of a resource to be processed; querying conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism Perform privacy processing on the converted data, and send the converted data after privacy processing to a resource recommendation platform for analysis model establishment.
  • said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
  • the use of the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm
  • the data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
  • the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform
  • the establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
  • the method before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
  • the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
  • the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
  • the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
  • the embodiment of the present application provides a storage medium that includes a program or instruction.
  • the program or instruction When the program or instruction is executed, the following steps are implemented: obtain the click data of the resource to be processed; query the conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism Perform privacy processing on the converted data, and send the converted data after privacy processing to a resource recommendation platform for analysis model establishment.
  • said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
  • said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm
  • the data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
  • the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  • the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform
  • the establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
  • the method before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
  • the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
  • the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
  • the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.

Abstract

Provided are a data processing method and a device, wherein the method is: acquiring click data of the resource to be processed (101); querying conversion data of the resource according to the click data and outputting a privacy level setting interface (102); receiving the privacy level set by the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level (103); performing privacy processing on the conversion data using the queried privacy protection mechanism, and sending the conversion data after privacy processing to a resource recommendation platform for analysis model establishment (104). When the above method is applied to Fintech, because the privacy level set by the privacy level setting interface can be received, the queried privacy protection mechanism is used to perform privacy processing on the conversion data, which can flexibly perform conversion processing on user data, and seek a balance between privacy protection and the estimated effect of the analysis model.

Description

一种数据处理方法及装置Data processing method and device 技术领域Technical field
本发明涉及金融科技(Fintech)领域和计算机软件领域,尤其涉及一种数据处理方法及装置。The present invention relates to the field of financial technology (Fintech) and computer software, in particular to a data processing method and device.
背景技术Background technique
随着计算机技术的发展,越来越多的技术(大数据、分布式、区块链(Blockchain)、人工智能等)应用在金融领域,传统金融业正在逐步向金融科技(Fintech)转变。目前,金融科技领域中的信息推荐尤其重要,是拓展金融产品客户的主要渠道。资源提供端如果希望提高信息推荐的用户转化为消费用户的效果,信息推荐源就需要把用户数据传输给资源推荐平台,由资源推荐平台通过用户数据建立分析模型来预估用户的转化行为。在实际应用中,为了避免用户隐私泄露,需要对转化数据进行隐私处理后传输给资源推荐平台。With the development of computer technology, more and more technologies (big data, distributed, Blockchain, artificial intelligence, etc.) are applied in the financial field, and the traditional financial industry is gradually changing to Fintech. At present, information recommendation in the field of financial technology is particularly important, and it is the main channel for expanding financial product customers. If the resource provider wants to improve the conversion effect of information recommended users into consumer users, the information recommendation source needs to transmit user data to the resource recommendation platform, and the resource recommendation platform builds an analysis model through the user data to estimate the user's conversion behavior. In practical applications, in order to avoid the disclosure of user privacy, the conversion data needs to be privately processed and then transmitted to the resource recommendation platform.
目前,通常采用固定的隐私保护机制对转化数据进行处理。然而,若采用上述方式对转化数据进行处理,可能会造成转化数据的隐私处理过于严格或者过于宽松,若对转化数据进行了过于严格的隐私处理,会造成信息极度失真,导致分析模型的预估准确性较低,若对转化数据进行了过于宽松的隐私处理,会造成转化数据的隐私保护力度较小,造成转化数据的安全性较低。Currently, a fixed privacy protection mechanism is usually used to process conversion data. However, if the conversion data is processed in the above manner, the privacy treatment of the conversion data may be too strict or too loose. If the conversion data is subjected to too strict privacy treatment, the information will be extremely distorted, leading to the estimation of the analysis model The accuracy is low. If the privacy treatment of the conversion data is too loose, the privacy protection of the conversion data will be weaker, and the security of the conversion data will be lower.
发明内容Summary of the invention
本申请提供一种数据处理方法及装置,解决了现有技术中不能在隐私保护与分析模型的预估效果之间的寻求平衡的问题。The present application provides a data processing method and device, which solves the problem of seeking a balance between privacy protection and the prediction effect of an analysis model in the prior art.
第一方面,本申请提供一种数据处理方法:获取待处理资源的点击数据;根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;利用查询的 隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。In the first aspect, this application provides a data processing method: obtaining click data of a resource to be processed; querying conversion data of the resource based on the click data and outputting a privacy level setting interface; receiving information set through the privacy level setting interface Privacy level, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism to perform privacy processing on the converted data, and convert the privacy processing The data is sent to the resource recommendation platform for analysis model establishment.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; Noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm The data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,包括:利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment. Before, the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform The establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
可选地,所述获取待处理资源的点击数据之前,所述方法还包括:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Optionally, before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
可选地,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:接收所述资源推荐平台发送的隐私模型参数;利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, after the privacy-processed conversion data is sent to the resource recommendation platform for analysis model establishment, the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
可选地,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
可选地,所述获取待处理资源的点击数据,包括:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
第二方面,本申请提供一种数据处理装置,包括:获取模块,用于获取待处理资源的点击数据;查询模块,用于根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;处理模块,用于利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。In a second aspect, this application provides a data processing device, including: an acquisition module for acquiring click data of a resource to be processed; a query module for querying conversion data of the resource based on the click data and outputting privacy level settings Interface; receiving the privacy level set through the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level, wherein different privacy levels correspond to different privacy protection mechanisms; processing module used to use query privacy protection The mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
可选地,所述处理模块具体用于:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, the processing module is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; add noise to the conversion data by adding noise corresponding to the noise variance to the conversion data ; According to the preset public key and the preset homomorphic encryption algorithm, the converted data after the noise processing is encrypted, so as to complete the privacy processing of the converted data.
可选地,所述处理模块具体用于:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, the processing module is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm; Noise corresponding to the variance of the noise is added to the data, and noise is added to the encrypted converted data to complete the privacy processing of the converted data.
可选地,所述处理模块还用于:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the processing module is further configured to: perform mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data; and perform privacy processing on the mixed data by using the privacy protection mechanism of the query, And send the mixed data after privacy processing to the resource recommendation platform for analysis model establishment.
可选地,所述获取模块还用于:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Optionally, the acquisition module is further used to: acquire different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and the different privacy protection mechanisms. The mapping relationship between protection mechanisms.
可选地,所述获取模块还用于:接收所述资源推荐平台发送的隐私模型参数;所述处理模块还用于:利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, the acquisition module is further configured to: receive privacy model parameters sent by the resource recommendation platform; and the processing module is further configured to: use a preset privacy protection mechanism to perform privacy removal processing on the privacy model parameters , Obtain de-privacy model parameters; perform click conversion analysis on the resource based on the de-privacy model parameters to obtain the click conversion rate of the resource.
可选地,所述处理模块具体用于:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the processing module is specifically configured to: if the converted data is subjected to privacy processing by means of noise addition and encryption with a preset homomorphic encryption algorithm, obtaining a preset corresponding to the preset homomorphic encryption algorithm Private key; use the preset private key to decrypt the privacy model parameters, complete the deprivacy processing of the privacy model parameters, and obtain deprivacy model parameters.
可选地,所述获取模块具体用于:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the acquisition module is specifically configured to: send a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receive the resource recommendation platform according to the characteristic information The click data of the query.
第三方面,本申请提供一种计算机设备,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:获取待处理资源的点击数据;根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。In a third aspect, the present application provides a computer device including a program or instruction. When the program or instruction is executed, the following steps are realized: obtaining click data of the resource to be processed; querying the conversion of the resource according to the click data Data and output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the queried privacy The protection mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; Noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm The data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,包括:利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment. Before, the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform The establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
可选地,所述获取待处理资源的点击数据之前,所述方法还包括:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Optionally, before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
可选地,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:接收所述资源推荐平台发送的隐私模型参数; 利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, after the privacy-processed conversion data is sent to the resource recommendation platform for analysis model establishment, the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
可选地,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
可选地,所述获取待处理资源的点击数据,包括:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
第四方面,本申请提供一种存储介质,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:获取待处理资源的点击数据;根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。In a fourth aspect, the present application provides a storage medium including a program or instruction. When the program or instruction is executed, the following steps are implemented: obtain click data of the resource to be processed; query the conversion of the resource according to the click data Data and output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the queried privacy The protection mechanism performs privacy processing on the converted data, and sends the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; Noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm The data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建 立,包括:利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment. Before, the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform The establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
可选地,所述获取待处理资源的点击数据之前,所述方法还包括:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Optionally, before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
可选地,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:接收所述资源推荐平台发送的隐私模型参数;利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, after the privacy-processed conversion data is sent to the resource recommendation platform for analysis model establishment, the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
可选地,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
可选地,所述获取待处理资源的点击数据,包括:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
本申请提供的数据处理方法及装置,与现有技术采用固定的隐私保护机制对转化数据进行处理相比,本申请能够根据待处理资源的点击数据查询所述资源的转化数据,并可以输出一个能够根据具体需求灵活地设置隐私等级的设置界面,并查询该隐私等级对应的隐私保护机制,由于不同隐私等级对应不同的隐私保护机制,因此能够利用不同的隐私保护机制对所述转化数据进行不同隐私等级的隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,即能够灵活地选择隐私保护机制对转化数据进行处理,能够在隐私保护与分析模型的预估效果之间的寻求平衡,即能够保证在保护用户隐私的同时,提升分析模型的预估准确性。Compared with the prior art using a fixed privacy protection mechanism to process conversion data, the data processing method and device provided in this application can query the conversion data of the resource based on the click data of the resource to be processed, and can output a The privacy level setting interface can be flexibly set according to specific needs, and the privacy protection mechanism corresponding to the privacy level can be queried. Since different privacy levels correspond to different privacy protection mechanisms, different privacy protection mechanisms can be used to perform different operations on the conversion data. Privacy processing of the privacy level, and sending the converted data after privacy processing to the resource recommendation platform for analysis model establishment, that is, it can flexibly select the privacy protection mechanism to process the converted data, which can be in the privacy protection and the estimated effect of the analysis model. Seeking a balance between the two, that is, it can ensure that the accuracy of the analysis model is improved while protecting user privacy.
附图说明Description of the drawings
图1为本申请实施例提供的一种数据处理方法的步骤流程示意图;FIG. 1 is a schematic flow diagram of the steps of a data processing method provided by an embodiment of this application;
图2为本申请实施例提供的一种数据处理方法可应用的架构示意图;2 is a schematic diagram of an applicable architecture of a data processing method provided by an embodiment of the application;
图3为本申请实施例提供的一种数据处理方法相应的界面示意图;FIG. 3 is a schematic diagram of a corresponding interface of a data processing method provided by an embodiment of the application;
图4为本申请实施例提供的一种数据处理装置的结构示意图。FIG. 4 is a schematic structural diagram of a data processing device provided by an embodiment of the application.
具体实施方式Detailed ways
为了更好的理解上述技术方案,下面将结合说明书附图及具体的实施方式对上述技术方案进行详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互结合。In order to better understand the above technical solutions, the above technical solutions will be described in detail below with reference to the drawings and specific implementations of the specification. It should be understood that the embodiments of the application and the specific features in the embodiments are detailed to the technical solutions of the application. Note, rather than limiting the technical solution of the present application, the embodiments of the present application and the technical features in the embodiments can be combined with each other if there is no conflict.
在金融机构(银行机构、保险机构或证券机构)在进行业务(如银行的贷款业务、存款业务等)运转过程中,金融科技领域中的信息推荐尤其重要,是拓展金融产品客户的主要渠道。资源提供端如果希望提高信息推荐的用户转化为转化用户的效果,信息推荐源就需要把用户转化数据传输资源推荐平台,由资源推荐平台对用户转化数据进行分析。但是,目前的方式中通常采用固定的隐私保护机制对用户转化数据进行处理,这种方式可能会造成用户转化数据的隐私处理过于严格或者过于宽松。一方面,若对用户转化数据的隐私处理过于严格,则原有的用户转化数据变严重失真,导致分析模型的预估准确性较低;另一方面,若对用户转化数据的隐私处理过于宽松,虽然有较高的分析模型准确性,但会暴露较多的用户转化数据变严重失真,造成用户转化数据的安全性较低。显然,现有技术不能在隐私保护与分析模型的预估效果之间的寻求平衡。这种情况不符合银行等金融机构的需求,无法保证金融机构各项业务的高效运转。During the operation of financial institutions (banking institutions, insurance institutions or securities institutions) (such as bank loan business, deposit business, etc.), information recommendation in the field of financial technology is particularly important and is the main channel for expanding financial product customers. If the resource provider wants to improve the conversion effect of the users recommended by the information, the information recommendation source needs to transfer the user conversion data to the resource recommendation platform, and the resource recommendation platform analyzes the user conversion data. However, in current methods, a fixed privacy protection mechanism is usually used to process user conversion data. This method may cause the privacy treatment of user conversion data to be too strict or too loose. On the one hand, if the privacy treatment of user conversion data is too strict, the original user conversion data will become severely distorted, resulting in lower estimation accuracy of the analysis model; on the other hand, if the privacy treatment of user conversion data is too loose Although there is a high accuracy of the analysis model, it will expose more user conversion data to become severely distorted, resulting in lower security of the user conversion data. Obviously, the existing technology cannot find a balance between privacy protection and the predicted effect of the analysis model. This situation does not meet the needs of banks and other financial institutions, and cannot guarantee the efficient operation of various businesses of financial institutions.
为此,如图1所示,本申请实施例提供一种数据处理方法,包括以下步骤:To this end, as shown in FIG. 1, an embodiment of the present application provides a data processing method, which includes the following steps:
步骤101:获取待处理资源的点击数据。Step 101: Obtain the click data of the resource to be processed.
步骤102:根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面。Step 102: Query the conversion data of the resource according to the click data and output a privacy level setting interface.
步骤103:接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制。Step 103: Receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level.
其中,不同隐私等级对应不同的隐私保护机制。Among them, different privacy levels correspond to different privacy protection mechanisms.
步骤104:利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。Step 104: Use the privacy protection mechanism of the query to perform privacy processing on the converted data, and send the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
需要说明的是,步骤101~步骤104中,用户按照时间顺序可分为三类:曝光用户、点击用户和转化用户。曝光用户为资源推荐平台推荐了资源的用户;点击用户为点击了资源推荐平台推荐的资源的用户,显然,点击用户必然为曝光用户;转化用户为点击了资源推荐平台推荐的资源后在资源提供端发送转化行为(如注册行为购买行为)的用户,显然,转化用户必为点击用户。曝光数据至少包括特征信息和曝光标签值(如曝光标签值用0表示)。点击数据至少包括特征信息和点击标签值(如点击标签值用1表示)。转化数据至少包括特征信息和转化标签值(如转化标签值用2表示),需要说明的是,在以下描述中,若无特别说明,转化数据为没有经过隐私处理的原始转化数据,转化数据也可以称为原始转化数据。其中,特征信息可以包括多种类型的特征,如用户特征、资源特征和场景特征。用户特征指用户的基础属性,如年龄、性别等。资源特征指推荐资源的基础属性,如推荐资源的格式、布局。场景特征指将推荐资源推荐给用户的场景,如推荐的地点、触发推荐的用户操作。It should be noted that in step 101 to step 104, users can be divided into three categories in chronological order: exposure users, click users, and converted users. Exposure users are users who have recommended resources for the resource recommendation platform; click users are users who have clicked on the resources recommended by the resource recommendation platform. Obviously, the click users must be exposed users; the converted users are users who have clicked on the resources recommended by the resource recommendation platform. For users who send conversion behaviors (such as registration behavior purchase behaviors) on the other end, obviously, the converted users must be clickers. The exposure data includes at least feature information and an exposure label value (for example, the exposure label value is represented by 0). Click data includes at least feature information and click tag value (for example, the click tag value is represented by 1). The conversion data includes at least the characteristic information and the conversion tag value (for example, the conversion tag value is represented by 2). It should be noted that, in the following description, unless otherwise specified, the conversion data is the original conversion data without privacy treatment, and the conversion data is also It can be called raw conversion data. Among them, the feature information can include multiple types of features, such as user features, resource features, and scene features. User characteristics refer to the basic attributes of users, such as age and gender. Resource characteristics refer to the basic attributes of recommended resources, such as the format and layout of recommended resources. Scenario features refer to scenarios in which recommended resources are recommended to users, such as recommended locations and user actions that trigger recommendations.
步骤101~步骤104中的执行主体可以为资源提供端,资源提供端会委托资源推荐平台进行资源推荐。由于用户的转化行为发生在资源提供端,资源提供端会存有大量的用户转化数据,由于推荐给用户的处理资源是资源推荐平台执行的,而用户点击处理资源时资源推荐平台也会有响应,因此资源推荐平台会存有大量的用户曝光数据和用户点击数据。The execution subject in step 101 to step 104 may be the resource provider, and the resource provider will entrust the resource recommendation platform to perform resource recommendation. Since the user’s conversion behavior occurs on the resource provider side, the resource provider side will have a large amount of user conversion data. Because the processing resources recommended to the user are executed by the resource recommendation platform, and the resource recommendation platform will respond when the user clicks on the processing resource Therefore, the resource recommendation platform will have a large amount of user exposure data and user click data.
步骤101之前的一种可选实施方式中,获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。In an optional implementation manner before step 101, obtain different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and the different privacy The mapping relationship between protection mechanisms.
需要说明的是,隐私保护机制的具体手段不做限定,只要达到对转化数据的隐私保护效果即可。举例来说,根据一定规则对转化数据更改,如随机改变转化数据的标签值,再如根据一定规则对转化数据进行数据掩盖,如通过对称加密算法对转化数据加密。每一种隐私保护机制都可以对应一个数据改变程度,数据改变程度即改变后的转化数据相对于原始转化数据的差异程度。至于隐私等级与隐私保护机制的映射关系,既可以设置与隐私保护机制的数据改变程度呈正相关,也可以设置为负相关,在此不做限定。也可以不通过隐私保护机制的数据改变程度来设置。举例来说,直接将隐私等级一与隐私保护机制一建立映射关系,将隐私等级二与隐私保护机制二建立映射关系等等。It should be noted that the specific methods of the privacy protection mechanism are not limited, as long as the privacy protection effect of the converted data is achieved. For example, change the conversion data according to certain rules, such as randomly changing the label value of the conversion data, and then cover the conversion data according to certain rules, such as encrypting the conversion data through a symmetric encryption algorithm. Each privacy protection mechanism can correspond to a degree of data change. The degree of data change is the degree of difference between the changed converted data and the original converted data. As for the mapping relationship between the privacy level and the privacy protection mechanism, it can be set to be positively correlated with the degree of data change of the privacy protection mechanism, or it can be set to be negatively correlated, which is not limited here. It can also be set without the degree of data change of the privacy protection mechanism. For example, directly establish a mapping relationship between privacy level one and privacy protection mechanism one, and establish a mapping relationship between privacy level two and privacy protection mechanism two, and so on.
步骤101的一种可选实施方式中,具体方式可以为:In an optional implementation manner of step 101, the specific manner may be:
向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the click data that the resource recommendation platform queries according to the characteristic information.
资源推荐平台在将处理资源推荐给用户时,可以记录给哪些用户推荐哪些资源,并记录资源的特征信息。那么资源提供端可以根据资源的特征信息,查询哪些点击数据投放了相应特征信息的资源,从而查询到相应的点击数据。When the resource recommendation platform recommends processing resources to users, it can record which users are recommended which resources and record the characteristic information of the resources. Then, the resource provider can query which click data puts the resource with corresponding characteristic information according to the characteristic information of the resource, so as to query the corresponding click data.
举例来说,下载请求为q,q包括所述资源的特征信息t,而资源平台中投放了t特征信息资源的点击数据包括a1,a2,…,a10等10条,那么便接收a1,a2,…,a10等10条点击数据。For example, if the download request is q, q includes the characteristic information t of the resource, and the click data of the characteristic information resource of t placed in the resource platform includes 10 items such as a1, a2,..., a10, then a1, a2 are received ,..., a10 and other 10 click data.
步骤102的一种实施方式中,确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。In an implementation of step 102, determine the noise variance corresponding to the privacy protection mechanism of the query; add noise to the conversion data by adding noise corresponding to the noise variance to the conversion data; It is assumed that the public key and the preset homomorphic encryption algorithm perform encryption processing on the converted data after the noise processing, so as to complete the privacy processing of the converted data.
其中,具体的噪声类型不做限定。举例来说,噪声为拉普拉斯噪声。由于噪声方差表征了噪声的波动程度,因此可以向所述转化数据加入噪声方差对应的不同波动程度的噪声。显然,噪声方差越大,加入噪声的不确定性就越强,加噪后的转化数据相对原始的转化数据转变就越大。因此,噪声起到了作为一个混淆信息的作用。可以通过噪声方差灵活控制转化数据加噪后的转变程度,即控制隐私程度。再者,可以继续按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,进一步对加噪处理后的转化数据掩盖,从而提供了一种先按照噪声的波动程度更改转化数据并掩盖的方式。Among them, the specific noise type is not limited. For example, the noise is Laplace noise. Since the noise variance characterizes the degree of fluctuation of the noise, noise with different fluctuation degrees corresponding to the noise variance can be added to the conversion data. Obviously, the greater the noise variance, the stronger the uncertainty of adding noise, and the greater the transformation of the noise-added conversion data from the original conversion data. Therefore, noise acts as a confusing information. The noise variance can be used to flexibly control the degree of transformation of the converted data after adding noise, that is, control the degree of privacy. Furthermore, it can continue to encrypt the converted data after the noise processing according to the preset public key and the preset homomorphic encryption algorithm, and further cover the converted data after the noise processing, thereby providing a noise-based fluctuation The extent to which the conversion data is changed and covered up.
在另一种实施方式中,还可以先对转化数据进行加密,再对转化数据加噪,具体为:In another embodiment, it is also possible to encrypt the conversion data first, and then add noise to the conversion data, specifically as follows:
确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Determine the noise variance corresponding to the queried privacy protection mechanism; perform encryption processing on the converted data according to the preset public key and preset homomorphic encryption algorithm; add noise corresponding to the noise variance to the encrypted converted data, Noise addition processing is performed on the encrypted converted data to complete the privacy processing of the converted data.
这种实施方式中,是先对转化数据进行掩盖,再对加密后的转化数据进行信息混淆,也能通过噪声方差灵活控制转化数据加噪后的转变程度。In this implementation manner, the transformed data is covered first, and then the encrypted transformed data is obfuscated, and the degree of transformation of the transformed data after adding noise can also be flexibly controlled through the noise variance.
需要说明的是,原始转化数据同态加密算法加密后可以通过相应的同态解密算法解密还原为原始转化数据,因为加密是同态的,所以同态加密后不会对分析模型的预估效果造成影响;而加入噪声的转化数据就是对转化数据进行了转变,这种转变是会对分析模型的预估效果造成影响的。It should be noted that the homomorphic encryption algorithm of the original conversion data can be decrypted and restored to the original conversion data by the corresponding homomorphic decryption algorithm after encryption. Because the encryption is homomorphic, the homomorphic encryption will not predict the effect of the analysis model. The conversion data added with noise is a transformation of the conversion data, and this transformation will have an impact on the estimated effect of the analysis model.
在一种可选实施方式中,步骤101之前,按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;步骤104中,利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。在这种实施方式中,将点击数据与转化数据混合一起的混合数据都进行隐私处理,从而对点击数据也进行了隐私处理,对混合数据也能寻求隐私保护与模型预估效果之间的平衡。In an optional implementation, before step 101, the click data and the conversion data are mixed according to a preset mixing algorithm to obtain mixed data; in step 104, the query privacy protection mechanism is used to perform the mixed processing on the mixed data. The data is subjected to privacy processing, and the mixed data after privacy processing is sent to the resource recommendation platform for analysis model establishment. In this embodiment, the mixed data that mixes the click data and the conversion data is subjected to privacy processing, so that the click data is also subjected to privacy processing, and the mixed data can also seek a balance between privacy protection and model prediction effect .
步骤104之后的一种可选实施方式中,接收所述资源推荐平台发送的隐私模型参数;利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。In an optional implementation after step 104, receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism to perform privacy removal processing on the privacy model parameters to obtain privacy model parameters; based on The deprivation model parameter performs a click conversion analysis on the resource to obtain the click conversion rate of the resource.
由于步骤104中是将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,那么资源推荐平台得到的分析模型参数也是加了隐私保护的隐私模型参数;隐私模型参数直接使用会降低分析模型的效果,因此可以用预设的去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到更为准确的所述资源的点击转化率。Since in step 104 the converted data after privacy processing is sent to the resource recommendation platform for analysis model establishment, the analysis model parameters obtained by the resource recommendation platform are also privacy model parameters with privacy protection; the direct use of the privacy model parameters will reduce the analysis model Therefore, the preset privacy protection mechanism can be used to deprivacy processing the privacy model parameters to obtain the privacy model parameters; based on the privacy model parameters, click conversion analysis of the resources to obtain more Accurate click conversion rate of the resource.
在上述可选实施方式中,利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数的方式具体可以为:In the above-mentioned optional implementation manner, a preset privacy protection mechanism is used to perform privacy removal processing on the privacy model parameters, and the specific method for obtaining the privacy model parameters may be as follows:
若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。If the converted data is subjected to privacy processing by adding noise and encrypting with a preset homomorphic encryption algorithm, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; The privacy model parameters are decrypted, the privacy removal processing of the privacy model parameters is completed, and the privacy model parameters are obtained.
由于加噪是对所述转化数据进行改变的,这部分改变会在分析模型训练时体现出来。而采用的加密算法是预设同态加密算法,所以加密后的数据做训练能够得到和加密前数据一样的效果,只需要对预设同态加密算法对应的预设私钥对隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数,因此这种方式既可以对转化数据进行隐私保护,也能得到更加准确的隐私模型参数。Since the addition of noise changes the conversion data, this part of the change will be reflected in the training of the analysis model. The encryption algorithm used is the preset homomorphic encryption algorithm, so the encrypted data can be trained to get the same effect as the data before encryption. Only the preset private key corresponding to the preset homomorphic encryption algorithm is required to perform the privacy model parameters. Decryption, completes the de-privacy processing of the privacy model parameters, and obtains the de-privacy model parameters. Therefore, this method can not only protect the privacy of the converted data, but also obtain more accurate privacy model parameters.
下面结合图2和图3,详细介绍图1示出的数据处理方法。The data processing method shown in Fig. 1 will be described in detail below in conjunction with Fig. 2 and Fig. 3.
图1示出的数据处理方法可提供工具让资源提供端可以进行隐私等级的设置,核心在于资源提供端可以自助平衡隐私等级和模型预估效果。举例来说,隐私等级和隐私保护机制是呈正相关的,即隐私等级越高,对转化数据的更改程度就越大,对转化数据的加密程度就越高。当资源提供端将隐私等 级设置成最低,则资源提供端更侧重追求信息推荐的效果;当资源提供端将隐私等级设置成最高,则资源提供端更侧重追求用户的隐私保护。当隐私等级设置为最低于最高之间,则可以自由控制隐私保护程度,并且获得不同的效果。具体流程如下:The data processing method shown in Figure 1 can provide tools for the resource provider to set the privacy level. The core is that the resource provider can balance the privacy level and model prediction effect by itself. For example, the privacy level and the privacy protection mechanism are positively correlated, that is, the higher the privacy level, the greater the degree of modification to the conversion data, and the higher the degree of encryption of the conversion data. When the resource provider sets the privacy level to the lowest, the resource provider focuses more on pursuing the effect of information recommendation; when the resource provider sets the privacy level to the highest, the resource provider focuses more on pursuing user privacy protection. When the privacy level is set between the lowest and the highest, you can freely control the degree of privacy protection and obtain different effects. The specific process is as follows:
第一步:资源提供端从资源推荐平台端获得点击数据。Step 1: The resource provider obtains click data from the resource recommendation platform.
第二步:资源提供端混合用户点击数据和转化数据。Step 2: The resource provider mixes user click data and conversion data.
第三步:资源提供端运用工具来设置不同的隐私等级(例如:隐私等级越高,数据转换程度越高)相当于在数据中加入了噪声。如图3所示,这一步操作对于资源提供端来说是可视化且可衡量等级的。Step 3: The resource provider uses tools to set different privacy levels (for example, the higher the privacy level, the higher the degree of data conversion) is equivalent to adding noise to the data. As shown in Figure 3, this step of operation is visual and measurable for the resource provider.
对转化数据加入噪声的方式具体可以包括:Specific ways to add noise to the conversion data can include:
第一种:将转化数据的标签值随机转换为0,或随机转换为1。资源提供端以一定的概率反转用户转化数据的标签值0,1;反转的概率越高,则隐私保护程度越强,但预估效果越差。The first type: Randomly convert the label value of the conversion data to 0 or randomly to 1. The resource provider reverses the tag value 0, 1 of the user conversion data with a certain probability; the higher the probability of reversal, the stronger the degree of privacy protection, but the worse the estimated effect.
第二种:资源提供端添加一个符合拉普拉斯分布的噪声,例如在0和1基础添加符合L(0,0.1)的拉普拉斯噪声。该噪声的方差越大,则隐私保护越强。The second type: the resource provider adds a noise conforming to the Laplacian distribution, for example, adding Laplace noise conforming to L(0,0.1) on the basis of 0 and 1. The greater the variance of the noise, the stronger the privacy protection.
需要说明的是,隐私保护程度和预估效果是需要平衡的。具体可以使用机器学习的方法,根据历史投放的不同的隐私保护程度已经投放效果来预估后续不同隐私保护的效果。总体上说,机器学习模型的这类隐私泄露与该模型的效果是矛盾的。因此,可以根据模型的效果、模型的类似施加相应量级的隐私保护。具体的说,对于一个准确率极高或对每一个体预估值极敏感的模型,施加较大的噪声以提供一定量级的隐私保护。另一方面,对于准确率较低或对每一个体预估不敏感的模型,可以施加一个较小的噪声来提供一定量级的隐私保护。另外,除了机器学习模型的效果和个人敏感度以外,资源提供端希望对其用户提供的保护等级也影响了施加的噪声程度。具体的说,在机器学习模型固定的情况下,更大的噪声添加一般代表更严格的隐私保护。It should be noted that the degree of privacy protection and the estimated effect need to be balanced. Specifically, machine learning methods can be used to estimate the subsequent effects of different privacy protections based on the effects of different levels of privacy protection in the past. Generally speaking, this kind of privacy leakage of the machine learning model is contradictory to the effect of the model. Therefore, a corresponding level of privacy protection can be applied according to the effect of the model and the similarity of the model. Specifically, for a model with extremely high accuracy or extremely sensitive to the estimated value of each individual, a large amount of noise is applied to provide a certain level of privacy protection. On the other hand, for models with low accuracy or insensitive to each individual estimation, a smaller noise can be applied to provide a certain level of privacy protection. In addition, in addition to the effect of the machine learning model and personal sensitivity, the level of protection that the resource provider hopes to provide to its users also affects the degree of noise imposed. Specifically, when the machine learning model is fixed, larger noise addition generally represents stricter privacy protection.
第四步:资源提供端将转化数据进行加密。Step 4: The resource provider encrypts the converted data.
具体加密方式可以为同态加密方式,该方法主要是为了保护数据传输过程中的安全。The specific encryption method can be a homomorphic encryption method, which is mainly used to protect the security during data transmission.
第五步:资源提供端将用户加密数据传输给资源推荐平台端。资源推荐平台端根据隐私处理后的转化数据建立转化预估模型。用于预估点击转化率。Step 5: The resource provider transmits the user's encrypted data to the resource recommendation platform. The resource recommendation platform establishes a conversion estimation model based on the conversion data after privacy processing. Used to estimate click conversion rate.
第六步:资源提供端下载隐私模型参数,解密获得去隐私模型参数。Step 6: The resource provider downloads the privacy model parameters and decrypts to obtain the privacy model parameters.
如图4所示,本申请提供一种数据处理装置,包括:获取模块401,用于获取待处理资源的点击数据;查询模块402,用于根据所述点击数据查询所述 资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;处理模块403,用于利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。As shown in FIG. 4, the present application provides a data processing device, which includes: an acquisition module 401, configured to acquire click data of a resource to be processed; and a query module 402, configured to query conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; processing module 403 for The privacy protection mechanism of the query is used to perform privacy processing on the converted data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
一种可选实施方式中,所述处理模块403具体用于:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。In an optional implementation manner, the processing module 403 is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; The data is subjected to noise processing; the converted data after the noise processing is encrypted according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
一种可选实施方式中,所述处理模块403具体用于:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。In an optional implementation manner, the processing module 403 is specifically configured to: determine the noise variance corresponding to the privacy protection mechanism of the query; perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm; Noise corresponding to the variance of the noise is added to the encrypted conversion data, and noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
一种可选实施方式中,所述处理模块403还用于:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。In an optional implementation manner, the processing module 403 is further configured to: perform mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data; The data is subjected to privacy processing, and the mixed data after privacy processing is sent to the resource recommendation platform for analysis model establishment.
一种可选实施方式中,所述获取模块401还用于:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。In an optional implementation manner, the acquisition module 401 is further configured to: acquire different privacy protection mechanisms; divide the different privacy protection mechanisms according to different privacy levels; establish and save the different privacy protection mechanisms and The mapping relationship between the different privacy protection mechanisms.
一种可选实施方式中,所述获取模块401还用于:接收所述资源推荐平台发送的隐私模型参数;所述处理模块403还用于:利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。In an optional implementation manner, the obtaining module 401 is further configured to: receive privacy model parameters sent by the resource recommendation platform; the processing module 403 is further configured to: use a preset privacy protection mechanism to protect the privacy The model parameters are subjected to de-privacy processing to obtain de-privacy model parameters; based on the de-privacy model parameters, click conversion analysis is performed on the resource to obtain the click conversion rate of the resource.
一种可选实施方式中,所述处理模块403具体用于:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。In an optional implementation manner, the processing module 403 is specifically configured to: if the converted data is subjected to privacy processing by means of noise addition and encryption with a preset homomorphic encryption algorithm, then obtain the data with the preset homomorphic encryption The preset private key corresponding to the algorithm; decrypt the privacy model parameters by using the preset private key, complete the deprivacy processing of the privacy model parameters, and obtain the deprivacy model parameters.
一种可选实施方式中,所述获取模块401具体用于:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。In an optional implementation manner, the acquisition module 401 is specifically configured to: send a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receive the resource recommendation platform The click data queried according to the characteristic information.
本申请实施例提供一种计算机设备,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:获取待处理资源的点击数据;根据所述点击数 据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The embodiment of the present application provides a computer device including a program or instruction. When the program or instruction is executed, the following steps are implemented: obtaining click data of a resource to be processed; querying conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism Perform privacy processing on the converted data, and send the converted data after privacy processing to a resource recommendation platform for analysis model establishment.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; Noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, the use of the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm The data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,包括:利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment. Before, the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform The establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
可选地,所述获取待处理资源的点击数据之前,所述方法还包括:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Optionally, before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
可选地,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:接收所述资源推荐平台发送的隐私模型参数;利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, after the privacy-processed conversion data is sent to the resource recommendation platform for analysis model establishment, the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
可选地,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:若所述转化数据是通过加噪和预设同 态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
可选地,所述获取待处理资源的点击数据,包括:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
本申请实施例提供一种存储介质,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:获取待处理资源的点击数据;根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The embodiment of the present application provides a storage medium that includes a program or instruction. When the program or instruction is executed, the following steps are implemented: obtain the click data of the resource to be processed; query the conversion data of the resource according to the click data and Output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms; use the query privacy protection mechanism Perform privacy processing on the converted data, and send the converted data after privacy processing to a resource recommendation platform for analysis model establishment.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the conversion data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; Noisy, the conversion data is subjected to noise processing; according to the preset public key and the preset homomorphic encryption algorithm, the conversion data after the noise processing is encrypted, so as to complete the privacy processing of the conversion data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。Optionally, said using the privacy protection mechanism of the query to perform privacy processing on the converted data includes: determining the noise variance corresponding to the privacy protection mechanism of the query; and the conversion according to a preset public key and a preset homomorphic encryption algorithm The data is encrypted; the encrypted converted data is added with noise corresponding to the noise variance, and the encrypted converted data is noise-added to complete the privacy processing of the converted data.
可选地,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,包括:利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。Optionally, the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment. Before, the method further includes: according to a preset The hybrid algorithm performs mixed processing on the click data and the conversion data to obtain mixed data; the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the privacy processing conversion data is sent to the resource recommendation platform The establishment of the analysis model includes: using the privacy protection mechanism of the query to perform privacy processing on the mixed data, and sending the mixed data after the privacy processing to the resource recommendation platform to establish the analysis model.
可选地,所述获取待处理资源的点击数据之前,所述方法还包括:获取不同的隐私保护机制;按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的 映射关系。Optionally, before the acquiring click data of the resource to be processed, the method further includes: acquiring different privacy protection mechanisms; dividing the different privacy protection mechanisms according to different privacy levels; establishing and saving the different privacy protection mechanisms; The mapping relationship between the privacy protection mechanism and the different privacy protection mechanisms.
可选地,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:接收所述资源推荐平台发送的隐私模型参数;利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Optionally, after the privacy-processed conversion data is sent to the resource recommendation platform for analysis model establishment, the method further includes: receiving privacy model parameters sent by the resource recommendation platform; using a preset privacy protection mechanism, Perform deprivation processing on the privacy model parameters to obtain deprivacy model parameters; perform click conversion analysis on the resource based on the deprivacy model parameters to obtain the click conversion rate of the resource.
可选地,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Optionally, the use of a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain the de-privacy model parameters includes: if the converted data is encrypted by adding noise and a preset homomorphic encryption algorithm To perform privacy processing in the manner of, obtain the preset private key corresponding to the preset homomorphic encryption algorithm; use the preset private key to decrypt the privacy model parameters, and complete the privacy processing of the privacy model parameters , Get the deprivation model parameters.
可选地,所述获取待处理资源的点击数据,包括:向所述资源推荐平台发送点击数据下载请求,所述点击数据下载请求携带有所述资源的特征信息;接收所述资源推荐平台根据所述特征信息查询的所述点击数据。Optionally, the obtaining click data of the resource to be processed includes: sending a click data download request to the resource recommendation platform, where the click data download request carries characteristic information of the resource; and receiving the resource recommendation platform according to The click data queried by the characteristic information.
最后应说明的是:本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、光学存储器等)上实施的计算机程序产品的形式。Finally, it should be noted that those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, then this application is also intended to include these modifications and variations.

Claims (20)

  1. 一种数据处理方法,其特征在于,包括:A data processing method, characterized in that it comprises:
    获取待处理资源的点击数据;Get the click data of the resource to be processed;
    根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;Query the conversion data of the resource according to the click data and output a privacy level setting interface;
    接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;Receiving the privacy level set through the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms;
    利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The privacy protection mechanism of the query is used to perform privacy processing on the converted data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  2. 如权利要求1所述的方法,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:The method according to claim 1, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;By adding noise corresponding to the variance of the noise to the conversion data, performing noise addition processing on the conversion data;
    按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Encryption processing is performed on the converted data after noise processing according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
  3. 如权利要求1所述的方法,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:The method according to claim 1, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    按照预设公钥和预设同态加密算法所述转化数据进行加密处理;Perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm;
    通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。By adding noise corresponding to the variance of the noise to the encrypted conversion data, noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
  4. 如权利要求1所述的方法,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,之前,所述方法还包括:The method of claim 1, wherein the privacy protection mechanism of the query is used to perform privacy processing on the conversion data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment, before, The method also includes:
    按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;Performing mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data;
    所述利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立,包括:Said using the privacy protection mechanism of the query to perform privacy processing on the conversion data, and send the converted data after privacy processing to the resource recommendation platform for analysis model establishment, including:
    利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。The privacy protection mechanism of the query is used to perform privacy processing on the mixed data, and the mixed data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述获取待处理资源的点击数据之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein before said obtaining the click data of the resource to be processed, the method further comprises:
    获取不同的隐私保护机制;Obtain different privacy protection mechanisms;
    按照不同隐私等级对所述不同的隐私保护机制进行划分;Divide the different privacy protection mechanisms according to different privacy levels;
    建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。Establish and save the mapping relationship between the different privacy protection mechanisms and the different privacy protection mechanisms.
  6. 如权利要求1-4任一项所述的方法,其特征在于,所述将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立之后,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that, after said sending the privacy-treated conversion data to a resource recommendation platform for analysis model establishment, the method further comprises:
    接收所述资源推荐平台发送的隐私模型参数;Receiving privacy model parameters sent by the resource recommendation platform;
    利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;Using a preset de-privacy protection mechanism to perform de-privacy processing on the privacy model parameters to obtain de-privacy model parameters;
    基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Perform click conversion analysis on the resource based on the deprivation model parameters to obtain the click conversion rate of the resource.
  7. 如权利要求6所述的方法,其特征在于,所述利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数,包括:The method according to claim 6, wherein said using a preset de-privacy protection mechanism to perform de-privacy processing on said privacy model parameters to obtain de-privacy model parameters comprises:
    若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;If the converted data is subjected to privacy processing by means of adding noise and encryption with a preset homomorphic encryption algorithm, obtaining a preset private key corresponding to the preset homomorphic encryption algorithm;
    利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Decrypt the privacy model parameters by using the preset private key, complete deprivacy processing of the privacy model parameters, and obtain deprivacy model parameters.
  8. 一种数据处理装置,其特征在于,包括:A data processing device, characterized in that it comprises:
    获取模块,用于获取待处理资源的点击数据;The acquisition module is used to acquire the click data of the resource to be processed;
    查询模块,用于根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;The query module is used to query the conversion data of the resource according to the click data and output the privacy level setting interface; receive the privacy level set through the privacy level setting interface, and query the privacy protection mechanism corresponding to the privacy level, Among them, different privacy levels correspond to different privacy protection mechanisms;
    处理模块,用于利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The processing module is used to perform privacy processing on the converted data using the privacy protection mechanism of the query, and send the converted data after privacy processing to the resource recommendation platform for analysis model establishment.
  9. 如权利要求8所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 8, wherein the processing module is specifically configured to:
    确定查询的隐私保护机制所对应的噪声方差;通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;Determine the noise variance corresponding to the queried privacy protection mechanism; add noise to the converted data by adding noise corresponding to the noise variance to the converted data;
    按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Encryption processing is performed on the converted data after noise processing according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
  10. 如权利要求8所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 8, wherein the processing module is specifically configured to:
    确定查询的隐私保护机制所对应的噪声方差;按照预设公钥和预设同态加密算法所述转化数据进行加密处理;Determine the noise variance corresponding to the queried privacy protection mechanism; perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm;
    通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。By adding noise corresponding to the variance of the noise to the encrypted conversion data, noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
  11. 如权利要求8所述的装置,其特征在于,所述处理模块还用于:The device according to claim 8, wherein the processing module is further configured to:
    按照预设混合算法将所述点击数据与所述转化数据进行混合处理,得到混合数据;Performing mixing processing on the click data and the conversion data according to a preset mixing algorithm to obtain mixed data;
    利用查询的隐私保护机制对所述混合数据进行隐私处理,并将隐私处理后的混合数据发送给资源推荐平台进行分析模型建立。The privacy protection mechanism of the query is used to perform privacy processing on the mixed data, and the mixed data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  12. 如权利要求8-11任一所述的装置,其特征在于,所述获取模块还用于:The device according to any one of claims 8-11, wherein the acquisition module is further configured to:
    获取不同的隐私保护机制;Obtain different privacy protection mechanisms;
    按照不同隐私等级对所述不同的隐私保护机制进行划分;建立并保存所述不同的隐私保护机制与所述不同的隐私保护机制之间的映射关系。The different privacy protection mechanisms are divided according to different privacy levels; the mapping relationship between the different privacy protection mechanisms and the different privacy protection mechanisms is established and stored.
  13. 如权利要求8-11任一所述的装置,其特征在于,所述获取模块还用于:The device according to any one of claims 8-11, wherein the acquisition module is further configured to:
    接收所述资源推荐平台发送的隐私模型参数;Receiving privacy model parameters sent by the resource recommendation platform;
    所述处理模块还用于:The processing module is also used for:
    利用预设去隐私保护机制,对所述隐私模型参数进行去隐私处理,得到去隐私模型参数;基于所述去隐私模型参数对所述资源进行点击转化分析,得到所述资源的点击转化率。Using a preset de-privacy protection mechanism, perform de-privacy processing on the privacy model parameters to obtain de-privacy model parameters; perform click conversion analysis on the resource based on the de-privacy model parameters to obtain the click conversion rate of the resource.
  14. 如权利要求13所述的装置,其特征在于,所述处理模块具体用于:The device according to claim 13, wherein the processing module is specifically configured to:
    若所述转化数据是通过加噪和预设同态加密算法加密的方式进行隐私处理,则获取与所述预设同态加密算法对应的预设私钥;If the converted data is subjected to privacy processing by means of adding noise and encryption with a preset homomorphic encryption algorithm, obtaining a preset private key corresponding to the preset homomorphic encryption algorithm;
    利用所述预设私钥对所述隐私模型参数进行解密,完成对所述隐私模型参数去隐私处理,得到去隐私模型参数。Decrypt the privacy model parameters by using the preset private key, complete deprivacy processing of the privacy model parameters, and obtain deprivacy model parameters.
  15. 一种计算机设备,其特征在于,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:A computer device characterized by comprising a program or instruction, and when the program or instruction is executed, the following steps are implemented:
    获取待处理资源的点击数据;Get the click data of the resource to be processed;
    根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;Query the conversion data of the resource according to the click data and output a privacy level setting interface;
    接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;Receiving the privacy level set through the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms;
    利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The privacy protection mechanism of the query is used to perform privacy processing on the converted data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  16. 如权利要求15所述的计算机设备,其特征在于,所述利用查询的隐 私保护机制对所述转化数据进行隐私处理,包括:The computer device according to claim 15, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;By adding noise corresponding to the variance of the noise to the conversion data, performing noise addition processing on the conversion data;
    按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Encryption processing is performed on the converted data after noise processing according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
  17. 如权利要求15所述的计算机设备,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:15. The computer device according to claim 15, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    按照预设公钥和预设同态加密算法所述转化数据进行加密处理;Perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm;
    通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。By adding noise corresponding to the variance of the noise to the encrypted conversion data, noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
  18. 一种存储介质,其特征在于,包括程序或指令,当所述程序或指令被执行时,实现如下步骤:A storage medium, characterized in that it includes a program or instruction, and when the program or instruction is executed, the following steps are implemented:
    获取待处理资源的点击数据;Get the click data of the resource to be processed;
    根据所述点击数据查询所述资源的转化数据并输出隐私等级设置界面;Query the conversion data of the resource according to the click data and output a privacy level setting interface;
    接收通过所述隐私等级设置界面设置的隐私等级,并查询与所述隐私等级对应的隐私保护机制,其中,不同隐私等级对应不同的隐私保护机制;Receiving the privacy level set through the privacy level setting interface, and querying the privacy protection mechanism corresponding to the privacy level, where different privacy levels correspond to different privacy protection mechanisms;
    利用查询的隐私保护机制对所述转化数据进行隐私处理,并将隐私处理后的转化数据发送给资源推荐平台进行分析模型建立。The privacy protection mechanism of the query is used to perform privacy processing on the converted data, and the converted data after the privacy processing is sent to the resource recommendation platform for analysis model establishment.
  19. 如权利要求18所述的存储介质,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:18. The storage medium of claim 18, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    通过在所述转化数据中添加与所述噪声方差对应的噪声,对所述转化数据进行加噪处理;By adding noise corresponding to the variance of the noise to the conversion data, performing noise addition processing on the conversion data;
    按照预设公钥和预设同态加密算法对加噪处理后的转化数据进行加密处理,以完成对所述转化数据的隐私处理。Encryption processing is performed on the converted data after noise processing according to the preset public key and the preset homomorphic encryption algorithm, so as to complete the privacy processing of the converted data.
  20. 如权利要求18所述的存储介质,其特征在于,所述利用查询的隐私保护机制对所述转化数据进行隐私处理,包括:18. The storage medium of claim 18, wherein said using the privacy protection mechanism of the query to perform privacy processing on the conversion data comprises:
    确定查询的隐私保护机制所对应的噪声方差;Determine the noise variance corresponding to the queried privacy protection mechanism;
    按照预设公钥和预设同态加密算法所述转化数据进行加密处理;Perform encryption processing on the converted data according to the preset public key and the preset homomorphic encryption algorithm;
    通过在加密后的转化数据中添加与所述噪声方差对应的噪声,对所述加密后的转化数据进行加噪处理,以完成对所述转化数据的隐私处理。By adding noise corresponding to the variance of the noise to the encrypted conversion data, noise is added to the encrypted conversion data to complete the privacy processing of the conversion data.
PCT/CN2019/127223 2019-12-20 2019-12-20 Data processing method and device WO2021120228A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/127223 WO2021120228A1 (en) 2019-12-20 2019-12-20 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/127223 WO2021120228A1 (en) 2019-12-20 2019-12-20 Data processing method and device

Publications (1)

Publication Number Publication Date
WO2021120228A1 true WO2021120228A1 (en) 2021-06-24

Family

ID=76477051

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/127223 WO2021120228A1 (en) 2019-12-20 2019-12-20 Data processing method and device

Country Status (1)

Country Link
WO (1) WO2021120228A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200229A (en) * 2013-02-28 2013-07-10 北京百度网讯科技有限公司 Processing method of pushed information, equipment, browser and browser plug-in
US20170148307A1 (en) * 2015-11-24 2017-05-25 Samsung Electronics Co., Ltd Electronic device and method for controlling the electronic device
CN110287727A (en) * 2019-06-13 2019-09-27 Oppo广东移动通信有限公司 Privacy information acquisition methods and relevant device
CN110321479A (en) * 2019-05-27 2019-10-11 哈尔滨工业大学(深圳) A kind of secret protection Information Mobile Service recommended method and client, recommender system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200229A (en) * 2013-02-28 2013-07-10 北京百度网讯科技有限公司 Processing method of pushed information, equipment, browser and browser plug-in
US20170148307A1 (en) * 2015-11-24 2017-05-25 Samsung Electronics Co., Ltd Electronic device and method for controlling the electronic device
CN110321479A (en) * 2019-05-27 2019-10-11 哈尔滨工业大学(深圳) A kind of secret protection Information Mobile Service recommended method and client, recommender system
CN110287727A (en) * 2019-06-13 2019-09-27 Oppo广东移动通信有限公司 Privacy information acquisition methods and relevant device

Similar Documents

Publication Publication Date Title
Rodríguez-Barroso et al. Federated Learning and Differential Privacy: Software tools analysis, the Sherpa. ai FL framework and methodological guidelines for preserving data privacy
US20220269942A1 (en) Privacy Enhancing Deep Learning Cloud Service Using a Trusted Execution Environment
US11886989B2 (en) System for measuring information leakage of deep learning models
WO2021114911A1 (en) User risk assessment method and apparatus, electronic device, and storage medium
US11663460B2 (en) Data exchange method, data exchange device and computing device
US11088834B2 (en) System for privacy-preserving monetization of big data and method for using the same
US11790106B1 (en) Methods for protecting data
US11277257B2 (en) Method and apparatus for performing operation using encrypted data
US11032062B2 (en) Data processing permits system with keys
CN111428887B (en) Model training control method, device and system based on multiple computing nodes
JP2018054765A (en) Data processing device, data processing method, and program
JP7229148B2 (en) Machine learning on distributed customer data while preserving privacy
US11381381B2 (en) Privacy preserving oracle
CA3117872A1 (en) Clustering techniques for machine learning models
WO2022072415A1 (en) Privacy preserving machine learning using secure multi-party computation
CN111027981B (en) Method and device for multi-party joint training of risk assessment model for IoT (Internet of things) machine
JP2023512725A (en) Secure matching and identification of patterns
CN111143674A (en) Data processing method and device
CN114547078A (en) Federal cross-feature query method, device, medium and equipment based on privacy computation
Carminati et al. Secure web service composition with untrusted broker
WO2021120228A1 (en) Data processing method and device
CN113051587A (en) Privacy protection intelligent transaction recommendation method, system and readable medium
EP3985540B1 (en) Method and apparatus for generating synthetic data
US11451375B2 (en) System, method and apparatus for privacy preserving inference
US20210326752A1 (en) Method and apparatus for training analysis model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19956786

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.10.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19956786

Country of ref document: EP

Kind code of ref document: A1