IP Library Granted Patent US 10,990,563
Granted Patent B2
US 10,990,563 · App. 16/855,148 · Granted Apr 27, 2021

Information read/write method and apparatus based on blockchain

Inventor: Duofeng Hu (Hangzhou, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
G06F16/137G06F16/144G06F16/156G06F16/182H04L9/0637
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,990,563
App. No.
16/855,148
Granted
Apr 27, 2021
Kind
B2
Abstract

This specification provides an information read/write method and apparatus based on a blockchain. The information read/write method based on a blockchain includes: receiving a service request from a project member, wherein the service request comprises a to-be-processed service material of the project member; sending a service file in the to-be-processed service material to an object storage server and receiving a file storage identifier returned by the object storage server; processing service information in the to-be-processed service material to generate a service identifier; and writing the service identifier and the file storage identifier into the blockchain, and saving a hash value that is returned by the blockchain and that corresponds to write success information.

Claims (70)

1. A computer-implemented method for information read/write based on a blockchain, comprising:

requesting to create a storage space in an object storage server to store files of a project;

obtaining a storage key returned from the object storage server and corresponding to the storage space;

receiving a service request from a project member of the project, wherein the service request comprises a to-be-processed service material of the project member;

sending the storage key to the object storage server for a first verification;

upon determining that the first verification failed, receiving a new storage key returned from the object storage server, wherein the new storage key corresponds to a new storage space in the object storage server;

sending the new storage key to the object storage server for a second verification;

upon determining that the second verification succeeded, sending a service file in the to-be-processed service material to the new storage space corresponding to the new storage key in the object storage server and receiving a file storage identifier returned by the object storage server;

processing service information in the to-be-processed service material to generate a service identifier; and

writing the service identifier and the file storage identifier into the blockchain, and saving a hash value that is returned by the blockchain and that corresponds to write success information.

2. The method according to claim 1 , further comprising:

sending, to the object storage server, a request for obtaining the service file in the new storage space corresponding to the new storage key.

3. The method according to claim 2 , wherein the sending a request for obtaining the service file in the new storage space comprises:

sending the new storage key to the object storage server for obtaining a file obtaining permission;

obtaining the file obtaining permission; and

according to the file obtaining permission, extracting the service file corresponding to the file storage identifier in the object storage server.

4. The method according to claim 1 , further comprising:

obtaining identification information of the project member;

authenticating the project member according to the identification information; and

in response to the project member is authenticated, performing the sending the service file in the to-be-processed service material to the object storage server and receiving the file storage identifier returned by the object storage server.

5. The method according to claim 1 , wherein the writing the service identifier and the file storage identifier into the blockchain comprises:

writing the service identifier and the file storage identifier into the blockchain according to a preset storage mode of the blockchain.

6. The method according to claim 1 , wherein the processing service information in the to-be-processed service material to generate a service identifier comprises:

compressing the service information to generate a unique service identifier comprising the compressed service information.

7. A system for information read/write based on a blockchain, comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to cause the system to perform operations comprising:

requesting to create a storage space in an object storage server to store files of a project;

obtaining a storage key returned from the object storage server and corresponding to the storage space;

receiving a service request from a project member of the project, wherein the service request comprises a to-be-processed service material of the project member;

sending the storage key to the object storage server for a first verification;

upon determining that the first verification failed, receiving a new storage key returned from the object storage server, wherein the new storage key corresponds to a new storage space in the object storage server;

sending the new storage key to the object storage server for a second verification;

upon determining that the second verification succeeded, sending a service file in the to-be-processed service material to the new storage space corresponding to the new storage key in the object storage server and receiving a file storage identifier returned by the object storage server;

processing service information in the to-be-processed service material to generate a service identifier; and

writing the service identifier and the file storage identifier into the blockchain, and saving a hash value that is returned by the blockchain and that corresponds to write success information.

8. The system according to claim 7 , further comprising:

sending, to the object storage server, a request for obtaining the service file in the new storage space corresponding to the new storage key.

9. The system according to claim 8 , wherein the sending a request for obtaining the service file in the new storage space comprises:

sending the new storage key to the object storage server for obtaining a file obtaining permission;

obtaining the file obtaining permission; and

according to the file obtaining permission, extracting the service file corresponding to the file storage identifier in the object storage server.

10. The system according to claim 7 , further comprising:

obtaining identification information of the project member;

authenticating the project member according to the identification information; and

in response to the project member is authenticated, performing the sending the service file in the to-be-processed service material to the object storage server and receiving the file storage identifier returned by the object storage server.

11. The system according to claim 7 , wherein the writing the service identifier and the file storage identifier into the blockchain comprises:

writing the service identifier and the file storage identifier into the blockchain according to a preset storage mode of the blockchain.

12. The system according to claim 7 , wherein the processing service information in the to-be-processed service material to generate a service identifier comprises:

compressing the service information to generate a unique service identifier comprising the compressed service information.

13. A non-transitory computer-readable storage medium for information read/write based on a blockchain, configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

requesting to create a storage space in an object storage server to store files of a project;

obtaining a storage key returned from the object storage server and corresponding to the storage space;

receiving a service request from a project member of the project, wherein the service request comprises a to-be-processed service material of the project member;

sending the storage key to the object storage server for a first verification;

upon determining that the first verification failed, receiving a new storage key returned from the object storage server, wherein the new storage key corresponds to a new storage space in the object storage server;

sending the new storage key to the object storage server for a second verification;

upon determining that the second verification succeeded, sending a service file in the to-be-processed service material to the new storage space corresponding to the new storage key in the object storage server and receiving a file storage identifier returned by the object storage server;

processing service information in the to-be-processed service material to generate a service identifier; and

writing the service identifier and the file storage identifier into the blockchain, and saving a hash value that is returned by the blockchain and that corresponds to write success information.

14. The storage medium according to claim 13 , further comprising:

sending, to the object storage server, a request for obtaining the service file in the new storage space corresponding to the new storage key.

15. The storage medium according to claim 14 , wherein the sending a request for obtaining the service file in the new storage space comprises:

sending the new storage key to the object storage server for obtaining a file obtaining permission;

obtaining the file obtaining permission; and

according to the file obtaining permission, extracting the service file corresponding to the file storage identifier in the object storage server.

16. The storage medium according to claim 13 , further comprising:

obtaining identification information of the project member;

authenticating the project member according to the identification information; and

in response to the project member is authenticated, performing the sending the service file in the to-be-processed service material to the object storage server and receiving the file storage identifier returned by the object storage server.

17. The storage medium according to claim 13 , wherein the processing service information in the to-be-processed service material to generate a service identifier comprises:

compressing the service information to generate a unique service identifier comprising the compressed service information.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 15, 2020
From: HU, DUOFENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052938/0793 →