| CPC G06F 21/6218 (2013.01) [G06F 16/176 (2019.01); G06F 16/1873 (2019.01); H04L 9/3239 (2013.01); H04L 9/50 (2022.05); H04L 63/0428 (2013.01)] | 6 Claims |

|
1. A control server in a data sharing system, the control server comprising:
a memory, and
at least one processor coupled to the memory,
the at least one processor being configured to:
register a new file in a file management system and update a file managed in the file management system, as well as register a combination of a file identifier and a version identifier of the new file or the updated file;
if a new file is registered in the file management system or a file managed in the file management system is updated, transmit, to a distributed ledger system, a transaction data structure including the file identifier, the version identifier and permission information of the new file or the updated file;
receive a usage request from a user terminal, wherein the user request comprises a file identifier of a file being requested for retrieval, a version identifier of the file, and a user identifier of a user of the user terminal;
transmit a permission information request that is based on the usage request to the distributed ledger system;
acquire, from the distributed ledger system, permission information that corresponds to a combination of the file identifier and the version identifier,
wherein the data sharing system further comprises the distributed ledger system and the file management system,
the distributed ledger system comprises a distributed ledger,
the distributed ledger comprises permission information,
the permission information indicates whether one or more users have viewing permission for accessing the file as specified by a combination of the file identifier and the version identifier, and
the file identifier identifies the file managed in the file management system, and the version identifier identifiers a version of the file;
transmit a file request that is based on the usage request to the file management system, and acquire, from the file management system, a file that corresponds to the combination of the file identifier and the version identifier, wherein the file before update is acquired from the file management system if the version identifier included in the usage request is a version identifier of a file before update; and
transmit the acquired file to the user terminal based on whether the user of has viewing permission according to the acquired permission information.
|