CN115065690A - Decentralized system and method based on different heterogeneous instruction sets - Google Patents

Decentralized system and method based on different heterogeneous instruction sets Download PDF

Info

Publication number
CN115065690A
CN115065690A CN202210661376.1A CN202210661376A CN115065690A CN 115065690 A CN115065690 A CN 115065690A CN 202210661376 A CN202210661376 A CN 202210661376A CN 115065690 A CN115065690 A CN 115065690A
Authority
CN
China
Prior art keywords
service
data
block chain
node
instruction set
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.)
Pending
Application number
CN202210661376.1A
Other languages
Chinese (zh)
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.)
Sichuan Autonomous Controllable Electronic Information Industry Co ltd
Original Assignee
Sichuan Autonomous Controllable Electronic Information Industry Co ltd
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 Sichuan Autonomous Controllable Electronic Information Industry Co ltd filed Critical Sichuan Autonomous Controllable Electronic Information Industry Co ltd
Priority to CN202210661376.1A priority Critical patent/CN115065690A/en
Publication of CN115065690A publication Critical patent/CN115065690A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The invention discloses a decentralized system and method based on different heterogeneous instruction sets, belonging to the technical field of information technology application innovation, and comprising an infrastructure access layer, a data processing layer and a data processing layer, wherein the infrastructure access layer is used for deploying servers of different heterogeneous instruction sets and storing block chain service data by using decentralized storage characteristics; the service logic processing layer is used for block chain service network design and service flow management design, and the service logic processing layer establishes access connection with the infrastructure access layer through the client; the system comprises an interface interaction layer, a browser end page design layer and a block chain technology, wherein the interface interaction layer is used for the browser end page design of the business logic of each functional module, the applied block chain technology solves the trust and safety problems of single-point failure and difficulty in pursuing responsibility and the like caused by centralized storage, meanwhile, the system supports the technology of a heterogeneous instruction set, guarantees the past dependence on a single technical route, and solves the problem that the past is blocked by other people in the block chain application.

Description

Decentralized system and method based on different heterogeneous instruction sets
Technical Field
The invention belongs to the technical field of information technology application innovation, and particularly relates to a decentralized system and method based on different heterogeneous instruction sets.
Background
Currently, the innovation of information technology application (called as letter creation for short, the same shall apply hereinafter) has become a national strategy and is also a new kinetic energy of national economic development under the current situation. The development innovation aims to solve the problem of intrinsic safety, namely, the intrinsic safety is changed into controllable, research, developable and producible by the people.
With the development of the creation industry, as an important direction of new infrastructure, from 2020, the domestic substitution is continuously promoted by the national strategic level, wherein a domestic CPU and an operating system are the core for realizing autonomous control and are key links for solving the neck clamp problem. The main participants of the domestic CPU are dragon cores, million cores, soaring, sea lights, Shenwei and Huacheng spread and Peng brand, a technical route based on four main stream instruction sets such as Loong Arch (dragon core), alpha (Shenwei), ARM (soaring, spread and Peng), x86 (sea lights and million cores) is gradually formed, the method becomes a key for economic digital transformation and industrial chain development improvement, starts from aspects of introduction of a technical system, strengthening of an industrial foundation, strengthening of guarantee capability and the like, promotes the local ground rooting of the innovation industry, drives the transformation of the traditional IT information industry, and constructs a regional industry aggregation cluster.
Based on the method, the risks such as policies, application environments and personnel are fully considered in the construction of the modern party administration or data centers (IDCs) in various industries, whether public clouds or private clouds, corresponding risk countermeasures and management measures are formulated, and design schemes for sustainable use are formulated according to the situation that different domestic chip architectures exist in the basic environment. The covered infrastructure comprises a domestic chip server, a domestic storage device, a domestic network device and a domestic safety device of four large instruction sets. Based on such hardware implementation, corresponding underlying support is configured, including an operating system, virtualization software, and the like, to form a computing resource pool (virtual machine pool, bare metal physical machine pool), a storage resource pool (FC-SAN storage resource pool, distributed storage resource pool), a network resource pool (VPN, elastic IP, virtual switch), and the like, and an infrastructure as a service layer (IAAS) is constructed.
However, all the decentralization technologies of the IAAS layer can only support a single instruction set technology route, and there is a certain path dependence, and when a server, a storage or network switch, and a router of a certain technology route generate a "bottleneck" event such as supply stoppage, operation and maintenance stoppage, upgrade stoppage, and the like, a service system is stagnated, degraded, or even interrupted. Although some virtualization technologies solve part of the problems of computing services at present, once the CPU chip is in an "outage" state, the normal operation of the service is still affected, and the configuration is extremely complex, which results in a large operation and maintenance cost.
Disclosure of Invention
In view of the above, in order to solve the above problems in the prior art, the present invention provides a decentralized system and method based on different heterogeneous instruction sets to achieve the purpose of solving trust and security problems such as single point failure and difficulty in tracing responsibility due to "centralized" storage by using a blockchain decentralized technology based on a mixed instruction set.
The technical scheme adopted by the invention is as follows: a decentralized system based on different heterogeneous instruction sets, the system comprising:
the infrastructure access layer is used for deploying servers of different heterogeneous instruction sets and storing block chain service data by using decentralized storage characteristics;
the service logic processing layer is used for block chain service network design and service flow management design, and the service logic processing layer establishes access connection with the infrastructure access layer through the client;
the interface interaction layer is used for designing a browser-side page of each functional module business logic;
the block chain service network design designs a service network of an infrastructure access layer and provides a service network service interface, and the block chain service data is stored or accessed through the service network; the business process management design carries out service arrangement and combination on the business network service interface and realizes intelligent contract process management on the interface interaction layer.
Furthermore, the interface interaction layer comprises an identity management function module, an account book management function module, a transaction management function module and an intelligent contract function module.
Further, the infrastructure access layer includes a distributed blockchain ledger that conforms to a Fabric protocol.
Further, the infrastructure access layer is built based on a LoongArch server, an alpha server, an ARM server, and an x86 server.
The invention also provides a decentralization method based on different heterogeneous instruction sets, which comprises the following steps:
s1: building a decentralized Fabric Block chain network by block chain link points on different heterogeneous instruction set servers;
s2: constructing a service network meeting the function requirement of the blockchain application system by using a Hyperleader Composer component tool and deploying the service network in the Fabric blockchain network;
s3: using a Web application development technology and a business process management technology to perform service arrangement and combination on a business network service interface so as to complete the function building of a block chain application system of an interface interaction layer;
s4: and carrying out browser-side page design on each functional module in the block chain application system of the interface interaction layer so as to establish an alliance chain platform based on the distributed block chain account book.
Further, the Fabric blockchain network is built based on the virtual machine resource pool of the LoongArch, alpha, ARM and x86 heterogeneous instruction sets.
Further, the method for constructing the Fabric Block chain network comprises the following steps:
s101: respectively constructing a plurality of virtual machines on each physical server of LoongArch, alpha, ARM and x86 heterogeneous instruction sets through virtualization software;
s102: installing an operating system on each virtual machine, downloading and installing super account book software meeting the requirement of the Fabric protocol version;
s103: respectively deploying Peer nodes, CA nodes, state database nodes and sequencing service nodes on a plurality of virtual machines constructed by the same physical server by using a Docker container technology;
the CA node is responsible for performing authorization and authentication on all nodes added into the chain; the state database node is used for storing a chain code value modeled as JSON data; the sequencing service node provides ACL access control and ensures the data consistency on each Peer node through transaction sequencing.
Further, the ledger data structure of the server includes:
the block chain data comprises a plurality of blocks, each block is connected to form a chain data structure, and one or a group of ordered and non-falsifiable records are stored in each block;
state data, wherein the state data is stored in a state database node, the latest results after all transactions are completed are stored through the state data, and the latest results exist in a Key/Value Key Value pair mode;
index data, wherein two types of data are stored in the index data, one type is tracking information of a historical record of each Key, and the other type is related information of a block;
each block chain data only corresponds to one multiple instruction set channel, and the transaction among the blocks in the block chain data is completed in the multiple instruction set channel.
Further, the multiple instruction set channel is a private "subnet" for communication between two or more blocks in the Fabric protocol, used for performing transactions requiring data privacy, and defined by the blocks, the anchor point of each block, the shared ledger, the chain code application, and the sequencing service node.
Furthermore, the multi-instruction-set channel supports a heterogeneous communication mechanism of a multi-instruction set and connects the peer node and the sequencing service node to form a virtual communication link according to the Fabric protocol.
Further, the decentralized transaction process of the Fabric blockchain network is as follows:
a1: the client constructs a transaction proposal by using any SDK;
a2: sending the transaction proposal to an endorsement node on one or more different instruction set virtual machines;
a3: after the endorsement node receives the transaction proposal, verifying the signature and determining whether the submitter is authorized to execute the operation;
a4: after receiving the response of each endorsement node, the client side packages the endorsement nodes to form a batch of transactions, signs the transactions and sends the transactions to the ordering service node;
a5: the sequencing service node sequences the received transactions, packages a batch of transactions according to a block generation strategy, generates a new block and sends the new block to the accounting node;
a6: and after all verification passes, the block is added to local block chain data, and the state database is modified.
The invention has the beneficial effects that:
1. by adopting the decentralized system based on different heterogeneous instruction sets, the invention completes the whole Fabric blockchain-based bottom layer non-centralized processing mechanism by adopting the Fabric system architecture design based on heterogeneous instruction sets such as LoongArch, alpha, ARM, x86 and the like, the blockchain technology of the system solves the trust and safety problems such as single point failure and difficulty in pursuing failure caused by centralized storage, meanwhile, the system supports the technology of the heterogeneous instruction sets, ensures the past dependence on a single technical route, solves the problem of neck clamping of others in the past block chain application, and can be widely applied to IDENTITY management, Ledger (account management), Transactions management, Smart Contract (intelligent Contract) and other blockchain applications.
2. By adopting the decentralized method based on different heterogeneous instruction sets and the decentralized technology based on different heterogeneous instruction sets, hardware and software resources are distributed to servers or workstations of different instruction sets, a large amount of idle computing capacity is utilized, and resource waste caused by large performance difference of Central Processing Units (CPUs) of different instruction sets is avoided; the technology can be widely applied to a data center of a computing resource pool formed by heterogeneous instruction sets such as LoongArch, alpha, ARM, x86 and the like, and provides a technical base for middle and upper-layer applications such as finance, physics, copyright, Internet of things and the like; the technology not only reduces the path dependence pressure brought by a single instruction set, but also improves the utilization rate of a computing resource pool. In addition, the heterogeneous instruction set is convenient to expand, the support to various complex technical routes can be realized, diversified calculation requirements are met, and meanwhile fairness of overall scheduling of calculation resources is realized.
Drawings
FIG. 1 is a Fabric architecture diagram of a decentralized system according to the present invention, based on different heterogeneous instruction sets;
FIG. 2 is a diagram illustrating a data structure of a ledger book based on a decentralization technique in a decentralization method based on different heterogeneous instruction sets according to the present invention;
FIG. 3 is a transaction flow diagram illustrating a decentralized technique in a decentralized method based on different heterogeneous instruction sets according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar modules or modules having the same or similar functionality throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the application include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Example 1
In this embodiment, a decentralized system based on different heterogeneous instruction sets is provided, as shown in fig. 1, based on decentralized technologies of heterogeneous instruction sets such as LoongArch, alpha, ARM, and x86, and is divided into an infrastructure access layer, a business logic processing layer, and an interface interaction layer according to an overall architecture. Through the design of a system architecture and each functional module, the whole decentralized technology based on four main current domestic instruction sets (LoongArch, alpha, ARM and x86) is completed, and various problems of a multi-instruction-set heterogeneous system in the background of the innovation are solved.
The infrastructure access layer is built based on a LoongArch server, an alpha server, an ARM server and an x86 server, and is used for deploying servers of different heterogeneous instruction sets and storing block chain service data by using decentralized storage characteristics. And each server of the infrastructure access layer follows a distributed block chain ledger of the Fabric protocol, and server deployment of different heterogeneous instruction sets of the alliance nodes is realized.
The business logic processing layer is connected with the infrastructure access layer through the client side, and the business logic processing layer is used for block chain business network design and business process management design. The block chain service network design is based on a Fabric network protocol of an infrastructure access layer, a Hyperbridge Composer component tool is used for designing a service network of the infrastructure access layer and providing a service network service interface, and the service network service interface can be understood as an access interface between the service network service interface and the infrastructure access layer so as to store or access block chain service data in the infrastructure access layer through the service network; the business process management design uses micro-service technology to perform service arrangement and combination on business network service interfaces and realize intelligent contract process management on an interface interaction layer.
The interface interaction layer is used for designing a browser-side page of each functional module service logic, and further, a user can realize the block chain service logic of the infrastructure access layer through page operation at the browser side. Specifically, the interface interaction layer comprises an identity management function module, an account book management function module, a transaction management function module and an intelligent contract function module, wherein the intelligent contract function module is used for realizing intelligent contract process management.
Example 2
On the basis of the decentralized system based on different heterogeneous instruction sets provided in embodiment 1, in this embodiment, a decentralized method based on different heterogeneous instruction sets is further provided, and specifically, the method is a block chain service data processing method based on Fabric protocol, and includes:
s1: establishing a decentralized Fabric Block chain network by block chain link points positioned on different heterogeneous instruction set servers, wherein the Fabric Block chain network is used for storing and accessing system platform data information; the Fabric blockchain network is built for a virtual machine resource pool based on the LoongArch, alpha, ARM and x86 heterogeneous instruction sets.
The method for building the Fabric Block Link network comprises the following steps:
s101: respectively constructing a plurality of virtual machines on each physical server of LoongArch, alpha, ARM and x86 heterogeneous instruction sets through virtualization software, and specifically constructing 6 virtual machines meeting memory requirements on each physical server;
s102: installing a 64-bit domestic kylin operating system on each virtual machine, downloading and installing super book software meeting the requirements of the Fabric protocol version, for example: hyperhedger Composer component tool;
s103: selecting 3 virtual machines from 6 virtual machines constructed by the same physical server by using a Docker container technology, wherein the 3 virtual machines are respectively provided with 3 Peer nodes which are respectively a master node (Leader Peer), an endorsement node (Endorser Peer) and an accounting node (Committer Peer); the other 3 virtual machines are respectively provided with a CA node, a state database node and a sequencing service node, wherein the CA node is responsible for performing authorization and authentication on all nodes added into the chain; the state database node (CouchDB) is used to store chaincode values modeled as JSON data, such as: an asset; the sequencing service node provides ACL access control and ensures the data consistency on each Peer node through transaction sequencing.
S2: constructing a service network meeting the function requirement of the blockchain application system by using a Hyperleader Composer component tool and deploying the service network in the Fabric blockchain network;
s3: using a Web application development technology and a business process management technology to perform service arrangement and combination on a business network service interface so as to complete the building of the block chain application system function of an interface interaction layer;
s4: and carrying out browser-side page design on each functional module in the block chain application system of the interface interaction layer so as to establish an alliance chain platform based on the distributed block chain account book.
In order to implement a decentralized Fabric blockchain network, each server employs an account book data structure of a decentralized technology, as shown in fig. 2, which includes: block chain Data (Blockchain Data), status Data and index Data, the block chain Data is also called ledger Data, and comprises a plurality of blocks, and each block is connected to form a chain Data structure, namely: the data processing system comprises a chain data structure formed by connecting blocks (blocks) one by one, and one or a group of ordered and non-falsifiable records are stored in each Block. Each block chain data only corresponds to one multiple instruction set channel, and the transaction among the blocks in the block chain data is completed in the multiple instruction set channel. Each multiple instruction set channel (channel) has only one account book data, and the same account book data is established at the peer point of each joined block in the multiple instruction set channel (channel).
Each block contains three parts of data, which are: block header, transaction data, and metadata. Each block header contains a Hash value pointing to the previous block header, so that the blocks together form a complete Chain (Chain). For the complete chain data structure, the generated data cannot be modified, only can be inquired, and when a new block is generated, the new block is attached to the tail end of the chain, so that the chain gradually grows, and finally, a complete transaction record is formed. All requests for data state changes that are the result of intelligent contract invocation transactions approved by all participants generate ordered and non-tamperable records that are saved in blockchain data. Each transaction will produce a set of Key/Value Key-Value pairs that are synchronized to all ledger data as a create, update or delete operation.
The status data (State Database), also called World State (World State), is saved in a status Database node (CouchDB), which is modifiable, by means of which the latest results after all transactions have been completed are saved, all in the form of Key/Value Key-Value pairs. When a new transaction is generated, the peer node modifies the state database node according to the latest transaction information so as to reflect the transaction result; when a detailed transaction record is needed, it is queried in the blockchain data.
Index data (Index Database) is used for fast positioning when searching for the data of the block chain, so as to speed up the search. Two types of data are stored in the index data, one type is a block index, and the related information of the block is inquired in the block chain data through the block index, for example: block hash value, block number, transaction number, etc. The other is trace index, which is considered as an extension of the block index, which can query the history of each Key for trace information in the state data.
The Multi-Channel (i.e., Multi-Channel) corresponding to the blockchain data not only supports the application of different heterogeneous instruction set servers such as LoongArch, alpha, ARM, and x86, but also does not violate the Fabric blockchain protocol. In the Fabric protocol, a multiple-instruction-set channel is a private "subnet" of communications between two or more blocks for transactions requiring data security, defined collectively by the blocks, anchor points for each block, shared ledgers, chain code applications, and sequencing service nodes. Each transaction on the same Fabric blockchain network is executed on a multiple instruction set channel on which each correspondent must be authenticated and authorized to conduct transactions. To create a new multiple instruction set channel, the client SDK calls a Configuration System Chain Code (CSCC) and reference attributes, such as anchor and member (organization), and selects a server (a LoongArch, alpha, ARM, or x86 virtual machine) according to load balancing policies such as polling, random, weighted, least active number, or consistent hash.
A master node (Leader Peer) is elected in the multiple instruction set channel according to the Fabric protocol to communicate with the Ordering Service on behalf of the member. The consensus service orders and sends the transactions in a Block (Block) to a master node (leader peer), which then distributes them to its member peer nodes. While any one anchor may belong to multiple-instruction-set channels, and thus build multiple ledger data, no ledger data may pass from one multiple-instruction-set channel to another. The isolated data includes transaction information, ledger status, and channel membership data that is restricted to propagation between peer nodes on the channel that have verifiable membership. Isolating peer nodes and ledger data through a channel allows network members that require private and confidential transactions to coexist with business competitors and other restricted members on the same blockchain network.
The multi-instruction-set channel supports a heterogeneous communication mechanism of multi-instruction sets and connects the peer node and the sequencing service node to form a virtual communication link according to the Fabric protocol. Specifically, the data in each multiple instruction set channel may be processed on a different instruction set and isolated from other multiple instruction set channels, and the data may be stored separately, thereby forming a single sub-ledger. Essentially, each multiple instruction set channel has an independent ledger data, namely: ledger data may be created and bound to correspond to one multiple instruction set channel. The account book data are separated according to different channel multi-instruction sets, defined and realized by configuration channel, identification number service and gossip data transmission protocols, so that different instruction sets are intercommunicated (data in each multi-instruction set channel can be processed on different instruction sets), and balance of calculation and storage resources is guaranteed.
As shown in fig. 3, the above-mentioned decentralized transaction flow of the Fabric blockchain network includes:
a1: the client constructs a transaction proposal using any SDK, which can be understood as an access interface between the infrastructure access layer and the business logic processing layer. For example: the transaction proposal is a request to call an intelligent contract function to determine which data can be read from or written to ledger data. The transaction proposal comprises contract identification, contract method and parameter information, client signature and the like to be called by the transaction, and the SDK packages the transaction proposal into a recognizable format and generates a unique signature for the transaction proposal by using the encryption certificate of the user.
A2: sending the transaction proposal to an endorsement node on one or more different instruction set virtual machines;
a3: after the endorsement node (endorserper) receives the transaction proposal, the signature is verified and it is determined whether the submitter is authorized to perform the operation. The endorsement node takes the parameters of the transaction proposal as input, executes the transaction on the current state database node (CouchDB), generates transaction results (account book data cannot be updated at the moment) comprising an execution return value, a read operation set and a write operation set, returns the value set, the signature of the endorsement node and the endorsement result (YES/NO) as the proposal result to the client side SDK, and the SDK analyzes the information to judge whether the information is applied to subsequent transactions;
a4: the application program of the client verifies the endorsement node signature by using the SDK, compares the proposal results returned by the nodes, judges whether the proposal results are consistent and whether the proposal results are executed by referring to the appointed endorsement strategy, and if so, packages the proposal results into a batch of transactions and signs and sends the transaction batch to the ordering service node after the client receives the response of each endorsement node;
a5: the sequencing service node sequences the received transactions (for example, a message is delivered to a LoongArch endorsement node according to the 'heat' of different CPU instruction set virtual machines), then packages a batch of transactions according to a block generation strategy, generates a new block and sends the new block to an accounting node;
a6: and after all verification passes, the block is added to local block chain data, and the state database is modified.
It should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present application includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A decentralized system based on different heterogeneous instruction sets, the system comprising:
the infrastructure access layer is used for deploying servers of different heterogeneous instruction sets and storing block chain service data by using decentralized storage characteristics;
the service logic processing layer is used for block chain service network design and service flow management design, and the service logic processing layer establishes access connection with the infrastructure access layer through the client;
the interface interaction layer is used for designing a browser-side page of each functional module business logic;
the block chain service network design designs a service network of an infrastructure access layer and provides a service network service interface, and block chain service data are stored or accessed through the service network; the business process management design carries out service arrangement and combination on business network service interfaces and realizes intelligent contract process management on an interface interaction layer.
2. The disparate instruction set-based decentralized system according to claim 1, wherein said interface interaction layer comprises an identity management function module, a ledger management function module, a transaction management function module and an intelligent contract function module.
3. The disparate instruction set-based decentralized system according to claim 1, wherein said infrastructure access layer comprises a distributed blockchain ledger that conforms to a Fabric protocol.
4. The heterogeneous instruction set based decentralized system according to claim 1, wherein said infrastructure access layer is built based on a LoongArch server, an alpha server, an ARM server, and an x86 server.
5. A decentralization method based on different heterogeneous instruction sets, which is applied to the decentralization system based on different heterogeneous instruction sets according to any one of claims 1 to 4, and comprises the following steps:
s1: building a decentralized Fabric Block chain network by block chain link points on different heterogeneous instruction set servers;
s2: constructing a service network meeting the function requirement of the blockchain application system by using a Hyperleader Composer component tool and deploying the service network in the Fabric blockchain network;
s3: using a Web application development technology and a business process management technology to perform service arrangement and combination on a business network service interface so as to complete the function building of a block chain application system of an interface interaction layer;
s4: and carrying out browser-side page design on each functional module in the block chain application system of the interface interaction layer so as to establish an alliance chain platform based on the distributed block chain account book.
6. The decentralized method according to claim 5, wherein the method for building the Fabric blockchain network comprises:
s101: respectively constructing a plurality of virtual machines on each physical server of LoongArch, alpha, ARM and x86 heterogeneous instruction sets through virtualization software;
s102: installing an operating system on each virtual machine, downloading and installing super account book software meeting the requirement of the Fabric protocol version;
s103: respectively deploying Peer nodes, CA nodes, state database nodes and sequencing service nodes on a plurality of virtual machines constructed by the same physical server by using a Docker container technology;
the CA node is responsible for performing authorization and authentication on all nodes added into the chain; the state database node is used for storing the chain code value modeled as JSON data; the sequencing service node provides ACL access control and ensures the data consistency on each Peer node through transaction sequencing.
7. The heterogeneous instruction set based decentralized method according to claim 6, wherein the ledger data structure of said server comprises:
the block chain data comprises a plurality of blocks, each block is connected to form a chain data structure, and one or a group of ordered and non-falsifiable records are stored in each block;
state data, wherein the state data is stored in a state database node, the latest results after all transactions are completed are stored through the state data, and the latest results exist in a Key/Value Key Value pair mode;
index data, wherein two types of data are stored in the index data, one type is tracking information of a historical record of each Key, and the other type is related information of a block;
each block chain data only corresponds to one multiple instruction set channel, and the transaction among the blocks in the block chain data is completed in the multiple instruction set channel.
8. The disparate instruction set based decentralization method of claim 7, wherein the multiple instruction set channels are private "subnets" of communication between two or more blocks in a Fabric protocol for conducting transactions requiring data privacy, defined collectively by the blocks, anchor points for each block, shared ledgers, chain code applications, and sequencing service nodes.
9. The heterogeneous instruction set based decentralized method according to claim 8, wherein said multiple instruction set channel supports heterogeneous communication mechanism of multiple instruction sets and connects peer node and sequencing service node to form a virtual communication link following Fabric protocol.
10. The heterogeneous instruction set based decentralized method according to claim 6, wherein the decentralized transaction flow of said Fabric blockchain network is:
a1: the client constructs a transaction proposal by using any SDK;
a2: sending the transaction proposal to an endorsement node on one or more different instruction set virtual machines;
a3: after the endorsement node receives the transaction proposal, verifying the signature and determining whether the submitter is authorized to execute the operation;
a4: after receiving the response of each endorsement node, the client end packages the endorsement nodes to form a batch of transactions, signs the transactions and sends the transactions to the ordering service node;
a5: the sequencing service node sequences the received transactions, packages a batch of transactions according to a block generation strategy, generates a new block and sends the new block to the accounting node;
a6: and after all verification passes, the block is added to local block chain data, and the state database is modified.
CN202210661376.1A 2022-06-13 2022-06-13 Decentralized system and method based on different heterogeneous instruction sets Pending CN115065690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210661376.1A CN115065690A (en) 2022-06-13 2022-06-13 Decentralized system and method based on different heterogeneous instruction sets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210661376.1A CN115065690A (en) 2022-06-13 2022-06-13 Decentralized system and method based on different heterogeneous instruction sets

Publications (1)

Publication Number Publication Date
CN115065690A true CN115065690A (en) 2022-09-16

Family

ID=83200048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210661376.1A Pending CN115065690A (en) 2022-06-13 2022-06-13 Decentralized system and method based on different heterogeneous instruction sets

Country Status (1)

Country Link
CN (1) CN115065690A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002119A (en) * 2022-08-01 2022-09-02 云上人和物联科技有限公司 Decentralized system and method based on different heterogeneous instruction sets
CN115150395A (en) * 2022-06-08 2022-10-04 南京大学 HyperLegger Fabric protection accelerator based on batch scheduling
CN116346369A (en) * 2023-05-31 2023-06-27 湖南天河国云科技有限公司 Block chain construction method, block chain construction system and block chain system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717466A (en) * 2018-06-05 2018-10-30 中国平安人寿保险股份有限公司 Collage-credit data storage method, device, computer equipment and storage medium
CN110288307A (en) * 2019-05-13 2019-09-27 西安电子科技大学 Intelligent contract co-development system and data processing method based on Fabric block chain
CN111476548A (en) * 2020-04-16 2020-07-31 山东师范大学 Title review method and system based on block chain
CN112883116A (en) * 2021-02-24 2021-06-01 深圳市爱云信息科技有限公司 Supply chain finance AI DaaS algorithm warehouse platform based on block chain
WO2021128733A1 (en) * 2019-12-28 2021-07-01 南京理工大学 Hyperledger fabric blockchain private data storage and access system and method therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717466A (en) * 2018-06-05 2018-10-30 中国平安人寿保险股份有限公司 Collage-credit data storage method, device, computer equipment and storage medium
CN110288307A (en) * 2019-05-13 2019-09-27 西安电子科技大学 Intelligent contract co-development system and data processing method based on Fabric block chain
WO2021128733A1 (en) * 2019-12-28 2021-07-01 南京理工大学 Hyperledger fabric blockchain private data storage and access system and method therefor
CN111476548A (en) * 2020-04-16 2020-07-31 山东师范大学 Title review method and system based on block chain
CN112883116A (en) * 2021-02-24 2021-06-01 深圳市爱云信息科技有限公司 Supply chain finance AI DaaS algorithm warehouse platform based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150395A (en) * 2022-06-08 2022-10-04 南京大学 HyperLegger Fabric protection accelerator based on batch scheduling
CN115150395B (en) * 2022-06-08 2023-08-22 南京大学 Hyperledger Fabric protection accelerator based on batch scheduling
CN115002119A (en) * 2022-08-01 2022-09-02 云上人和物联科技有限公司 Decentralized system and method based on different heterogeneous instruction sets
CN116346369A (en) * 2023-05-31 2023-06-27 湖南天河国云科技有限公司 Block chain construction method, block chain construction system and block chain system

Similar Documents

Publication Publication Date Title
CN115065690A (en) Decentralized system and method based on different heterogeneous instruction sets
Yang et al. A survey on blockchain-based internet service architecture: requirements, challenges, trends, and future
CN110915166B (en) Block chain
CN110226168B (en) System and method for providing interfaces for blockchain cloud services
Yu et al. Virtualization for distributed ledger technology (vDLT)
CN108540536B (en) Block chain-based network mass service processing method, equipment and storage medium
Fu et al. SHARP: An architecture for secure resource peering
JP5160134B2 (en) Dynamic access control for content-based publish / subscribe systems with guaranteed delivery
CN111400112B (en) Writing method and device of storage system of distributed cluster and readable storage medium
Enes et al. State-machine replication for planet-scale systems
US8195742B2 (en) Distributed client services based on execution of service attributes and data attributes by multiple nodes in resource groups
CN109347909B (en) Working method of PROXZONE service platform
Zhang Interaction design research based on large data rule mining and blockchain communication technology
CA2568970C (en) Managing information in a multi-hub system for collaborative planning and supply chain management
CN103685535A (en) Interface design of cloud database system for large-scale distributed heterogeneous data treatment
CN114978638B (en) Block chain cross-chain supervision method based on shared node
CN115695139A (en) Method for enhancing micro-service system architecture based on distributed robust
WO2020042929A1 (en) Block chain system
CN112565368B (en) Block chain based offshore equipment ad hoc network system, method and medium
CN111667255B (en) Digital asset transfer system and method based on alliance chain
CN113037824A (en) High-performance block chain architecture method for cloud computing
KR102119456B1 (en) Distributed Broker Coordinator System and Method in a Distributed Cloud Environment
CN115002119A (en) Decentralized system and method based on different heterogeneous instruction sets
CN105847428A (en) Mobile cloud platform
Huai et al. CROWN: A service grid middleware with trust management mechanism

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