CN112184433A - Block chain system - Google Patents
Block chain system Download PDFInfo
- Publication number
- CN112184433A CN112184433A CN202010900248.9A CN202010900248A CN112184433A CN 112184433 A CN112184433 A CN 112184433A CN 202010900248 A CN202010900248 A CN 202010900248A CN 112184433 A CN112184433 A CN 112184433A
- Authority
- CN
- China
- Prior art keywords
- transaction
- chain
- processing module
- main chain
- side chains
- 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
Links
- 230000000977 initiatory effect Effects 0.000 claims description 5
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to the technical field of block chains, and discloses a block chain system, which comprises: the system comprises a main chain, a transaction processing module and a plurality of side chains, wherein the side chains are connected with the main chain through the transaction processing module, the transaction processing module stores respective account addresses of a main chain user and a side chain user and is used for allocating a temporary account for each transaction during the transaction, and the main chain, the side chains and the side chains are mutually independent. In the block chain system, the main chain and the side chain operate independently, the main chain and the side chain trade through the trade processing module, the account address of each chain user is managed through the trade processing module, a temporary account is generated during trading, main chain resources are not occupied, occupation of space resources of the whole system is reduced, and therefore performance of the whole block chain system is improved.
Description
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain system.
Background
Traditional BTC (bitcoin) and ETH (ether house) all adopt a single-chain scheme that nodes of a whole network share a blockchain, each node on the network needs to process and store all transactions and all data of the whole network, and the processing capacity of the whole blockchain system is actually limited by the processing capacity of a single computing node. In addition, under the influence of the consensus algorithm, as the number of nodes increases, the overall processing capacity of the blockchain system is not improved, or even reduced. In order to avoid the above problems, the whole blockchain is divided into a plurality of (e.g. 100) segments, and transactions are processed independently in each segment, but the number of the segments is fixed and cannot be dynamically expanded, so that the occupation of main chain resources is affected, and the processing performance of the blockchain system cannot be fundamentally improved.
The existing side chain technology generates a plurality of side chains independent from a main chain in a blockchain system, so that the performance of data transaction and processing in the chain is improved, but the transaction between different side chains and the transaction between the main chain and the side chains still need to be carried out in the main chain system, and the resource of the main chain is consumed, so the performance of the main chain is still influenced, and particularly when the transaction number is large, the performance of the whole blockchain system cannot be improved.
Disclosure of Invention
The invention provides a blockchain system, which solves the problem that the processing performance of the blockchain system cannot be improved along with increase of transaction and data volume in the prior art.
The invention provides a block chain system, comprising: the system comprises a main chain, a transaction processing module and a plurality of side chains, wherein the side chains are connected with the main chain through the transaction processing module, the transaction processing module stores respective account addresses of a main chain user and a side chain user and is used for allocating a temporary account for each transaction during the transaction, and the main chain, the side chains and the side chains are mutually independent.
Wherein, still include: and the chain adapter is connected with the transaction processing module and the side chain and is used for providing transaction interfaces of the main chain and different types of side chains for the transaction processing module.
The transaction processing module is also used for counting down for the current transaction when the side chain is transacted with the main chain or the side chain is transacted with the other side chain, and if the transaction is not completed within the preset time, the transaction is terminated.
And the transaction processing module is also used for generating a timer for the temporary account corresponding to each transaction, logging off the corresponding temporary account when the timer reaches the preset time or the transaction is completed, and sending a message of transaction termination to the user initiating the transaction.
Wherein the main chain and the side chain verify the validity of the transaction in the temporary account.
Wherein each depocenter application corresponds to a side chain individually.
In the block chain system, the main chain and the side chain operate independently, the main chain and the side chain trade through the trade processing module, the account address of each chain user is managed through the trade processing module, a temporary account is generated during trading, main chain resources are not occupied, occupation of space resources of the whole system is reduced, and therefore performance of the whole block chain system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block chain system structure diagram according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The block chain system of the present embodiment is shown in fig. 1, and includes: the system comprises a main chain 1, a transaction processing module 2 and a plurality of side chains 3, wherein the side chains 3 are connected with the main chain 1 through the transaction processing module 2, account addresses of a main chain user and side chain users are stored in the transaction processing module 2, and after the users register block chains of different types (such as bitcoin and Ether type), the transaction processing module 2 generates account address information of the corresponding accounts of the users in the different type chains. The transaction processing module 2 is used for allocating a temporary account for each transaction during the transaction. In the system, the main chain 1, the side chains 3 and the side chains 3 are independent of each other, i.e. there are independent operating resources, independent consensus mechanisms and independent blockchain parameters, such as: block spacing, block awards, the direction of transaction fees, etc.
In the block chain system of the embodiment, the main chain 1 and the side chain 2 operate independently, the main chain 1 and the side chain 3, the side chain 3 and the other side chain 3 trade through the trade processing module 2, account addresses of users of all chains are managed through the trade processing module 2, a temporary account is generated during trading, main chain resources are not occupied, occupation of space resources of the whole system is reduced, and therefore performance of the whole block chain system is improved. Of course, the intra-chain transaction is the same as the existing transaction process and is not performed by the transaction processing module 2.
In the case of different types of chains and transactions between chains, the blockchain system of the embodiment further includes: and the chain adapter 4 is connected with the transaction processing module 2 and the side chain 3, and is used for providing a transaction interface between the main chain 1 and the side chains 3 of different types for the transaction processing module 2. The chain adapter 4 acts like a device driver for a computer and converts the protocol of the side chain 3 into a program that is easier to invoke than its different type of main chain 1 or side chain 3.
The transaction processing module 2 is further configured to count down for the current transaction when the side chain 3 and the main chain 1 are transacted or the side chain 3 and the other side chain 3 are transacted, and terminate the transaction if the transaction is not completed within a predetermined time. For example, a Hash Time Lock Contract technique in a bitcoin system may be used, each transaction is locked within a certain Time by the Hash Time Lock Contract and is completed, and if the transaction is not completed, the transaction is terminated, thereby improving the security during the transaction.
The transaction processing module 2 also generates a timer for the temporary account corresponding to each transaction, cancels the corresponding temporary account after the timer reaches a preset time (the transaction is not completed within the preset time) or the transaction is completed, sends a message of transaction termination to a user initiating the transaction, cancels the temporary account in time, releases the space, generates the temporary account along with the initiation of each transaction, releases the temporary account after the initiation, and prevents a hacker from locking the temporary account in advance to initiate an attack.
The main chain 1 and the side chain 3 verify the validity of the transaction in the temporary account, the cross-chain transaction is verified in the temporary account, and after the verification is passed, each chain is respectively booked. Specifically, taking an example that a side chain 3 initiates a transaction to a main chain 1, a user a of the side chain 3 initiates a transaction to a user B of the main chain 1, the user a of the side chain 3 broadcasts transaction contents in the chain, and simultaneously sends the transaction contents to a temporary account of a transaction processing module 2, the transaction processing module 2 queries the user B from the transaction contents and notifies the user B, the user B checks the transaction contents and broadcasts the transaction contents in the chain, other users of the side chain 3 and other users of the main chain 1 verify whether the transaction contents are consistent in the temporary account during verification, if so, the user B receives the transaction contents, users of each chain respectively, otherwise, a message for canceling the transaction is sent to the transaction processing module 2, when the transaction processing module 2 receives that the number of the messages for canceling the transaction sent by the user of the side chain 3 is greater than or equal to 51% of the number of the users of the side chain 3, the accounting of the transaction is, or the transaction processing module 2 cancels the transaction when receiving that the number of the messages for canceling the transaction sent by the user of the main chain 1 is more than or equal to 51 percent of the number of the users of the main chain 1.
In the blockchain system, preferably, each decentralized application (Dapp) corresponds to a side chain independently, each Dapp has a set of personalized account book and Token, and the consensus mechanism, the blockchain parameters and the transaction types can be customized and dynamically expanded, so that the expansibility of the blockchain system is greatly enhanced without affecting the performance of the system.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (6)
1. A blockchain system, comprising: the system comprises a main chain, a transaction processing module and a plurality of side chains, wherein the side chains are connected with the main chain through the transaction processing module, the transaction processing module stores respective account addresses of a main chain user and a side chain user and is used for allocating a temporary account for each transaction during the transaction, and the main chain, the side chains and the side chains are mutually independent.
2. The blockchain system of claim 1, further comprising: and the chain adapter is connected with the transaction processing module and the side chain and is used for providing transaction interfaces of the main chain and different types of side chains for the transaction processing module.
3. The blockchain system of claim 2, wherein the transaction processing module is further configured to count down for a current transaction when a sideline is transacting with the main chain or a sideline is transacting with another sideline, and terminate the transaction if the transaction is not completed within a predetermined time.
4. The blockchain system of claim 3, wherein the transaction processing module is further configured to generate a timer for each temporary account corresponding to each transaction, log off the corresponding temporary account when the timer reaches the predetermined time or after the transaction is completed, and send a message of transaction termination to the user initiating the transaction.
5. The blockchain system of claim 2, wherein the main chain and side chain verify the validity of a transaction in the temporary account.
6. A blockchain system as in any one of claims 1 to 5 wherein each decentralizing application is individually associated with a side chain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010900248.9A CN112184433A (en) | 2020-08-31 | 2020-08-31 | Block chain system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010900248.9A CN112184433A (en) | 2020-08-31 | 2020-08-31 | Block chain system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112184433A true CN112184433A (en) | 2021-01-05 |
Family
ID=73924029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010900248.9A Pending CN112184433A (en) | 2020-08-31 | 2020-08-31 | Block chain system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112184433A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107886388A (en) * | 2017-09-22 | 2018-04-06 | 杭州云象网络技术有限公司 | The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain |
CN109493050A (en) * | 2018-11-21 | 2019-03-19 | 北京蓝石环球区块链科技有限公司 | Transfer process based on the more subchains of block chain main chain adduction row |
CN110059494A (en) * | 2019-04-17 | 2019-07-26 | 深圳市路云区链网络科技有限公司 | A kind of method for secret protection and block catenary system of block chain transaction data |
CN110266655A (en) * | 2019-05-30 | 2019-09-20 | 中国工商银行股份有限公司 | A kind of across chain interconnected method, equipment and system based on block chain |
CN110959164A (en) * | 2017-07-18 | 2020-04-03 | 区块链控股有限公司 | System and method for a blockchain dependent operation set |
CN111401895A (en) * | 2020-03-11 | 2020-07-10 | 北京价值互联科技有限公司 | Decentralized chain-crossing transfer-in and transfer-out method and system |
-
2020
- 2020-08-31 CN CN202010900248.9A patent/CN112184433A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110959164A (en) * | 2017-07-18 | 2020-04-03 | 区块链控股有限公司 | System and method for a blockchain dependent operation set |
CN107886388A (en) * | 2017-09-22 | 2018-04-06 | 杭州云象网络技术有限公司 | The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain |
CN109493050A (en) * | 2018-11-21 | 2019-03-19 | 北京蓝石环球区块链科技有限公司 | Transfer process based on the more subchains of block chain main chain adduction row |
CN110059494A (en) * | 2019-04-17 | 2019-07-26 | 深圳市路云区链网络科技有限公司 | A kind of method for secret protection and block catenary system of block chain transaction data |
CN110266655A (en) * | 2019-05-30 | 2019-09-20 | 中国工商银行股份有限公司 | A kind of across chain interconnected method, equipment and system based on block chain |
CN111401895A (en) * | 2020-03-11 | 2020-07-10 | 北京价值互联科技有限公司 | Decentralized chain-crossing transfer-in and transfer-out method and system |
Non-Patent Citations (1)
Title |
---|
OK区块链商学院: "OK区块链60讲 | 第25集:什么是闪电网络?", 《HTTPS://MP.WEIXIN.QQ.COM/S/7ETEQL2VH1A1JB8LMEGMKQ》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11451400B2 (en) | Blockchain transaction method and apparatus | |
US11632441B2 (en) | Methods, systems, and devices for electronic note identifier allocation and electronic note generation | |
JP7434448B2 (en) | System and method for parallel verification of blockchain transactions | |
US11025714B2 (en) | System and method for announcing cryptographic keys on a blockchain | |
CN111615817B (en) | Method and apparatus for cross-ledger transfer between distributed ledgers and systems using cross-ledger transfer | |
US12093247B2 (en) | Blockchain system and method | |
CN109242685B (en) | Block chain-based consensus and verification method and device | |
CN113874898A (en) | Computer-implemented system and method for effecting transfers over blockchain networks | |
CN107493340B (en) | Data distribution verification method, device and system in block chain network | |
CN110741573B (en) | Method and system for selectively propagating transactions using network coding in a blockchain network | |
CN110851537A (en) | Consensus method based on block chain fragmentation technology | |
US20190287099A1 (en) | Distributed ledger update method | |
CN108600315B (en) | Block link route processing method, device and storage medium | |
EP3709595A1 (en) | Secure route identification method and device | |
CN112087502B (en) | Method, device and equipment for processing request and storage medium | |
CN110570311B (en) | Block chain consensus method, device and equipment | |
CN113242305B (en) | Cross-chain transaction processing method, device, computer equipment and medium | |
CN112187453A (en) | Digital certificate updating method and system, electronic equipment and readable storage medium | |
CN112417052A (en) | Data synchronization method, device, equipment and storage medium in block chain network | |
CN112184433A (en) | Block chain system | |
EP4244750A1 (en) | Methods for verifying database query results and devices thereof | |
CN111510306B (en) | Offline signature method and device based on block chain | |
CN117376366A (en) | Block chain transaction processing method, device, medium and electronic equipment | |
CN114328731A (en) | Information processing method, device, electronic equipment and storage medium | |
CN110535664B (en) | Data processing method and device based on block chain, server and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210105 |
|
RJ01 | Rejection of invention patent application after publication |