An offshore data distributed storage system based on changeable blockchain technology

By adopting variable blockchain technology and P2P network in offshore data distributed storage systems, the problems of data loss and privacy leakage in traditional cloud storage technologies are solved, and the data is highly reliable and secure, and the data is provided. Edit blockchain capabilities to meet regulatory and compliance needs in specific scenarios.

CN115348274BActive Publication Date: 2024-11-05YINUO (SHENZHEN) OFFSHORE CLOUD DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210808909.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2024-11-05
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

Traditional cloud storage technology has problems of data loss and privacy leakage, especially due to insufficient reliability and lack of security caused by excessive centralization.

Method used

Adopt an offshore data distributed storage system based on variable blockchain technology, and consists of a distributed storage layer, a distributed network layer and a blockchain service layer. It uses the P2P network and Kademlia protocol to achieve a highly available distributed network, and then uses the Alliance chain and chameleon hash technology ensure data security and controllability.

Benefits of technology

It realizes the high reliability and security of data. Each data exists in multiple copies. It utilizes the immutability and traceability of blockchain technology to ensure the definition and supervision of data ownership, avoid data loss and privacy leakage. It also provides editable blockchain functionality to meet regulatory and compliance needs in specific scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348274B_ABST
    Figure CN115348274B_ABST
Patent Text Reader

Abstract

The present invention discloses an offshore data distributed storage system based on changeable blockchain technology, which is composed of a distributed storage layer, a distributed network layer, a blockchain service layer and an application layer; it has the storage efficiency and usage experience of cloud storage, and effectively solves the problem of excessive centralization of current data storage, and ensures the trusted and secure storage of privacy and important data. By adopting variable blockchain storage technology, when inappropriate and illegal information appears, the relevant information can be corrected and deleted, meeting the security supervision and disposal requirements of offshore big data. By adopting alliance chain technology, it effectively adapts to the domestic and international data security certification and security mutual trust requirements of offshore data, and meets the subject requirements of different data sovereignty at home and abroad.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of big data and distributed storage technology, and relates to a distributed storage system, and specifically to an offshore data distributed storage system based on changeable blockchain technology. Background Art

[0002] With the development of new technologies and new business scenarios such as computing technology, virtual reality, artificial intelligence, and digital transformation of government and enterprises, human society has gradually entered the digital age, and along with it, the amount of data in cyberspace has exploded. There is no doubt that relying on technologies such as big data and machine learning, the value of data can be mined from these massive data, but how to preserve the growing data is a rather tricky problem.

[0003] In order to overcome the shortcomings of traditional independent data storage media in terms of reliability and easy loss, cloud storage technology has been widely accepted and applied. However, over-centralized cloud storage also faces the problems of data loss and privacy leakage. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides an offshore data distributed storage system based on changeable blockchain technology, which has the storage efficiency and usage experience of cloud storage, and at the same time effectively solves the problem of excessive centralization of current data storage, ensuring the trusted and secure storage of privacy and important data.

[0005] The technical solution adopted by the present invention is: an offshore data distributed storage system based on changeable blockchain technology, characterized by: consisting of a distributed storage layer, a distributed network layer, a blockchain service layer and an application layer;

[0006] The distributed storage layer is used to provide three types of storage services for upper-layer applications: object storage, block storage, and file system storage. Each piece of data will exist in the system in the form of N copies, and each piece of data will be divided into multiple blocks and stored in the distributed network of the system. N is a preset value.

[0007] The distributed network layer adopts the alliance chain network technology based on the P2P network as the underlying layer to realize a highly available distributed network;

[0008] The alliance chain network technology based on the P2P network as the underlying layer is based on the Kademlia network and is a distributed hash table DHT implemented using the Kademlia protocol; all nodes in the Kademlia network are regarded as leaves of a split binary tree, and the position of each node is uniquely determined by the shortest prefix of its ID value, and each node has a 160-bit ID value as an identifier; the entire network node state is represented by a binary tree, and each node ID value is represented in binary form, and the nth bit of the binary corresponds to the nth layer of the binary tree; if the bit is 1, it enters the left subtree, and if it is 0, it enters the right subtree; finally, the leaf node on the binary tree corresponds to a certain node;

[0009] The Kademlia protocol includes four remote RPC operations: PING, STORE, FIND_NODE, and FIND_VALUE; the PING operation is to detect a node to determine whether it is still online; the STORE operation is to notify a node to store a<key,value> Yes, for future query needs, where Key is the unique identifier of the node and value is the payload; the FIND_NODE operation uses a 160-bit ID as a parameter, and the recipient of this operation returns the (IP address, UDP port, Node ID) information of the K nodes that it knows are closer to the target ID, where IPaddress represents the IP address of the node Node, UDP represents the port number of the Node node, and Node ID represents the 160-bit ID number of the unique identifier of the Node node; the IND_VALUE operation is similar to the FIND_NODE operation, except that it only needs to return the (IP address, UDP port, Node ID) information of a node. If the recipient of this operation receives a STORE operation with the same key, it will directly return the stored value;

[0010] The blockchain service layer uses a consortium chain to provide blockchain basic services for the entire network;

[0011] The consortium chain includes a member organization MemberOrg and an ordering organization OrdererOrg. The member organization MemberOrg is a participant in the consortium chain and an entity that needs to upload data to the chain. It will maintain one or more Peer nodes in the network. The ordering organization OrdererOrg is responsible for transaction ordering and block creation in the consortium chain. Each organization contains a member identity MSP, which fully represents an organization in the network to participate in network consensus.

[0012] The application layer is used to provide data sharing and data transaction services for offshore data, such as offshore IT service outsourcing management applications, offshore data processing applications, offshore regulatory platform applications, etc.;

[0013] The nodes of the system are divided into three roles: the key holding node is responsible for keeping the private key of the chameleon hash, the computing node is responsible for calculating new blocks, and the consensus node is responsible for voting on editing requests and editing results. This distributed management method enhances the security of editing behavior; when erroneous, harmful, or expired information is detected, a node issues a blockchain editing request for the first time and broadcasts it to the entire network; all nodes in the system verify the request and check the rationality of the request; when the number of nodes that agree to the request reaches a predetermined number, the request can be considered to be passed, otherwise the request is rejected; the system selects a node to edit the blockchain according to a predetermined strategy; the node with the right to modify edits the block information according to the request content and broadcasts it to the entire network; the remaining nodes verify the operation results, and update their own ledgers after the verification is passed.

[0014] The beneficial effects of the present invention include:

[0015] (1) The system of the present invention has high reliability. Each piece of data will exist in three copies on the system, and each piece of data will be divided into multiple blocks and stored in the distributed network of the system. The damage of at most two copies of data will not cause the loss of data files.

[0016] (2) The present invention utilizes the distributed storage, non-tamperability, traceability, multi-party maintenance, and cross-verification characteristics of blockchain technology, which can effectively define data ownership, track and supervise data circulation, and achieve secure co-governance;

[0017] (3) The present invention constructs a new type of variable blockchain technology. The current mainstream blockchain technology adopts an unmodifiable blockchain. Once criminals add illegal information to the blockchain, the information will be retained forever. Therefore, this feature cannot meet certain specific scenarios of offshore big data. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the system framework of an embodiment of the present invention;

[0019] Figure 2 This is a schematic diagram of a distributed storage layer framework according to an embodiment of the present invention;

[0020] Figure 3 This is a diagram of the alliance blockchain network structure in an embodiment of the present invention;

[0021] Figure 4 This is a schematic diagram of the alliance chain PKI system in an embodiment of the present invention;

[0022] Figure 5This is a schematic diagram of the consensus algorithm in an embodiment of the present invention.

[0023] Figure 6 This is a schematic diagram of the application of Chameleon Hash to an editable blockchain in an embodiment of the present invention; DETAILED DESCRIPTION

[0024] In order to facilitate ordinary technicians in the field to understand and implement the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0025] Please see Figure 1 , the present invention provides an offshore data distributed storage system based on changeable blockchain technology, which consists of a distributed storage layer, a distributed network layer, a blockchain service layer and an application layer;

[0026] The distributed storage layer is used to provide three types of storage services for upper-layer applications: object storage, block storage, and file system storage. Each piece of data will exist in the system in the form of three copies, and each piece of data will be divided into multiple blocks and stored in the distributed network of the system.

[0027] The distributed network layer uses the alliance chain network technology based on the P2P network as the underlying layer to achieve a highly available distributed network;

[0028] The alliance chain network technology based on the P2P network as the underlying layer is based on the Kademlia network and is a distributed hash table DHT implemented using the Kademlia protocol (Kad for short). All nodes in the Kademlia network are regarded as leaves of a split binary tree, and the position of each node is uniquely determined by the shortest prefix of its ID value. Each node has a 160-bit ID value as an identifier. The entire network node state is represented by a binary tree, and each node ID value is represented in binary form. The nth bit of the binary corresponds to the nth layer of the binary tree. If the bit is 1, it enters the left subtree, and if it is 0, it enters the right subtree. Finally, the leaf node on the binary tree corresponds to a certain node.

[0029] The Kademlia protocol includes four remote RPC operations: PING, STORE, FIND_NODE, and FIND_VALUE. The PING operation is to detect a node to determine whether it is still online. The STORE operation is to notify a node to store a value.<key,value> Yes, in order to facilitate future queries, where Key is the unique identifier of the node and value is the payload (the business carried); the FIND_NODE operation uses a 160-bit ID as a parameter. The recipient of this operation returns the (IP address, UDP port, Node ID) information of the K nodes that it knows are closer to the target ID, where IP address represents the IP address of the node, UDP represents the port number of the Node, and Node ID represents the 160-bit ID number of the unique identifier of the Node; the IND_VALUE operation is similar to the FIND_NODE operation, except that it only needs to return the (IP address, UDP port, Node ID) information of a node. If the recipient of this operation receives a STORE operation with the same key, it will directly return the stored value;

[0030] The blockchain service layer uses a consortium chain to provide blockchain basic services for the entire network;

[0031] In the consortium chain, there are member organizations MemberOrg and ordering organizations OrdererOrg; MemberOrg is a participant in the consortium chain, an entity that needs to upload data to the chain, and will maintain one or more Peer nodes in the network; OrdererOrg is responsible for transaction ordering and block creation in the consortium chain; each organization contains a member identity MSP, which can be understood as the identity of the organization, and fully represents an organization in the network to participate in network consensus;

[0032] The application layer is used to provide data sharing and data transaction services for offshore data, such as offshore IT service outsourcing management applications, offshore data processing applications, offshore regulatory platform applications, etc.

[0033] The nodes of the system are divided into three roles: the key holding node is responsible for keeping the private key of the Chameleon Hash, the computing node is responsible for calculating new blocks, and the consensus node is responsible for voting on editing requests and editing results. This distributed management method enhances the security of editing behavior; when errors, harmful, and expired information are detected, a node issues a blockchain editing request for the first time and broadcasts it to the entire network; all nodes in the system verify the request and check the rationality of the request; when the number of nodes that agree to the request reaches a predetermined number, the request can be considered to be passed, otherwise the request is rejected; the system selects a node to edit the blockchain according to the predetermined strategy; the node with the right to modify edits the block information according to the request content and broadcasts it to the entire network; the remaining nodes verify the operation results, and update their own ledgers after verification. This not only retains the distributed characteristics of the platform, but also ensures the effective governance of on-chain data.

[0034] Please see Figure 2 ,The distributed storage layer of this implementation uses virtualization technology to implement ,polymorphic data storage service access interface, and provides ,three categories of storage services to upper layer applications in the form of APIs: object ,storage, block storage, and file system storage;

[0035] Object storage: upper-layer applications call the object storage service access interface, and the object storage module automatically completes the mapping of user object storage space to the underlying unified distributed object storage space. User data is stored in the distributed object storage engine in the form of object data.

[0036] Block storage: upper-layer applications call the block storage service access interface, and the block storage module automatically completes the mapping of the user's block storage operations and data read and write operations to the underlying unified distributed object storage space. The user's data on the block storage is ultimately stored in the distributed object storage engine in the form of object data; it supports snapshot, clone and other functions.

[0037] File system storage provides a POSIX file system interface compatible with the POSIX standard, and supports both kernel file system and user space file system (FUSE) modes. The upper-level application calls the POSIX file system interface, and the POSIX file system module and the POSIX file system metadata manager (responsible for the mapping and conversion of the POSIX file system space to the object storage space) jointly complete the mapping of the user's POSIX file operations to the underlying unified distributed object storage space. The user's data in the POSIX file system is ultimately stored in the distributed object storage engine in the form of object data; the POSIX file system metadata manager is used for mapping and conversion of the POSIX file system space to the object storage space.

[0038] The blockchain service layer of this embodiment is used to implement blockchain establishment and management operations. Currently, there are two major directions for the development of blockchain technology, namely, consortium chain and public chain. The biggest difference between the two is whether there is an "access mechanism". Here, the "access mechanism" refers to the management mechanism of access rights. The consortium chain has an "access mechanism", and not just any individual or organization can participate in it. Data is only open and shared within the consortium chain. The public chain is completely open, without any access threshold. All individuals or organizations can participate in it, and the data is open to everyone.

[0039] This embodiment uses the alliance chain to implement the business characteristics of the offshore big data center. In addition to realizing the distributed ledger, consensus algorithm and other iconic capabilities of the blockchain, the alliance chain also focuses on the access mechanism. The alliance chain has the data transparency and tamper-proof characteristics of the blockchain, limits the interconnection of data to a certain range, and has good performance to support the business.

[0040] Please see Figure 3 The consortium blockchain network provided in this embodiment includes three member organizations (ORG1, ORG2, ORG3) and one sorting organization (ORG4). Member organizations, namely MemberOrg, can be understood as participants in the consortium chain network. They are entities that have data on-chain requirements and generally maintain one or more Peer nodes in the network. The sorting organization, namely OrdererOrg, is responsible for transaction sorting and block creation in the consortium chain, and is often operated and maintained by the initiator or regulator of the network (created by an offshore data center and supervised by a higher-level authority).

[0041] These two organizations constitute the main body of the alliance chain network, and each organization will contain a member identity (hereinafter referred to as MSP). MSP can be understood as the identity of an organization, which fully represents an organization in the network to participate in the network consensus. The "access mechanism" of the alliance chain is implemented around the channel member management centered on the MSP membership. Below, we will introduce MSP membership, channel and channel member management in detail.

[0042] Please see Figure 4 In this embodiment, the membership of the alliance chain adopts the traditional PKI system. In order to achieve self-control, this embodiment adopts the national encryption component to replace the international standard encryption algorithm. Before joining the network, each organization will first maintain its own CA (Certificate Authority) certificate authority for user identity registration and user certificate issuance and cancellation.

[0043] In the alliance chain of this embodiment, the MSP identity card authentication includes the following steps:

[0044] (1) An identity account of member organization ORG1 shows its CA certificate to member organization ORG2, where the certificate is issued by the CA of member organization ORG1. The CA certificate includes subject identity information Subject, subject public key SubjectPublic Key, CA information Issuer, and CA digital signature Signature;

[0045] (2) Member organization ORG2 obtains the Root CA certificate from the CA of member organization ORG1 and extracts the Subject Public Key;

[0046] (3) Use the Subject Public Key of the member organization ORG1 CA certificate to verify the certificate signature provided by the identity account;

[0047] (4) If the signature verification is successful, the identity account is a legitimate account of the member organization ORG1.

[0048] In the consortium chain of this embodiment, membership is restricted through configurable channels, and only member organizations included in the channel are allowed to join the network, participate in consensus, and synchronize data.

[0049] Channel is a unique design of the consortium chain. In the consortium chain, there are two types of channels, namely:

[0050] System channel: A system-level channel created when the consortium chain network is established. It is used to define information such as the founding members of the consortium chain network and is managed by the sorting organization.

[0051] Application channel: application-level channel, a finer-grained division in the consortium chain network, can be formed by some organizations in the network. An application channel represents a real blockchain with an independent set of ledger data. The application channel is managed by the member organizations of the network.

[0052] A consortium chain network has only one system channel, but can contain multiple application channels. It can be understood that in a consortium, due to the different interests between organizations, different chains (i.e. different application channels) will be established between different organizations.

[0053] In other words, the "access mechanism" of the alliance chain is based on an application channel, and member management is the management of a channel.

[0054] The member organizations of a channel are specified when the channel is created, and the MSP of each member organization is included in the genesis block, including the CA certificate and Admin account certificate of the member organization, and members are managed accordingly;

[0055] Channel member management includes the following steps:

[0056] (1) Configure and generate genesis block

[0057] Configure the member organization, including ID, MSPDir and Policies; ID is the member organization's identification ID in the network; MSPDir is the member organization's MSP local directory, used to load MSP-related certificates; Policies is used to define the read, write and audit permissions within the member organization;

[0058] Configure application-level channels, including Organizations. Organizations are used to define member organizations included in the application-level channel.

[0059] (2) The initiator uses the genesis block to start this application-level channel in the network;

[0060] (3) A member organization applies to add a peer to an application-level channel. The application information includes the member organization’s identity certificate.

[0061] (4) The CA certificates of each member organization in the genesis block are used to verify whether the applicant's identity is issued by a member organization in the application-level channel; if so, the member organization node joins successfully and starts synchronizing the ledger data; if not, it is rejected.

[0062] Please see Figure 5In this embodiment, the alliance chain draws on the PBFT consensus algorithm, introduces the threshold signature algorithm and the collector role, and realizes a high-availability Byzantine fault-tolerant consensus algorithm; the 11 on-duty consensus nodes of the Byzantine fault-tolerant consensus algorithm are divided into master nodes and slave nodes, among which the slave nodes include two roles, forwarding nodes and collecting nodes, according to different tasks; each round of the consensus process will have a master node, and the master node will package the transaction into blocks after receiving the request from the client and send it to all slave nodes; then, the forwarding node will confirm and sign the message and forward it to the collecting node; the collecting node aggregates all the collected messages into a signed message through the threshold signature mechanism, and then sends it to all other nodes; next, continue a new round of forwarding and collection process until the confirmation message is returned to the client; among them, the collecting nodes of the two rounds can be specified as the same node or different nodes. The premise of this algorithm to ensure security and activity is also to assume that the number of Byzantine nodes in the system does not exceed 1 / 3 of the total number of nodes in the system. When the total number of nodes is N, it can only accommodate a maximum of f Byzantine fault (traitor) nodes, and let N be greater than or equal to 3f+1.

[0063] In the Byzantine fault-tolerant consensus algorithm of this embodiment, a mode of "randomly selecting a number of consensus nodes from candidate consensus nodes, and then cooperating to package transactions and produce blocks through the consensus algorithm" is adopted to improve the security of the blockchain while increasing the randomness and unpredictability of node elections;

[0064] Each candidate consensus node has a public-private key pair. When electing a consensus node in each time window, each candidate consensus node calculates the hash random output using the following formula;

[0065] R = VRF_Hash(SK,Seed);

[0066] P = VRF_Proof(SK,Seed);

[0067] Among them, SK is the private key of the node, Seed is a field information in a block on the chain, which cannot be predicted in advance; R is the hash random output VRF_Hash(), and P is the hash proof VRF_Proof();

[0068] Through the above steps, the verifier can verify that the two values ​​​​are indeed generated by the node that owns the value;

[0069] R = VRF_P2H(P);

[0070] VRF_Verify(PK,Seed,P);

[0071] Where PK is the public key of the node being verified; VRF_P2H() is a verification function for verifying that the equation R and P are true; VRF_Verify() is a function that can verify whether the final verification of the random function is true;

[0072] At this time, the 11 nodes with the smallest random hash output are selected as the on-duty consensus nodes; if more than 11 nodes are selected, they will be screened based on their credibility scores.

[0073] Please see Figure 6 This embodiment adopts editable blockchain technology. When a block is modified, only the header hash is transformed into a chameleon hash. The trapdoor collision m1, m2, r1 is used to keep the original block header hash value h unchanged but the block content is changed. The specific implementation includes the following steps:

[0074] Step 1: Assume that p and q are two prime numbers and q is a sufficiently large prime number, where p and q satisfy p = kq + 1, Z p * is a group of order q, g is a group, k is a positive integer; let the trapdoor sk be x∈Z p * , then the public key pk is expressed as y = g x modp, given a message m1∈Z p * and a random value r1∈Z p * , then the CH value of message m1 is Hash(m1,r1)=g m1 y r1 modp;

[0075] Step 2: Solve for any given m1, m2, r1, and find r2∈Z p * , so that Hash(m1, r1)=Hash(m2,r2);

[0076] Hash(m1,r1)=g m1 y r1 mod p = g m1+xr1 mod p;

[0077] Hash(m2,r2)=g m2 y r2 mod p = g m2+xr2 mod p;

[0078] but

[0079] According to the characteristics of actual offshore data center business, the present invention integrates the characteristic applications of offshore data center business on the application chain, adopts the alliance chain on the blockchain, and solves the mutual trust problem of transnational data centers; the Chameleon Hash Function is adopted to reduce the complexity of interactive zero-knowledge proof, thereby balancing the contradiction between controllable verifiability and non-repudiation, and at the same time realizes security attributes such as non-repudiation, non-transferability, and non-interaction, and realizes variable blockchain technology to meet specific supervision and security demands. For example, the current mainstream blockchain technology adopts an unmodifiable blockchain. Once the criminals add illegal information to the blockchain, the information will be kept forever. The variable blockchain can modify the illegal information, thereby meeting the information supervision and compliance demands.

[0080] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.

Claims

1. An offshore data distributed storage system based on changeable blockchain technology, characterized by: It consists of distributed storage layer, distributed network layer, blockchain service layer and application layer; The distributed storage layer is used to provide three types of storage services for upper-layer applications: object storage, block storage, and file system storage. Each piece of data will exist in the system in the form of N copies, and each piece of data will be divided into multiple blocks and stored in the distributed network of the system. N is a preset value. The distributed network layer adopts the alliance chain network technology based on the P2P network as the underlying layer to realize a highly available distributed network; The alliance chain network technology based on the P2P network as the underlying layer is based on the Kademlia network and is a distributed hash table DHT implemented using the Kademlia protocol; all nodes in the Kademlia network are regarded as leaves of a split binary tree, and the position of each node is uniquely determined by the shortest prefix of its ID value, and each node has a 160-bit ID value as an identifier; the entire network node state is represented by a binary tree, and each node ID value is represented in binary form, and the nth bit of the binary corresponds to the nth layer of the binary tree; if the bit is 1, it enters the left subtree, and if it is 0, it enters the right subtree; finally, the leaf node on the binary tree corresponds to a certain node; The Kademlia protocol includes four remote RPC operations: PING, STORE, FIND_NODE, and FIND_VALUE. The PING operation is to detect a node to determine whether it is still online. The STORE operation is to notify a node to store a value.<key,value> Yes, in order to facilitate future queries, where Key is the unique identifier of the node and value is the payload; the FIND_NODE operation uses a 160-bit ID as a parameter, and the recipient of this operation returns the (IP address, UDP port, Node ID) information of the K nodes that it knows are closer to the target ID, where IP address represents the IP address of the node, UDP represents the port number of the Node, and Node ID represents the 160-bit ID number of the unique identifier of the Node; the IND_VALUE operation is similar to the FIND_NODE operation, except that it only needs to return the (IPaddress, UDP port, Node ID) information of a node. If the recipient of this operation receives a STORE operation with the same key, it will directly return the stored value; The blockchain service layer uses a consortium chain to provide blockchain basic services for the entire network; The consortium chain includes a member organization MemberOrg and an ordering organization OrdererOrg. The member organization MemberOrg is a participant in the consortium chain and an entity that needs to upload data to the chain. It will maintain one or more Peer nodes in the network. The ordering organization OrdererOrg is responsible for transaction ordering and block creation in the consortium chain. Each organization contains a member identity MSP, which fully represents an organization in the network to participate in network consensus. The application layer is used to provide data sharing and data transaction services for offshore data; The nodes of the system are divided into three roles: the key holding node is responsible for keeping the private key of the chameleon hash, the computing node is responsible for calculating new blocks, and the consensus node is responsible for voting on editing requests and editing results; when erroneous, harmful, or expired information is detected, a node issues a blockchain editing request for the first time and broadcasts it to the entire network; all nodes in the system verify the request and check the rationality of the request; when the number of nodes that agree to the request reaches a predetermined number, the request is approved, otherwise the request is rejected; the system selects a node to edit the blockchain according to a predetermined strategy; the node with the right to modify edits the block information according to the request content and broadcasts it to the entire network; the remaining nodes verify the operation results, and update their own ledgers after the verification is passed.

2. The offshore data distributed storage system based on the changeable blockchain technology according to claim 1 is characterized by: The distributed storage layer uses virtualization technology to implement a polymorphic data storage service access interface, and provides three types of storage services, namely object storage, block storage, and file system storage, to upper-layer applications in the form of APIs; The object storage, the upper layer application calls the object storage service access interface, the object storage module automatically completes the mapping of the user object storage space to the underlying unified distributed object storage space, and the user data is stored in the distributed object storage engine in the form of object data; The block storage, the upper layer application calls the block storage service access interface, the block storage module automatically completes the user's block storage operation, data read and write operations to the underlying unified distributed object storage space mapping, the user's data on the block storage is ultimately stored in the distributed object storage engine in the form of object data; The file system storage provides a POSIX file system interface compatible with the POSIX standard, and supports both kernel file system and user space file system modes. The upper layer application calls the POSIX file system interface, and the POSIX file system module and the POSIX file system metadata manager jointly complete the mapping of the user's POSIX file operation to the underlying unified distributed object storage space. The user's data in the POSIX file system is ultimately stored in the distributed object storage engine in the form of object data; the POSIX file system metadata manager is used for mapping and conversion from the POSIX file system space to the object storage space.

3. The offshore data distributed storage system based on the changeable blockchain technology according to claim 1 is characterized by: In the alliance chain, the MSP ID card authentication includes the following steps: (1) An identity account of member organization ORG1 shows its CA certificate to member organization ORG2, where the certificate is issued by the CA of member organization ORG1. The CA certificate includes subject identity information Subject, subject public key SubjectPublic Key, CA information Issuer, and CA digital signature Signature; (2) Member organization ORG2 obtains the Root CA certificate from the CA of member organization ORG1 and extracts the Subject PublicKey; (3) Use the Subject Public Key of the member organization ORG1 CA certificate to verify the certificate signature provided by the identity account; (4) If the signature verification is successful, the identity account is a legitimate account of the member organization ORG1.

4. The offshore data distributed storage system based on the changeable blockchain technology according to claim 1 is characterized by: In the consortium chain, membership is restricted through configurable channels, and only member organizations included in the channel are allowed to join the network, participate in consensus, and synchronize data; The channels include system-level channels and application-level channels. The system-level channels are created when the alliance chain network is established and are used to define the founding member information of the alliance chain network. They are managed by the sorting organization. The application-level channels are formed by some organizations in the network. An application-level channel represents a blockchain and has an independent set of ledger data, which is managed by the member organizations of the network. A alliance chain network includes a system-level channel and several application-level channels.

5. The offshore data distributed storage system based on the changeable blockchain technology according to claim 4 is characterized by: The member organizations of the Channel are specified when the channel is created, and the MSP of each member organization is included in the genesis block, including the CA certificate and Admin account certificate of the member organization, and members are managed accordingly; Channel member management includes the following steps: (1) Configure and generate genesis block Configure the member organization, including ID, MSPDir and Policies; the ID is the identification ID of the member organization in the network; the MSPDir is the MSP local directory of the member organization, which is used to load the relevant certificates of the MSP; the Policies are used to define the read, write and audit permissions within the member organization; Configure the application-level channel, including Organizations; the Organizations are used to define the member organizations included in the application-level channel; (2) The initiator uses the genesis block to start this application-level channel in the network; (3) A member organization applies to add a peer to an application-level channel. The application information includes the member organization’s identity certificate. (4) The CA certificates of each member organization in the genesis block are used to verify whether the applicant's identity is issued by a member organization in the application-level channel; if so, the member organization node joins successfully and starts synchronizing the ledger data; if not, it is rejected.

6. The offshore data distributed storage system based on the changeable blockchain technology according to claim 1 is characterized by: In the alliance chain, the PBFT consensus algorithm is used as a reference, and the threshold signature algorithm and the collector role are introduced to realize a high-availability Byzantine fault-tolerant consensus algorithm; the 11 on-duty consensus nodes of the Byzantine fault-tolerant consensus algorithm are divided into master nodes and slave nodes, among which the slave nodes include two roles, forwarding nodes and collecting nodes, according to different tasks; each round of the consensus process will have a master node, and the master node will package the transaction into blocks after receiving the request from the client and send it to all slave nodes; then, the forwarding node will confirm and sign the message and forward it to the collecting node; The collecting node aggregates all collected messages into a signed message through the threshold signature mechanism, and then sends it to all other nodes; next, a new round of forwarding and collection process continues until a confirmation message is returned to the client; the collecting nodes for the two rounds can be designated as the same node or different nodes.

7. The offshore data distributed storage system based on the changeable blockchain technology according to claim 6 is characterized by: In the Byzantine fault-tolerant consensus algorithm, a mode of "randomly selecting a number of consensus nodes from candidate consensus nodes, and then cooperatively packaging transactions and producing blocks through the consensus algorithm" is adopted to improve the security of the blockchain while increasing the randomness and unpredictability of node elections; Each candidate consensus node has a public-private key pair. When electing a consensus node in each time window, each candidate consensus node calculates the hash random output using the following formula; R = VRF_Hash(SK,Seed); P = VRF_Proof(SK,Seed); Among them, SK is the private key of the node, Seed is a field information in a block on the chain, which cannot be predicted in advance; R is the hash random output VRF_Hash(), and P is the hash proof VRF_Proof(); Through the above steps, the verifier can verify that the two values ​​​​are indeed generated by the node that owns the value; R = VRF_P2H(P); VRF_Verify(PK,Seed,P); Where PK is the public key of the node being verified; VRF_P2H() is the verification function for verifying the equality of R and P; VRF_Verify() is the function for verifying whether the final verification of the random function is established; At this time, the 11 nodes with the smallest random hash output are selected as the on-duty consensus nodes; if more than 11 nodes are selected, they will be screened based on their credibility scores.

8. The offshore data distributed storage system based on the changeable blockchain technology according to any one of claims 1 to 7, characterized in that: Using editable blockchain technology, when a block is modified, only the header hash is transformed into a chameleon hash, and the trapdoor collision m1, m2, r1 is used to keep the original block header hash value h unchanged but the block content is changed; the specific implementation includes the following steps: Step 1: Assume that p and q are two prime numbers and q is a sufficiently large prime number, where p and q satisfy p = kq + 1, Z p * is a group of order q, g is the generator of the group, k is a positive integer; let the trapdoor sk be x∈Z p * , then the public key pk is expressed as y = g x modp, given a message m1∈Z p * and a random value r1∈Z p * , then the CH value of message m1 is Hash(m1,r1)=g m1 y r1 modp; Step 2: Solve for any given m1, m2, r1, and find r2∈Z p * , so that Hash(m1,r1)=Hash(m2,r2); Hash(m1,r1)=g m1 and r1 modp=g m1+xr1 modp; Hash(m2,r2)=g m2 and r2 modp=g m2+xr2 modp; but