Data processing method, device, equipment and storage medium based on privacy computing
By screening out the target computing model and generating model signature information in privacy computing, a privacy computing platform is constructed, which solves the problems of low reusability and insufficient security of traditional privacy computing, and achieves data analysis with high privacy and flexibility.
Patent Information
- Application Number
- CN202210814011.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-07-12
AI Technical Summary
The data application model of traditional privacy computing requires customized development, resulting in high technical threshold, low reusability, and lack of third-party supervision, which reduces the privacy and security of data analysis.
Through the model side, the target computing model is selected from the preset computing model according to the business scenario, and the model signature information is generated. The business side and the source data side build a privacy computing platform, and send the data to be verified to the model side by simulating multiple data nodes to ensure that the model side It is impossible to know the source of data, improving the privacy and reusability of data analysis.
It improves the privacy and ease of operation of data analysis, is suitable for a variety of business scenarios, and reduces the complexity and security risks of data processing.
Smart Images

Figure CN115333775B
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a data processing method and apparatus, device and storage medium based on privacy computing. Background Art
[0002] Most of the data application models of traditional privacy computing require customized development because of the high requirements for development technology and low reusability. Custom development often requires full consideration of the usage patterns of combing data, the need to determine the logic of model building, and the need to pay attention to data security issues, making the data processing of privacy computing more complicated. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose a data processing method and apparatus, device and storage medium based on privacy computing, aiming to improve reusability and simplify the data processing operations of privacy computing.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a data processing method based on privacy computing, which is applied to a business end. The method includes:
[0005] Sending a business request to the model end; wherein the business request includes business information and business scenarios;
[0006] Receiving model signature information sent by the model end; wherein the model signature information is generated by the model end by screening a target computing model from at least two preset computing models according to the business information and the business scenario, and generating the target computing model according to the target computing model;
[0007] Sending a preset data request to the source data end according to the model signature information, so that the source data end generates at least two copies of data to be verified and data signature information according to the data request, and sending the at least two copies of data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information;
[0008] Receive at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of the data to be verified through the target calculation model and the model signature information;
[0009] Sending at least two copies of the data calculation results to the source data end, and receiving a target calculation result screened by the source data end from the at least two copies of the data calculation results according to the data signature information;
[0010] The target calculation result is decrypted according to the model signature information to obtain the target data.
[0011] In some embodiments, sending a preset data request to a source data end according to the model signature information includes:
[0012] Encrypting the preset data packet password according to the model signature information to obtain data packet password information;
[0013] Aggregate the data packet password information, the model signature information, the business information, and the model information to obtain the data request;
[0014] The data request is sent to the source data end.
[0015] In some embodiments, the model signature information includes: model signature content and public key information; before receiving the model signature information sent by the model end, the method further includes:
[0016] Receiving model signature data sent by the model end;
[0017] The model signature data is verified to obtain the model signature content and the public key information.
[0018] To achieve the above purpose, a second aspect of an embodiment of the present application proposes a data processing method based on privacy computing, the method comprising:
[0019] Receive a data request sent by a service end; wherein the data request includes: model information, service information, model signature information and data packet password information;
[0020] Desensitize the data according to the model information, the business information, the model signature information and the data packet password information to obtain at least two pieces of data to be verified and data signature information;
[0021] Sending the at least two copies of the data to be verified to the model end by simulating multiple data nodes of the network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two copies of the data calculation results to the business end;
[0022] Receiving at least two copies of the data calculation results sent by the service end;
[0023] Filtering a target calculation result from at least two copies of the data calculation results according to the data signature information;
[0024] The target calculation result is sent to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0025] To achieve the above purpose, a third aspect of an embodiment of the present application proposes a data processing method based on privacy computing, which is applied to a model side. The method includes:
[0026] Receiving a service request sent by a service end; wherein the service request includes service information and a service scenario;
[0027] Filtering a target computing model from at least two preset computing models according to the business information and the business scenario;
[0028] Generate model signature information and decryption information according to the target computing model;
[0029] Sending the model signature information to the business end, so that the business end sends a preset data request to the source data end according to the model signature information, and the source data end generates at least two copies of data to be verified and data signature information according to the data request;
[0030] Receiving the at least two pieces of data to be verified sent by the source data end;
[0031] Decrypting the at least two pieces of data to be verified according to the decryption information to obtain at least two pieces of initial verification data;
[0032] Calculating and encrypting the at least two pieces of initial verification data using the target computing model and the model signature information to obtain at least two pieces of data calculation results;
[0033] At least two copies of the data calculation results are sent to the business end, so that the business end sends at least two copies of the data calculation results to the source data end, and the source data end filters out the target calculation result from the at least two copies of the data calculation results, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0034] In some embodiments, selecting a target computing model from at least two preset computing models according to the business information and the business scenario includes:
[0035] Performing signature verification on the business information to obtain a signature verification result;
[0036] If the signature verification result is passed, a target computing model is selected from at least two preset computing models according to the business scenario.
[0037] To achieve the above-mentioned purpose, a fourth aspect of an embodiment of the present application proposes a data processing device based on privacy computing, which is applied to a business end, and the device includes:
[0038] A first sending module, used to send a business request to the model end; wherein the business request includes business information and business scenarios;
[0039] A first receiving module is used to receive the model signature information sent by the model end; wherein the model signature information is generated by the model end according to the business information and the business scenario by selecting a target computing model from at least two preset computing models, and generating the target computing model according to the target computing model;
[0040] A second sending module is used to send a preset data request to a source data end according to the model signature information, so that the source data end generates at least two copies of data to be verified and data signature information according to the data request, and sends the at least two copies of data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information;
[0041] A second receiving module is used to receive at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of the data to be verified through the target calculation model and the model signature information;
[0042] A third sending module is used to send at least two copies of the data calculation results to the source data end, and receive a target calculation result selected by the source data end from the at least two copies of the data calculation results according to the data signature information;
[0043] The result decryption module is used to decrypt the target calculation result according to the model signature information to obtain the target data.
[0044] To achieve the above-mentioned purpose, a fifth aspect of an embodiment of the present application proposes a data processing device based on privacy computing, which is applied to a source data end, and the device includes:
[0045] A third receiving module is used to receive a data request sent by a service end; wherein the data request includes: model information, service information, model signature information and data packet password information;
[0046] A data desensitization module, used to perform data desensitization according to the model information, the business information, the model signature information and the data packet password information to obtain at least two pieces of data to be verified and data signature information;
[0047] A fourth sending module is used to send the at least two copies of the data to be verified to the model end through a plurality of data nodes of the simulated network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two copies of the data calculation results to the business end;
[0048] A fourth receiving module, used for receiving at least two copies of the data calculation results sent by the service end;
[0049] A first screening module, configured to screen out a target calculation result from at least two copies of the data calculation results according to the data signature information;
[0050] The fifth sending module is used to send the target calculation result to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain target data.
[0051] To achieve the above-mentioned purpose, the sixth aspect of an embodiment of the present application proposes an electronic device, which includes a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the methods described in the first, second and third aspects above are realized.
[0052] To achieve the above-mentioned purpose, the seventh aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium used for computer-readable storage, and the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the methods described in the first, second, and third aspects above.
[0053] The data processing method and device, equipment and storage medium based on privacy computing proposed in the present application, which screens out a target computing model from at least two preset computing models according to the business information and business scenarios sent by the business end through the model end, and then the model end generates model signature information according to the target computing model, and the business end receives the model signature information sent by the model end, and sends the preset data request to the source data end according to the model signature information, so that the source data end understands the data requirements of the business end to generate at least two copies of data to be verified according to the data request, and sends at least two copies of data to be verified to the model end, so that the model end calculates and encrypts at least two copies of data to be verified according to the model signature information to obtain at least two data calculation results, and the model end cannot know the source data end, so as to ensure the privacy of data analysis. The source data end screens out the target calculation result from at least two data calculation results, receives the target calculation result sent by the source data end, and decodes the target calculation result according to the data signature information to obtain the target data, so that the privacy of data analysis in different business scenarios is improved and the analysis operation is simple. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a system architecture diagram of a data processing method based on privacy computing provided in an embodiment of the present application;
[0055] Figure 2 is a flowchart of a data processing method based on privacy computing provided in an embodiment of the present application;
[0056] Figure 3 yes Figure 2 Flow chart of step S203 in FIG.
[0057] Figure 4 is a flowchart of a data processing method based on privacy computing provided by another embodiment of the present application;
[0058] Figure 5 is a flowchart of a data processing method based on privacy computing provided in an embodiment of the present application;
[0059] Figure 6 is a flowchart of a data processing method based on privacy computing provided in an embodiment of the present application;
[0060] Figure 7 yes Figure 6 Flowchart of step S602 in FIG.
[0061] Figure 8 It is a structural diagram of the service end provided in the embodiment of the present application;
[0062] Fig. 9 is a schematic diagram of the structure of the source data terminal provided in an embodiment of the present application;
[0063] Fig.10 It is a structural diagram of the model end provided in the embodiment of the present application;
[0064] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0066] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0068] First, some nouns involved in this application are analyzed:
[0069] Artificial intelligence (AI) is a new technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. AI is a branch of computer science that attempts to understand the essence of intelligence and produce a new type of intelligent machine that can respond in a similar way to human intelligence. Research in this field includes robotics, speech recognition, image recognition, natural language processing and expert systems. AI can simulate the information process of human consciousness and thinking. AI is also a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0070] Blockchain: Blockchain is a chain of blocks. Each block stores certain information, and they are connected into a chain in the order of their generation. This chain is stored in all servers. As long as there is one server in the entire system that can work, the entire blockchain is safe. These servers are called nodes in the blockchain system, and they provide storage space and computing power support for the entire blockchain system. If you want to modify the information in the blockchain, you must obtain the consent of more than half of the nodes and modify the information in all nodes. These nodes are usually in the hands of different entities, so it is extremely difficult to tamper with the information in the blockchain. Compared with traditional networks, blockchain has two core characteristics: one is that data is difficult to tamper with, and the other is decentralization. Based on these two characteristics, the information recorded in the blockchain is more authentic and reliable, which can help solve the problem of people's distrust of each other.
[0071] Privacy computing: Privacy computing refers to a collection of technologies that implement data analysis and computing while protecting the data itself from external disclosure. From the perspective of technical mechanisms, privacy computing involves the joint innovation of three major technical systems: one is artificial intelligence algorithms, the second is distributed systems and underlying hardware, and the third is cryptographic protocol design. Compared with traditional data usage methods, the encryption mechanism of privacy computing can enhance data protection and reduce the risk of data leakage. Therefore, some countries and regions, including the European Union, regard it as a way to achieve "data minimization". At the same time, traditional data security methods, such as data desensitization or anonymization, all sacrifice some data dimensions, resulting in the inability to effectively use data information. Privacy computing provides another solution to ensure that the value of data is maximized as much as possible under the premise of security.
[0072] No-Code: Zero-code is also called no-code in the industry. It mainly builds simple application scenarios through the standardization and visualization of processes by "drag and drop", such as employee relationship management within the company's HR system, formulation of a procedural ORK assessment system, and business departments building a customer management system and other simple process management.
[0073] Key: A key is a parameter that is input into an algorithm that converts plaintext to ciphertext or ciphertext to plaintext. Keys are divided into symmetric keys and asymmetric keys. Depending on whether the encryption key and decryption key used by the cryptographic algorithm are the same and whether the decryption process can be derived from the encryption process (or the encryption process can be derived from the decryption process), the cryptographic system can be divided into symmetric cryptographic system (also called single-key cryptographic system, secret key cryptographic system, symmetric key cryptographic system) and asymmetric cryptographic system (also called dual-key cryptographic system, public key cryptographic system, asymmetric key cryptographic system).
[0074] Data desensitization: Data desensitization refers to the deformation of certain sensitive information through desensitization rules to achieve reliable protection of sensitive privacy data. In the case of customer security data or some commercial sensitive data, real data is transformed and provided for testing without violating system rules. For example, personal information such as ID card number, mobile phone number, card number, customer number, etc. need to be desensitized. As one of the data security technologies, database security technology mainly includes: database leak scanning, database encryption, database firewall, data desensitization, and database security audit system. Database security risks include: dragging database, brushing database, and collision database.
[0075] Traditional privacy computing data application models are mostly based on customized software development, so customized software development has problems such as high technical barriers, low reusability, and high costs. Customized software development often requires a thorough review of data usage patterns, consideration of model building logic, and attention to data security issues. In addition, privacy computing involving multiple parties lacks third-party supervision, which reduces the security of privacy computing.
[0076] Based on this, the embodiments of the present application provide a data processing method and apparatus, a device and a storage medium based on privacy computing, which aims to filter out a target model from a number of preset computing models according to the business scenario through the model end, so that the model selection conforms to the business scenario and the model is reusable, and then build a privacy computing platform through the business end, the source data end and the model end to select the corresponding target computing model according to the business scenarios of different users, and simulate multiple data nodes through the source data end to send the data to be verified to the model end to prevent the model end from knowing which source data end the data comes from, thereby improving the privacy of data analysis, making it invisible for users to perform data processing according to different business needs, and improving the privacy of data processing.
[0077] The data processing method, apparatus, device and storage medium based on privacy computing provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the data processing method based on privacy computing in the embodiments of the present application is described.
[0078] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0079] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0080] The data processing method based on privacy computing provided in the embodiment of the present application relates to the field of artificial intelligence technology. The data processing method based on privacy computing provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server side, and can also be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements a data processing method based on privacy computing, etc., but is not limited to the above forms.
[0081] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0082] Please refer to Figure 1 , Figure 1 This is a system architecture diagram of the data processing method based on privacy computing provided in an embodiment of the present application, which includes a business end, a model end and a source data end; wherein the business end, the model end and the source data end are communicatively connected.
[0083] As the initiator of data analysis, the business end sends a business request to the model end, receives the model signature information fed back by the model end according to the business request, and sends the preset data request to the source data end according to the model signature information, and then receives at least two data calculation results sent by the model end, and sends at least two data calculation results to the source data end, so that the source data end can filter out the target calculation result from the at least two data calculation results, and then decrypt the target calculation result according to the model signature information to obtain the target data. Since the entire data processing process is an encryption operation, and the model end filters out the target calculation model from at least two preset calculation models according to the business request, there is no need to build the target calculation model every time, which improves the flexibility of data analysis and improves the privacy of data analysis.
[0084] The source data end acts as the middleman of data analysis, receives the preset data request sent by the business end according to the model signature information, generates at least two copies of the data to be verified and the data signature information according to the data request, and sends the at least two copies of the data to be verified to the model end, so that the model end calculates and encrypts the at least two copies of the data to be verified according to the model signature information to obtain at least two data calculation results. Then, the at least two data calculation results sent by the business end are received, and the target calculation results are filtered out from the at least two data calculation results according to the data signature information, and then the target calculation results are fed back to the business end.
[0085] The model side, as a calculator for data analysis, receives business requests from the business side, and selects a target calculation model from at least two preset calculation models according to the business request, then receives at least two copies of data to be verified sent by the source data side, and calculates and encrypts at least two copies of data to be verified according to the target calculation model and model signature information to obtain at least two data calculation results, and sends at least two data calculation results to the business side. Therefore, by selecting the target calculation model from at least two preset calculation models according to the business request, it is suitable for data analysis in most business scenarios, without the need for specially customized models, making data analysis easier.
[0086] It should be noted that there are multiple business terminals, and multiple business terminals, source data terminals and model terminals constitute a privacy computing system, and the privacy computing system establishes a communication connection with multiple business terminals through a data interface. Among them, the data interface includes any one of the following: Excel interface, Oracle interface, Hive interface, Spark interface, and the data interface is not limited in this embodiment. The model terminal is connected to the alliance monitoring system, and the alliance monitoring system is used to provide a preset computing model, and the calculation type of the preset computing model includes at least one of the following: transmission circuit, obfuscated circuit, secret sharing, homomorphic encryption, zero-knowledge proof, differential privacy, so the calculation type is selected according to the business scenario, and the target computing model is selected from at least two preset computing models according to the calculation type to adapt to data calculations in different business scenarios. Among them, the model terminal calls the preset computing model of the alliance monitoring system, and regardless of whether the alliance monitoring system shares the preset computing model, the model document of the preset computing model will be provided, so that the source data terminal can extract the data to be verified from the model document, that is, the data corresponding to the preset computing model.
[0087] Figure 2 is an optional flowchart of a data processing method based on privacy computing provided in an embodiment of the present application. Figure 2 The method may include but is not limited to steps S201 to S206.
[0088] Step S201, sending a business request to the model end; wherein the business request includes business information and business scenarios;
[0089] Step S202, receiving model signature information sent by the model end; wherein the model signature information is generated by the model end according to the business information and the business scenario by selecting a target computing model from at least two preset computing models, and generating the target computing model according to the target computing model;
[0090] Step S203, sending a preset data request to the source data end according to the model signature information, so that the source data end generates at least two copies of the data to be verified and the data signature information according to the data request, and sends the at least two copies of the data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information;
[0091] Step S204, receiving at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of data to be verified through the target calculation model and the model signature information;
[0092] Step S205, sending at least two data calculation results to the source data end, and receiving the target calculation result selected by the source data end from the at least two data calculation results according to the data signature information;
[0093] Step S206, decrypt the target calculation result according to the model signature information to obtain the target data.
[0094] Steps S201 to S206 shown in the embodiment of the present application are as follows: by sending the business scenario and business information to the model end so that the model end can filter out the target computing model from at least two preset computing models according to the business scenario and business information, and the model end generates model signature information according to the target computing model, by receiving the model signature information sent by the model end, and sending the preset data request to the source data end according to the model signature information, so that the source data end understands the data requirements of the business end to generate at least two copies of data to be verified according to the data request, and sends at least two copies of data to be verified to the model end, so that the model end calculates and encrypts at least two copies of data to be verified according to the model signature information to obtain at least two data calculation results. Among them, the source data end simulates multiple data nodes to send at least two copies of data to be verified to the model end respectively, so that the model end cannot know the source data end to ensure the privacy of data analysis. Then, at least two data calculation results fed back by the model end are received. Since the business end cannot filter out the target calculation result from the at least two data calculation results, the at least two data calculation results are sent to the source data end, so that the source data end filters out the target calculation result from the at least two data calculation results, receives the target calculation result sent by the source data end, and decodes the target calculation result according to the data signature information to obtain the target data. Therefore, in the data calculation process, the model end filters out the target calculation model from at least two preset calculation models according to the business scenario and business information, so it is suitable for data calculation in various business scenarios. At the same time, at least two pieces of data to be verified are generated through the source data end, and then at least two pieces of data to be verified are sent to the model end through multiple data nodes of the simulated network to prevent the model end from being able to match the data calculation results of the data source, and prevent other systems of the alliance monitoring system from stealing the data calculation results of the source data end through the model end, so as to improve the security of data processing.
[0095] In step S201 of some embodiments, the business end sends a business request to the model end, and the business request includes business information and business scenarios, wherein the business information includes business account information, and the business scenario includes model number information. By sending the business scenario to the model end, the model end can filter out the target computing model from at least two preset computing models according to the model number information. The business end sends the business account information and the model number to the model end, and the model end performs a signature verification process according to the business account information, and the signature verification process determines whether the business end is correct according to the business account information. If the model end passes the signature verification, it generates the model signature information according to the target computing model.
[0096] In step S202 of some embodiments, the target computing model is screened out from the preset computing models according to the business information and business scenarios by the model end, and the model signature information is generated according to the target computing model by the model end. Then the model signature information sent by the model end is received. Among them, the model signature information includes: model signature content and public key information. Therefore, the target computing model is screened out from multiple preset computing models according to the business information and business scenarios by the model end, so as to be applicable to a variety of business scenarios and improve the scope of application of data analysis.
[0097] In step S203 of some embodiments, since the model signature information is used for subsequent data verification and decryption, a preset data request is sent to the source data end according to the model signature information, so that the source data end knows the data requirements of the business end according to the data request, and generates at least two copies of the data to be verified and the data signature information according to the data request, wherein the data signature information is used for subsequent verification of the data calculation results. At least two copies of the data to be verified are generated by the source data end, and multiple data nodes are simulated to send at least two copies of the data to be verified to the model end respectively, so that the model end cannot match the data calculation results with the source data end, so as to prevent other ends from stealing the data calculation results of the source data end from the model end, thereby improving the privacy of data analysis.
[0098] In step S204 of some embodiments, at least two copies of data to be verified are generated by the source data end and sent to the model end. The model end calculates the at least two copies of data to be verified through the target calculation model, and encrypts the data calculation results through the model signature information to obtain at least two data calculation results, and each data calculation result corresponds to a copy of the data to be verified, and then the model end receives feedback of at least two data calculation results. Therefore, by receiving at least two data calculation results fed back by the model end, it is possible to prevent other ends from directly knowing which data calculation result is the data calculation result required by the business end, so as to improve the privacy of data analysis.
[0099] In step S205 of some embodiments, since the business end cannot filter out the target calculation result from the at least two data calculation results, it is necessary to send the at least two data calculation results to the source data end, so that the source data end can filter out the target calculation result from the at least two data calculation results according to the data signature information, so that the business end can obtain the real target calculation result. Therefore, the source data end filters out the target calculation result from the at least two data calculation results according to the data signature information, and then sends the target calculation result to the business end, so that the business end can obtain the target calculation result that meets the actual needs.
[0100] In step S206 of some embodiments, since the model signature information sent by the model end can decrypt the target calculation result to obtain the result of the target calculation model calculation data request, the target calculation result is decrypted according to the model signature information to obtain the target data, making the data analysis process simple and improving privacy.
[0101] See also Figure 3 In some embodiments, step S203 may include but is not limited to steps S301 to S303:
[0102] Step S301, encrypting the preset data packet password according to the model signature information to obtain data packet password information;
[0103] Step S302, the data packet password information, model signature information, business information, and model information are aggregated and processed to obtain a data request;
[0104] Step S303, sending the data request to the source data end.
[0105] In step S301 of some embodiments, after the business end sends business information and business scenarios to the model end, the model signature information fed back by the business end is received. Since the model signature information can be used to encrypt and decrypt the data packet password, the data packet password is encrypted according to the model signature information to obtain the data packet password information. Since the model end generates the model signature information, the business end uses the model signature information to encrypt the data packet password, and the model end can decrypt the data packet password information according to the model signature information, which does not affect the transmission of the data packet password and can improve the security of data transmission.
[0106] In step S302 of some embodiments, the data packet password information, model signature information, business information and model information are collected to obtain a data request. The model information includes: model end account information, and the business information includes: business temporary number, number information of the target computing model. The model signature information and data packet password information are sent to the source data end, and the source data end decrypts the data packet password information according to the model signature information to obtain the data packet password. The source data end extracts the source data according to the data packet password, and then screens the source data according to the model information and business information to obtain desensitized data. Therefore, the data request is obtained by collecting the data packet password information, model signature information, business information and model information, so that the source data end can extract the source data.
[0107] In step S303 of some embodiments, a data request is sent to the source data end, so that the source data knows the data demand of the business end according to the data request.
[0108] See also Figure 4In some embodiments, the model signature information includes: model signature content and public key information; before step S202, the data processing method based on privacy computing also includes but is not limited to steps S401 and S402:
[0109] Step S401, receiving model signature data sent by the model end;
[0110] Step S402: Verify the model signature data to obtain the model signature content and public key information.
[0111] In step S401 of some embodiments, after the business end receives the model signature data sent by the model end, it is necessary to verify the model end through the model signature data. After the model end receives the business information and business scenario, the model end verifies the signature according to the business scenario and business information, and then selects the target computing model from at least two preset computing models, and generates model signature data according to the target computing model, and sends the model signature data to the business end, and then the business end receives the model signature data.
[0112] In step S402 of some embodiments, the business end verifies the model signature data returned by the model end to obtain the model signature content and public key information. The model signature content can know the model end account information. The public key information is used to encrypt the data packet password, and the public key information is also used to decrypt the target calculation result fed back by the source data end to obtain the target data.
[0113] It should be noted that the public key information is generated by the model end according to the target computing model, and the public key information is sent to the business end. The business end encrypts the data packet password according to the public key information to obtain the data packet password information. After the model end feeds back at least two data calculation results, the source data end filters out the target calculation result from at least two data calculation results according to the data signature information, and the business end decrypts the target calculation result according to the public key information to obtain the target data.
[0114] See also Figure 5 The embodiment of the present application also provides a data processing method based on privacy computing, which is applied to the source data end. The method may include but is not limited to steps S501 to S506:
[0115] Step S501, receiving a data request sent by a service end; wherein the data request includes: model information, service information, model signature information and data packet password information;
[0116] Step S502, performing data desensitization according to the model information, business information, model signature information and data packet password information to obtain at least two pieces of data to be verified and data signature information;
[0117] Step S503, sending at least two copies of the data to be verified to the model end by simulating multiple data nodes in the network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two data calculation results to the business end;
[0118] Step S504, receiving at least two data calculation results sent by the service end;
[0119] Step S505, filtering out a target calculation result from at least two data calculation results according to the data signature information;
[0120] Step S506, sending the target calculation result to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0121] In steps S501 to S506 shown in the embodiment of the present application, after the business end receives the model signature information from the model end, the source data end receives the data request sent by the business end according to the model signature information, and the data request includes: model information, business information, model signature information and data packet password information. The source data end then understands the data requirements of the business end through the data request, and performs data desensitization according to the model information, business information, model signature information and data packet password information to obtain at least two copies of data to be verified and data signature information. The source data end sends at least two copies of data to be verified to the model end through multiple data nodes in a simulated network. The model end cannot know which copy of the data to be verified corresponds to the source data end, so the model end directly calculates at least two copies of the data to be verified through the target computing model, and encrypts the data and the calculation results through the model signature information. Therefore, after the model end feeds back at least two data calculation results to the business end, since the business end cannot filter out the target calculation result from the at least two data calculation results, the source data end filters out the target calculation result from the at least two data calculation results according to the data signature information, and feeds back the target calculation result to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data. Therefore, the target calculation model is filtered out by the model end, and the source data end simulates multiple data nodes to send at least two copies of the data to be verified to the model end respectively, so that the security of data transmission is improved without affecting data analysis.
[0122] In step S501 of some embodiments, model information, business information, model signature information and data packet password information sent by the business end are received, wherein the model information includes: model end account information, and the business information includes: business temporary number, number information of the target computing model.
[0123] In step S502 of some embodiments, since the model signature information is public key information, the source data end decrypts the data packet password information according to the public key information to obtain the data packet password, and then extracts the source data according to the data packet password, and screens out the desensitized data from the source data according to the model information and the business information, that is, provides desensitized data corresponding to the target computing model, and then generates at least two copies of data to be verified according to the desensitized data, model information, data signature information, model signature information and business information. By generating at least two copies of data to be verified through desensitized data, model information, data signature information, model signature information and business information, the model end can decrypt the data through relevant information before performing calculations, thereby improving the security of the data during transmission.
[0124] It should be noted that the purpose of data masking is to make it impossible to view the real data. Different masking results are generated according to the preset masking rules and data requests, and the data to be verified is determined by the masking results. The data to be verified is then sent through other data nodes in the simulated network. The data to be verified is sent through multiple data nodes in the simulated network to separate the data to be verified and the source data end. Even if the model end and the business end work together, they cannot find the real masked data, thereby improving the data security and privacy of the data analysis process.
[0125] In step S503 of some embodiments, the source data end generates at least two copies of data to be verified, and sends at least two copies of data to be verified to the model end respectively through multiple data nodes in the simulated network, then the model end cannot know which copy of the data to be verified corresponds to the source data end, so as to prevent other ends from stealing the data to be verified that is currently undergoing data analysis, thereby improving the data security of the data analysis process. After the source data end sends at least two copies of the data to be verified to the model end, the model end calculates the at least two copies of the data to be verified through the target computing model, and encrypts them through the model signature information to obtain at least two data calculation results, and each data calculation result corresponds to one copy of the data to be verified, and the model end sends at least two data calculation results to the business end in a unified manner. Therefore, if multiple data calculation results are calculated by the model end, it is impossible to know which data calculation result corresponds to the desensitized data of the source data end.
[0126] In step S504 of some embodiments, since the model end sends multiple copies of data calculation results to the business end, since the business end cannot confirm which copy is the real data calculation result, that is, it cannot filter out the target calculation result from the multiple copies of data calculation results, the business end sends the multiple copies of data calculation results to the source data end again. The source data end receives multiple data calculation results, wherein, since the data calculation results are obtained by encrypting the model signature information after calculation by the model end, the source data end only needs to filter out the target calculation results from the data calculation results, and does not need to decrypt the data calculation results, so as to prevent other ends from tampering with the target calculation results.
[0127] In step S505 of some embodiments, since the source data end generates data signature information based on the data request, and the data signature information verifies the data calculation result, the target calculation result is filtered out from at least two data calculation results according to the data signature information to filter out the true target calculation result, and determine whether the target calculation result has been tampered with. If the target calculation result has not been tampered with, the target calculation result is sent to the business end.
[0128] In step S506 of some embodiments, since the target calculation result is an encrypted data calculation result, after the target calculation result is sent to the business end, and the target calculation result is encrypted by the model end through the model signature information, the business end decrypts the target calculation result according to the model signature information to obtain the target data. Among them, the target data is the result directly obtained by the target calculation model to calculate the data to be verified, so the business end only needs to know the result calculated by the target calculation model, without calling the data, thereby improving the privacy and efficiency of data analysis.
[0129] See also Figure 6 The embodiment of the present application also provides a data processing method based on privacy computing, which is applied to the model side. The method may include but is not limited to steps S601 to S608:
[0130] Step S601, receiving a service request sent by a service end; wherein the service request includes service information and a service scenario;
[0131] Step S602, selecting a target computing model from at least two preset computing models according to business information and business scenarios;
[0132] Step S603, generating model signature information and decryption information according to the target computing model;
[0133] Step S604, sending the model signature information to the business end, so that the business end sends a preset data request to the source data end according to the model signature information, and the source data end generates at least two copies of data to be verified and data signature information according to the data request;
[0134] Step S605, receiving at least two copies of data to be verified from the source data terminal;
[0135] Step S606, decrypting at least two pieces of data to be verified according to the decryption information to obtain at least two pieces of initial verification data;
[0136] Step S607, calculating and encrypting at least two copies of initial verification data using the target calculation model and the model signature information to obtain at least two copies of data calculation results;
[0137] Step S608, sending at least two data calculation results to the business end, so that the business end sends at least two data calculation results to the source data end, and the source data end filters out the target calculation result from the at least two data calculation results, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0138] In the steps S601 to S608 shown in the embodiment of the present application, the model end receives business information and business scenarios from the business end, and then selects the target computing model from at least two preset computing models according to the business information and business scenarios, and generates model signature information and decryption information according to the target computing model. Among them, the decryption information is used to decrypt the data packet password information sent by the source data end. Therefore, the model signature information is sent to the business end, and the business end sends a data request to the source data end according to the model signature information, and the source data generates at least two copies of data to be verified according to the data request. The model end receives at least two copies of data to be verified, and decrypts at least two copies of data to be verified according to the decryption information to obtain at least two copies of initial verification data, and calculates at least two copies of initial verification data through the target computing model, and then encrypts at least two copies of data calculation results through the model signature information, and finally sends at least two copies of data calculation results to the business end, so that the business end sends at least two copies of data calculation results to the source data end to select the target calculation results, and the business end decrypts the target calculation results according to the model signature information to obtain the target data. Therefore, the target computing model is screened out from at least two preset computing models through the model side to analyze model data suitable for different business scenarios and expand the scope of data analysis.
[0139] In step S601 of some embodiments, a business scenario and business information sent by a business end are received, wherein the business information is business account information and the business scenario is model number information, so as to know the data requirements and model analysis requirements of the business end through the business number information and model number information.
[0140] In step S602 of some embodiments, a target computing model is screened out from at least two preset computing models through business information and business scenarios to obtain a target computing model that meets the business end data analysis. After the model end receives the business information and business scenarios, it verifies the business end according to the business information and business scenarios, and after the verification is successful, the target computing model is screened out from at least two preset computing models.
[0141] In step S603 of some embodiments, after obtaining the target computing model, model signature information and decryption information are generated according to the target computing model, wherein the model signature information includes: public key information and model signature content, and the decryption information includes private key information, and the private key information is consistent with the public key information. Therefore, after sending the public key information to the business end for password encryption, the model end can decrypt the data packet password information according to the private key information.
[0142] In step S604 of some embodiments, the model end generates public key information and model signature content and sends it to the business end. The business end then encrypts the data packet password according to the public key information to obtain the data packet password information, and generates at least two copies of the data to be verified using the data packet password information, model information, business information and model signature information, and then sends the at least two copies of the data to be verified to the model end.
[0143] In step S605 of some embodiments, after the model end sends the public key information and the model signature content to the business end, it receives at least two pieces of data to be verified sent by the source data end, and it is impossible to know which piece of data to be verified corresponds to the source data end, and if the data to be verified is encrypted data, it needs to be decrypted.
[0144] In step S606 of some embodiments, since the data to be verified includes data packet password information, and the data packet password information is obtained by encrypting the data packet password by the business end through public key information, the data packet password information is decrypted by private key information to obtain the data packet password, and then the desensitized data of the data to be verified is decrypted according to the data packet password to obtain at least two initial verification data.
[0145] In step S607 of some embodiments, at least two copies of initial verification data are obtained through decryption, and the initial verification data is desensitized data. Then, the model end performs model calculation on the multiple copies of the desensitized data, and encrypts the calculation results through the model signature information to obtain at least two data calculation results, so that the data calculation operation is simple.
[0146] In step S608 of some embodiments, after the model end completes the data calculation, it sends at least two copies of the data calculation results to the business end together, and the data calculation results are encrypted calculation results to prevent other ends from tampering with the data calculation results, so as to improve the security of data transmission.
[0147] See also Figure 7 In some embodiments, step S602 may include but is not limited to steps S701 to S702:
[0148] Step S701, verify the business information and obtain the verification result;
[0149] Step S702: If the signature verification result is passed, a target computing model is selected from at least two preset computing models according to the business scenario.
[0150] In steps S701 and S702 of some embodiments, business information and business scenarios are received, and if the business information is business account information, the business end is verified according to the business account information to obtain a verification result. If the verification result is passed, the target computing model is filtered out from at least two preset computing results according to the business scenario, that is, through the model number information. Among them, preset number information is set on each preset computing model, and the target number information is filtered out from multiple preset number information according to the model number information, and the preset computing model corresponding to the target number information is obtained as the target computing model. Therefore, by filtering out the target computing model, model calculation suitable for different business scenarios is facilitated.
[0151] See also Figure 8 The present application also provides a data processing device based on privacy computing, which can achieve the above Figures 2 to 4 A data processing method based on privacy computing is applied to a business end, and the device includes:
[0152] The first sending module 801 is used to send a business request to the model end; wherein the business request includes business information and business scenarios;
[0153] The first receiving module 802 is used to receive the model signature information sent by the model end; wherein the model signature information is generated by the model end according to the business information and the business scenario by selecting a target computing model from at least two preset computing models, and generating the target computing model according to the target computing model;
[0154] The second sending module 803 is used to send a preset data request to the source data end according to the model signature information, so that the source data end generates at least two copies of the data to be verified and the data signature information according to the data request, and sends the at least two copies of the data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information;
[0155] The second receiving module 804 is used to receive at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of data to be verified through the target calculation model and the model signature information;
[0156] The third sending module 805 is used to send at least two data calculation results to the source data end, and receive the target calculation result selected by the source data end from the at least two data calculation results according to the data signature information;
[0157] The result decryption module 806 is used to decrypt the target calculation result according to the model signature information to obtain the target data.
[0158] The specific implementation of the data processing device based on privacy computing is similar to the above Figures 2 to 4 The specific implementation example of a data processing method based on privacy computing is basically the same and will not be repeated here.
[0159] See also Fig. 9 The present application also provides a data processing device based on privacy computing, which can achieve the above Figure 5 A data processing method based on privacy computing is applied to a source data end, and the device includes:
[0160] The third receiving module 901 is used to receive a data request sent by a service end; wherein the data request includes: model information, service information, model signature information and data packet password information;
[0161] The data desensitization module 902 is used to perform data desensitization according to the model information, the business information, the model signature information and the data packet password information to obtain at least two pieces of data to be verified and data signature information;
[0162] The fourth sending module 903 is used to send at least two copies of the data to be verified to the model end through multiple data nodes of the simulated network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two data calculation results to the business end;
[0163] The fourth receiving module 904 is used to receive at least two data calculation results sent by the service end;
[0164] A first screening module 905, configured to screen out a target calculation result from at least two data calculation results according to the data signature information;
[0165] The fifth sending module 906 is used to send the target calculation result to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0166] The specific implementation of the data processing device based on privacy computing is similar to the above Figure 5 The specific embodiments of the data processing method based on privacy computing are basically the same and will not be repeated here.
[0167] See also Fig.10 The present application also provides a data processing device based on privacy computing, which can achieve the above Figure 6 to Figure 7 The data processing method based on privacy computing is applied to the model side, and the device includes:
[0168] The fifth receiving module 101 is used to receive a service request sent by a service end; wherein the service request includes service information and a service scenario;
[0169] A screening module 102, configured to screen out a target computing model from at least two preset computing models according to business information and business scenarios;
[0170] A generation module 103, used to generate model signature information and decryption information according to a target computing model;
[0171] A sixth sending module 104 is used to send the model signature information to the business end, so that the business end sends a preset data request to the source data end according to the model signature information, and the source data end generates at least two pieces of data to be verified and data signature information according to the data request;
[0172] A sixth receiving module 105, configured to receive at least two pieces of data to be verified sent by a source data terminal;
[0173] A data decryption module 106, configured to decrypt at least two pieces of data to be verified according to the decryption information to obtain at least two pieces of initial verification data;
[0174] The calculation and encryption module 107 is used to calculate and encrypt at least two pieces of initial verification data using the target calculation model and the model signature information to obtain at least two pieces of data calculation results;
[0175] The seventh sending module 108 is used to send at least two data calculation results to the business end, so that the business end sends at least two data calculation results to the source data end, and the source data end filters out the target calculation result from the at least two data calculation results, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
[0176] The specific implementation of this data processing device based on privacy computing is basically the same as the specific implementation of the above-mentioned data processing method based on privacy computing, and will not be repeated here.
[0177] The embodiment of the present application also provides an electronic device, the electronic device comprising: a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory, and the program is executed by the processor to realize the above-mentioned data processing method based on privacy computing. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0178] See also Fig.11 , Fig.11 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0179] The processor 111 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0180] The memory 112 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 112 can store an operating system and other applications. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 112, and the processor 111 calls and executes the data processing method based on privacy computing in the embodiments of this application;
[0181] Input / output interface 113, used to implement information input and output;
[0182] The communication interface 114 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0183] A bus 115 that transmits information between various components of the device (e.g., processor 111, memory 112, input / output interface 113, and communication interface 114);
[0184] The processor 111 , the memory 112 , the input / output interface 113 and the communication interface 114 are connected to each other in communication within the device via a bus 115 .
[0185] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium used for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned data processing method based on privacy computing.
[0186] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0187] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0188] It can be understood by those skilled in the art that Figure 1-7 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.
[0189] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0190] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0191] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0192] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0193] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0194] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0197] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A data processing method based on privacy computing, It is characterized in that Applied to the business end, the method includes: Sending a business request to the model end; wherein the business request includes business information and business scenarios; Receiving model signature information sent by the model end; wherein the model signature information is generated by the model end by screening a target computing model from at least two preset computing models according to the business information and the business scenario, and generating the target computing model according to the target computing model; Sending a preset data request to the source data end according to the model signature information, so that the source data end generates at least two copies of data to be verified and data signature information according to the data request, and sending the at least two copies of data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information; Receive at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of the data to be verified through the target calculation model and the model signature information; Sending at least two copies of the data calculation results to the source data end, and receiving a target calculation result screened by the source data end from the at least two copies of the data calculation results according to the data signature information; The target calculation result is decrypted according to the model signature information to obtain the target data.
2. The method according to claim 1, It is characterized in that The sending of the preset data request to the source data end according to the model signature information includes: Encrypting the preset data packet password according to the model signature information to obtain data packet password information; Aggregate the data packet password information, the model signature information, the business information, and the model information to obtain the data request; The data request is sent to the source data end.
3. The method according to claim 1, It is characterized in that The model signature information includes: model signature content and public key information; before receiving the model signature information sent by the model end, the method further includes: Receiving model signature data sent by the model end; The model signature data is verified to obtain the model signature content and the public key information.
4. A data processing method based on privacy computing, It is characterized in that Applied to the source data end, the method includes: Receive a data request sent by a business end; wherein the data request includes: model information, business information, model signature information and data packet password information; Desensitize the data according to the model information, the business information, the model signature information and the data packet password information to obtain at least two pieces of data to be verified and data signature information; Sending the at least two copies of the data to be verified to the model end by simulating multiple data nodes of the network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two copies of the data calculation results to the business end; Receiving at least two copies of the data calculation results sent by the service end; Filtering a target calculation result from at least two copies of the data calculation results according to the data signature information; The target calculation result is sent to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
5. A data processing method based on privacy computing, It is characterized in that Applied to the model side, the method includes: Receiving a service request sent by a service end; wherein the service request includes service information and a service scenario; Filtering a target computing model from at least two preset computing models according to the business information and the business scenario; Generate model signature information and decryption information according to the target computing model; Sending the model signature information to the business end, so that the business end sends a preset data request to the source data end according to the model signature information, and the source data end generates at least two copies of data to be verified and data signature information according to the data request; Receiving the at least two pieces of data to be verified sent by the source data end; Decrypting the at least two pieces of data to be verified according to the decryption information to obtain at least two pieces of initial verification data; Calculating and encrypting the at least two pieces of initial verification data using the target computing model and the model signature information to obtain at least two pieces of data calculation results; At least two copies of the data calculation results are sent to the business end, so that the business end sends at least two copies of the data calculation results to the source data end, and the source data end filters out the target calculation result from the at least two copies of the data calculation results, so that the business end decrypts the target calculation result according to the model signature information to obtain the target data.
6. The method according to claim 5, It is characterized in that The target computing model is selected from at least two preset computing models according to the business information and the business scenario, including: Performing signature verification on the business information to obtain a signature verification result; If the signature verification result is passed, a target computing model is selected from at least two preset computing models according to the business scenario.
7. A data processing device based on privacy computing, It is characterized in that Applied to the service end, the device includes: A first sending module, used to send a business request to the model end; wherein the business request includes business information and business scenarios; A first receiving module is used to receive the model signature information sent by the model end; wherein the model signature information is generated by the model end according to the business information and the business scenario by selecting a target computing model from at least two preset computing models, and generating the target computing model according to the target computing model; A second sending module is used to send a preset data request to a source data end according to the model signature information, so that the source data end generates at least two copies of data to be verified and data signature information according to the data request, and sends the at least two copies of data to be verified to the model end by simulating multiple data nodes; wherein the data request includes: model information, business information, model signature information and data packet password information; A second receiving module is used to receive at least two data calculation results fed back by the model end; wherein the at least two data calculation results are obtained by the model end by calculating and encrypting at least two pieces of the data to be verified through the target calculation model and the model signature information; A third sending module is used to send at least two copies of the data calculation results to the source data end, and receive a target calculation result selected by the source data end from the at least two copies of the data calculation results according to the data signature information; The result decryption module is used to decrypt the target calculation result according to the model signature information to obtain the target data.
8. A data processing device based on privacy computing, It is characterized in that Applied to a source data end, the device comprises: A third receiving module is used to receive a data request sent by a service end; wherein the data request includes: model information, service information, model signature information and data packet password information; A data desensitization module, used to perform data desensitization according to the model information, the business information, the model signature information and the data packet password information to obtain at least two pieces of data to be verified and data signature information; A fourth sending module is used to send the at least two copies of the data to be verified to the model end through a plurality of data nodes of the simulated network, so that the model end calculates and encrypts the at least two copies of the data to be verified through the target computing model to obtain at least two data calculation results, and sends the at least two copies of the data calculation results to the business end; A fourth receiving module, used for receiving at least two copies of the data calculation results sent by the service end; A first screening module, configured to screen out a target calculation result from at least two copies of the data calculation results according to the data signature information; The fifth sending module is used to send the target calculation result to the business end, so that the business end decrypts the target calculation result according to the model signature information to obtain target data.
9. An electronic device, It is characterized in that The electronic device includes a memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection and communication between the processor and the memory. When the program is executed by the processor, the steps of the method described in any one of claims 1 to 3, claim 4, and any one of claims 5 to 6 are realized.
10. A storage medium, the storage medium being a computer-readable storage medium, used for computer-readable storage, It is characterized in that The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method described in any one of claims 1 to 3, claim 4, and any one of claims 5 to 6.
Citation Information
Patent Citations
Business data using method, device and equipment, storage medium and program product
CN112287379A
Blockchain all-in-one machine for auditing service and data processing method and device
CN112667748A
Secure data processing in untrusted environments
US20210248253A1
Data processing method and apparatus, and electronic device and medium
WO2022134760A1
