CN111832069B - Multi-block chain on-chain data storage system and method based on cloud computing - Google Patents

Multi-block chain on-chain data storage system and method based on cloud computing Download PDF

Info

Publication number
CN111832069B
CN111832069B CN202010504962.6A CN202010504962A CN111832069B CN 111832069 B CN111832069 B CN 111832069B CN 202010504962 A CN202010504962 A CN 202010504962A CN 111832069 B CN111832069 B CN 111832069B
Authority
CN
China
Prior art keywords
chain
data
blockchain
block
cloud
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010504962.6A
Other languages
Chinese (zh)
Other versions
CN111832069A (en
Inventor
刘昌平
刘海
李威
陈杰
唐懿芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Institute of Science and Technology
Original Assignee
Guangdong Institute of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Institute of Science and Technology filed Critical Guangdong Institute of Science and Technology
Priority to CN202010504962.6A priority Critical patent/CN111832069B/en
Publication of CN111832069A publication Critical patent/CN111832069A/en
Application granted granted Critical
Publication of CN111832069B publication Critical patent/CN111832069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention relates to a cloud computing-based on-chain data storage system and a cloud computing-based on-chain data storage method for a multi-block chain, wherein one or more cloud storages are arranged in the technical scheme of the invention, and the on-chain data of a plurality of block chains are stored through the cloud storages; packaging and storing original block data and an original digital certificate of a block chain; the encryption interaction between the blockchain client and cloud storage is completed through the encryption engine module; establishing a key value database record for the user digital certificate and the block data through the key value database; providing at least editing function of the blockchain for the blockchain client through the API interface, and managing and maintaining data and user digital certificates on the chain; and carrying out docking communication with the API interface of the cloud storage through the cloud storage interface of the blockchain client. The beneficial effects of the invention are as follows: a user is provided with a custom storage mode of data on the blockchain, and the data on the blockchains are stored in a centralized mode.

Description

Multi-block chain on-chain data storage system and method based on cloud computing
Technical Field
The invention relates to the field of cloud computing and blockchain, in particular to a system and a method for storing on-chain data of a multi-block chain based on cloud computing.
Background
In a blockchain network, a plurality of computing nodes form a peer-to-peer network, and together maintain on-chain data (or referred to as blocks) that is characterized by non-tamper-proof, non-repudiation, traceability, etc., and is typically stored in the local storage space of the computing nodes in the form of a file system and a key database. In an ethernet (ethernet) blockchain network environment, the compute nodes store the complete on-chain data, i.e., all blocks, locally and build index databases and world state databases for all blocks locally, the block data being fully visible to the compute nodes in the network. In a super ledger (Hyperledger) blockchain network environment, computing nodes store locally the data on the links of the participating federation or private links and build a key-value database. Since the compute nodes of Hyperledger do not store all on-chain data, the data size is relatively small compared to etherum.
The cloud storage is evolved from cloud computing, and a transparent storage resource service with allocation according to needs and flexible expansion is provided, wherein the storage capacity can exceed the storage authority of a single computing node, and the storage capacity of the computing node is expanded.
It is a common application scenario where a computing node needs to store on-chain data for multiple blockchains to participate in multiple blockchain networks. Even in Hyperledger blockchain application networks, one computing node participates in multiple federation chains or private chains, which can lead to a proliferation of on-chain data storage, and as application time increases, the on-chain data storage must be larger and larger, even beyond the storage limit of a single computing node.
Disclosure of Invention
The invention aims at solving at least one of the technical problems existing in the prior art and provides a multi-block-chain on-chain data storage system based on cloud computing, which comprises a plurality of block chain networks, a plurality of block chain clients and cloud storage, wherein one or more block chain clients form a block chain computing node; the cloud storage comprises a block data module, a user digital certificate module, a password engine module, a key value database and an API interface; the blockchain client is provided with one or more cloud storages, and is used for intensively storing the on-chain data of a plurality of blockchains in the cloud storages through the blockdata module, the user digital certificate module, the password engine module, the key value database and the API interface; the blockchain client is provided with a cloud storage interface, and the cloud storage interface is communicated with the API interface.
The system for storing the data on the chain of the multi-block chain based on cloud computing according to the invention, wherein the block data module is configured to combine the original block data with a corresponding number, a starting address, a length and a user digital signature into the block data when generating the original block data for the block chain client.
The cloud computing-based multi-block chain on-chain data storage system is characterized in that a user digital certificate module is used for packaging an original digital certificate, and the packaged user digital certificate at least comprises the original digital certificate, an issuing mechanism, an issuing time, a validity period, a user digital signature and a validity state.
According to the cloud computing-based multi-block chain on-chain data storage system, when a user digital signature is configured to transmit a digital certificate through cloud storage, the original digital certificate, an issuing mechanism, an issuing time and a Hash value of a validity period are digitally signed through a private key of the user digital signature.
The on-chain data storage system of the multi-block chain based on cloud computing comprises a password engine module, a random number generator and a digital abstract calculator, wherein the password engine module is used for conducting encryption verification on interaction between the block chain client and the cloud storage, and the random number generator generates a disposable random number and a unique identification number; the asymmetric cipher is used for verifying the digital signature; the digital digest calculator is used for calculating a Hash value.
The cloud computing-based multi-blockchain on-chain data storage system is characterized in that a key value database is used for establishing key-value database records for the on-chain data of a plurality of blockchains and establishing key-value database records for the digital certificates of users of the plurality of blockchains, wherein the on-chain data of the plurality of blockchains share a database engine.
The cloud computing-based multi-block chain on-chain data storage system according to claim, wherein the API interface is configured to provide the blockchain client with access to on-chain data, user digital certificates, and management and maintenance functions, wherein the maintenance functions include at least one of initializing, de-registering, updating, writing blocks, retrieving, and synchronizing blocks.
According to the cloud computing-based multi-block chain on-chain data storage system, the API interface completes initialization, cancellation, updating, block writing, searching and synchronization of the blocks through corresponding communication protocols.
The cloud computing-based multi-blockchain on-chain data storage system according to further comprises a user client for deploying the same, partially the same and different blockchain clients through one or more computing nodes, and accessing cloud-stored on-chain data through the blockchain clients.
The technical scheme of the invention also comprises a cloud computing-based on-chain data storage method of the multi-block chain, and the cloud computing-based on-chain data storage system of the multi-block chain is characterized in that: setting one or more cloud storages, and storing the data on the chains of the block chains through the cloud storages; packaging original block data of a block chain and an original digital certificate, and storing the original block data and the original digital certificate in a corresponding space of the cloud storage; the encryption interaction between the blockchain client and cloud storage is completed through the encryption engine module; establishing a key value database record for the user digital certificate and the block data through the key value database; providing at least initialization, updating, block writing, searching, synchronization and logout functions of a blockchain for a blockchain client through the API interface, and managing and maintaining data and user digital certificates on the chain; and performing docking communication with the API interface of the cloud storage through the cloud storage interface of the blockchain client.
The beneficial effects of the invention are as follows: a user is provided with a custom storage mode of data on the blockchain, and the data on the blockchains are stored in a centralized mode.
Drawings
The invention is further described below with reference to the drawings and examples;
FIG. 1 is a schematic diagram of a single-user multi-blockchain cloud storage in accordance with an embodiment of the present invention.
Fig. 2 is a block chain cloud storage block diagram according to an embodiment of the present invention.
Fig. 3 is a block diagram of a cloud storage block according to an embodiment of the present invention.
Fig. 4 is a digital certificate structure diagram of a single user cloud storage system according to an embodiment of the present invention.
FIG. 5 is a flowchart of initialization of multi-block chain cloud storage according to an embodiment of the present invention.
Fig. 6 is a flowchart of updating a user digital certificate according to an embodiment of the present invention.
FIG. 7 is a flow chart of data on a memory chain according to an embodiment of the present invention.
Fig. 8 is a flowchart of on-chain data synchronization according to an embodiment of the present invention.
FIG. 9 is a flowchart of a method for freeing block data and cloud storage according to an embodiment of the present invention.
FIG. 10 is an example of a multi-block chain cloud storage system according to an embodiment of the present invention
Detailed Description
Reference will now be made in detail to the present embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the accompanying drawings are used to supplement the description of the written description so that one can intuitively and intuitively understand each technical feature and overall technical scheme of the present invention, but not to limit the scope of the present invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number.
As shown in fig. 1, the on-chain data cloud storage method supporting multiple blockchains maps operations of blockchain clients to read and write data on the chains to a cloud storage system. The cloud storage system is independently deployed at the cloud end, such as IDC; the computing node may be a desktop or mobile PC, a mobile electronic device (e.g., a smartphone), or the like. A user may access the cloud storage system using multiple computing nodes (PCs, smartphones, etc.), that is, the user owns multiple computing nodes that deploy identical, partially identical, different blockchain clients through which access to the cloud stored on-chain data. One cloud storage system is exclusively used by one user, and one user can exclusively use a plurality of cloud storage systems.
The cloud storage of the multi-blockchain consists of blockdata, key value databases, user digital certificates, cryptographic engines, and API interfaces, as shown in fig. 2.
The block data module stores data on a chain of a plurality of block chains. The data on the chains are stored in the form of file systems, and mutually independent file system storage areas are used among different blockchains. The first block of each blockchain is the producer block, the others are the normal blocks. The block structure includes a number, a start address, a length, a user digital signature, and original block data, as shown in fig. 3. Wherein, the liquid crystal display device comprises a liquid crystal display device,
the original block data refers to the block data generated by the block chain client;
the serial number is a unique identifier in the range of the single cloud storage system and is generated by an API interface module;
the initial address refers to the storage address of the block in the file system of the affiliated block chain, and the initial address of the created block is default to 0 and is generated by the API interface module;
the user digital signature means that the user uses the private key to digitally sign the block;
the length refers to the number of bytes comprising the number, the starting address, the length, the user digital signature and the original block, and is calculated and generated by the API interface module.
The user digital certificate module stores digital certificates of users on a plurality of blockchains, including digital certificates currently in use and expired historical digital certificates. The digital certificates belonging to the same blockchain form a list, and the serial numbers of the created blocks and the digital certificates of the users are used as index keys, and each digital certificate comprises an original digital certificate, an issuing mechanism, an issuing time, a validity period, a digital signature of the users and a validity state, as shown in figure 4, wherein,
the original digital certificate is a digital certificate signed by a blockchain network to a user, for example, a digital certificate signed by a CA Server of Hyperledger to the user;
the issuing mechanism is an issuing organization of the original digital certificate and can provide validity authentication of the digital certificate;
the issue time is the issue date and time of the original digital certificate;
the validity period is the time length of the validity use of the original digital certificate;
the user digital signature is that when a user transmits a digital certificate to a cloud storage, the user uses a private key of the user to digitally sign the Hash value of the original digital certificate, an issuing mechanism, the issuing time and the validity period;
the valid state is the valid use state of the original digital certificate, and the user has at most one valid digital certificate on each blockchain, and the other is the invalid digital certificate.
The cipher engine module comprises an asymmetric cipher device, a random number generator and a digital digest calculator. The random number generator generates a disposable random number and a unique identification number; the asymmetric cipher is used for verifying the digital signature; the digital digest calculator is used to calculate an information Hash value, i.e., a Hash value.
And the key value database module is used for establishing key-value database records for the data on the chains of the plurality of blockchains and establishing key-value database records for the digital certificates of users of the plurality of blockchains, wherein the data on the chains of the plurality of blockchains share one database engine.
The API interface module provides the on-chain data and the access, management and maintenance functions of the user digital certificate for the blockchain client, and at least comprises an initialization function module, a logout function module, an update function module, a block writing function module, a search function module and a synchronization function module, wherein the initialization function module, the logout function module, the update function module, the block writing function module, the search function module and the synchronization function module are shown in figure 2. Wherein, the liquid crystal display device comprises a liquid crystal display device,
and initializing a functional module to provide a function of applying for distributing cloud storage space. The cloud storage system allocates necessary storage space from the cloud storage resource pool, initializes the file system of the block data, the user digital certificate storage area, deploys the configuration of the cryptographic engine and the key value database engine, deploys the API interface module, and is shown in fig. 5.
And the updating function module is used for providing a function of updating the digital certificate of the user. There are 2 update interfaces, the 1 st is that the new user uploads the 1 st user digital certificate to the cloud storage, and the update flow is shown in fig. 6.
Communication protocol 1: digital certificate update 1
The steps are as follows: (1) The blockchain client submits a user digital certificate and a private key signature thereof, and the structure of the user digital certificate is shown in fig. 4;
(2) The updating function module verifies the signature by using the public key in the digital certificate, if the signature is successful, the process goes to (3), otherwise, the process goes to (5);
(3) The updating function module authenticates the validity of the digital certificate in the issuing mechanism, if the digital certificate is successful, the method proceeds to (4), otherwise, the method proceeds to (5);
(4) Calling a random number generator of a password engine to generate a unique generation block number, creating a user digital certificate list, writing the user digital certificate into the list, and transferring to (5);
(5) If successful, returning the serial number of the created block, otherwise, returning failure and ending.
The 2 nd is to update the old digital certificate with the new digital certificate, and the update flow is shown in fig. 6 when the old digital certificate is about to be or has been expired.
Communication protocol 2: digital certificate update 2
The steps are as follows: (1) The method comprises the steps that a blockchain client submits a new user digital certificate, an originating block number and an old private key signature, wherein the old private key signature is to sign a Hash value of the new user digital certificate and the originating block number by a private key in the old digital certificate;
(2) The updating function module finds out the valid digital certificate of the appointed blockchain by creating the blocknumber, takes out the public key from the valid digital certificate to verify the validity of the signature of the old private key, and shifts to (3) if the validity is successful, or shifts to (6);
(3) Verifying the signature in the digital certificate of the new user by using the public key in the digital certificate of the new user, if the signature is successful, switching to (4), otherwise switching to (6);
(4) Checking the effective date of the digital certificate of the new user, if the digital certificate is effective, switching to (5), otherwise switching to (6);
(5) The valid digital certificate corresponding to the creation block number is set as invalid, a new user digital certificate is stored and set as valid, and the process is shifted to (6);
(6) And returning a result and ending.
And the block writing function module is used for providing a function of writing data on a chain to the block chain client, namely storing the block into a file system corresponding to the block data and updating a key value database. The flow is shown in fig. 7.
Communication protocol 3: writing on-chain data
The steps are as follows: (1) The blockchain client submits an created block number, a new original block and a digital signature, wherein the new original block and the digital signature refer to the original block data and the user digital signature of fig. 3 respectively;
(2) The cloud storage system obtains the public key of the user digital certificate according to the serial number of the creation block, verifies the digital signature, and shifts to (3) if successful, or shifts to (5) if not successful;
(3) Calculating the number, length and starting address of the new block, wherein the block numbering rule is as follows: creating a block number plus an increasing positive integer number, wherein a starting address is a storage offset of a block in a block chain file system, and the length is the byte number of the whole new block;
(4) Filling in a new block according to the format of FIG. 3, writing in a file system corresponding to the block chain, and updating the record of the key value database;
(5) And returning a result and ending.
And the retrieval function module is used for providing the function of retrieving the data on the chain for the blockchain client. The block chain client provides the created block number and the search key, and the search function module searches the corresponding block in the appointed block chain storage area and returns the search result. The search key may be a block number, a block Hash, a transaction Hash, etc.
And the synchronization function module is used for a single user to use the scenes of the plurality of cloud storage systems exclusively, and synchronizing the chain data of the appointed block chain and the digital certificate of the user in the block chain among the plurality of cloud storage systems, wherein the synchronized cloud storage systems are marked with a master identifier, and the synchronized cloud storage systems are marked with slave identifiers, which is shown in fig. 8.
Communication protocol 4: synchronization
The steps are as follows: (1) The blockchain client initiates a request to the cloud storage 2, and transmits the address of the cloud storage 1, the serial number of the created block and the slave identifier;
(2) Cloud storage 2 is ready for response;
(3) The blockchain client initiates a request to the cloud storage 1, and transmits the address of the cloud storage 2, the serial number of the created block and the main identifier;
(4) Cloud storage 1 is ready for response;
(5) The cloud storage 1 establishes connection to the cloud storage 2, and the cloud storage 2 responds to the connection;
(6) The cloud storage 1 sends a user digital certificate list of a specified blockchain to the cloud storage 2;
(7) The cloud storage 2 receives and updates a user digital certificate list and replies;
(8) Cloud storage 1 sends all blocks of the specified blockchain to cloud storage 2;
(9) The cloud storage 2 receives and updates the local block and the database, and replies;
(10) The cloud storage 1 sends a synchronization acknowledgement to the blockchain client;
(11) The cloud storage 2 sends a synchronization acknowledgement to the blockchain client;
(12) And (5) ending.
The cancellation function module provides a function of deleting the data on the chain of the designated blockchain, and if the data on the chain of the last blockchain is deleted, the cloud storage space is released, as shown in fig. 9.
Communication protocol 5: logging out
The steps are as follows: (1) the blockchain client sends the created block number;
(2) The cancellation function module calls a random number generator to generate 1 random number, encrypts a public key of a valid digital certificate corresponding to the blockchain according to the serial number of the created block, and sends a ciphertext;
(3) The block chain client decrypts the random number by using the private key and sends back the random number;
(4) The cancellation function module compares the front random number and the rear random number, if the random numbers are consistent, the process is shifted to (5), otherwise, the process is forwarded to (8);
(5) Block data of a block chain designated by an originating block number and a database record thereof are cleared, and a corresponding user digital certificate is cleared;
(6) Checking whether the block data stored in the cloud is empty or not, if so, turning to (7), otherwise, turning to (8);
(7) Releasing the cloud storage space and returning to a storage resource pool;
(8) And returning a result and ending.
The on-chain data of an ethernet (hyper) blockchain network is stored by default in the local storage space of the blockchain client, and the blockdata is stored in one or more files of the file system. The client of the Hyperledger is Fabric, and the Hyperledger blockchain network is taken as an example to describe the specific embodiment of the invention.
The Fabric defaults to store the data on the chain in a local file system, firstly, a local storage interface of the Fabric read-write block file system is modified, a module interface of a cloud storage system is newly added, namely, the cloud storage interface shown in fig. 10, interfaces between the blockchain client and the cloud storage system are implemented according to each functional module of the API interface shown in fig. 2, and interface communication is implemented by adopting Web Service, gRPC or other forms.
In the Hyperledger blockchain network, a cloud storage system of a single-user multi-blockchain is implemented by adopting a Docker container, 1 Docker container instance corresponds to 1 cloud storage system, and a single user can exclusively use a plurality of Docker containers. The cloud storage system can also be implemented by adopting VMware, virtualBox or KVM virtual machines, and 1 virtual machine instance corresponds to 1 cloud storage system. In the cloud storage system, web Service, gPRC or other forms are adopted to implement interface communication, and the communication mode of Fabric is kept consistent.
In cloud storage systems, a file system is employed to store data on a chain of multiple blockchains, i.e., all blocks. The on-chain data for each blockchain is stored in one or more files and specifies the order of the files. The start address shown in fig. 3 is implemented as a storage offset of a block in a plurality of files, with adjacent blocks being adjacent in storage locations in the files. Files of different blockchains are isolated from each other, classified and stored in a folder mode, or stored in different file system partitions or RAID disk arrays.
And in the cloud storage system, a file system is adopted to store all user digital certificates, and each user digital certificate corresponds to 2 files. Wherein 1 file is the original file of the user digital certificate, the content of the original file is the original digital certificate shown in fig. 4, the other 1 file records other information corresponding to the original digital certificate, and the file names of the 2 files are the same and are distinguished by extension names. User digital certificates of different blockchains can be stored in a classified manner in the form of folders. The user digital certificate may also be stored using a relational database, with tables and records representing the user digital certificate.
In cloud storage systems, the key database is implemented using LevelDB, couchDB or other suitable database engine, which stores mainly the block data shown in fig. 3, i.e., the on-chain data of the blockchain. The Key words such as the block number, the original block Hash, the transaction Hash and the like are used as keys (keys), and the block start address is used as a Value. The key value database can provide basic block searching and positioning functions according to block numbers, original block Hash and transaction Hash, and can expand searching and inquiring of other keywords according to actual needs.
In a cloud storage system, a cryptographic engine provides at least a random number generator, an asymmetric cryptographic engine, and a Hash calculator. The cryptographic engine may be implemented by hardware, such as a TPM chip or a TCM chip, or may implement pseudo-random numbers, asymmetric cryptographic calculations, and Hash calculation functions by program code. The cryptographic engine may extend other computing functions, such as symmetric cryptographic calculators, etc., as desired.
In the cloud storage system, the API interface is an interface for providing cloud storage service to the outside, and at least comprises functional modules of initialization, updating, block writing, searching, synchronization, cancellation and the like, and each cloud storage system comprises 1 independent API interface, and is distributed with 1 IP address and an independent port. According to actual needs, the API interface can extend other management and service function modules.
In the ethernet blockchain network, the blockchain client Geth has a part of characteristics similar to Fabric in terms of data on a read-write chain, and a similar implementation mode can be adopted, namely 1 cloud storage interface is added inside the Geth, and an interface function is implemented according to the communication protocol of the invention.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention.

Claims (10)

1. A cloud computing-based multi-blockchain on-chain data storage system, the system comprising a plurality of blockchain networks, a plurality of blockchain clients and cloud storage, one or more of the blockchain clients constituting a blockchain computing node;
the cloud storage comprises a block data module, a user digital certificate module, a password engine module, a key value database and an API interface;
the blockchain client is provided with one or more cloud storages, and is used for intensively storing the on-chain data of a plurality of blockchains in the cloud storages through the blockdata module, the user digital certificate module, the password engine module, the key value database and the API interface;
the blockchain client is provided with a cloud storage interface, and the cloud storage interface is communicated with the API interface;
wherein the block data module is used for storing the data on the chains of a plurality of block chains; the user digital certificate module is used for storing digital certificates of users on a plurality of blockchains; the password engine module comprises an asymmetric password device, a random number generator and a digital digest calculator; the key value database is used for establishing key-value database records for the data on the chains of the plurality of blockchains and establishing key-value database records for the user digital certificates of the plurality of blockchains, and the data on the chains of the plurality of blockchains share a database engine; the API interface is used for providing on-chain data, access, management and maintenance functions of a user digital certificate for the blockchain client, and comprises an initialization function module, a cancellation function module, an updating function module, a block writing function module, a retrieval function module and a synchronization function module;
the initialization function module is used for providing a function of applying for distributing cloud storage space; the cancellation function module is used for providing a function of deleting the data on the chain of the appointed block chain, and if the data on the chain of the last block chain is deleted, the cloud storage space is released; the updating function module is used for providing a function of updating the user digital certificate; the writing block function module is used for providing a function of writing data on a chain to a block chain client; the retrieval function module is used for providing the function of retrieving the data on the chain for the blockchain client; the synchronization function module is used for a single user to use the scenes of a plurality of cloud storage systems exclusively, and the on-chain data of a specified blockchain and the digital certificate of the user in the blockchain are synchronized among the cloud storage systems, wherein the synchronized cloud storage systems are marked with a master identifier, and the synchronized cloud storage systems are marked with slave identifiers.
2. The cloud computing-based multi-blockchain on-chain data storage system of claim 1, wherein the blockchain data module is configured to combine the original blockdata with a corresponding number, starting address, length, and user digital signature into the blockdata when generating the original blockdata for the blockchain client.
3. The cloud computing-based multi-block chain on-chain data storage system of claim 1, wherein the user digital certificate module is configured to encapsulate an original digital certificate, the encapsulated user digital certificate comprising at least the original digital certificate, an issuing authority, an issuing time, a validity period, a user digital signature, and a validity status.
4. The cloud computing-based multi-block chain on-chain data storage system of claim 3, wherein the user digital signature is configured to digitally sign the original digital certificate, issuing authority, time of issue, validity-period Hash value with its own private key when the digital certificate is transferred through cloud storage.
5. The cloud computing-based multi-block chain on-chain data storage system of claim 1, wherein the cryptographic engine module comprises an asymmetric cryptographic engine, a random number generator, a digital digest calculator for cryptographically verifying interaction of the blockchain client with the cloud storage, the random number generator generating a one-time random number and a unique identification number; the asymmetric cipher is used for verifying the digital signature; the digital digest calculator is used for calculating a Hash value.
6. The cloud computing-based multi-blockchain on-chain data storage system of claim 1, wherein the key-value database is configured to create a key-value database record for the on-chain data of the plurality of blockchains and a key-value database record for the digital certificates of the users of the plurality of blockchains, wherein the on-chain data of the plurality of blockchains share a database engine.
7. The cloud computing-based multi-blockchain on-chain data storage system of claim 1, wherein the API interface is configured to provide the blockchain client with on-chain data, access to user digital certificates, management and maintenance functions, wherein maintenance functions include at least one of initializing, de-registering, updating, writing blocks, retrieving and synchronizing blocks.
8. The cloud computing-based multi-block chain on-chain data storage system of claim 7, wherein the API interface performs initialization, de-registration, updating, writing blocks, retrieving and synchronizing of blocks via a corresponding communication protocol.
9. The cloud computing-based multi-blockchain on-chain data storage system of claim 1, further comprising a user client for deploying the same, partially the same, different blockchain clients through one or more of the computing nodes, accessing cloud-stored on-chain data through blockchain clients.
10. A method for storing data on a chain of multi-block chains based on cloud computing, according to any one of claims 1-9, wherein:
setting one or more cloud storages, and storing the data on the chains of the block chains through the cloud storages;
packaging original block data of a block chain and an original digital certificate, and storing the original block data and the original digital certificate in a corresponding space of the cloud storage;
the encryption interaction between the blockchain client and cloud storage is completed through the encryption engine module;
establishing a key value database record for the user digital certificate and the block data through the key value database;
providing at least initialization, updating, block writing, searching, synchronization and logout functions of a blockchain for a blockchain client through the API interface, and managing and maintaining data and user digital certificates on the chain;
and performing docking communication with the API interface of the cloud storage through the cloud storage interface of the blockchain client.
CN202010504962.6A 2020-06-05 2020-06-05 Multi-block chain on-chain data storage system and method based on cloud computing Active CN111832069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010504962.6A CN111832069B (en) 2020-06-05 2020-06-05 Multi-block chain on-chain data storage system and method based on cloud computing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010504962.6A CN111832069B (en) 2020-06-05 2020-06-05 Multi-block chain on-chain data storage system and method based on cloud computing

Publications (2)

Publication Number Publication Date
CN111832069A CN111832069A (en) 2020-10-27
CN111832069B true CN111832069B (en) 2023-08-29

Family

ID=72898465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010504962.6A Active CN111832069B (en) 2020-06-05 2020-06-05 Multi-block chain on-chain data storage system and method based on cloud computing

Country Status (1)

Country Link
CN (1) CN111832069B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783133B (en) * 2020-06-02 2023-06-30 广东科学技术职业学院 Network resource management method based on block chain technology

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857558A (en) * 2012-08-13 2013-01-02 广东科学技术职业学院 Dynamically constructed and autonomously managed mobile cloud storage cluster system
CN103248479A (en) * 2012-02-06 2013-08-14 中兴通讯股份有限公司 Cloud storage safety system, data protection method and data sharing method
CN105721543A (en) * 2015-06-15 2016-06-29 清华大学深圳研究生院 Cross-protocol distribution-type cloud storage system based on operation control unit and data management method
CN107295002A (en) * 2017-07-12 2017-10-24 联动优势科技有限公司 The method and server of a kind of high in the clouds data storage
CN107770154A (en) * 2017-09-22 2018-03-06 中国科学院信息工程研究所 Block chain reliable data storage method, terminal and system based on cloud storage
CN108964911A (en) * 2018-09-18 2018-12-07 苏州米特希赛尔人工智能有限公司 A kind of stream media service system based on block chain and quantum flow data block technology
CN109102401A (en) * 2018-07-23 2018-12-28 上海点融信息科技有限责任公司 Method and apparatus for running intelligent contract in block chain network
CN109215751A (en) * 2018-08-10 2019-01-15 暨南大学 Medical electronics case history distributed management system and its building method based on block chain
CN109326337A (en) * 2018-09-06 2019-02-12 西安电子科技大学 Electronic medical record storage and shared model and method based on block chain
CN110377323A (en) * 2019-06-19 2019-10-25 广东科学技术职业学院 A kind of block chain DAPP management system
WO2020029844A1 (en) * 2018-08-08 2020-02-13 华为技术有限公司 Blockchain node and transaction method
WO2020051710A1 (en) * 2018-09-12 2020-03-19 Joe Jay System and process for managing digitized security tokens

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers
US10255342B2 (en) * 2017-04-12 2019-04-09 Vijay K. Madisetti Method and system for tuning blockchain scalability, decentralization, and security for fast and low-cost payment and transaction processing
US11138608B2 (en) * 2018-06-28 2021-10-05 International Business Machines Corporation Authorizing multiparty blockchain transactions via one-time passwords
EP3669281B1 (en) * 2019-07-11 2024-04-03 Advanced New Technologies Co., Ltd. Shared blockchain data storage

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248479A (en) * 2012-02-06 2013-08-14 中兴通讯股份有限公司 Cloud storage safety system, data protection method and data sharing method
CN102857558A (en) * 2012-08-13 2013-01-02 广东科学技术职业学院 Dynamically constructed and autonomously managed mobile cloud storage cluster system
CN105721543A (en) * 2015-06-15 2016-06-29 清华大学深圳研究生院 Cross-protocol distribution-type cloud storage system based on operation control unit and data management method
CN107295002A (en) * 2017-07-12 2017-10-24 联动优势科技有限公司 The method and server of a kind of high in the clouds data storage
CN107770154A (en) * 2017-09-22 2018-03-06 中国科学院信息工程研究所 Block chain reliable data storage method, terminal and system based on cloud storage
CN109102401A (en) * 2018-07-23 2018-12-28 上海点融信息科技有限责任公司 Method and apparatus for running intelligent contract in block chain network
WO2020029844A1 (en) * 2018-08-08 2020-02-13 华为技术有限公司 Blockchain node and transaction method
CN110827008A (en) * 2018-08-08 2020-02-21 华为技术有限公司 Block chain link point and transaction method
CN109215751A (en) * 2018-08-10 2019-01-15 暨南大学 Medical electronics case history distributed management system and its building method based on block chain
CN109326337A (en) * 2018-09-06 2019-02-12 西安电子科技大学 Electronic medical record storage and shared model and method based on block chain
WO2020051710A1 (en) * 2018-09-12 2020-03-19 Joe Jay System and process for managing digitized security tokens
CN108964911A (en) * 2018-09-18 2018-12-07 苏州米特希赛尔人工智能有限公司 A kind of stream media service system based on block chain and quantum flow data block technology
CN110377323A (en) * 2019-06-19 2019-10-25 广东科学技术职业学院 A kind of block chain DAPP management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Verification of Cryptocurrency Mining Using Ethereum;DONG-HER SHIH 等;IEEE Access 2020;第8卷;第120351-120360页 *

Also Published As

Publication number Publication date
CN111832069A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN111104386B (en) File storage method, terminal and storage medium
CN110059494B (en) Privacy protection method for block chain transaction data and block chain system
US10185497B2 (en) Cluster federation and trust in a cloud environment
US8824686B1 (en) Cluster key synchronization
US9405781B2 (en) Virtual multi-cluster clouds
JP5727020B2 (en) Cloud computing system and data synchronization method thereof
CN109831527B (en) File processing method, user side, server and readable storage medium
CN101917403B (en) Distributed key management method for ciphertext storage
CN114079660A (en) High-performance distributed storage area data, timestamp, cross-link communication and data cooperation method
CN104754001A (en) Cloud storage system and data storage method
CN111770149B (en) Novel alliance chain system based on distributed storage
CN104199722A (en) Virtual computer storage service system and using method thereof
CN103595730A (en) Ciphertext cloud storage method and system
CN102012944B (en) Distributed NOSQL (not only structured query language) database capable of providing replication property
CA2375260A1 (en) Independent distributed database system
CN102333029A (en) Routing method in server cluster system
CN112835977B (en) Database management method and system based on block chain
EP3350723A1 (en) Hosted file sync with stateless sync nodes
JP6617253B1 (en) Document management system
US8611542B1 (en) Peer to peer key synchronization
CN104580395A (en) Multi-cloud cooperative storage middleware system based on existing cloud storage platform
CN106506613B (en) The data storage location encryption method of distributed key value storage systems
CN111832069B (en) Multi-block chain on-chain data storage system and method based on cloud computing
CN113254424B (en) Data service migration method, device and equipment
Chen et al. FileWallet: A File Management System Based on IPFS and Hyperledger Fabric.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant