[go: up one dir, main page]

CN111131227B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111131227B
CN111131227B CN201911330992.3A CN201911330992A CN111131227B CN 111131227 B CN111131227 B CN 111131227B CN 201911330992 A CN201911330992 A CN 201911330992A CN 111131227 B CN111131227 B CN 111131227B
Authority
CN
China
Prior art keywords
data
client
server
encrypted
user
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201911330992.3A
Other languages
Chinese (zh)
Other versions
CN111131227A (en
Inventor
王达
刘博�
郑文琛
杨强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201911330992.3A priority Critical patent/CN111131227B/en
Publication of CN111131227A publication Critical patent/CN111131227A/en
Application granted granted Critical
Publication of CN111131227B publication Critical patent/CN111131227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例公开了一种数据处理方法及装置,其中方法包括:服务器接收客户端发送的第一加密数据,至少使用第一加密数据训练得到加密转化模型,将加密转化模型发送给客户端,并接收客户端使用预设私钥解密加密转化模型得到的解密转化模型。本发明实施例中,服务器始终使用加密的转化数据训练模型,而解密私钥存储在客户端,因此,服务器无法解密得到用户的转化数据,从而可以保证用户的隐私数据的安全性,客户端的体验较好。

Figure 201911330992

The embodiment of the present invention discloses a data processing method and device, wherein the method includes: the server receives the first encrypted data sent by the client, at least uses the first encrypted data to train to obtain an encrypted transformation model, and sends the encrypted transformation model to the client, And receive the decrypted transformation model obtained by decrypting the encrypted transformation model by the client using the preset private key. In the embodiment of the present invention, the server always uses encrypted conversion data to train the model, and the decryption private key is stored in the client. Therefore, the server cannot decrypt the user's conversion data, thereby ensuring the security of the user's private data and improving the client's experience. better.

Figure 201911330992

Description

一种数据处理方法及装置A data processing method and device

技术领域technical field

本发明涉及金融科技(Fintech)技术领域,尤其涉及一种数据处理方法及装置。The present invention relates to the technical field of financial technology (Fintech), in particular to a data processing method and device.

背景技术Background technique

随着计算机技术的发展,越来越多的技术应用在金融领域,传统金融业正在逐步向金融科技(Fintech)转变,然而,由于金融行业的安全性、实时性要求,金融领域也对技术提出了更高的要求。在用户转化技术领域,客户端委托服务器对客户端的产品进行推广,服务器接收到客户端的委托后,可以使用转化模型预测得到可能会真实转化的用户,从而将向这些用户推广产品。由此可知,转化模型的转化效果直接影响着产品的投放效果,若想要产品具有较好的投放效果,则需要提高转化模型的转化效果。With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology (Fintech). However, due to the security and real-time requirements of the financial industry, the financial field also requires technology higher requirements. In the field of user conversion technology, the client entrusts the server to promote the client's products. After receiving the client's entrustment, the server can use the conversion model to predict users who may actually convert, and then promote products to these users. It can be seen from this that the conversion effect of the conversion model directly affects the delivery effect of the product. If you want the product to have a better delivery effect, you need to improve the conversion effect of the conversion model.

对于客户端来说,转化效果较好的转化模型通常意味着需要较高的转化成本,为了降低转化成本,客户端也可以将转化数据曝光给服务器,以使服务器使用较为全面的数据训练转化模型,从而提高转化模型的转化效果。然而,转化数据中包括用户的隐私数据,比如用户的居住地址、手机号码、身份证号码等,若将转化数据曝光给服务器,则可能会使得用户的隐私数据得不到保护;且,服务器本身存在着泄漏用户的隐私数据的风险,若服务器向其它相同类型的客户端售卖用户的隐私数据,则会使得客户端的体验较差,对客户端造成较大的损失。For the client, a conversion model with a better conversion effect usually means a higher conversion cost. In order to reduce the conversion cost, the client can also expose the conversion data to the server so that the server can use more comprehensive data to train the conversion model , improving the conversion performance of the conversion model. However, the conversion data includes the user's privacy data, such as the user's residential address, mobile phone number, ID number, etc. If the conversion data is exposed to the server, the user's privacy data may not be protected; and, the server itself There is a risk of leaking the user's private data. If the server sells the user's private data to other clients of the same type, the experience of the client will be poor and the client will suffer a great loss.

综上,目前亟需一种数据处理方法,用以解决现有技术曝光转化数据给服务器所导致的用户的隐私数据不安全、客户端的体验较差的技术问题。To sum up, there is an urgent need for a data processing method to solve the technical problems of insecure user privacy data and poor client experience caused by exposing and transforming data to the server in the prior art.

发明内容Contents of the invention

本发明实施例提供一种数据处理方法,用以解决现有技术曝光转化数据给服务器所导致的用户的隐私数据不安全、客户端的体验较差的技术问题。The embodiment of the present invention provides a data processing method, which is used to solve the technical problems of insecure private data of the user and poor experience of the client caused by exposing and transforming data to the server in the prior art.

第一方面,本发明实施例提供了一种数据处理方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a data processing method, the method comprising:

服务器接收客户端发送的第一加密数据,所述第一加密数据是所述客户端使用所述预设公钥对转化数据进行加密处理后的数据;进一步地,所述服务器至少使用所述第一加密数据训练得到加密转化模型,将所述加密转化模型发送给所述客户端,接收所述客户端发送的解密转化模型,所述解密转化模型由所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密得到的。The server receives the first encrypted data sent by the client, and the first encrypted data is data after the client uses the preset public key to encrypt the converted data; further, the server uses at least the first encrypted data An encrypted transformation model is obtained through training with encrypted data, and the encrypted transformation model is sent to the client, and the decryption transformation model sent by the client is received, and the decryption transformation model is used by the client using the preset public key The corresponding preset private key is obtained by decrypting the encrypted conversion model.

在上述设计中,服务器接收客户端发送的加密的转化数据后,至少使用加密的转化数据训练加密转化模型,进而由客户端对加密转化模型进行解密后发送给服务器;由此可知,在转化模型的训练过程中,服务器始终使用加密的转化数据进行模型训练,而解密私钥存储在客户端,因此,服务器无法解密得到用户的转化数据,从而可以保证用户的隐私数据的安全性,客户端的体验较好。In the above design, after receiving the encrypted conversion data sent by the client, the server at least uses the encrypted conversion data to train the encrypted conversion model, and then the client decrypts the encrypted conversion model and sends it to the server; it can be seen that, in the conversion model During the training process, the server always uses encrypted conversion data for model training, and the decryption private key is stored on the client. Therefore, the server cannot decrypt the user's conversion data, thereby ensuring the security of the user's private data and improving the client's experience. better.

在一种可能的设计中,所述服务器至少使用所述第一加密数据训练得到加密转化模型,包括:所述服务器获取所述第一加密数据对应的点击数据,并使用所述预设公钥对所述点击数据进行加密,得到第二加密数据;所述预设公钥由所述客户端发送给所述服务器;所述服务器根据所述第一加密数据和所述第二加密数据进行训练,得到所述加密转化模型。In a possible design, the server at least uses the first encrypted data to train an encrypted conversion model, including: the server obtains the click data corresponding to the first encrypted data, and uses the preset public key Encrypting the click data to obtain second encrypted data; the preset public key is sent by the client to the server; the server performs training according to the first encrypted data and the second encrypted data , to obtain the encrypted transformation model.

在上述设计中,通过使用加密的点击数据和加密的转化数据共同训练转化模型,可以提高转化模型的转化效果。In the above design, by using encrypted click data and encrypted conversion data to jointly train the conversion model, the conversion effect of the conversion model can be improved.

在一种可能的设计中,所述服务器接收客户端发送的第一加密数据之前,还接收所述客户端发送的请求消息;所述请求消息中包括数据范围,根据所述请求消息获取满足所述数据范围的点击数据,将所述点击数据发送给所述客户端,所述点击数据用于所述客户端获取所述点击数据对应的所述转化数据。In a possible design, before the server receives the first encrypted data sent by the client, it also receives a request message sent by the client; the request message includes a data range, and according to the request message, obtains a click data in the data range, and send the click data to the client, where the click data is used by the client to obtain the conversion data corresponding to the click data.

在上述设计中,通过客户端发送请求消息给服务器,可以由客户端决定参与模型训练的样本的数据范围,实现了客户端控制模型训练过程的主动性;且,客户端可以根据实际需要设置数据范围,从而该方案可以满足不同客户端的需求,更加符合实际场景。In the above design, by sending a request message from the client to the server, the client can determine the data range of the samples participating in the model training, realizing the initiative of the client to control the model training process; and, the client can set the data according to actual needs range, so that the solution can meet the needs of different clients and is more in line with actual scenarios.

在一种可能的设计中,所述请求消息还包括用户名和密钥;所述服务器将所述点击数据发送给所述客户端之前,还查询预设对应关系表,确定所述预设对应关系表中存在所述用户名,且所述密钥与所述用户名对应;所述预设对应关系表包括预先在所述服务器注册的客户端的用户名与密钥的对应关系。In a possible design, the request message also includes a user name and a key; before the server sends the click data to the client, it also queries a preset correspondence table to determine the preset correspondence The user name exists in the table, and the key corresponds to the user name; the preset correspondence table includes the correspondence between the user name and the key of the client registered in the server in advance.

在上述设计中,客户端可以预先在服务器注册,如此,针对于客户端发送的请求消息,服务器可以先根据注册信息对客户端进行鉴权,并在确定客户端安全且未被篡改后再启动模型训练,从而可以保证模型训练的安全性,避免客户端的权限被篡改。In the above design, the client can register with the server in advance. In this way, for the request message sent by the client, the server can first authenticate the client according to the registration information, and start the server after confirming that the client is safe and has not been tampered with. Model training, so as to ensure the security of model training and prevent client permissions from being tampered with.

第二方面,本发明实施例提供的一种数据处理方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a data processing method, the method comprising:

客户端使用预设公钥对转化数据进行加密,得到第一加密数据,将所述第一加密数据发送给服务器,并接收所述服务器发送的加密转化模型,所述加密转化模型是所述服务器至少使用所述第一加密数据训练得到的,进一步地,所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密,得到解密转化模型,将所述解密转化模型发送给所述服务器。The client uses a preset public key to encrypt the converted data to obtain first encrypted data, sends the first encrypted data to the server, and receives the encrypted conversion model sent by the server, the encrypted conversion model is the at least obtained by using the first encrypted data training, further, the client uses the preset private key corresponding to the preset public key to decrypt the encrypted conversion model to obtain a decrypted conversion model, and the decrypted The conversion model is sent to the server.

在上述设计中,客户端将加密的转化数据发送给服务器,并在接收到服务器发送的加密转化模型后,解密得到解密转化模型;由此可知,通过客户端传输加密的转化数据以及解密转化模型给服务器,可以在保证用户的隐私数据安全的前提下完成数据交互过程,且服务器也可以利用客户端提供的加密的转化数据训练转化效果较好的加密转化模型,从而可以提高用户的转化效果。In the above design, the client sends the encrypted conversion data to the server, and after receiving the encrypted conversion model sent by the server, decrypts to obtain the decrypted conversion model; it can be seen that the encrypted conversion data and the decrypted conversion model are transmitted through the client For the server, the data interaction process can be completed on the premise of ensuring the security of the user's private data, and the server can also use the encrypted conversion data provided by the client to train an encrypted conversion model with a better conversion effect, thereby improving the conversion effect of the user.

在一种可能的设计中,所述客户端使用预设公钥对转化数据进行加密之前,还向所述服务器发送请求消息,所述请求消息中包括数据范围,所述请求消息用于所述服务器获取满足所述数据范围的点击数据,接收所述服务器发送的所述点击数据,获取与所述点击数据对应的所述转化数据。In a possible design, before the client uses a preset public key to encrypt the conversion data, it also sends a request message to the server, the request message includes a data range, and the request message is used for the The server acquires click data satisfying the data range, receives the click data sent by the server, and acquires the conversion data corresponding to the click data.

第三方面,本发明实施例提供了一种数据处理装置,所述装置包括:In a third aspect, an embodiment of the present invention provides a data processing device, the device comprising:

收发模块,用于接收客户端发送的第一加密数据,所述第一加密数据是所述客户端使用所述预设公钥对转化数据进行加密处理后的数据;A transceiver module, configured to receive the first encrypted data sent by the client, where the first encrypted data is the data after the client uses the preset public key to encrypt the converted data;

训练模块,用于至少使用所述第一加密数据训练得到加密转化模型;A training module, configured to at least use the first encrypted data to train an encrypted conversion model;

所述收发模块,还用于将所述加密转化模型发送给所述客户端,并接收所述客户端发送的解密转化模型,所述解密转化模型为所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密得到的。The transceiver module is further configured to send the encryption conversion model to the client, and receive the decryption conversion model sent by the client, and the decryption conversion model uses the preset public key for the client The corresponding preset private key is obtained by decrypting the encrypted conversion model.

在一种可能的设计中,所述训练模块具体用于:获取所述第一加密数据对应的点击数据,并使用所述预设公钥对所述点击数据进行加密,得到第二加密数据;所述预设公钥由所述客户端发送给所述服务器;根据所述第一加密数据和所述第二加密数据进行训练,得到所述加密转化模型。In a possible design, the training module is specifically configured to: obtain click data corresponding to the first encrypted data, and use the preset public key to encrypt the click data to obtain second encrypted data; The preset public key is sent from the client to the server; training is performed according to the first encrypted data and the second encrypted data to obtain the encrypted conversion model.

在一种可能的设计中,所述装置还包括处理模块,所述收发模块接收客户端发送的第一加密数据之前,还用于:接收所述客户端发送的请求消息;所述请求消息中包括数据范围;相应地,所述处理模块用于:根据所述请求消息获取满足所述数据范围的点击数据;所述收发模块还用于:将所述点击数据发送给所述客户端,所述点击数据用于所述客户端获取所述点击数据对应的所述转化数据。In a possible design, the device further includes a processing module, before the transceiver module receives the first encrypted data sent by the client, it is further configured to: receive a request message sent by the client; Including a data range; correspondingly, the processing module is configured to: acquire click data satisfying the data range according to the request message; the transceiver module is also configured to: send the click data to the client, the The click data is used by the client to obtain the conversion data corresponding to the click data.

在一种可能的设计中,所述请求消息还包括用户名和密钥;所述收发模块将所述点击数据发送给所述客户端之前,所述处理模块还用于:查询预设对应关系表,确定所述预设对应关系表中存在所述用户名,且所述密钥与所述用户名对应;所述预设对应关系表包括预先在服务器注册的客户端的用户名与密钥的对应关系。In a possible design, the request message also includes a user name and a key; before the sending and receiving module sends the click data to the client, the processing module is also configured to: query a preset correspondence table , determining that the user name exists in the preset correspondence table, and the key corresponds to the user name; the preset correspondence table includes the correspondence between the user name and the key of the client registered in the server in advance relation.

第四方面,本发明实施例提供的一种数据处理装置的结构示意图,包括:In a fourth aspect, a schematic structural diagram of a data processing device provided by an embodiment of the present invention includes:

加密模块,用于使用预设公钥对转化数据进行加密,得到第一加密数据;An encryption module, configured to encrypt the converted data using a preset public key to obtain the first encrypted data;

收发模块,用于将所述第一加密数据发送给服务器,并接收所述服务器发送的加密转化模型,所述加密转化模型是所述服务器至少使用所述第一加密数据训练得到的;A transceiver module, configured to send the first encrypted data to a server, and receive an encrypted conversion model sent by the server, where the encrypted conversion model is trained by the server using at least the first encrypted data;

解密模块,用于使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密,得到解密转化模型;A decryption module, configured to use a preset private key corresponding to the preset public key to decrypt the encrypted conversion model to obtain a decrypted conversion model;

所述收发模块,还用于将所述解密转化模型发送给所述服务器。The transceiver module is further configured to send the decrypted conversion model to the server.

在一种可能的设计中,所述加密模块使用预设公钥对转化数据进行加密之前,所述收发模块还用于:向所述服务器发送请求消息,所述请求消息中包括数据范围,所述请求消息用于所述服务器获取满足所述数据范围的点击数据;以及,接收所述服务器发送的所述点击数据;相应地,所述加密模块还用于:获取与所述点击数据对应的所述转化数据。In a possible design, before the encryption module encrypts the converted data with a preset public key, the transceiver module is further configured to: send a request message to the server, the request message includes a data range, and the The request message is used for the server to obtain the click data satisfying the data range; and, to receive the click data sent by the server; correspondingly, the encryption module is also used for: obtaining the click data corresponding to the click data The conversion data.

第五方面,本发明实施例提供了一种计算设备,包括至少一个处理单元以及至少一个存储单元,其中,所述存储单元存储有计算机程序,当所述程序被所述处理单元执行时,使得所述处理单元执行上述第一方面或第二方面任意所述的数据处理方法。In a fifth aspect, an embodiment of the present invention provides a computing device, including at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the The processing unit executes the data processing method described in any one of the first aspect or the second aspect.

第六方面,本发明实施例提供了一种计算机可读存储介质,其存储有可由计算设备执行的计算机程序,当所述程序在所述计算设备上运行时,使得所述计算设备执行上述第一方面或第二方面任意所述的数据处理方法。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by a computing device, and when the program runs on the computing device, the computing device executes the above-mentioned first Any data processing method described in the first aspect or the second aspect.

本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present invention will be more clearly understood in the description of the following embodiments.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.

图1为本发明实施例提供的一种可能的系统架构示意图;FIG. 1 is a schematic diagram of a possible system architecture provided by an embodiment of the present invention;

图2为本发明实施例提供的一种数据处理方法对应的交互流程示意图;FIG. 2 is a schematic diagram of an interaction process corresponding to a data processing method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种数据处理装置的结构示意图;FIG. 3 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention;

图4为本发明实施例提供的又一种数据处理装置的结构示意图。FIG. 4 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

金融科技(Fintech)技术领域通常涉及到多种交易,比如,银行的交易可以包括售卡交易、存款交易、贷款交易、保险交易、理财交易等,银行每天的交易量可以达到数千笔甚至数万笔。以贷款交易为例,为了保证贷款交易的转化效果,银行通常可以委托服务器向用户投放贷款产品的广告;因此,服务器需要使用转化模型预测对贷款产品感兴趣的目标用户,从而将贷款产品投放给目标用户,以获取较好的转化效果。The technical field of financial technology (Fintech) usually involves a variety of transactions. For example, bank transactions can include card sales transactions, deposit transactions, loan transactions, insurance transactions, wealth management transactions, etc. The daily transaction volume of banks can reach thousands or even several Thousands of strokes. Taking loan transactions as an example, in order to ensure the conversion effect of loan transactions, banks can usually entrust the server to advertise loan products to users; therefore, the server needs to use the conversion model to predict the target users who are interested in loan products, so as to deliver loan products to Target users to obtain better conversion effects.

为了便于理解,本发明的下列实施例以向用户推广广告产品为例描述本发明实施例中的数据处理方法,需要说明的是,虽然本发明的下列实施例是以广告产品的推广过程为例描述本发明实施例中的数据处理方法,但可以理解的,本发明实施例中的数据处理方法也可以应用在其它任意的推广场景或转化场景中,不作限定。For ease of understanding, the following embodiments of the present invention use promotion of advertising products to users as an example to describe the data processing method in the embodiments of the present invention. It should be noted that although the following embodiments of the present invention use the promotion process of advertising products as an example The data processing method in the embodiment of the present invention is described, but it can be understood that the data processing method in the embodiment of the present invention can also be applied in any other promotion scenario or conversion scenario, without limitation.

在广告产品的推广场景中,服务器是指广告平台,服务器通过转化模型为广告产品选定目标用户后,可以将广告产品的广告曝光给目标用户,若目标用户对广告产品感兴趣,则可以点击广告进入广告产品的购买页面,如此,服务器可以记录广告投放过程中的转化前数据(比如曝光数据和点击数据);相应地,客户端是指广告主,由于广告产品的实际转化过程经由客户端把控,因此,若目标用户在广告产品的购买页面中购买了广告产品,则客户端可以记录广告投放过程中的转化数据(比如购买数据),转化数据与用户的实际购买数据相关联,可以标识用户对广告产品的真实转化结果。由此可知,曝光阶段的曝光数据和点击阶段的点击数据由服务器进行维护,而转化阶段的转化数据由客户端进行维护。因此,由于服务器中仅存储有曝光数据和点击数据,使得服务器仅能使用曝光数据和点击数据来训练得到转化模型,显然地,服务器若想要训练效果较好的转化模型,仅使用曝光数据和点击数据是远远不够的。In the promotion scenario of advertising products, the server refers to the advertising platform. After the server selects the target users for the advertising products through the conversion model, it can expose the advertisements of the advertising products to the target users. If the target users are interested in the advertising products, they can click The advertisement enters the purchase page of the advertising product, so that the server can record the pre-conversion data (such as exposure data and click data) during the advertisement delivery process; correspondingly, the client refers to the advertiser, because the actual conversion process of the advertising product passes through the client Control, therefore, if the target user purchases the advertised product on the purchase page of the advertised product, the client can record the conversion data (such as purchase data) during the advertisement delivery process, and the conversion data is associated with the user's actual purchase data, which can be Identify the actual conversion results of users to the advertised product. It can be seen that the exposure data in the exposure stage and the click data in the click stage are maintained by the server, and the conversion data in the conversion stage are maintained by the client. Therefore, since only exposure data and click data are stored in the server, the server can only use exposure data and click data to train the conversion model. Obviously, if the server wants to train a conversion model with better effect, it only needs to use Clicking data is not enough.

为了解决上述问题,在一种可能的实现方式中,客户端可以以明文方式将转化数据发送给服务器,如此,服务器可以联合使用曝光数据、点击数据和转化数据共同训练得到转化效果较好的转化模型。然而,由于转化数据中包含用户的隐私数据,该种方式可能会由于转化数据得不到保护导致用户的隐私数据泄露。由此可知,在广告投放技术领域中,转化模型的转化效果与保护用户的隐私数据之间存在对立关系,若想要训练效果较好的转化模型,则用户的隐私数据的安全性得不到保障,若想要保护用户的隐私数据,则转化模型的效果不好。In order to solve the above problems, in a possible implementation, the client can send the conversion data to the server in plain text, so that the server can jointly use the exposure data, click data and conversion data to jointly train to obtain conversions with better conversion effects Model. However, since the conversion data includes the user's privacy data, this method may lead to leakage of the user's privacy data because the conversion data is not protected. It can be seen that in the field of advertising delivery technology, there is an antagonistic relationship between the conversion effect of the conversion model and the protection of the user's private data. If you want to train a conversion model with a better effect, the security of the user's private data cannot be obtained. Guarantee, if you want to protect the user's private data, the effect of the conversion model is not good.

基于此,本发明实施例提出了一种数据处理方法,用以在保护用户的隐私数据的安全性的前提下,提高转化模型的转化效果。Based on this, an embodiment of the present invention proposes a data processing method to improve the conversion effect of the conversion model on the premise of protecting the security of the user's private data.

图1为本发明实施例提供的一种可能的系统架构示意图,如图1所示,该系统架构中包括服务器110和至少一个客户端,比如客户端121、客户端122和客户端123;其中,至少一个客户端可以分别与服务器110通信连接,比如可以通过有线方式实现通信连接,或者也可以通过无线方式实现通信连接,具体不作限定。FIG. 1 is a schematic diagram of a possible system architecture provided by an embodiment of the present invention. As shown in FIG. 1, the system architecture includes a server 110 and at least one client, such as a client 121, a client 122, and a client 123; wherein , at least one client may communicate with the server 110 respectively, for example, the communication connection may be implemented in a wired manner, or the communication connection may also be implemented in a wireless manner, which is not specifically limited.

如图1所示,该系统架构中还可以包括至少一个用户端,比如用户端131、用户端132和用户端133,至少一个用户端也可以分别与服务器110通信连接;其中,用户端可以是指终端设备,比如手机、笔记本、平板电脑、Ipad等,不作限定。As shown in Figure 1, at least one client can also be included in the system architecture, such as client 131, client 132 and client 133, and at least one client can also be respectively connected to the server 110 in communication; wherein, the client can be Refers to terminal devices, such as mobile phones, notebooks, tablet computers, Ipads, etc., without limitation.

具体实施中,至少一个客户端可以向服务器110发送委托请求,委托请求用于服务器对广告产品进行转化;相应地,服务器110在接收到委托请求后,可以使用转化模型对至少一个用户端进行预测,从至少一个用户端中选择出对广告产品感兴趣的目标用户端,并可以向目标用户端投放广告产品的广告。In a specific implementation, at least one client may send an entrustment request to the server 110, and the entrustment request is used for the server to convert the advertising product; correspondingly, after receiving the entrustment request, the server 110 may use the conversion model to predict the at least one client , selecting a target user terminal interested in the advertising product from at least one user terminal, and delivering an advertisement of the advertising product to the target user terminal.

作为一种示例,服务器110可以为全球广域网(World Wide Web,web)服务器,任一用户端上可以设置有web浏览器,服务器110可以通过目标用户端上的web浏览器将广告产品的广告显示给目标用户,并可以记录广告产品的曝光数据。相应地,若目标用户对广告产品感兴趣,则可以在广告产品的广告上点击预设按钮或预设链接,从而进入广告产品的产品介绍页面或购买页面;服务器110可以记录目标用户对广告产品的广告页面进行操作的点击数据。且,由于广告产品的购买页面是由营销广告产品的客户端所维护的,因此,客户端可以记录目标用户对广告产品的转化数据。As an example, the server 110 can be a global wide area network (World Wide Web, web) server, and a web browser can be provided on any user end, and the server 110 can display the advertisement of the advertisement product through the web browser on the target user end To the target user, and can record the exposure data of the advertised product. Correspondingly, if the target user is interested in the advertised product, he can click the preset button or preset link on the advertisement of the advertised product to enter the product introduction page or purchase page of the advertised product; the server 110 can record the target user's interest in the advertised product. Click data for operations on advertising pages. Moreover, since the purchase page of the advertised product is maintained by the client marketing the advertised product, the client can record the conversion data of the target user to the advertised product.

需要说明的是,上述仅是一种示例性的简单说明,其所列举的广告产品的投放方式仅是为了便于说明方案,并不构成对方案的限定;具体实施中,服务器也可以通过其他方式投放广告产品,比如可以通过智能电视、视频播放应用程序、广播或收音机等等来投放广告产品,不作限定。It should be noted that the above is only an exemplary and simple description, and the delivery methods of the advertising products listed are only for the convenience of explaining the solution, and do not constitute a limitation on the solution; in specific implementation, the server can also use other methods Advertising products can be placed, for example, through smart TVs, video playback applications, radio or radio, etc., without limitation.

基于图1所示意的系统架构,图2为本发明实施例提供的一种数据处理方法对应的流程示意图,该方法包括:Based on the system architecture shown in FIG. 1, FIG. 2 is a schematic flowchart corresponding to a data processing method provided by an embodiment of the present invention, the method comprising:

步骤201,客户端使用预设公钥对转化数据进行加密,得到第一加密数据。Step 201, the client uses a preset public key to encrypt the converted data to obtain first encrypted data.

本发明实施例中,客户端得到第一加密数据的方式可以有多种,下面介绍两种可能的实现方式:In the embodiment of the present invention, there may be multiple ways for the client to obtain the first encrypted data, and two possible implementation ways are introduced below:

在一种可能的实现方式中,客户端若确定投放某一广告产品,则可以从其内置数据库中获取广告产品对应的转化数据,并可以使用预设公钥对该广告产品对应的转化数据进行加密,得到第一加密数据。其中,预设公钥可以为使用第一预设加密算法确定的公钥,第一预设加密算法可以由本领域技术人员根据经验进行设置。In a possible implementation, if the client determines to launch a certain advertising product, it can obtain the conversion data corresponding to the advertising product from its built-in database, and can use the preset public key to perform conversion data corresponding to the advertising product. Encrypt to obtain the first encrypted data. Wherein, the preset public key may be a public key determined using a first preset encryption algorithm, and the first preset encryption algorithm may be set by those skilled in the art based on experience.

举例来说,若广告产品为广告产品A,则客户端可以获取购买广告产品A的所有用户的转化数据,并可以使用预设公钥对每个用户的转化数据进行加密,得到多条加密的转化数据;进一步地,客户端可以为每条加密的转化数据设置标识,转化数据的标识用于唯一标识一条转化数据。For example, if the advertising product is advertising product A, the client can obtain the conversion data of all users who purchased advertising product A, and can use the preset public key to encrypt the conversion data of each user to obtain multiple encrypted Conversion data; further, the client can set an identifier for each piece of encrypted conversion data, and the identifier of the conversion data is used to uniquely identify a piece of conversion data.

本发明实施例中,转化数据的标识可以由本领域技术人员根据经验进行设置,比如可以为用户的身份证号码、用户的电话号码等,具体不作限定。In the embodiment of the present invention, the identification of the converted data can be set by those skilled in the art based on experience, for example, it can be the user's ID card number, the user's phone number, etc., which is not specifically limited.

在一个示例中,预设公钥可以为使用差分隐私加密算法确定的公钥,由于差分隐私加密算法可以将同一特征标签的不同特征值加密为无规律的加密特征值,因此采用差分隐私加密算法对用户的转化数据进行加密后,服务器110无法根据加密的转化数据确定该用户是否成功购买了广告产品,从而可以保证用户的隐私数据的安全性。比如,用户1为最近2个月内购买了广告产品A的用户,用户2~用户5为最近2个月内点击了广告产品A的广告但未购买广告产品A的用户,则针对于转化结果这一特征标签,使用差分隐私加密算法确定的预设公钥对用户1~用户5的转化数据进行加密后,用户1的转化结果对应的加密特征值为11100001,用户2的转化结果对应的加密特征值为11110001,用户3的转化结果对应的加密特征值为10110001,用户4的转化结果对应的加密特征值为10110101,用户5的转化结果对应的加密特征值为10110011;显然地,即使服务器110知晓用户1~用户5中存在一个用户在最近的2个月内购买了广告产品A,服务器110也无法根据用户1~用户5的转化结果的加密特征值确定是哪一个用户购买了广告产品A。In an example, the preset public key may be a public key determined using a differential privacy encryption algorithm. Since the differential privacy encryption algorithm can encrypt different feature values of the same feature label into irregular encrypted feature values, the differential privacy encryption algorithm is used After the conversion data of the user is encrypted, the server 110 cannot determine whether the user has successfully purchased the advertising product according to the encrypted conversion data, thereby ensuring the security of the user's private data. For example, user 1 is a user who has purchased advertising product A in the last 2 months, and users 2 to 5 are users who have clicked on advertising product A in the last 2 months but have not purchased advertising product A, then the conversion results For this feature label, after encrypting the conversion data of users 1 to 5 using the preset public key determined by the differential privacy encryption algorithm, the encrypted feature value corresponding to the conversion result of user 1 is 11100001, and the encrypted feature value corresponding to the conversion result of user 2 is 11100001. The feature value is 11110001, the encrypted feature value corresponding to the conversion result of user 3 is 10110001, the encrypted feature value corresponding to the conversion result of user 4 is 10110101, and the encrypted feature value corresponding to the conversion result of user 5 is 10110011; obviously, even if the server 110 Knowing that there is one user among users 1 to 5 who purchased the advertising product A within the last 2 months, the server 110 cannot determine which user purchased the advertising product A according to the encrypted feature value of the conversion results of users 1 to 5 .

在另一种可能的实现方式中,客户端可以先向服务器110发送请求消息,请求消息中包括数据范围;相应地,服务器110获取到请求消息后,可以根据请求消息,从其内置数据库中获取满足数据范围的点击数据,并可以将点击数据发送给客户端;如此,客户端在接收到服务器110发送的点击数据后,可以从其内置数据库中获取与点击数据对应的转化数据,进而可以使用预设公钥对转化数据进行加密,得到第一加密数据。在该种实现方式中,通过客户端发送请求消息给服务器,可以由客户端决定参与模型训练的样本的数据范围,实现了客户端控制模型训练过程的主动性;且,客户端可以根据实际需要设置数据范围,从而该方案可以满足不同客户端的需求,更加符合实际场景。In another possible implementation, the client can first send a request message to the server 110, and the request message includes the data range; correspondingly, after the server 110 obtains the request message, it can obtain the data from its built-in database according to the request message. Click data that meets the data range, and can send the click data to the client; in this way, after receiving the click data sent by the server 110, the client can obtain the conversion data corresponding to the click data from its built-in database, and then use The preset public key encrypts the converted data to obtain the first encrypted data. In this implementation, by sending a request message from the client to the server, the client can determine the data range of the samples participating in the model training, realizing the initiative of the client to control the model training process; and, the client can according to actual needs Set the data range, so that the solution can meet the needs of different clients and is more in line with the actual scene.

其中,数据范围可以由本领域技术人员根据经验进行设置,比如可以为预设时段、购买金额、订单区域等,不作限定。Wherein, the data range can be set by those skilled in the art based on experience, for example, it can be a preset time period, purchase amount, order area, etc., and is not limited.

举例来说,若广告产品为广告产品A,请求消息中的数据范围为预设时段2019.7.29~2019.8.29,则服务器110可以获取2019年7月29日至2019年8月29日的一个月的时段内点击了广告产品A的所有用户的点击数据,并可以为每个用户的点击数据设置标识,标识可以为用户的身份证号码、电话号码等,不作限定。如此,服务器110发送给客户端的点击数据可以由多条用户的点击数据构成,当客户端接收到多条用户的点击数据后,可以查询内置数据库,获取与多条用户的点击数据的标识匹配的用户的转化数据,作为与点击数据对应的转化数据。For example, if the advertisement product is advertisement product A, and the data range in the request message is the preset time period 2019.7.29-2019.8.29, the server 110 can obtain a The click data of all users who have clicked on the advertising product A within a month's time period, and an identifier can be set for each user's click data. The identifier can be the user's ID number, phone number, etc., without limitation. In this way, the click data sent by the server 110 to the client may be composed of multiple pieces of user click data. When the client receives multiple pieces of user click data, it can query the built-in database to obtain information that matches the identifiers of the multiple user click data. The user's conversion data as conversion data corresponding to the click data.

需要说明的是,上述仅是一种示例性的简单说明,并不构成对方案的限定;在具体实施中,服务器110可以仅获取广告产品的广告在数据范围内的点击数据,并将点击数据发送给客户端,或者也可以仅获取广告产品的广告在数据范围内的曝光数据,并将曝光数据发送给客户端,或者还可以同时获取广告产品的广告在数据范围内的曝光数据和点击数据,并将曝光数据和点击数据发送给客户端,具体不作限定。It should be noted that the above is only an exemplary simple description, and does not constitute a limitation on the solution; in specific implementation, the server 110 may only obtain the click data of the advertisement of the advertising product within the data range, and store the click data Send to the client, or you can only obtain the exposure data of the advertisement of the advertising product within the data range, and send the exposure data to the client, or you can also obtain the exposure data and click data of the advertisement of the advertising product within the data range , and send the exposure data and click data to the client, without limitation.

进一步地,针对于任一条对应的点击数据和转化数据(即同一用户的点击数据和转化数据),客户端可以直接使用预设公钥对转化数据进行加密,得到一条加密数据,或者也可以先将点击数据与转化数据进行混合,再对混合的点击数据和转化数据进行加密,得到一条加密数据。相应地,若服务器110将曝光数据和点击数据同时发送给客户端,则客户端也可以先将相互对应的曝光数据、点击数据与转化数据进行混合,再对混合的曝光数据、点击数据和转化数据进行加密,得到一条加密数据。Furthermore, for any piece of corresponding click data and conversion data (that is, the click data and conversion data of the same user), the client can directly use the preset public key to encrypt the conversion data to obtain a piece of encrypted data, or it can first The click data and conversion data are mixed, and then the mixed click data and conversion data are encrypted to obtain a piece of encrypted data. Correspondingly, if the server 110 sends exposure data and click data to the client at the same time, the client may first mix the corresponding exposure data, click data, and conversion data, and then mix the mixed exposure data, click data, and conversion data. The data is encrypted to obtain a piece of encrypted data.

在一种可能的场景中,用户可能需要在广告产品的广告页面上触发多次操作才能进入广告产品的购买页面,比如微粒贷产品的广告转化过程为:用户点击微粒贷产品的广告后,会进入用户信息填报页面,当用户信息填报完成后,会进入企业信息填报页面,当企业信息填报完成后,会进入额度申领页面,当额度申领完成后,进入微粒贷产品的购买页面;因此,微粒贷产品的广告对应的点击数据包括用户在用户信息填报页面的点击数据、用户在企业信息填报页面的点击数据和用户在额度申领页面的点击数据。在该种场景中,服务器110发送给客户端的点击数据可以是指最后一个页面的点击数据,即点击之后进入广告产品的购买页面的点击操作信息,在上述示例中是指额度申领页面上的点击数据。In one possible scenario, the user may need to trigger multiple operations on the advertisement page of the advertised product before entering the purchase page of the advertised product. For example, the conversion process of the advertisement of Weiweidai product is as follows: Enter the user information filling page. After the user information is completed, it will enter the enterprise information filling page. After the enterprise information is completed, it will enter the quota application page. After the quota application is completed, it will enter the purchase page of Weiweidai products; therefore , the click data corresponding to the advertisement of Weiweidai products includes the click data of the user on the user information filling page, the click data of the user on the enterprise information filling page, and the click data of the user on the quota application page. In this scenario, the click data sent by the server 110 to the client may refer to the click data of the last page, that is, the click operation information that enters the purchase page of the advertised product after the click, and in the above example refers to the click data on the quota application page. Click Data.

在一个示例中,客户端可以预先在服务器110上注册账号,账号包括用户名和密钥,当服务器110为客户端注册的用户名和密钥创建权限后,客户端向服务器110发送的信息中均可以携带有用户名和密钥,以使服务器110在处理数据前对客户端进行鉴权;相应地,服务器110可以将预先注册的所有客户端的用户名和密钥存储在预设对应关系表中。具体实施中,客户端向服务器110发送的请求消息中可以同时包括用户名、密钥和数据范围,如此,服务器110接收到请求消息后,可以先解析得到客户端的用户名和密钥,再查询预设对应关系表确定预设对应关系表中是否存在该用户名,若预设对应关系表中不存在该用户名,则服务器110可以向客户端发送异常响应消息;若预设对应关系表中存在该用户名,则服务器110可以查询该密钥是否与该用户名对应,若不对应,则说明客户端伪造用户名或密钥,因此服务器110可以对客户端进行告警,若对应,则服务器110可以获取数据范围的点击数据并发送给客户端。In one example, the client can register an account on the server 110 in advance, and the account includes a user name and a key. After the server 110 creates permissions for the user name and key registered by the client, the information sent by the client to the server 110 can be It carries the user name and key, so that the server 110 can authenticate the client before processing the data; correspondingly, the server 110 can store the user names and keys of all pre-registered clients in the preset correspondence table. In a specific implementation, the request message sent by the client to the server 110 may include the user name, key, and data range at the same time. In this way, after receiving the request message, the server 110 can first analyze the user name and key of the client, and then query the preset Set the correspondence table to determine whether the username exists in the preset correspondence table, if the username does not exist in the preset correspondence table, the server 110 can send an abnormal response message to the client; if the preset correspondence table exists If the user name is the user name, the server 110 can inquire whether the key corresponds to the user name. If it does not correspond, it means that the client forges the user name or key, so the server 110 can warn the client. If it is corresponding, the server 110 The click data of the data range can be obtained and sent to the client.

在上述示例中,客户端可以预先在服务器注册,如此,针对于客户端发送的请求消息,服务器可以先根据注册信息对客户端进行鉴权,并在确定客户端安全且未被篡改后再启动模型训练,从而可以保证模型训练的安全性,避免客户端的权限被篡改。In the above example, the client can pre-register with the server. In this way, for the request message sent by the client, the server can first authenticate the client according to the registration information, and start the server after determining that the client is safe and has not been tampered with. Model training, so as to ensure the security of model training and prevent client permissions from being tampered with.

步骤202,客户端将第一加密数据发送给服务器。Step 202, the client sends the first encrypted data to the server.

具体实施中,客户端可以根据客户端的互联网协议地址(InternetProtocolAddress,IP)、服务器110的IP和第一加密数据生成报文,并可以将报文发送给服务器110。其中,若客户端与服务器110通过有线方式(比如光纤、电缆等)连接,则客户端可以采用有线方式将报文发送给服务器110,若客户端与服务器110通过无线方式(比如WIFI、蓝牙等)连接,则客户端可以采用无线方式将报文发送给服务器110。In a specific implementation, the client may generate a message according to the Internet Protocol Address (Internet Protocol Address, IP) of the client, the IP of the server 110 and the first encrypted data, and may send the message to the server 110 . Wherein, if the client and the server 110 are connected by a wired method (such as optical fiber, cable, etc.), the client can send the message to the server 110 by a wired method; if the client and the server 110 are connected by a wireless method (such as WIFI, Bluetooth, etc. ) connection, the client can send the message to the server 110 in a wireless manner.

步骤203,服务器接收到客户端发送的第一加密数据后,至少使用第一加密数据训练得到加密转化模型。Step 203: After receiving the first encrypted data sent by the client, the server at least uses the first encrypted data to train to obtain an encrypted conversion model.

具体实施中,服务器110训练模型的过程可以基于具体的业务场景进行设置,比如若服务器110仅具有模型训练的功能,则服务器110可以只基于客户端发送的第一加密数据训练得到加密转化模型,若服务器110还具有数据存储的功能,则服务器110可以使用客户端发送的第一加密数据和服务器110中存储的数据共同训练得到加密转化模型,若服务器110还具有与第三方交互的功能,则服务器110可以先从第三方获取第三方中的数据,再使用客户端发送的第一加密数据和第三方中的数据共同训练得到加密转化模型,等等。In a specific implementation, the process of training the model by the server 110 can be set based on a specific business scenario. For example, if the server 110 only has the function of model training, the server 110 can obtain an encrypted conversion model based only on the first encrypted data training sent by the client. If the server 110 also has the function of data storage, then the server 110 can use the first encrypted data sent by the client and the data stored in the server 110 to jointly train to obtain an encrypted conversion model; if the server 110 also has the function of interacting with a third party, then The server 110 may first obtain the data in the third party from the third party, and then use the first encrypted data sent by the client and the data in the third party to jointly train to obtain an encrypted conversion model, and so on.

在一种可能的实现方式中,服务器110接收到客户端发送的第一加密数据后,可以先获取第一加密数据对应的点击数据,并使用预设公钥对点击数据进行加密,得到第二加密数据,再使用第一加密数据和第二加密数据共同训练得到加密转化模型。其中,预设公钥可以由客户端预先发送给服务器110,也可以由客户端携带在第一加密数据对应的报文中发送给服务器110,不作限定。In a possible implementation, after receiving the first encrypted data sent by the client, the server 110 may first obtain the click data corresponding to the first encrypted data, and encrypt the click data with a preset public key to obtain the second encrypted data. Encrypt the data, and then use the first encrypted data and the second encrypted data to jointly train to obtain an encrypted conversion model. Wherein, the preset public key may be sent to the server 110 by the client in advance, or may be carried by the client in a message corresponding to the first encrypted data and sent to the server 110, which is not limited.

具体地说,服务器110接收到的第一加密数据可以包括多条加密的转化数据,每条加密的转化数据具有唯一标识,比如用户的身份证号码、用户的手机号码,等等。如此,服务器110可以先从内置数据库中获取满足数据范围的点击数据,然后根据加密的转化数据的标识与点击数据的标识确定每条加密的转化数据对应的点击数据。Specifically, the first encrypted data received by the server 110 may include multiple pieces of encrypted conversion data, and each piece of encrypted conversion data has a unique identifier, such as the user's ID number, the user's mobile phone number, and so on. In this way, the server 110 may first obtain the click data satisfying the data range from the built-in database, and then determine the click data corresponding to each piece of encrypted conversion data according to the identifier of the encrypted conversion data and the identifier of the click data.

需要说明的是,服务器110获取到的转化数据对应的点击数据可以包括用户在广告产品的所有页面上的点击数据,比如针对于微粒贷产品,服务器110根据数据范围获取到的点击数据可以仅包括用户在额度申领页面上的点击数据,而根据转化数据获取到的点击数据可以包括用户在用户信息的填报页面上的点击数据、用户在企业信息填报页面上的点击数据以及用户在额度申领页面上的点击数据。It should be noted that the click data corresponding to the conversion data obtained by the server 110 may include the user's click data on all pages of the advertising product. For example, for Weiweidai products, the click data obtained by the server 110 according to the data range may only include The user's click data on the quota application page, and the click data obtained according to the conversion data may include the user's click data on the user information filling page, the user's click data on the enterprise information filling page, and the user's quota application. Click data on the page.

进一步地,针对于任一对应的转化数据和点击数据,服务器110可以使用预设公钥对点击数据进行加密,得到一条加密的点击数据,并可以对该条加密的点击数据设置标识;其中,该条加密的点击数据的标识与对应的加密的转化数据的标识相匹配。由此可知,第二加密数据由多条加密的点击数据构成,每条加密的点击数据可以对应一个加密的转化数据。Further, for any corresponding conversion data and click data, the server 110 may use a preset public key to encrypt the click data to obtain a piece of encrypted click data, and may set an identifier for the piece of encrypted click data; wherein, The identifier of the piece of encrypted click data matches the identifier of the corresponding encrypted conversion data. It can be seen that the second encrypted data is composed of multiple pieces of encrypted click data, and each piece of encrypted click data may correspond to one piece of encrypted conversion data.

本发明实施例中,加密转化模型的类型可以由本领域技术人员根据经验进行设置,比如可以为分类模型,或者也可以为神经网络模型,或者还可以为回归模型,本发明实施例对此不作限定。In the embodiment of the present invention, the type of the encryption conversion model can be set by those skilled in the art based on experience, for example, it can be a classification model, or it can also be a neural network model, or it can also be a regression model, which is not limited in the embodiment of the present invention .

需要说明的是,步骤203中加密转化模型可以为加密的购买转化模型、加密的点击转化模型和加密的综合转化模型中的任意一个或任意多个;具体地说,若使用加密的点击数据和加密的转化数据训练得到加密的购买转化模型,则购买转化模型可以预测点击广告产品的广告的用户购买广告产品的概率;若使用加密的曝光数据和加密的点击数据训练得到加密的点击转化模型,则点击转化模型可以预测观看到广告产品的广告页面的用户点击广告的概率;若使用加密的曝光数据、加密的点击数据和加密的转化数据训练得到加密的综合转化模型,则综合转化模型可以预测观看到广告产品的广告页面的用户购买广告产品的概率。It should be noted that the encrypted conversion model in step 203 can be any one or more of the encrypted purchase conversion model, encrypted click conversion model and encrypted comprehensive conversion model; specifically, if the encrypted click data and The encrypted conversion data is trained to obtain the encrypted purchase conversion model, and the purchase conversion model can predict the probability of the user who clicks on the advertisement of the advertised product to purchase the advertised product; if the encrypted exposure data and encrypted click data are used to train the encrypted click conversion model, Then the click conversion model can predict the probability of the user clicking on the advertisement after viewing the advertisement page of the advertised product; if the encrypted comprehensive conversion model is obtained by training with encrypted exposure data, encrypted click data and encrypted conversion data, the comprehensive conversion model can predict The probability that a user who views the advertisement page of the advertised product purchases the advertised product.

步骤204,服务器将加密转化模型发送给客户端。Step 204, the server sends the encrypted conversion model to the client.

具体实施中,服务器110可以获取加密转化模型的模型参数,并可以根据加密的模型参数、服务器110的IP、客户端的IP生成报文,将报文发送给客户端。In a specific implementation, the server 110 can obtain the model parameters of the encrypted conversion model, and can generate a message according to the encrypted model parameters, the IP of the server 110, and the IP of the client, and send the message to the client.

步骤205,客户端接收加密转化模型后,使用预设公钥对应的预设私钥对加密转化模型进行解密,得到解密转化模型。Step 205: After receiving the encrypted transformation model, the client uses the preset private key corresponding to the preset public key to decrypt the encrypted transformation model to obtain the decrypted transformation model.

在一个示例中,客户端中可以存储有广告产品、预设公钥与预设私钥的对应关系,且在生成多个广告产品对应的转化模型时,可以分别使用不同的预设公钥对多个广告产品对应的转化数据进行加密,任意两个广告产品对应的转化数据的预设公钥不同;如此,当接收到服务器110发送的某一广告产品对应的加密转化模型后,客户端可以查询对应关系确定该广告产品对应的预设私钥,从而使用该广告产品对应的预设私钥对该广告产品对应的加密转化模型进行解密。In one example, the client may store the corresponding relationship between advertising products, preset public keys and preset private keys, and when generating conversion models corresponding to multiple advertising products, different preset public key pairs may be used respectively The conversion data corresponding to multiple advertising products are encrypted, and the preset public keys of the conversion data corresponding to any two advertising products are different; thus, after receiving the encrypted conversion model corresponding to an advertising product sent by the server 110, the client can Query the corresponding relationship to determine the preset private key corresponding to the advertising product, so as to decrypt the encrypted conversion model corresponding to the advertising product by using the preset private key corresponding to the advertising product.

本发明实施例中,对应的预设私钥与预设公钥可以为使用差分隐私算法确定的私钥和公钥,或者也可以为使用同态加密算法确定的私钥和公钥,不作限定。In the embodiment of the present invention, the corresponding preset private key and preset public key may be the private key and public key determined using the differential privacy algorithm, or may also be the private key and public key determined using the homomorphic encryption algorithm, without limitation .

步骤206,客户端将解密转化模型发送给服务器。Step 206, the client sends the decrypted conversion model to the server.

此处,服务器110可以直接将解密的转化模型发送给客户端,或者为了保证数据传输的安全性,也可以先使用第二预设加密算法对解密的转化模型进行加密,然后将加密后的转化模型发送给客户端;其中,第二预设加密算法可以由本领域技术人员根据经验进行设置,比如可以为预设哈希算法、对称加密算法、非对称加密算法等。Here, the server 110 may directly send the decrypted transformation model to the client, or in order to ensure the security of data transmission, it may first encrypt the decrypted transformation model using a second preset encryption algorithm, and then encrypt the encrypted transformation model The model is sent to the client; wherein, the second preset encryption algorithm can be set by those skilled in the art based on experience, for example, it can be a preset hash algorithm, a symmetric encryption algorithm, an asymmetric encryption algorithm, and the like.

需要说明的是,第二预设加密算法为客户端与服务器110预先协商确定的,即服务器110中可以存储有第二预设加密算法对应的解密算法;而第一预设加密算法为客户端独自设定的,服务器110中并未存储有第一预设加密算法对应的解密算法,从而服务器110无法对加密的转化数据进行解密,保证用户的隐私数据的安全性。It should be noted that the second preset encryption algorithm is pre-negotiated and determined between the client and the server 110, that is, the server 110 may store a decryption algorithm corresponding to the second preset encryption algorithm; Independently set, the server 110 does not store the decryption algorithm corresponding to the first preset encryption algorithm, so the server 110 cannot decrypt the encrypted conversion data, ensuring the security of the user's private data.

步骤207,服务器接收客户端发送的解密转化模型后,使用解密转化模型确定目标用户,并对目标用户进行投放。Step 207: After receiving the decrypted conversion model sent by the client, the server uses the decrypted conversion model to determine the target user, and delivers to the target user.

具体实施中,服务器110接收到客户端发送的解密转化模型后,可以根据解密转化模型对每一个用户进行预测,若确定用户被广告产品转化的概率大于或等于预设阈值,则可以将该用户作为广告产品的一个目标用户,如此,服务器110可以向该目标用户投放广告产品的广告;相应地,若确定用户被广告产品转化的概率小于预设阈值,则可以不向该用户投放广告产品的广告。举例来说,在预设阈值为80%时,若解密转化模型为综合转化模型,则服务器110可以使用综合转化模型分别确定用户端131~用户端133对应的用户购买广告产品的概率,若用户端131对应的用户购买广告产品的概率为90%、用户端132对应的用户购买广告产品的概率为60%、用户端133对应的用户购买广告产品的概率为85%,则服务器110可以将用户端131对应的用户和用户端133对应的用户作为广告产品的两个目标用户,因此可以分别通过用户端131的web浏览器和用户端133的web浏览器向两个目标用户投放广告产品的广告。In specific implementation, after receiving the decrypted conversion model sent by the client, the server 110 can predict each user according to the decrypted conversion model. As a target user of the advertising product, in this way, the server 110 may deliver an advertisement of the advertising product to the target user; correspondingly, if it is determined that the probability that the user is converted by the advertising product is less than a preset threshold value, then the user may not be served the advertisement of the product advertise. For example, when the preset threshold is 80%, if the decrypted conversion model is a comprehensive conversion model, the server 110 can use the comprehensive conversion model to respectively determine the probabilities of the users corresponding to the user terminals 131 to 133 to purchase advertising products, if the user The probability that the user corresponding to the terminal 131 purchases the advertising product is 90%, the probability that the user corresponding to the user terminal 132 purchases the advertising product is 60%, and the probability that the user corresponding to the user terminal 133 purchases the advertising product is 85%, then the server 110 can send the user The user corresponding to the terminal 131 and the user corresponding to the user terminal 133 are two target users of the advertising product, so the advertisement of the advertising product can be delivered to the two target users through the web browser of the user terminal 131 and the web browser of the user terminal 133 respectively .

本发明的上述实施例中,服务器接收客户端发送的第一加密数据,所述第一加密数据是所述客户端使用所述预设公钥对转化数据进行加密处理后的数据;进一步地,所述服务器至少使用所述第一加密数据训练得到加密转化模型,将所述加密转化模型发送给所述客户端,接收所述客户端发送的解密转化模型,所述解密转化模型由所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密得到的。本发明实施例中,服务器接收客户端发送的加密的转化数据后,至少使用加密的转化数据训练加密转化模型,进而由客户端对加密转化模型进行解密后发送给服务器;由此可知,在转化模型的训练过程中,服务器始终使用加密的转化数据进行模型训练,而解密私钥存储在客户端,因此,服务器无法解密得到用户的转化数据,从而可以保证用户的隐私数据的安全性,客户端的体验较好。In the above embodiments of the present invention, the server receives the first encrypted data sent by the client, and the first encrypted data is the data after the client encrypts the converted data using the preset public key; further, The server at least uses the first encrypted data to train to obtain an encrypted conversion model, sends the encrypted conversion model to the client, and receives the decrypted conversion model sent by the client, and the decrypted conversion model is determined by the client obtained by decrypting the encrypted transformation model by using the preset private key corresponding to the preset public key. In the embodiment of the present invention, after receiving the encrypted conversion data sent by the client, the server at least uses the encrypted conversion data to train the encrypted conversion model, and then the client decrypts the encrypted conversion model and sends it to the server; During the training process of the model, the server always uses encrypted conversion data for model training, and the decryption private key is stored on the client. Therefore, the server cannot decrypt the conversion data of the user, thereby ensuring the security of the user's private data. The client's The experience is better.

针对上述方法流程,本发明实施例还提供一种数据处理装置,该装置的具体内容可以参照上述方法实施。With regard to the above-mentioned method flow, the embodiment of the present invention also provides a data processing device, and the specific content of the device can be implemented with reference to the above-mentioned method.

图3为本发明实施例提供的一种数据处理装置的结构示意图,包括:Fig. 3 is a schematic structural diagram of a data processing device provided by an embodiment of the present invention, including:

收发模块301,用于接收客户端发送的第一加密数据,所述第一加密数据是所述客户端使用所述预设公钥对转化数据进行加密处理后的数据;The transceiver module 301 is configured to receive the first encrypted data sent by the client, the first encrypted data is the data after the client uses the preset public key to encrypt the converted data;

训练模块302,用于至少使用所述第一加密数据训练得到加密转化模型;A training module 302, configured to use at least the first encrypted data to train to obtain an encrypted transformation model;

所述收发模块301,还用于将所述加密转化模型发送给所述客户端,并接收所述客户端发送的解密转化模型,所述解密转化模型为所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密得到的。The transceiver module 301 is further configured to send the encryption conversion model to the client, and receive the decryption conversion model sent by the client, the decryption conversion model is the client using the preset public It is obtained by decrypting the encrypted transformation model with the preset private key corresponding to the key.

可选地,所述训练模块302具体用于:Optionally, the training module 302 is specifically used for:

获取所述第一加密数据对应的点击数据,并使用所述预设公钥对所述点击数据进行加密,得到第二加密数据;所述预设公钥由所述客户端发送给所述服务器;Obtain the click data corresponding to the first encrypted data, and use the preset public key to encrypt the click data to obtain second encrypted data; the preset public key is sent to the server by the client ;

根据所述第一加密数据和所述第二加密数据进行训练,得到所述加密转化模型。performing training according to the first encrypted data and the second encrypted data to obtain the encrypted conversion model.

可选地,所述装置还包括处理模块303,所述收发模块301接收客户端发送的第一加密数据之前,还用于:Optionally, the device further includes a processing module 303, before the transceiver module 301 receives the first encrypted data sent by the client, it is further configured to:

接收所述客户端发送的请求消息;所述请求消息中包括数据范围;receiving a request message sent by the client; the request message includes a data range;

所述处理模块303用于:The processing module 303 is used for:

根据所述请求消息获取满足所述数据范围的点击数据;Obtain click data satisfying the data range according to the request message;

所述收发模块301还用于:The transceiver module 301 is also used for:

将所述点击数据发送给所述客户端,所述点击数据用于所述客户端获取所述点击数据对应的所述转化数据。Sending the click data to the client, where the click data is used by the client to obtain the conversion data corresponding to the click data.

可选地,所述请求消息还包括用户名和密钥;Optionally, the request message also includes a username and a key;

所述收发模块301将所述点击数据发送给所述客户端之前,所述处理模块303还用于:Before the transceiver module 301 sends the click data to the client, the processing module 303 is further configured to:

查询预设对应关系表,确定所述预设对应关系表中存在所述用户名,且所述密钥与所述用户名对应;所述预设对应关系表包括预先在服务器注册的客户端的用户名与密钥的对应关系。Querying the preset correspondence table to determine that the user name exists in the preset correspondence table, and the key corresponds to the user name; the preset correspondence table includes users of clients registered in the server in advance Correspondence between names and keys.

图4为本发明实施例提供的又一种数据处理装置的结构示意图,包括:Fig. 4 is a schematic structural diagram of another data processing device provided by an embodiment of the present invention, including:

加密模块401,用于使用预设公钥对转化数据进行加密,得到第一加密数据;An encryption module 401, configured to encrypt the converted data using a preset public key to obtain first encrypted data;

收发模块402,用于将所述第一加密数据发送给服务器,并接收所述服务器发送的加密转化模型,所述加密转化模型是所述服务器至少使用所述第一加密数据训练得到的;A transceiver module 402, configured to send the first encrypted data to a server, and receive an encrypted transformation model sent by the server, where the encrypted transformation model is trained by the server using at least the first encrypted data;

解密模块403,用于使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密,得到解密转化模型;Decryption module 403, configured to use the preset private key corresponding to the preset public key to decrypt the encrypted conversion model to obtain the decrypted conversion model;

所述收发模块402,还用于将所述解密转化模型发送给所述服务器。The transceiving module 402 is further configured to send the decrypted transformation model to the server.

可选地,所述加密模块401使用预设公钥对转化数据进行加密之前,所述收发模块402还用于:Optionally, before the encryption module 401 uses a preset public key to encrypt the conversion data, the transceiver module 402 is also used to:

向所述服务器发送请求消息,所述请求消息中包括数据范围,所述请求消息用于所述服务器获取满足所述数据范围的点击数据;以及,接收所述服务器发送的所述点击数据;Send a request message to the server, where the request message includes a data range, and the request message is used for the server to obtain click data satisfying the data range; and receive the click data sent by the server;

所述加密模块401还用于:The encryption module 401 is also used for:

获取与所述点击数据对应的所述转化数据。Acquiring the conversion data corresponding to the click data.

从上述内容可以看出:本发明的上述实施例中,服务器接收客户端发送的第一加密数据,所述第一加密数据是所述客户端使用所述预设公钥对转化数据进行加密处理后的数据;进一步地,所述服务器至少使用所述第一加密数据训练得到加密转化模型,将所述加密转化模型发送给所述客户端,接收所述客户端发送的解密转化模型,所述解密转化模型由所述客户端使用所述预设公钥对应的预设私钥对所述加密转化模型进行解密得到的。本发明实施例中,服务器接收客户端发送的加密的转化数据后,至少使用加密的转化数据训练加密转化模型,进而由客户端对加密转化模型进行解密后发送给服务器;由此可知,在转化模型的训练过程中,服务器始终使用加密的转化数据进行模型训练,而解密私钥存储在客户端,因此,服务器无法解密得到用户的转化数据,从而可以保证用户的隐私数据的安全性,客户端的体验较好。It can be seen from the above that in the above embodiments of the present invention, the server receives the first encrypted data sent by the client, and the first encrypted data is encrypted by the client using the preset public key to convert the data further, the server at least uses the first encrypted data training to obtain an encrypted conversion model, sends the encrypted conversion model to the client, and receives the decrypted conversion model sent by the client, the The decrypted transformation model is obtained by the client decrypting the encrypted transformation model using the preset private key corresponding to the preset public key. In the embodiment of the present invention, after receiving the encrypted conversion data sent by the client, the server at least uses the encrypted conversion data to train the encrypted conversion model, and then the client decrypts the encrypted conversion model and sends it to the server; During the training process of the model, the server always uses encrypted conversion data for model training, and the decryption private key is stored on the client. Therefore, the server cannot decrypt the conversion data of the user, thereby ensuring the security of the user's private data. The client's The experience is better.

基于同一发明构思,本发明实施例还提供一种计算设备,包括至少一个处理单元以及至少一个存储单元,其中,所述存储单元存储有计算机程序,当所述程序被所述处理单元执行时,使得所述处理单元执行图2任意所述的数据处理方法。Based on the same inventive concept, an embodiment of the present invention also provides a computing device, including at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, The processing unit is made to execute any data processing method described in FIG. 2 .

基于同一发明构思,本发明实施例还提供一种计算机可读存储介质,其存储有可由计算设备执行的计算机程序,当所述程序在所述计算设备上运行时,使得所述计算设备执行图2任意所述的数据处理方法。Based on the same inventive concept, an embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program executable by a computing device, and when the program is run on the computing device, the computing device executes the 2 Any of the data processing methods described above.

本领域内的技术人员应明白,本发明的实施例可提供为方法、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (8)

1. A method of data processing, the method comprising:
a server receives a request message sent by a client, wherein the request message comprises a data range;
the server acquires click data meeting the data range according to the request message, wherein the click data is data of click operation of a user on an advertisement page of an advertisement product;
the server sends the click data to the client, so that the client can acquire conversion data matched with the click data according to the click data, wherein the conversion data is data for the user to purchase the advertisement product after entering a purchase page through the advertisement page;
the server receives first encrypted data sent by the client, wherein the first encrypted data is data obtained by encrypting the converted data by the client by using a preset public key;
the server obtains an encrypted purchase conversion model by using the first encrypted data and the click data for training;
the server sends the encrypted purchase conversion model to the client, wherein the encrypted purchase conversion model is used for the client to decrypt by using a preset private key corresponding to the preset public key to obtain the purchase conversion model;
and the server receives the purchase conversion model sent by the client and predicts the probability of the user clicking the advertisement page of the advertisement product purchasing the advertisement product by using the purchase conversion model, and if the probability of the user clicking the advertisement page of the advertisement product purchasing the advertisement product is determined to be greater than or equal to a preset threshold value, the user is taken as a target user of the advertisement product.
2. The method of claim 1, wherein the server trains an encrypted purchase conversion model using the first encrypted data and the click data, comprising:
the server acquires click data corresponding to the first encrypted data, and encrypts the click data by using the preset public key to obtain second encrypted data; the preset public key is sent to the server by the client;
and the server trains according to the first encrypted data and the second encrypted data to obtain the encrypted purchase conversion model.
3. The method according to claim 1 or 2, characterized in that the request message further comprises a user name and a key;
before the server sends click data to the client, the method further comprises the following steps:
the server inquires a preset corresponding relation table, and determines that the user name exists in the preset corresponding relation table, and the secret key corresponds to the user name; the preset corresponding relation table comprises the corresponding relation between the user name and the key of the client registered in the server in advance.
4. A method of data processing, the method comprising:
a client sends a request message to a server, wherein the request message comprises a data range, the request message is used for the server to obtain click data meeting the data range, and the click data is data for clicking an advertisement page of an advertisement product by a user;
the client receives the click data sent by the server;
the client acquires conversion data matched with the click data according to the click data, wherein the conversion data is data for the user to purchase the advertisement product after entering a purchase page through the advertisement page;
the client encrypts the converted data by using a preset public key to obtain first encrypted data;
the client sends the first encrypted data to a server;
the client receives an encrypted purchase conversion model sent by the server, wherein the encrypted purchase conversion model is obtained by training the server by using the first encrypted data and the click data;
the client decrypts the encrypted purchase conversion model by using a preset private key corresponding to the preset public key to obtain the purchase conversion model;
the client sending the purchase conversion model to the server in order for the server to predict a probability of purchasing the advertised product by a user clicking on an advertising page of the advertised product using the purchase conversion model, including: and if the server determines that the probability that the user clicking the advertisement page of the advertisement product purchases the advertisement product is greater than or equal to a preset threshold value, taking the user as a target user of the advertisement product.
5. A data processing apparatus, characterized in that the apparatus comprises:
the system comprises a receiving and sending module, a sending and receiving module and a sending and receiving module, wherein the receiving and sending module is used for receiving a request message sent by a client, and the request message comprises a data range;
the processing module is used for acquiring click data meeting the data range according to the request message, wherein the click data is data for clicking the advertisement page of the advertisement product by a user;
the receiving and sending module is further configured to send the click data to the client, so that the client obtains conversion data matched with the click data according to the click data, and receives first encrypted data sent by the client, where the conversion data is data for the user to purchase the advertisement product after entering a purchase page through the advertisement page, and the first encrypted data is data obtained by encrypting the conversion data by using a preset public key by the client;
the training module is used for training by using the first encrypted data and the click data to obtain an encrypted purchase conversion model;
the receiving and sending module is further configured to send the encrypted purchase conversion model to the client, and receive the purchase conversion model sent by the client, where the purchase conversion model is obtained by the client decrypting the encrypted purchase conversion model by using a preset private key corresponding to the preset public key;
and the prediction module is used for predicting the probability of the users clicking the advertisement pages of the advertisement products for purchasing the advertisement products by using the purchase conversion model, and if the probability of the users clicking the advertisement pages of the advertisement products for purchasing the advertisement products is determined to be greater than or equal to a preset threshold value, the users are used as target users of the advertisement products.
6. A data processing apparatus, characterized in that the apparatus comprises:
the system comprises a receiving and sending module, a sending and receiving module and a sending and receiving module, wherein the receiving and sending module is used for sending a request message to a server, the request message comprises a data range, the request message is used for the server to obtain click data meeting the data range, and the click data is data for clicking an advertisement page of an advertisement product by a user; receiving the click data sent by the server;
the encryption module is used for acquiring conversion data matched with the click data according to the click data and encrypting the conversion data by using a preset public key to obtain first encrypted data; wherein the conversion data is data of purchasing the advertisement product after the user enters a purchase page through the advertisement page;
the transceiver module is further configured to send the first encrypted data to a server, and receive an encrypted purchase conversion model sent by the server, where the encrypted purchase conversion model is obtained by the server through training using the first encrypted data and the click data;
the decryption module is used for decrypting the encrypted purchase conversion model by using a preset private key corresponding to the preset public key to obtain the purchase conversion model;
the transceiver module is further configured to send the purchase conversion model to the server, so that the server predicts a probability that a user who clicks an advertisement page of the advertisement product purchases the advertisement product using the purchase conversion model, and if it is determined that the probability that the user who clicks the advertisement page of the advertisement product purchases the advertisement product is greater than or equal to a preset threshold, the user is taken as a target user of the advertisement product.
7. A computing device comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the method of any of claims 1 to 4.
8. A computer-readable storage medium, storing a computer program executable by a computing device, the program, when executed on the computing device, causing the computing device to perform the method of any one of claims 1 to 4.
CN201911330992.3A 2019-12-20 2019-12-20 Data processing method and device Active CN111131227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330992.3A CN111131227B (en) 2019-12-20 2019-12-20 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330992.3A CN111131227B (en) 2019-12-20 2019-12-20 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111131227A CN111131227A (en) 2020-05-08
CN111131227B true CN111131227B (en) 2023-04-18

Family

ID=70501382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330992.3A Active CN111131227B (en) 2019-12-20 2019-12-20 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111131227B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285960B (en) * 2021-07-21 2021-10-01 湖南轻悦健康管理有限公司 Data encryption method and system for service data sharing cloud platform

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660534A (en) * 2018-12-15 2019-04-19 平安科技(深圳)有限公司 Safety certifying method, device, electronic equipment and storage medium based on more trade companies

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140207567A1 (en) * 2013-01-18 2014-07-24 Digital River, Inc. Cross Channel Conversion Tracking System and Method
WO2018005637A1 (en) * 2016-06-28 2018-01-04 Analytics Media Group, LLC Evaluation of advertising effectiveness
CN106844178B (en) * 2017-01-22 2019-11-15 腾云天宇科技(北京)有限公司 Prediction is presented the method for information transferring rate, calculates equipment, server and system
CN108259158B (en) * 2018-01-11 2021-03-23 西安电子科技大学 An efficient and privacy-preserving single-layer perceptron learning method in cloud computing environment
CN108280682A (en) * 2018-01-16 2018-07-13 深圳市和讯华谷信息技术有限公司 Advertisement placement method, terminal and computer readable storage medium
CN108520181B (en) * 2018-03-26 2022-04-22 联想(北京)有限公司 Data model training method and device
CN108960899A (en) * 2018-06-11 2018-12-07 广东因特利信息科技股份有限公司 The user information exchange method and system launched for advertisement
CN110008399B (en) * 2019-01-30 2023-04-07 创新先进技术有限公司 Recommendation model training method and device, and recommendation method and device
CN109961357B (en) * 2019-03-25 2021-09-03 上海拉扎斯信息科技有限公司 User data processing method and device, electronic equipment and storage medium
CN110163652B (en) * 2019-04-12 2021-07-13 上海上湖信息技术有限公司 Customer acquisition conversion rate estimation method and device, and computer-readable storage medium
CN110572253B (en) * 2019-09-16 2023-03-24 济南大学 Method and system for enhancing privacy of federated learning training data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660534A (en) * 2018-12-15 2019-04-19 平安科技(深圳)有限公司 Safety certifying method, device, electronic equipment and storage medium based on more trade companies

Also Published As

Publication number Publication date
CN111131227A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
US11296895B2 (en) Systems and methods for preserving privacy and incentivizing third-party data sharing
US11949671B2 (en) Systems and methods for managing secure sharing of online data
WO2023005838A1 (en) Data sharing method and electronic device
CN114500093B (en) Safe interaction method and system for message information
US11120160B2 (en) Distributed personal data storage and encrypted personal data service based on secure computation
US20250054026A1 (en) Systems and methods for augmenting real-time electronic bidding data with auxiliary electronic data
CN111932369A (en) Blockchain-based L/C issuing method, receiving method and device
KR101957186B1 (en) An aggregator system having a platform for engaging mobile device users
CN113783689B (en) Sign information processing method and device
US10970741B2 (en) Method and system for integrating audience data with a social media site
CN111131227B (en) Data processing method and device
CN111125734B (en) Data processing method and system
CN113259353A (en) Information processing method and device and electronic equipment
CN113783690A (en) Tender inviting method and device based on authentication
CN111427923A (en) Vehicle information query method and device based on block chain and storage medium
CN116095671B (en) Resource sharing method based on meta universe and related equipment thereof
CN111260415A (en) Advertisement recommendation method and device
CN110189130A (en) Method of commerce and its equipment on block chain
CN116843349A (en) Mobile digital medicine marketing platform based on SAAS service
CN115563212A (en) Supply chain data management method, device, equipment and storage medium under cloud chain cooperation
CN113554315A (en) Business data tracking method, device, computer equipment and storage medium
CN112163855A (en) Data processing method, device, system and storage medium
CN110781523A (en) Method and apparatus for processing information
CN111064797B (en) Data processing method and device
CN111444416B (en) Financial business promotion method, system and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant