US 12,225,106 B2
File sharing method and system, electronic device and readable storage medium
Fuqiang Ma, Jiangsu (CN); and Zheng Xu, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/718,764
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Nov. 7, 2022, PCT No. PCT/CN2022/130386
§ 371(c)(1), (2) Date Jun. 11, 2024,
PCT Pub. No. WO2023/226308, PCT Pub. Date Nov. 30, 2023.
Claims priority of application No. 202210583975.6 (CN), filed on May 27, 2022.
Prior Publication US 2024/0421974 A1, Dec. 19, 2024
Int. Cl. H04L 9/06 (2006.01); H04L 9/08 (2006.01); H04L 9/30 (2006.01)
CPC H04L 9/0618 (2013.01) [H04L 9/0869 (2013.01); H04L 9/3066 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A file sharing method, being applicable to a file owning end, comprising:
obtaining a target file to be shared, and determining a first dynamic key corresponding to the target file;
generating a first private key based on the first dynamic key and double private keys of the file owning end;
selecting unpaired public and private keys from two pairs of public and private keys of the file owning end, and generating a first public key based on the first dynamic key, the selected public and private keys;
encrypting a symmetric key selected randomly using the first public key to obtain a key ciphertext;
encrypting the target file using the symmetric key to obtain a file ciphertext;
signing the first dynamic key, the first public key, the key ciphertext and the file ciphertext using the first private key to obtain signature information; and
uploading the first dynamic key, the first public key, the key ciphertext, the file ciphertext and the signature information as shared information to a cloud sharing end to share the target file.