Method of data transmission, and electronic device
AssigneeJingdong Technology Holding Co., Ltd.
InventorsZiying Dai, Tiecheng Wang
Life of this patent
Estimating the term…
Abstract
A method of data transmission is provided. The method includes: generating an encryption public key and an evaluation public key by interacting with other data providing ends; generating ciphertext data by encrypting local data with the encryption public key, and sending the ciphertext data to a data using end; receiving a ciphertext calculation result sent by the data using end, in which the ciphertext calculation result is determined by the data using end based on the evaluation public key and the ciphertext data received; and acquiring plaintext data by decrypting the ciphertext calculation result with a private key fragment of the data providing end.
Claims15
A method of data transmission, applicable for a data providing end, comprising:
- generating a private key fragment of the data providing end, an encryption public key and an evaluation public key;
- generating ciphertext data by encrypting local data with the encryption public key, and sending the ciphertext data to a data using end;
- receiving a ciphertext calculation result sent by the data using end, wherein the ciphertext calculation result is determined by the data using end based on the evaluation public key and the ciphertext data received;
- and
- acquiring plaintext data by decrypting the ciphertext calculation result with the private key fragment;
- wherein generating the private key fragment of the data providing end, the encryption public key and the evaluation public key comprises:
- generating the private key fragment of the data providing end, and generating an encryption public key fragment of the data providing end and a target intermediate result corresponding to the evaluation public key based on the private key fragment;
- broadcasting the encryption public key fragment and the target intermediate result;
- receiving encryption public key fragments and target intermediate results sent by other data providing ends respectively;
- and
- generating the encryption public key based on respective encryption public key fragments, and generating the evaluation public key based on respective target intermediate results.
A method of data transmission, applicable for a data using end, comprising:
- receiving ciphertext data sent by respective data providing ends;
- obtaining a ciphertext calculation result by performing an encryption calculation on respective pieces of ciphertext data with an evaluation public key;
- and
- sending the ciphertext calculation result to respective data providing ends for decryption;
- wherein before receiving the ciphertext data sent by respective data providing ends, the method further comprising:
- receiving target intermediate results of the evaluation public key sent by respective data providing ends;
- and
- acquiring the evaluation public key based on the target intermediate results.
An electronic device, comprising a processor and a memory;
- wherein the processor runs a program corresponding to an executable program code by reading the executable program code stored in the memory to implement:
- generating a private key fragment of the data providing end, an encryption public key and an evaluation public key;
- generating ciphertext data by encrypting local data with the encryption public key, and sending the ciphertext data to a data using end;
- receiving a ciphertext calculation result sent by the data using end, wherein the ciphertext calculation result is determined by the data using end based on the evaluation public key and the ciphertext data received;
- and
- acquiring plaintext data by decrypting the ciphertext calculation result with the private key fragment;
- wherein the processor is configured to implement:
- generating the private key fragment of the data providing end, and generating an encryption public key fragment of the data providing end and a target intermediate result corresponding to the evaluation public key based on the private key fragment;
- broadcasting the encryption public key fragment and the target intermediate result;
- receiving encryption public key fragments and target intermediate results sent by other data providing ends respectively;
- and
- generating the encryption public key based on respective encryption public key fragments, and generating the evaluation public key based on respective target intermediate results.
Dependencies are inferred from the claim text.