Intelligent blockchain framework generation method and system
Customized personalized blockchain framework through a visual web interface, adopting unified interface and modular design, solving the problems of blockchain unified framework and cross-chain communication, achieving diversified adaptation and standardization, which is convenient for popularization and application.
Patent Information
- Application Number
- PCT/CN2023/143733
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-04
- Filing Date
- 2023-12-31
- Publication Date
- 2025-02-13
AI Technical Summary
The existing technology is difficult to implement the unified framework and cross-chain communication of blockchain, resulting in the difficulty of interoperability and standardization.
Through the visual web interface, users can customize a personalized blockchain framework according to their needs, adopt unified interface standards and modular design to realize the cross-chain transactions and complex business functions of blockchain.
It realizes the diversified adaptation and unified communication interface of blockchain, promotes cross-chain interoperability and standardization of blockchain, reduces the cost of blockchain learning, and facilitates popularization and application.
Smart Images

Figure CN2023143733_13022025_PF_FP_ABST
Abstract
Description
A method and system for generating an intelligent blockchain framework Technical Field
[0001] The present invention relates to an intelligent blockchain framework generation method and system, which are applicable to the field of information technology. Background Art
[0002] From Bitcoin to the emergence of various blockchains, blockchain technology has garnered widespread attention and application. With technological advancements, people are beginning to realize the potential of blockchain technology beyond digital currencies. For example, the financial sector uses blockchain to improve transaction auditability and transparency. Healthcare utilizes blockchain frameworks focused on security and privacy, while the Internet of Things (IoT) requires blockchains that support large-scale device connectivity and high throughput. Different industries and sectors have specific requirements for this foundational technology, leading to the emergence of numerous different blockchain frameworks. However, this also presents challenges, such as interoperability, cross-chain communication, and blockchain standardization, which require further research and development. Therefore, there is an urgent need for a unified approach to building diverse blockchains while achieving a certain degree of uniformity in communication. This will not only provide a viable solution for future cross-chain and multi-chain interoperability initiatives, but also promote blockchain standardization.
[0003] Summary of the Invention
[0004] In order to overcome the shortcomings of the existing technology, the purpose of the present invention is to provide an intelligent blockchain framework generation method and system.
[0005] The technical solutions provided by the present invention to achieve the purpose of the invention are as follows:
[0006] A method for generating an intelligent blockchain framework uses a visual web interface to enable users to customize a personalized blockchain based on their needs. A blockchain solution is generated using a pre-set blockchain framework. The framework's unified interface standards are used to develop corresponding modules that meet production requirements based on actual needs. The underlying interface of the abstract communication module is used to implement cross-chain transactions between different blockchains. In the personalized blockchain, the customizable encapsulated blockchain modules include a block module, a consensus module, a communication module, an encryption module, and a contract module.
[0007] On the visual web interface, the generation steps include:
[0008] 1) Start;
[0009] 2) Choose whether to use the default configuration;
[0010] 3) If no, select one or more of the following: custom blocks, custom consensus mechanisms, custom communication protocols, and custom encryption algorithms to obtain the basic blockchain structure; if yes, obtain the basic blockchain structure;
[0011] 4) Choose whether to customize the components;
[0012] 5) If no, select the configured ledger storage method, customize the contract module, and generate the blockchain; if yes, generate the blockchain;
[0013] 6) End.
[0014] The block module is used to generate block content and realize a diversified block structure by configuring block size, block generation, and block storage;
[0015] The block size is used to set the size of the block and store the corresponding number of transactions.
[0016] Block generation: sorting transactions in the transaction pool according to transaction time, mining fee or custom transaction sorting strategy, and packaging blocks according to the configuration of block size, block time and transaction number;
[0017] The block storage mentioned above is the persistent storage location of the configuration block, including file and database storage.
[0018] The consensus module is used to implement a variety of consensus algorithms. It provides consensus libraries for existing blockchains, including PoS, PBFT, and Raft; or users can introduce consensus mechanisms for use in blockchain systems.
[0019] The communication module is used to implement the communication protocol between nodes, including responsible for transactions, identity, ledger status, consensus, and node discovery functions.
[0020] The encryption module includes symmetric encryption, asymmetric encryption, and hash algorithm;
[0021] Symmetric encryption algorithms are responsible for encrypting transactions, communications, and state data;
[0022] Asymmetric encryption algorithms are responsible for providing signature and verification functions;
[0023] The hash algorithm is responsible for performing hash operations on blocks and transactions.
[0024] The contract module is used to implement contract deployment and operation, and the contract language and contract execution environment are configured in this module.
[0025] A system adopting the intelligent blockchain framework generation method adopts a visual web interface to enable users to customize personalized blockchains according to their needs; generates blockchain solutions through a pre-set blockchain framework; adopts the framework's unified interface standards to develop corresponding modules that meet production requirements based on actual needs; abstracts the underlying interface of the communication module to achieve cross-chain transactions between different blockchains; in the personalized blockchain, the personalized custom encapsulated blockchain modules include a block module, a consensus module, a communication module, an encryption module, and a contract module.
[0026] Beneficial effects of the present invention:
[0027] (1) Allow users to generate blockchain frameworks through a visual interface, reduce the cost of blockchain learning, be friendly to users outside the blockchain field, and facilitate the popularization and application of blockchain.
[0028] (2) Each component module can be designed and implemented according to specific needs in a user-defined manner, allowing the blockchain to adapt to the needs of different fields.
[0029] (3) There is a unified communication interface and method for the blockchain generated by the platform, and it is easier to implement cross-chain transactions and more complex business functions for the chain generated by the framework. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] FIG1 is a flow chart of a method for generating an intelligent blockchain framework. Specific implementation plan
[0031] The present invention will be further described below with reference to the accompanying drawings and examples.
[0032] As shown in Figure 1, an intelligent blockchain framework generation system includes a block module, a consensus module, a communication module, an encryption module, and a contract module. (1) A visual web interface is used to enable users to customize blockchains according to their needs, which is friendly to users outside the blockchain field and better promotes the popularization and use of blockchains. (2) Through the pre-set blockchain framework solution, blockchain solutions can be quickly generated and quickly put into production and use. (3) The framework adopts a unified interface standard, allowing blockchain developers to develop corresponding modules that meet production requirements according to their actual needs. (4) The underlying interface of the abstract communication module lays the technical foundation for the subsequent framework to realize cross-chain transactions of different blockchains.
[0033] The block module implements a diversified block structure. In this module, three main parts are configured: (a) block size: users can set the size of the block body to store more transactions; (b) block generation: users sort transactions in the transaction pool according to transaction time, miner fees or custom transaction sorting strategies, and package blocks according to the configuration of block size, block time and number of transactions; (c) block storage: users can configure the persistent storage location of blocks (such as file or database storage).
[0034] The consensus module implements a variety of algorithms and provides support for existing blockchain consensus libraries, including PoS, PBFT, and Raft. Users can also implement their own consensus mechanism for use in the blockchain system.
[0035] The communication module implements the inter-node communication protocol, primarily responsible for functions such as transactions, identity, ledger status, consensus, and node discovery. The encryption module primarily offers three types of encryption algorithms: symmetric, asymmetric, and hashing. Symmetric encryption algorithms (such as AES and SM4) are responsible for encrypting transactions, communications, and status data; asymmetric encryption algorithms (such as ECDSA, SM2, and RSA) are responsible for signing and verifying signatures; and hashing algorithms (such as SHA-256 and SM3) are responsible for hashing blocks and transactions.
[0036] The contract module implements contract deployment and execution, primarily configuring the contract language and contract execution environment. Contract language options currently include Go, Node.js, Java, and Solidity, allowing users to write contracts in a variety of languages to reduce development learning costs. Contract execution environments can use Docker or EVM.
[0037] As shown in Figure 1, users use a visual interface to customize the blockchain. Choosing the default configuration generates a pre-defined blockchain structure. Otherwise, users must customize the block chain, consensus, communication, and encryption algorithms according to their needs. After generating the blockchain infrastructure, they need to customize the blockchain components, primarily the contract module and the ledger persistence method. If users choose to customize, they can implement a specific smart contract runtime environment based on the contract language and execution environment. Otherwise, a pre-existing contract solution will be generated, helping users quickly generate the blockchain framework and build a blockchain system.
[0038] The embodiments described above may be further combined or replaced, and the embodiments are merely descriptions of preferred embodiments of the present invention and do not limit the concept and scope of the present invention. Various changes and improvements made to the technical solutions of the present invention by persons of ordinary skill in the art without departing from the design concept of the present invention are intended to fall within the scope of protection of the present invention. The scope of protection of the present invention is defined by the appended claims and any equivalents thereof.
Claims
1. A method for generating an intelligent blockchain framework, characterized in that: Use a visual web interface to enable users to customize personalized blockchains according to their needs; generate blockchain solutions through a pre-set blockchain framework; use the framework's unified interface standards to develop corresponding modules that meet production requirements based on actual needs; The underlying interface of the abstract communication module is used to realize cross-chain transactions of different blockchains; in the personalized blockchain, the personalized custom encapsulated blockchain module includes a block module, a consensus module, a communication module, an encryption module and a contract module; On the visual web interface, the generation steps include: 1) Start; 2) Choose whether to use the default configuration; 3) If no, select one or more of the custom blocks, custom consensus mechanisms, custom communication protocols, and custom encryption algorithms to obtain the basic blockchain structure; if yes, obtain the basic blockchain structure; 4) Choose whether to customize the components; 5) If no, select the configuration ledger storage method, customize the contract module, and generate the blockchain; if yes, generate the blockchain; 6) End.
2. The method according to claim 1, characterized in that: The block module is used to generate block content and realize diversified block structure by configuring block size, block generation, and block storage; The block size is used to set the size of the block and store the corresponding number of transactions. The block generation described above: sorting the transactions in the transaction pool according to the transaction time, mining fee or custom transaction sorting strategy, and packaging the blocks according to the configuration of block size, block time and transaction quantity; The block storage described: configures the persistent storage location of the block, including file and database storage.
3. The method according to claim 1, characterized in that: The consensus module is used to implement a variety of consensus algorithms. In this module, consensus libraries for existing blockchains are provided, including PoS, PBFT, and Raft; or users can introduce consensus mechanisms for use in blockchain systems.
4. The method according to claim 1, characterized in that: The communication module is used to implement the communication protocol between nodes, including responsible for transactions, identity, ledger status, consensus, and node discovery functions.
5. The method according to claim 1, characterized in that: The encryption module includes symmetric encryption, asymmetric encryption, and hash algorithm; Symmetric encryption algorithms are responsible for encrypting transactions, communications, and state data; Asymmetric encryption algorithms are responsible for providing signature and signature verification functions; The hash algorithm is responsible for performing hash operations on blocks and transactions.
6. The method according to claim 1, characterized in that: The contract module is used to implement contract deployment and operation, and the contract language and contract execution environment are configured in this module.
7. A system using the intelligent blockchain framework generation method as claimed in claim 1, characterized in that: Use a visual web interface to enable users to customize personalized blockchains according to their needs; generate blockchain solutions through a pre-set blockchain framework; use the framework's unified interface standards to develop corresponding modules that meet production requirements based on actual needs; The underlying interface of the abstract communication module is used to realize cross-chain transactions of different blockchains; in the personalized blockchain, the personalized custom encapsulated blockchain module includes a block module, a consensus module, a communication module, an encryption module and a contract module.
Citation Information
Patent Citations
Blockchain chaining method
CN111159299A
Block chain customizable system
CN113947485A
Multimodal transport system and method based on block chain
CN114445010A
Block chain scheme based on modular design
CN115827775A
Block chain construction method, block chain construction system and block chain system
CN116346369A