Verification method for cloud cluster scheduling storage information based on blockchain
By using the blockchain network and trapdoor hash algorithm to verify scheduling information in cloud computing, the security and reliability issues of the cloud computing cluster system are solved, the data is non-tamperable and auditable, and the overall security of the system is improved. performance and reliability.
Patent Information
- Application Number
- CN202110737007.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-06-30
AI Technical Summary
The centralized record cluster system of cloud computing is vulnerable to attacks, leading to security and reliability issues. How to improve the security and reliability of blockchain information storage and retrieval becomes a challenge.
Adopt a blockchain-based verification method for cloud cluster scheduling and storage information. By determining whether there is a blockchain network, obtain scheduling log data, perform hash processing and endorsement verification to ensure the legality of the data, and ensure the authenticity of the data through traceability verification. Integrity, using distributed storage and trapdoor hash algorithm shard processing to improve security.
It improves the security and reliability of the system, ensures the non-tamperability and auditability of data, reduces the storage pressure on the blockchain, improves the credibility and privacy of data, and reduces node computing and communication overhead.
Smart Images

Figure CN113973003B
Abstract
Description
Technical Field
[0001] The present invention relates to a verification method for cloud cluster scheduling storage information based on blockchain, and belongs to the technical field of blockchain. Background Art
[0002] In recent years, with the development of network technology, the scale of the Internet and the number of concurrent tasks have increased dramatically. The centralized resource management model and distributed task execution method have also brought new security issues. Stealing user privacy, tampering with data information, and even interfering with cloud cluster resource scheduling frequently occur. The traditional record cluster system of cloud computing is very easy to be tampered with. Once the central server is attacked, the system reliability and security will face a crisis. Therefore, how to improve the security and reliability of blockchain information storage and skipping has become a top priority in the development of blockchain today. Summary of the invention
[0003] The purpose of the present invention is to overcome the problems existing in the prior art and provide a verification method for cloud cluster scheduling storage information based on blockchain, which can improve the security and reliability of the system and provide persistent availability data.
[0004] A blockchain-based cloud cluster scheduling storage information verification method of the present invention comprises the following steps:
[0005] A scheduling information storage specifically includes the following steps:
[0006] A1: Determine whether a blockchain network exists. If so, go directly to A2. If not, create a blockchain network and then go to A2.
[0007] A2: Obtain scheduling log data from the control center;
[0008] A3: performing hash processing on the scheduling log data to obtain a hash value;
[0009] A4: Packaging the scheduling log data and sending it to the endorsing node for endorsement;
[0010] A5: Verify whether the transaction is legal. If it is legal, broadcast the transaction to the entire network, store it in the blockchain, and obtain the block hash value and transaction time. If it is illegal, terminate the process directly.
[0011] B: The traceability verification of scheduling information includes the following steps:
[0012] B1: Get the original log data in the local database;
[0013] B2: Perform the same hashing process on the original log data as in step A3;
[0014] B3: Use the block hash value and transaction time obtained when storing log data to trace back to the corresponding block in the blockchain and obtain the block data;
[0015] B4: Compare the block data with the data hash value in the local database. If the data are consistent, the information in the database has not been tampered with. If the data are inconsistent, the data has been tampered with.
[0016] Furthermore, step A1 specifically includes the following steps:
[0017] A1.1: Create a genesis module;
[0018] A1.2: Create a blockchain network;
[0019] A1.3: Join the blockchain network through verification.
[0020] Furthermore, the scheduling information storage method is distributed storage; the original log data in the local database includes the original data obtained from the cloud cluster and the data access information of the local database.
[0021] Furthermore, step A3 specifically includes the following steps:
[0022] A3.1: Transaction Sharding:
[0023] 1) Digitize the log data T and convert it into a decimal number X;
[0024] 2) Construct trapdoor parameters (k, t) based on blockchain node information, where t is the total number of transaction shards and k is the number of shards that need to be obtained during verification to restore the original transaction; that is,
[0025] 3) Use the trapdoor hash algorithm to fragment the message: Construct a t-1 polynomial:
[0026] F(x)=x+a 1 x 1 +a 2 x 2 +…+a (t-1) x (t-1) mod(p), where p is a prime number and satisfies p>max(x max , t), x max =max(x i ), 1≤i≤k-1;
[0027] Randomly select t numbers and bring them into the above polynomial to obtain the shard information of t groups of transactions (x i ,y i );
[0028] A3.2: The transaction shard information (x i ,y i ) are combined and converted into a hash value consisting of a four-tuple;
[0029] A3.3: Get the common summary of t groups of transaction shards.
[0030] Furthermore, the endorsement node is a Peer node.
[0031] Furthermore, the transaction information described in step A5 is a summary of the log data.
[0032] The beneficial effects of the present invention are:
[0033] By preprocessing the data in shards and storing the message digest obtained by hash collision on the chain, the storage pressure of the blockchain can be reduced and the credibility and verifiability of log messages can be guaranteed. By storing the results of the trapdoor hash function on the blockchain, the results can be guaranteed to be tamper-proof and auditable. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flowchart of scheduling information storage in the verification method of cloud cluster scheduling storage information based on blockchain of the present invention;
[0035] Figure 2 The present invention is a flowchart of scheduling information verification in the blockchain-based cloud cluster scheduling storage information verification method. DETAILED DESCRIPTION
[0036] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0037] A blockchain-based cloud cluster scheduling storage information verification method of the present invention comprises the following steps:
[0038] like Figure 1 As shown, A scheduling information storage specifically includes the following steps:
[0039] A1: Determine whether there is a blockchain network. If so, directly enter A2. If not, create a blockchain network and then enter A2. The scheduling information storage method is distributed storage. The original log data in the local database includes the original data obtained from the cloud cluster and the data access information of the local database.
[0040] When there is no blockchain network, step A1 specifically includes the following steps:
[0041] A1.1: Create a genesis module;
[0042] A1.2: Create a blockchain network;
[0043] A1.3: Join the blockchain network through verification.
[0044] A2: Obtain scheduling log data from the control center;
[0045] A3: performing hash processing on the scheduling log data to obtain a hash value;
[0046] Step A3 specifically includes the following steps:
[0047] A3.1: Transaction Sharding:
[0048] 1) Digitize the log data T and convert it into a decimal number X;
[0049] 2) Construct trapdoor parameters (k, t) based on blockchain node information, where t is the total number of transaction shards and k is the number of shards that need to be obtained during verification to restore the original transaction; that is,
[0050] 3) Use the trapdoor hash algorithm to fragment the message: Construct a t-1 polynomial:
[0051] F(x)=X+a 1 x 1 +a 2 x 2 +…+a (t-1) x (t-1) mod(p), where p is a prime number and satisfies p>max(x max , t), x max =max(x i ), 1≤i≤k-1;
[0052] Randomly select t numbers and bring them into the above polynomial to obtain the shard information of t groups of transactions (x i ,y i );
[0053] A3.2: The transaction shard information (x i ,y i ) are combined and converted into a hash value consisting of a four-tuple;
[0054] A3.3: Get the common summary of t groups of transaction shards.
[0055] A4: Pack the scheduling log data and send it to an endorsing node for endorsement; the endorsing node is a Peer node.
[0056] A5: Verify whether the transaction is legal. If it is legal, broadcast the transaction to the entire network, store it in the blockchain, and obtain the block hash value and transaction time. If it is illegal, end the process directly. The transaction information described in step A5 is only a summary of the log data.
[0057] like Figure 2 As shown in Figure 1, B: The traceability verification of scheduling information specifically includes the following steps:
[0058] B1: Get the original log data in the local database;
[0059] B2: Perform the same hashing process on the original log data as in step A3;
[0060] B3: Use the block hash value and transaction time obtained when storing log data to trace back to the corresponding block in the blockchain and obtain the block data;
[0061] B4: Compare the block data with the data hash value in the local database. If the data are consistent, the information in the database has not been tampered with. If the data are inconsistent, the data has been tampered with.
[0062] By preprocessing the data in shards and storing the message digest obtained by hash collision on the chain, the storage pressure of the blockchain can be reduced and the credibility and verifiability of log messages can be guaranteed. By storing the results of the trapdoor hash function on the blockchain, the results can be guaranteed to be tamper-proof and auditable.
[0063] The data stored in the blockchain network is open and transparent. The on-chain transaction of the present invention is only a summary of the log information, and the algorithm meets the characteristics of semantic security. The privacy of log data is improved.
[0064] Compared with traditional data storage, the on-chain storage space of the present invention is less than 1 / k of the original data storage space, which facilitates the storage and consensus process of the blockchain. In actual operation, the node computing and communication overhead will be reduced, and the model can be well applied in large-scale data business scenarios dominated by sensitive data.
[0065] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A verification method for cloud cluster scheduling storage information based on blockchain, It is characterized in that The steps include: A scheduling information storage specifically includes the following steps: A1: Determine whether a blockchain network exists. If so, go directly to A2. If not, create a blockchain network and then go to A2. A2: Obtain scheduling log data from the control center; A3: performing hash processing on the scheduling log data to obtain a hash value; specifically comprising the following steps: A3.1: Transaction Sharding: 1) Digitize the log data T and convert it into a decimal number X; 2) Construct trapdoor parameters (k, t) based on blockchain node information, where t is the total number of transaction shards and k is the number of shards that need to be obtained during verification to restore the original transaction; that is, ; 3) Use the trapdoor hash algorithm to fragment the message: Construct a t-1 polynomial: F(x)=x+a 1 x 1 +a 2 x 2 +…+a (t-1) x (t-1) mod(p), where p is a prime number and satisfies p>max(x max , t), x max =max(x i ), 1≤i≤k-1; Randomly select t numbers and bring them into the above polynomial to obtain the shard information of t groups of transactions (x i ,y i ); A3.2: The transaction shard information (x i ,y i ) are combined and converted into a hash value consisting of a four-tuple; A3.3: Get the common summary of t groups of transaction shards; A4: Packaging the scheduling log data and sending it to the endorsing node for endorsement; A5: Verify whether the transaction is legal. If it is legal, broadcast the transaction information to the entire network, store it in the blockchain, and obtain the block hash value and transaction time. If it is illegal, terminate the process directly. B: The traceability verification of scheduling information includes the following steps: B1: Get the original log data in the local database; B2: Perform the same hashing process on the original log data as in step A3; B3: Use the block hash value and transaction time obtained when storing log data to trace back to the corresponding block in the blockchain and obtain the block data; B4: Compare the block data with the data hash value in the local database. If the data are consistent, the information in the database has not been tampered with. If the data are inconsistent, the data has been tampered with.
2. According to the verification method of cloud cluster scheduling storage information based on blockchain according to claim 1, It is characterized in that Step A1 specifically includes the following steps: A1.1: Create a genesis module; A1.2: Create a blockchain network; A1.3: Join the blockchain network through verification.
3. According to the verification method of cloud cluster scheduling storage information based on blockchain in claim 1, Features: The scheduling information storage method is distributed storage; the original log data in the local database includes the original data obtained from the cloud cluster and the data access information of the local database.
4. According to the verification method of cloud cluster scheduling storage information based on blockchain in claim 1, Features: The endorsing node is a Peer node.
5. According to the verification method of cloud cluster scheduling storage information based on blockchain in claim 1, Features: The transaction information described in step A5 is a summary of the log data.
Citation Information
Patent Citations
Data encoding method and system supporting data ownership certification and data restoration
CN111104694A
Editable block chain system
CN111460497A
Alliance chain and Polkadot chain hybrid chain implementation method
CN111464310A
Commodity traceability system based on block chain and big data technology
CN111539750A
Storage sharing platform based on block chain and storage transaction method
CN111612619A
