Object data processing method, system, computer device and storage medium

By encrypting IoT object data and audit instruction information, the problem of low security in IoT data transmission is solved, and the security of data transmission and the efficiency of privacy computing are improved.

CN116248332BActive Publication Date: 2026-11-27SHENZHEN POWER SUPPLY BUREAU
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211629817.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2026-11-27
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

During the transmission of data between IoT objects, data transmission security is low, making it vulnerable to data attacks that could lead to data leaks.

Method used

The object server encrypts the object data to generate object data ciphertext, and also encrypts the audit instruction information to generate audit instruction ciphertext. This is sent to the computing server for targeted auditing. The computing server performs calculations based on the ciphertext and returns the ciphertext of the data to be audited. The object server then decrypts the ciphertext to obtain the target data.

Benefits of technology

It improves the security of data transmission and the efficiency of privacy computing, ensuring that data remains encrypted throughout the transmission process and preventing data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248332B_ABST
    Figure CN116248332B_ABST
Patent Text Reader

Abstract

The application relates to an object data processing method and system, computer equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: an object server sends object data ciphertext and audit instruction ciphertext to a computing server; the object data ciphertext is obtained by encrypting object data generated by an object client by the object server; the audit instruction ciphertext is obtained by encrypting audit instruction information determined by the object client by the object server; the audit instruction information is used for instructing the computing server to conduct targeted auditing on the object data ciphertext; the computing server conducts calculation according to the audit instruction ciphertext and the object data ciphertext, obtains to-be-audited data ciphertext, and sends the to-be-audited data ciphertext to the object server; the to-be-audited data ciphertext is ciphertext of to-be-audited data in object data corresponding to the object data ciphertext; and the object server decrypts the to-be-audited data ciphertext to obtain target data. The method can improve the security of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an object data processing method, system, computer device, and storage medium. Background Technology

[0002] With the rapid development of the Internet of Things (IoT) and the widespread adoption of wireless networks, an increasing number of objects can perform online business processes through various object clients. Typically, after logging into the object client, an object will submit information based on the client. The object client will then generate object data based on this submission and submit it to a third-party computing server for subsequent data auditing. However, the process of transmitting object data to the computing server is vulnerable to data attacks, resulting in low data transmission security. Summary of the Invention

[0003] Therefore, it is necessary to provide an object data processing method, system, computer device, and storage medium that can improve the security of data transmission in response to the above-mentioned technical problems.

[0004] Firstly, this application provides a method for processing object data. The method includes:

[0005] The object server sends the encrypted object data ciphertext and audit instruction ciphertext to the computing server; the object data ciphertext is obtained by the object server encrypting the object data generated by the object client; the audit instruction ciphertext is obtained by the object server encrypting the audit instruction information determined by the object client; the audit instruction information is used to instruct the computing server to perform targeted audits on the object data ciphertext.

[0006] The computing server performs calculations based on the ciphertext of the audit instruction and the ciphertext of the object data to obtain the ciphertext of the data to be audited, and sends the ciphertext of the data to be audited to the object server; the ciphertext of the data to be audited is the ciphertext of the data to be audited in the object data corresponding to the ciphertext of the object data.

[0007] The server decrypts the encrypted data to be audited to obtain the target data.

[0008] Secondly, this application also provides an object data processing system. The system includes: an object server, an object client, and a computing server;

[0009] The object server is used to send encrypted object data ciphertext and audit instruction ciphertext to the computing server; the object data ciphertext is obtained by the object server encrypting the object data generated by the object client; the audit instruction ciphertext is obtained by the object server encrypting the audit instruction information determined by the object client; the audit instruction information is used to instruct the computing server to perform targeted audits on the object data ciphertext.

[0010] The computing server is used to perform calculations based on the ciphertext of the audit instruction and the ciphertext of the object data to obtain the ciphertext of the data to be audited, and then send the ciphertext of the data to be audited to the object server; the ciphertext of the data to be audited is the ciphertext of the data to be audited in the object data corresponding to the ciphertext of the object data.

[0011] The object server is also used to decrypt the encrypted data to be audited to obtain the target data.

[0012] In some embodiments, the object client is configured to send object data and audit instruction information to the object server; the object data is data determined in response to an information submission operation performed on the object client; the object data includes an object data field. The object server is further configured to encode the object data field to obtain a data field encoding vector, and to encode the audit instruction information to obtain an audit instruction encoding vector. The object server is further configured to perform homomorphic encryption on the data field encoding vector and the audit instruction encoding vector respectively to obtain object data ciphertext and audit instruction ciphertext.

[0013] In some embodiments, a vector generation model for generating encoded vectors is deployed on the object server. The object server is also used to perform one-hot encoding on the object data fields to obtain an initial data field encoded vector, and input the initial data field encoded vector into the vector generation model for encoding processing to obtain the data field encoded vector.

[0014] In some embodiments, the vector generation model includes a first input layer, a first hidden layer, and a first output layer. The object server is further configured to use the initial data field encoding vector as the input value of the first input layer, and to calculate the hidden layer calculation result using the first hidden layer based on the initial data field encoding vector and the weight matrix of the first hidden layer; the hidden layer calculation result is then input into the first output layer, so that the first output layer calculates the data field encoding vector based on the hidden layer calculation result and the weight matrix of the first output layer.

[0015] In some embodiments, a target computation model is deployed in the computation server; the target computation model includes a main model and multiple sub-models. The computation server is further configured to: use ciphertext of audit instructions and ciphertext of object data as ciphertext data to be processed; determine the natural logarithm value of the ciphertext data; and split the ciphertext data and the natural logarithm value to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value; distribute the multiple first sub-data and multiple second sub-data to multiple participating clients; have each participating client perform calculations on the allocated first and second sub-data based on each sub-model to obtain intermediate output results for each sub-model; return the intermediate output results of each sub-model to the computation server; aggregate the intermediate output results returned by each participating client that belong to the same sub-model to obtain the output results of each sub-model; and input the output results of each sub-model into the main model for calculation to obtain the ciphertext of the data to be audited output by the main model.

[0016] In some embodiments, the target computational model includes a second input layer and a second hidden layer; logarithmic neurons are constructed in the second input layer; product term neurons are constructed in the second hidden layer; a sub-model corresponds one-to-one with the product term neurons constructed in the first second hidden layer; the input of the sub-model is the input data of the logarithmic neurons created in the second input layer connected to the first second hidden layer; the output of the sub-model is the input data of the corresponding product term neurons in the first second hidden layer.

[0017] In some embodiments, the object server is also used to decrypt the encrypted data to be audited to obtain decrypted data; and to filter the decrypted data through a vector generation model to obtain target data.

[0018] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described object data processing method.

[0019] Fourthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in the above-described object data processing method.

[0020] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps in the object data processing method described above.

[0021] The aforementioned object data processing method, system, computer equipment, storage medium, and computer program product encrypt object data generated by the object client through an object server to obtain object data ciphertext. It also encrypts audit instruction information, used to instruct the computing server to perform targeted auditing of the object data ciphertext, to obtain audit instruction ciphertext. The encrypted object data ciphertext and audit instruction information are then sent to the computing server. It can be understood that before submitting the object data ciphertext and audit instruction information to the computing server, the object server uses data encryption to prevent data leakage caused by data attacks during transmission to the computing server, thereby improving data transmission security. The computing server performs calculations based on the audit instruction ciphertext and object data ciphertext to obtain the ciphertext of the data to be audited within the object data corresponding to the object data ciphertext. Since the data used for privacy computation is all ciphertext, complex encryption operations are not involved in the privacy computation process, thus improving the efficiency of privacy computation. The computing server sends the audit data ciphertext to the object server to ensure that all transmitted data is encrypted, further improving data transmission security. The object server decrypts the audit data ciphertext to obtain the target data. In other words, this application improves the security of data transmission by performing encryption at each stage of transmission to ensure that the data transmitted is encrypted. Attached Figure Description

[0022] Figure 1 This is a schematic diagram illustrating the application environment of the object data processing method in some embodiments;

[0023] Figure 2 This is a flowchart illustrating the object data processing method in some embodiments;

[0024] Figure 3 This is an overall architecture diagram of the target computation model in some embodiments;

[0025] Figure 4 This is a block diagram of the object data processing system in some embodiments;

[0026] Figure 5 These are internal structural diagrams of the computer device in some embodiments;

[0027] Figure 6 This is an internal structural diagram of a computer device in some other embodiments. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0029] The object data processing method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, the computing server 102 can communicate with the object server 104 and the object client 106 via a network. A data storage system can store the data that the computing server 102 needs to process. The data storage system can be integrated onto the computing server 102 or placed on a cloud or other network server. The object server 104 sends encrypted object data ciphertext and audit instruction ciphertext to the computing server 102. The computing server 102 performs calculations based on the audit instruction ciphertext and object data ciphertext to obtain the ciphertext of the data to be audited, and sends the ciphertext of the data to be audited to the object server 104. The object server 104 decrypts the ciphertext of the data to be audited to obtain the target data. The terminal running the object client 106 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. The object server 104 and the computing server 102 can be implemented using independent servers or a server cluster consisting of multiple servers.

[0030] In some embodiments, such as Figure 2 As shown, an object data processing method is provided, which is illustrated using the interaction between a computing server, an object server, and an object client as an example. In this embodiment, the method includes, but is not limited to, the following steps:

[0031] Step 202: The object server sends the encrypted object data ciphertext and audit instruction ciphertext to the computing server.

[0032] In this context, the object client refers to the program that uses the object client, corresponding to the object server, to provide local services to the object. The object client is typically installed on a regular client machine and needs to work in conjunction with the object server. Essentially, the object client can send requests and related data to the object server through its display interface, which then processes the requests accordingly.

[0033] The object server is used to provide services to the object client. The object server can receive and store the requests and related data sent by the object client, and respond to the requests to perform the corresponding processing.

[0034] A computation server, independent of object clients and object servers, is a server used for computation. It can be understood that a computation server can receive and store requests and related data sent by object clients and object servers, and respond to requests to perform appropriate processing.

[0035] The encrypted object data is obtained by encrypting object data generated by the object client on the object server. Object data refers to data generated when an object user logs in or performs other operations on the object client, including but not limited to the object user's account information and related information entered by the object user on the object client's display interface. In some embodiments, the object client can provide an interactive interface, allowing the object user to input interactive operations. The object client can then generate object data in response to these input operations and encrypt the object data to obtain the encrypted object data.

[0036] The audit instruction ciphertext is obtained by encrypting the audit instruction information determined by the object client on the object server. It can be understood that the audit instruction information is used to instruct the computing server to perform targeted audits on the object data ciphertext, that is, to instruct the computing server which parts of the object data ciphertext to audit.

[0037] Specifically, the object client sends object data and audit instruction information to the object server, which encrypts the object data and audit instruction information respectively to obtain object data ciphertext and audit instruction ciphertext, and then sends the encrypted object data ciphertext and audit instruction ciphertext to the computing server for calculation.

[0038] Step 204: The calculation server performs calculations based on the audit instruction ciphertext and the object data ciphertext to obtain the data to be audited ciphertext, and sends the data to be audited ciphertext to the object server.

[0039] The data to be audited refers to the data extracted by the computing server from the object data corresponding to the encrypted object data through targeted auditing. It can be understood that if the user needs to audit all object data corresponding to the encrypted object data, then the data to be audited will be all object data. If the user only needs to audit a portion of the object data corresponding to the encrypted object data, then the data to be audited will be that portion of the object data.

[0040] The encrypted data to be audited refers to the encrypted data extracted from the object data corresponding to the object data encrypted with respect to targeted auditing, i.e., the encrypted data to be audited.

[0041] Specifically, based on the ciphertext of the audit instruction and the ciphertext of the object data, the computer server performs targeted auditing on the object data corresponding to the ciphertext of the object data to determine the data to be audited within the object data, and extracts the ciphertext of the data to be audited, i.e., the ciphertext of the data to be audited. The computer server then sends the calculated ciphertext of the data to be audited to the object server.

[0042] Step 206: The object server decrypts the encrypted data to be audited to obtain the target data.

[0043] Target data refers to the data to be audited obtained by the object server after decrypting the encrypted data to be audited, or the partial data to be audited obtained by the object server after filtering the data to be audited.

[0044] Specifically, since the ciphertext of the data to be audited received by the object server is encrypted, the object server cannot directly obtain the plaintext data from the ciphertext. Instead, it must first decrypt the data to be audited to directly obtain the decrypted target data. Alternatively, after decrypting the data to be audited, the object server may need to filter the decrypted data to obtain the target data. It can be understood that after obtaining the target data, the object server can return the target data to the object client for viewing. In some embodiments, after receiving the target data, the object client can display the target data on the interface. It can be understood that the target data is the plaintext data that the object ultimately needs to audit; therefore, the object client displays the target data for subsequent audit processing.

[0045] The aforementioned object data processing method involves the object server encrypting the object data generated by the object client to obtain ciphertext object data. It also encrypts audit instruction information, which instructs the computing server to perform targeted auditing of the ciphertext object data, to obtain audit instruction ciphertext. Both the encrypted object data ciphertext and the audit instruction information are then sent to the computing server. This encryption process prevents data leakage due to data attacks during transmission, thus improving data transmission security. The computing server performs calculations based on the audit instruction ciphertext and the ciphertext object data to obtain the ciphertext of the data to be audited within the object data corresponding to the ciphertext object data. Since all data used for privacy computation is ciphertext, complex encryption operations are avoided during privacy computation, improving efficiency. The computing server then sends the ciphertext of the ciphertext to be audited to the object server, ensuring that all transmitted data is encrypted and further enhancing data transmission security. The object server decrypts the ciphertext to be audited to obtain the target data. In other words, this application improves the security of data transmission by performing encryption at each stage of transmission to ensure that the data transmitted is encrypted.

[0046] In some embodiments, prior to step 202, the object data processing method of this application further includes, but is not limited to, the following steps: the object client sends object data and audit instruction information to the object server; the object server encodes the object data fields to obtain a data field encoding vector, and encodes the audit instruction information to obtain an audit instruction encoding vector; the object server performs homomorphic encryption on the data field encoding vector and the audit instruction encoding vector respectively to obtain object data ciphertext and audit instruction ciphertext.

[0047] Here, object data refers to the data determined in response to an information submission operation performed by an object on an object client. An information submission operation refers to the operation where an object submits information filled in by the object client to the object client. In other words, an object can fill in some information on the object client's display interface and submit the filled-in information to the object client. The object client then responds to the object's information submission operation by retrieving the data corresponding to that information submission operation, thus obtaining the object data.

[0048] A field refers to a collection of data items of the same data type, divided according to certain boundaries, with each field containing information on a specific topic. In some embodiments, object data includes object data fields, which are fields used to record object data, such as the object name.

[0049] Homomorphic encryption is a cryptographic technique based on the computational complexity theory of mathematical problems. Processing homomorphically encrypted data to obtain an output and decrypting this output yields the same result as processing the unencrypted original data using the same method.

[0050] Specifically, the object client responds to the user's information submission operation to obtain the object data generated during the information submission process, or responds to the user's login operation to obtain the user's login information, such as account information. The user can also specify the content to be audited on the object client's display interface, allowing the object client to obtain corresponding audit instructions. The object client sends the obtained object data and audit instructions to the object server. After receiving the object data and audit instructions, the object server encodes the object data fields and audit instructions respectively to obtain encoded data field encoding vectors and audit instruction encoding vectors. Furthermore, the object server performs homomorphic encryption on the data field encoding vectors and audit instruction vectors respectively to obtain encrypted object data ciphertext and audit instruction ciphertext, thereby improving data transmission security.

[0051] In some embodiments, a vector generation model for generating encoded vectors is deployed on the object server. The step "the object server encodes the object data fields to obtain data field encoded vectors" specifically includes, but is not limited to, performing one-hot encoding on the object data fields to obtain initial data field encoded vectors, and inputting the initial data field encoded vectors into the vector generation model for encoding processing to obtain data field encoded vectors.

[0052] One-hot encoding, also known as one-bit valid encoding, uses an N-bit state register to encode N states. Each state has its own independent register bit, and only one bit is valid at any given time.

[0053] Vector generation models refer to models that can encode data to obtain encoded vectors. In some embodiments, vector generation models can be related models that generate word vectors, namely Word2vec models. Word2vec models are a group of related models used to generate word vectors, which can be used to map each word to a vector, representing the relationship between words. This vector is a hidden layer of a neural network.

[0054] Specifically, the object server performs one-hot encoding on the object data fields to obtain an initial data field encoding vector. This initial data field encoding vector is then used as the input value of the input layer in the vector generation model. The vector generation model encodes the initial data field encoding vector to obtain an encoded data field encoding vector, which is then used for subsequent data auditing through the target calculation model.

[0055] In some embodiments, the vector generation model includes a first input layer, a first hidden layer, and a first output layer. The step "inputting the initial data field encoding vector into the vector generation model for encoding processing to obtain the data field encoding vector" specifically includes, but is not limited to, the following: the object server uses the initial data field encoding vector as the input value of the first input layer, and the first hidden layer calculates the result based on the initial data field encoding vector and the weight matrix of the first hidden layer; the object server inputs the hidden layer calculation result into the first output layer, so that the first output layer calculates the result based on the hidden layer calculation result and the weight matrix of the first output layer to obtain the data field encoding vector.

[0056] The weight matrix is ​​a linear function, also known as a linear mapping. It contains multiple weights, and its purpose is to enable the neural network to learn useful information during training.

[0057] Specifically, the object server uses the initial data field encoding vector as the input value of the first input layer. It then performs calculations using the first hidden layer of the vector generation model and the weights in the weight matrix of the first hidden layer, such as multiplication, to obtain the hidden layer calculation result. The object server then inputs the hidden layer calculation result into the first output layer of the vector generation model. This allows the first output layer to perform calculations based on the hidden layer calculation result and the weights in the weight matrix of the first hidden layer, resulting in the data field encoding vector output by the vector generation model. This encoding method can, to some extent, expand the features.

[0058] In some embodiments, the vector generation model is the Word2vec model. Assuming the initial data field encoding vector is X, and X is used as the input value of the input layer of the Word2vec model, the process of the first hidden layer in the Word2vec model calculating based on the initial data field encoding vector x and the weight matrix of the first hidden layer is as shown in formula (1):

[0059]

[0060] Among them, h i X represents the result of the hidden layer calculation for the first hidden layer. i W represents the one-hot encoding result of the data field of the i-th type of object.h This represents the weight matrix in the first hidden layer. W h The transpose of W. It should be noted that W... h The size is L×H, where L represents the size of the object feature dictionary and H represents the size of the first hidden layer.

[0061] In some embodiments, the hidden layer calculation result of the first hidden layer can be input into the first output layer, and the process of the first output layer calculating based on the hidden layer calculation result and the weight matrix of the first output layer is as shown in formula (2):

[0062]

[0063] Among them, w y This represents the weight matrix of the first output layer. Indicates w y The transpose of y i This represents the data field encoding vector of the i-th type of object data field in the output.

[0064] In some embodiments, a target computation model is deployed in the computation server; the target computation model includes a main model and multiple sub-models. Step 204 specifically includes, but is not limited to, the following: the computation server uses the audit instruction ciphertext and the object data ciphertext as ciphertext data to be processed, determines the natural logarithm value of the ciphertext data, and splits the ciphertext data and the natural logarithm value respectively to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value; the computation server distributes the multiple first sub-data and multiple second sub-data to multiple participating clients, and each participating client performs calculations on the allocated first sub-data and second sub-data based on each sub-model to obtain the intermediate output results of each sub-model, and returns the intermediate output results of each sub-model to the computation server; the computation server summarizes the intermediate output results returned by each participating client that belong to the same sub-model to obtain the output results of each sub-model; the computation server inputs the output results of each sub-model into the main model for calculation to obtain the audit data ciphertext output by the main model.

[0065] In this context, participating clients refer to multiple different clients performing distributed computations based on each sub-model. The computation server also aggregates the computation results from these participating clients. It should be noted that the computation server can assign sub-model numbers to multiple sub-models and expose these numbers to all computation parameter nodes.

[0066] Specifically, the computation server uses the ciphertext of the audit instruction and the ciphertext of the object data as ciphertext data to be processed, and determines the value of the natural logarithm of the ciphertext data, i.e., the natural logarithmic value. The computation server splits the ciphertext data into several addends to obtain multiple first sub-data, and the computation server splits the natural logarithmic value into several addend logarithms to obtain multiple second sub-data. After determining the multiple first and second sub-data, the computation server distributes them to multiple participating clients. Each participating node then performs calculations on its assigned first and second sub-data based on its respective sub-model, obtaining the output results of each sub-model, i.e., intermediate output results. Each parameter node sends the intermediate output results and the sub-model number used to calculate the intermediate output results to the computation server. The computation server then aggregates the intermediate output results belonging to the same sub-model according to the sub-model number, obtaining the output results of each sub-model, and inputs the output results of each sub-model into the main model for calculation, obtaining the ciphertext of the data to be audited output by the main model. This application, by deploying multiple participating clients and computing servers, enables the computing servers to use distributed computing to calculate more accurate encrypted data to be audited, and improves computing efficiency.

[0067] In some embodiments, the target computational model includes a second input layer and a second hidden layer; logarithmic neurons are constructed in the second input layer; product term neurons are constructed in the second hidden layer; a sub-model corresponds one-to-one with the product term neurons constructed in the first second hidden layer; the input of the sub-model is the input data of the logarithmic neurons created in the second input layer connected to the first second hidden layer; the output of the sub-model is the input data of the corresponding product term neurons in the first second hidden layer.

[0068] In this context, neurons exist as a series of parameters, and these parameters are learnable. Neurons can accept inputs of different sizes and can perform arbitrary operations and calculations on the inputs and their internal parameters.

[0069] Specifically, the target computation model includes a second input layer and a second hidden layer. The second input layer contains logarithmic neurons, each corresponding one-to-one with an input neuron in the second input layer. The input data for each logarithmic neuron is the natural logarithm of its corresponding input neuron. The second hidden layer contains several product term neurons, whose activation function is an exponential function of the natural constant. These product term neurons are connected to the logarithmic neurons in the second input layer. The target computation model is further divided into a main model and several sub-models. Each sub-model corresponds one-to-one with a product term neuron constructed in the first second hidden layer. The input to a sub-model is the input data of the logarithmic neurons created in the second input layer connected to the first second hidden layer. The output of a sub-model is the input data of the corresponding product term neuron in the first second hidden layer. The main model is obtained by subtracting these sub-models from the target computation model. It can be understood that the target computation model may also include a second output layer, used to output the computation result of the objective function, i.e., the encrypted data to be audited.

[0070] In some embodiments, such as Figure 3 The diagram shows the overall architecture of the target computation model. The specific process of encrypting the ciphertext data to obtain the ciphertext data to be audited through the target computation model is as follows: The computation server splits the ciphertext data into 2N sets of logarithms and addends, and assigns each set of logarithms and addends to 2N participating clients. The 2N participating clients calculate the assigned logarithms and addends through the corresponding N sub-models to obtain the output results of each sub-model. The intermediate output results belonging to the same sub-model are summed to obtain the output results of each sub-model. The output results of each sub-model are then input into the second hidden layer of the main model for calculation, and the calculation result of the objective function of the main model is output through the second output layer, which is the ciphertext data to be audited.

[0071] In some embodiments, step 206 specifically includes, but is not limited to: the object server decrypting the encrypted data to be audited to obtain decrypted data; and the object server filtering the decrypted data using a vector generation model to obtain target data.

[0072] Specifically, the object server decrypts the encrypted data to be audited, obtains the decrypted data, and uses a vector generation model to filter the decrypted data to obtain decrypted data that better meets the data audit requirements, i.e., the target data.

[0073] In some embodiments, the object data processing method of this application further includes, but is not limited to, the following steps:

[0074] The object client sends object data and audit instructions to the object server.

[0075] The object server performs one-hot encoding on the object data fields to obtain an initial data field encoding vector. This initial data field encoding vector is then used as the input value of the first input layer. The first hidden layer calculates the result based on the initial data field encoding vector and the weight matrix of the first hidden layer. The result of the hidden layer calculation is then input into the first output layer, so that the first output layer calculates the data field encoding vector based on the result of the hidden layer calculation and the weight matrix of the first output layer.

[0076] The object server encodes the audit instruction information to obtain the audit instruction encoding vector.

[0077] The object server performs homomorphic encryption on the data field encoding vector and the audit instruction encoding vector respectively to obtain the object data ciphertext and the audit instruction ciphertext.

[0078] The object server sends the encrypted object data and audit instruction to the computing server.

[0079] The computing server takes the audit instruction ciphertext and object data ciphertext as ciphertext data to be processed, determines the natural logarithm value of the ciphertext data, and splits the ciphertext data and natural logarithm value separately to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value.

[0080] The computing server distributes multiple first sub-data and multiple second sub-data to multiple participating clients. Each participating client performs calculations on the distributed first and second sub-data based on each sub-model to obtain the intermediate output results of each sub-model, and then returns the intermediate output results of each sub-model to the computing server.

[0081] The computing server aggregates the intermediate output results returned by each participating client that belong to the same sub-model, obtains the output results of each sub-model, and inputs the output results of each sub-model into the main model for calculation, obtaining the ciphertext of the data to be audited output by the main model, and then sends the ciphertext of the data to be audited to the object server.

[0082] The object server decrypts the encrypted data to be audited, obtains the decrypted data, and then filters the decrypted data using a vector generation model to obtain the target data.

[0083] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0084] Based on the same inventive concept, this application also provides an object data processing system for implementing the object data processing method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more object data processing system embodiments provided below can be found in the limitations of the object data processing method described above, and will not be repeated here.

[0085] In some embodiments, such as Figure 4 As shown, an object data processing system is provided, including: an object server 402, an object client 404, and a computing server 406, wherein:

[0086] The object server 402 is used to send the encrypted object data ciphertext and audit instruction ciphertext to the computing server 406; the object data ciphertext is obtained by the object server 402 encrypting the object data generated by the object client 404; the audit instruction ciphertext is obtained by the object server 402 encrypting the audit instruction information determined by the object client 404; the audit instruction information is used to instruct the computing server 406 to perform targeted audits on the object data ciphertext.

[0087] The calculation server 406 is used to calculate based on the audit instruction ciphertext and the object data ciphertext to obtain the audit data ciphertext, and send the audit data ciphertext to the object server 402; the audit data ciphertext is the ciphertext of the audit data in the object data corresponding to the object data ciphertext.

[0088] The 402 error on the object server is also used to decrypt the encrypted data to be audited, thus obtaining the target data.

[0089] The aforementioned object data processing system encrypts the object data generated by the object client 404 using the object server 402 to obtain object data ciphertext. It also encrypts audit instruction information, which instructs the computing server 406 to perform targeted auditing of the object data ciphertext, to obtain audit instruction ciphertext. Both the encrypted object data ciphertext and the audit instruction information are then sent to the computing server 406. This demonstrates that before submitting the object data ciphertext and audit instruction information to the computing server 406, the object server 402 uses data encryption to prevent data leakage caused by data attacks during transmission to the computing server 406, thereby improving data transmission security. The computing server 406 performs calculations based on the audit instruction ciphertext and the object data ciphertext to obtain the ciphertext of the data to be audited within the object data corresponding to the object data ciphertext. Since the data used for privacy computation is all ciphertext, complex encryption operations are not involved in the privacy computation process, thus improving the efficiency of privacy computation. The computing server 406 sends the encrypted data to be audited to the object server 402 to ensure that all transmitted data is encrypted, further improving data transmission security. The object server 402 decrypts the encrypted data to be audited to obtain the target data. In other words, this application improves data transmission security by performing encryption processing at each stage of transmission to ensure that the data transmitted is encrypted.

[0090] In some embodiments, the object client 404 is configured to send object data and audit instruction information to the object server 402; the object data is data determined in response to an information submission operation performed on the object client 404; the object data includes an object data field. The object server 402 is further configured to encode the object data field to obtain a data field encoding vector, and to encode the audit instruction information to obtain an audit instruction encoding vector. The object server 402 is further configured to perform homomorphic encryption on the data field encoding vector and the audit instruction encoding vector respectively to obtain object data ciphertext and audit instruction ciphertext.

[0091] In some embodiments, a vector generation model for generating encoded vectors is deployed on the object server 402. The object server 402 is also used to perform one-hot encoding on the object data fields to obtain an initial data field encoded vector, and input the initial data field encoded vector into the vector generation model for encoding processing to obtain the data field encoded vector.

[0092] In some embodiments, the vector generation model includes a first input layer, a first hidden layer, and a first output layer. The object server 402 is further configured to use the initial data field encoding vector as the input value of the first input layer, calculate the hidden layer result through the first hidden layer based on the initial data field encoding vector and the weight matrix of the first hidden layer, and input the hidden layer calculation result into the first output layer, so that the first output layer calculates the data field encoding vector based on the hidden layer calculation result and the weight matrix of the first output layer.

[0093] In some embodiments, a target computation model is deployed in the computation server 406; the target computation model includes a main model and multiple sub-models. The computation server 406 is further configured to take the audit instruction ciphertext and the object data ciphertext as ciphertext data to be processed, determine the natural logarithm value of the ciphertext data, and split the ciphertext data and the natural logarithm value respectively to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value; distribute the multiple first sub-data and multiple second sub-data to multiple participating clients, and have each participating client perform calculations on the allocated first sub-data and second sub-data based on each sub-model to obtain the intermediate output results of each sub-model, and return the intermediate output results of each sub-model to the computation server; the computation server summarizes the intermediate output results returned by each participating client that belong to the same sub-model to obtain the output results of each sub-model; and the computation server inputs the output results of each sub-model into the main model for calculation to obtain the audit data ciphertext output by the main model.

[0094] In some embodiments, the target computational model includes a second input layer and a second hidden layer; logarithmic neurons are constructed in the second input layer; product term neurons are constructed in the second hidden layer; a sub-model corresponds one-to-one with the product term neurons constructed in the first second hidden layer; the input of the sub-model is the input data of the logarithmic neurons created in the second input layer connected to the first second hidden layer; the output of the sub-model is the input data of the corresponding product term neurons in the first second hidden layer.

[0095] In some embodiments, the object server 402 is further configured to decrypt the encrypted data to be audited to obtain decrypted data; and to filter the decrypted data using a vector generation model to obtain target data.

[0096] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data related to data computation. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements an object data processing method.

[0097] In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an object data processing method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0098] Those skilled in the art will understand that Figure 5 and Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0099] In some embodiments, a computer device is also provided, the computer device including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps in the above method embodiments.

[0100] In some embodiments, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0101] In some embodiments, a computer program product is provided, which includes a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0103] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0104] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0105] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for processing object data, characterized in that, The method includes: The object server sends encrypted object data and audit instruction to the computing server. The encrypted object data is obtained by encrypting object data generated by the object client. The audit instruction is obtained by encrypting audit instruction information determined by the object client. The audit instruction information is used to instruct the computing server to perform targeted audits on the encrypted object data. The object data is data determined in response to an information submission operation performed by the object client. The information submission operation is based on the information filled in by the object client and submitted to the object client. The object data includes the object name. The computing server deploys a target computing model, which includes a main model and multiple sub-models. The computing server calculates the audit instruction ciphertext and the object data ciphertext to obtain the audit data ciphertext, including: using the audit instruction ciphertext and the object data ciphertext as ciphertext data to be processed; determining the natural logarithm value of the ciphertext data; splitting the ciphertext data and the natural logarithm value to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value; allocating the multiple first sub-data and the multiple second sub-data to multiple participating clients; having each participating client calculate the allocated first sub-data and second sub-data based on each sub-model to obtain intermediate output results of each sub-model; returning the intermediate output results of each sub-model to the computing server; aggregating the intermediate output results returned by each participating client that belong to the same sub-model to obtain the output results of each sub-model; and inputting the output results of each sub-model into the main model for calculation to obtain the audit data ciphertext output by the main model. The encrypted data to be audited is sent to the object server; the encrypted data to be audited is the encrypted data to be audited in the object data corresponding to the encrypted object data; the object server is equipped with a vector generation model for generating encoded vectors; The object server decrypts the ciphertext of the data to be audited to obtain target data, including: decrypting the ciphertext of the data to be audited to obtain decrypted data, and filtering the decrypted data through the vector generation model to obtain target data.

2. The method according to claim 1, characterized in that, Before the object server sends the encrypted object data ciphertext and audit instruction ciphertext to the computing server, the method further includes: The object client sends the object data and the audit indication information to the object server; the object data is data determined in response to an information submission operation performed on the object client; the object data includes object data fields; The object server encodes the object data fields to obtain a data field encoding vector, and encodes the audit indication information to obtain an audit indication encoding vector. The object server performs homomorphic encryption on the data field encoding vector and the audit instruction encoding vector to obtain the object data ciphertext and the audit instruction ciphertext.

3. The method according to claim 2, characterized in that, The object server encodes the object data fields to obtain data field encoding vectors, including: The object server performs one-hot encoding on the object data fields to obtain an initial data field encoding vector, and inputs the initial data field encoding vector into the vector generation model for encoding processing to obtain the data field encoding vector.

4. The method according to claim 3, characterized in that, The vector generation model includes a first input layer, a first hidden layer, and a first output layer; the step of inputting the initial data field encoding vector into the vector generation model for encoding processing to obtain the data field encoding vector includes: The object server uses the initial data field encoding vector as the input value of the first input layer, and calculates the hidden layer result through the first hidden layer based on the initial data field encoding vector and the weight matrix of the first hidden layer. The object server inputs the hidden layer calculation result into the first output layer, so that the first output layer calculates the data field encoding vector based on the hidden layer calculation result and the weight matrix of the first output layer.

5. The method according to claim 1, characterized in that, The target computation model includes a second input layer and a second hidden layer; logarithmic neurons are constructed in the second input layer; product term neurons are constructed in the second hidden layer; the sub-model corresponds one-to-one with the product term neurons constructed in the first second hidden layer; the input of the sub-model is the input data of the logarithmic neurons created in the second input layer connected to the first second hidden layer; The output of the sub-model is the input data of the corresponding product term neuron in the first second hidden layer.

6. An object data processing system, characterized in that, The system includes: an object server, an object client, and a computing server; The object server is used to send encrypted object data ciphertext and audit instruction ciphertext to the computing server; the object data ciphertext is obtained by the object server encrypting object data generated by the object client; the audit instruction ciphertext is obtained by the object server encrypting audit instruction information determined by the object client; the audit instruction information is used to instruct the computing server to perform targeted audits on the object data ciphertext; the object data is data determined in response to an information submission operation performed on the object client, the information submission operation being an operation based on the object client filling in information and submitting it to the object client, the object data including the object name; the computing server deploys a target computing model, the target computing model including a main model and multiple sub-models; The computing server is configured to perform calculations based on the ciphertext of the audit instruction and the ciphertext of the object data to obtain ciphertext of the data to be audited, including: taking the ciphertext of the audit instruction and the ciphertext of the object data as ciphertext data to be processed; determining the natural logarithm value of the ciphertext data; and splitting the ciphertext data and the natural logarithm value to obtain multiple first sub-data corresponding to the ciphertext data and multiple second sub-data corresponding to the natural logarithm value; distributing the multiple first sub-data and the multiple second sub-data to multiple participating clients; and having each participating client perform calculations based on each of the sub-models to obtain each of the sub-models. The intermediate output results of the model are returned to the computing server. The computing server aggregates the intermediate output results returned by each participating client that belong to the same sub-model to obtain the output results of each sub-model. The computing server inputs the output results of each sub-model into the main model for calculation to obtain the ciphertext of the data to be audited output by the main model. The ciphertext of the data to be audited is sent to the object server. The ciphertext of the data to be audited is the ciphertext of the data to be audited in the object data corresponding to the object data ciphertext. A vector generation model for generating encoded vectors is deployed on the object server. The object server is also used to decrypt the ciphertext of the data to be audited to obtain target data, including: decrypting the ciphertext of the data to be audited to obtain decrypted data, and filtering the decrypted data through the vector generation model to obtain target data.

7. The object data processing system according to claim 6, characterized in that, The system also includes: The object client is used to send the object data and the audit indication information to the object server; the object data is data determined in response to an information submission operation performed on the object client; the object data includes object data fields; The object server is also used to encode the object data fields to obtain data field encoding vectors, and to encode the audit indication information to obtain audit indication encoding vectors; The object server is also used to perform homomorphic encryption on the data field encoding vector and the audit instruction encoding vector respectively to obtain the object data ciphertext and the audit instruction ciphertext.

8. The object data processing system according to claim 7, characterized in that, The system also includes: The object server is also used to perform one-hot encoding on the object data fields to obtain an initial data field encoding vector, and input the initial data field encoding vector into the vector generation model for encoding processing to obtain a data field encoding vector.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Data processing method, device, system, equipment and medium

    CN113553602A

  • Multiplication neural network model and privacy calculation method

    CN114036582A

  • Data encryption method based on privacy calculation

    CN114239030A