CN113379423A - Block chain evolution method and system - Google Patents
Block chain evolution method and system Download PDFInfo
- Publication number
- CN113379423A CN113379423A CN202010163539.4A CN202010163539A CN113379423A CN 113379423 A CN113379423 A CN 113379423A CN 202010163539 A CN202010163539 A CN 202010163539A CN 113379423 A CN113379423 A CN 113379423A
- Authority
- CN
- China
- Prior art keywords
- transaction
- chain
- migration
- manager
- evolutionary
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000013508 migration Methods 0.000 claims abstract description 178
- 230000005012 migration Effects 0.000 claims abstract description 178
- 238000012545 processing Methods 0.000 claims abstract description 68
- 238000012795 verification Methods 0.000 claims description 40
- 230000008569 process Effects 0.000 claims description 22
- 239000000284 extract Substances 0.000 claims description 18
- 230000008901 benefit Effects 0.000 description 7
- 230000008014 freezing Effects 0.000 description 5
- 238000007710 freezing Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000001617 migratory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004806 packaging method and process Methods 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Technology Law (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a block chain evolution method, which comprises the steps of establishing an evolution chain and asset migration, wherein the asset migration is further divided into an emigration transaction processing module, an emigration transaction processing module and an asset migration completion module. The problem of original chain user asset loss when the block chain is updated is solved.
Description
Technical Field
The invention relates to the field of block chains, in particular to a block chain evolution method and a block chain evolution system.
Background
Blockchains are the most important infrastructure of the credit era and will carry all aspects of people's work and life, all the way away. The human society is continuously developing and changing, the basic characteristics of the blockchain are not changed, which leads to that under a specific scene in the future, the scene provided by the blockchain is not consistent with the scene actually changed by people, at this time, the scene supported by the blockchain needs to be updated, although the service scene of the blockchain can be expanded by means of adding transaction, upgrading contracts, expanding consensus, hard branching and the like on the chain, with the long-term continuous development of the era, the differences are inevitably accumulated to exceed the system range of the whole blockchain, so that the requirement of changing the service scene cannot be solved by only upgrading the blockchain by the means, at this time, the original user benefit is damaged by abandoning the original chain, and the user with the service lag change in the same chain is not willing to abandon the original chain, which leads to the situation of mutual input between the development of the blockchain and the actual user, blockchains are difficult to develop, the benefits among users on the chain are difficult to balance, and no benefit is obtained among various users. Therefore, how to solve the problem that the interests of old users are damaged when the block chain is developed to a certain stage and whether users on the same chain have difficulty in advancing and retreating caused by different requirements when the users are in the past or not is a problem which needs to be solved urgently.
Disclosure of Invention
The invention aims to provide a block chain evolution method, and the technical scheme of the invention comprises the following steps for solving the problems:
(1) creating an evolutionary chain: the method comprises the steps that an evolutionary chain manager creates a null transaction of an evolutionary chain, fills in created information, adds created information of a current chain into created information of the evolutionary chain, then the evolutionary chain manager loads created information of the evolutionary chain into the null transaction, uses a created account to sign the evolutionary chain transaction, then submits the signed transaction to the current chain, and a node of the current chain receives the transaction and processes the transaction through the evolutionary chain manager;
(2) the asset migration specifically comprises the following substeps:
(2.1) emigration transaction processing: creating a migration transaction by the original chain through the migration manager and sending the migration transaction to the created account, sending a migration transaction signature to the created account, sending the migration transaction to the current chain by the migration manager, receiving the migration transaction by the current chain, and processing the migration transaction by the migration manager;
(2.2) immigration transaction processing: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, and receives the immigration transactions by the evolutionary chain node and processes the transactions through the immigration manager;
(2.3) completion of asset migration: the migration manager completes processing of the migration transaction and thus completes migration of the account.
Further, the step of processing the transaction in step (1) is: the evolutionary chain manager extracts transaction content, verifies whether the transaction is legal and whether the transaction is signed by an established account, extracts evolutionary chain established information, verifies the legality of the established information and the legality of the original chain established information in the established information, discards the transaction if any verification item does not pass, and creates new chain information according to the evolutionary chain established information and completes established chain transaction processing if all the verification items pass.
Further, the step of processing the transaction in step (2.1) is: and the emigration manager verifies the legality of the emigration transaction, whether the emigration transaction has an established account signature, whether the residual assets of the emigration are greater than zero and whether the assets of the emigration are in an available state, if any verification item does not pass, the transaction is discarded, if all verification items pass, the emigration manager starts to process the accounts of the emigration, all the accounts of the emigration are frozen, the account processing of the emigration is finished, and the transaction processing of the emigration is finished.
Further, the step of processing the transaction in step (2.2) is: the migration manager extracts migration transaction information, verifies and checks whether the legality of migration transaction, whether evolution chain created account signature exists in migration transaction and whether migration transaction contains migration transaction, then, the credit manager verifies whether migration transaction is confirmed from an original chain, whether assets carried by migration transaction are consistent with migration transaction or not and whether original chain credit is equal to zero or not, if any verification item does not pass, transaction is abandoned, if all verification items pass, the financial manager verifies whether migration assets exist in the current evolution chain or not, if not, the financial manager creates the assets and allocates the total amount of the migration quantity to the assets, if yes, the financial manager adds the total amount to the assets, then, the financial manager allocates users in the current evolution chain, and the asset migration manager creates user information consistent with the original chain for the users in the current evolution chain, and completes the creation of account assets and information.
Further, the creation information in the step (1) includes creation accounts, block periods and creation nodes.
The invention also discloses a block chain evolutionary system, which comprises an evolutionary chain establishing module and an asset migration module, wherein the asset migration module is further divided into an emigration transaction processing submodule, an emigration transaction processing submodule and an asset migration completion submodule;
the work flow of the module for creating the evolutionary chain is as follows: the method comprises the steps that an evolutionary chain manager creates a null transaction of an evolutionary chain, fills in created information, adds created information of a current chain into created information of the evolutionary chain, then the evolutionary chain manager loads created information of the evolutionary chain into the null transaction, uses a created account to sign the evolutionary chain transaction, then submits the signed transaction to the current chain, and a node of the current chain receives the transaction and processes the transaction through the evolutionary chain manager;
the work flow of the emigration transaction processing submodule is as follows: creating a migration transaction by the original chain through the migration manager and sending the migration transaction to the created account, sending a migration transaction signature to the created account, sending the migration transaction to the current chain by the migration manager, receiving the migration transaction by the current chain, and processing the migration transaction by the migration manager;
the work flow of migrating the transaction processing submodule is as follows: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, and receives the immigration transactions by the evolutionary chain node and processes the transactions through the immigration manager;
the workflow of the asset migration completion submodule is as follows: the migration manager completes processing of the migration transaction and thus completes migration of the account.
Further, the step of processing the transaction in the module for creating the evolutionary chain is as follows: the evolutionary chain manager extracts transaction content, verifies whether the transaction is legal and whether the transaction is signed by an established account, extracts evolutionary chain established information, verifies the legality of the established information and the legality of the original chain established information in the established information, discards the transaction if any verification item does not pass, and creates new chain information according to the evolutionary chain established information and completes established chain transaction processing if all the verification items pass.
Further, the step of processing the transaction in the emigration transaction processing submodule is as follows: and the emigration manager verifies the legality of the emigration transaction, whether the emigration transaction has an established account signature, whether the residual assets of the emigration are greater than zero and whether the assets of the emigration are in an available state, if any verification item does not pass, the transaction is discarded, if all verification items pass, the emigration manager starts to process the accounts of the emigration, all the accounts of the emigration are frozen, the account processing of the emigration is finished, and the transaction processing of the emigration is finished.
Further, the step of migrating to the transaction processing submodule to process the transaction is as follows: the migration manager extracts migration transaction information, verifies and checks whether the legality of migration transaction, whether evolution chain created account signature exists in migration transaction and whether migration transaction contains migration transaction, then, the credit manager verifies whether migration transaction is confirmed from an original chain, whether assets carried by migration transaction are consistent with migration transaction or not and whether original chain credit is equal to zero or not, if any verification item does not pass, transaction is abandoned, if all verification items pass, the financial manager verifies whether migration assets exist in the current evolution chain or not, if not, the financial manager creates the assets and allocates the total amount of the migration quantity to the assets, if yes, the financial manager adds the total amount to the assets, then, the financial manager allocates users in the current evolution chain, and the asset migration manager creates user information consistent with the original chain for the users in the current evolution chain, and completes the creation of account assets and information.
Furthermore, the creation information in the module for creating the evolutionary chain comprises creation accounts, block periods and creation nodes.
The invention has the advantages that the effect that various users can freely select places when a chain faces casualty is realized, and simultaneously the effect that assets and information are transferred simultaneously when users on the chain migrate is also realized. The problem of original chain user asset loss when the block chain is updated is solved.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a block diagram of the system of the present invention;
FIG. 3 is a flow chart detail a of the present invention;
FIG. 4 is a flow chart detail b of the present invention;
FIG. 5 is a flow chart detail c of the present invention;
FIG. 6 is a flowchart detail d of the method of the present invention;
FIG. 7 is a detail view a of the architecture of the system of the present invention;
FIG. 8 is a detail view b of the system of the present invention;
FIG. 9 is a detail view c of the structure of the system of the present invention;
FIG. 10 is a detail view d of the architecture of the system of the present invention;
FIG. 11 is a diagram e illustrating the details of the system of the present invention;
fig. 12 is a diagram f showing the details of the structure of the system of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples. It should be noted that the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The invention designs an evolvable chain before the block chain is on-line, when the block chain is developed to a certain stage and is not adaptive to the environment any more, a new chain is newly designed, and simultaneously, users and assets on the original chain are allowed to be transferred to the new chain, and users unwilling to be transferred on the original chain continue to keep moving on the original chain.
Fig. 3 discloses a block chain evolution method according to an embodiment of the present invention, which includes the following steps:
s1, the evolutionary chain manager creates a null transaction of the evolutionary chain, fills in the created information, adds the created information of the current chain into the created information of the evolutionary chain, wherein the created information comprises created accounts, block periods and created nodes, then the evolutionary chain manager loads the created information of the evolutionary chain into the null transaction, uses the created accounts to sign the evolutionary chain transaction, then submits the signed transaction to the current chain, and the nodes of the current chain process the transaction through the evolutionary chain manager after receiving the transaction;
s2: creating a migration transaction by the original chain through the migration manager and sending the migration transaction to the created account, sending a migration transaction signature to the created account, sending the migration transaction to the current chain by the migration manager, receiving the migration transaction by the current chain, and processing the migration transaction by the migration manager;
s3: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, and receives the immigration transactions by the evolutionary chain node and processes the transactions through the immigration manager;
s4: the migration manager completes processing of the migration transaction and thus completes migration of the account.
Fig. 4 shows the steps of processing the transaction in S1 in this embodiment:
s11: the evolutionary chain manager extracts transaction contents and verifies the validity of the transaction and whether the transaction is signed by an established account;
s12: the evolutionary chain manager extracts evolutionary chain creation information and verifies the legality of the creation information and the legality of the original chain creation information in the creation information;
s13: if the random verification item does not pass, discarding the transaction;
s14: and if all the verification items pass, creating new chain information according to the evolutionary chain creation information and finishing creation chain transaction processing.
Fig. 5 shows the steps of processing the transaction in S2 in this embodiment:
s21: the migration manager verifies the validity of the migration transaction and whether the migration transaction has a created account signature;
s22: whether the migrator residual assets are greater than zero and whether the migrator assets are in an available state;
s23: if any of the verification terms fail, discarding the transaction;
s24: and if all the verification items pass, the migratory manager starts to process the account of the migrator, completely freezes the account of the migrator, finishes the processing of the account of the migrator and finishes the transaction processing of the migrator.
Fig. 6 shows the steps of processing the transaction in S3 in this embodiment:
s31: the immigration manager extracts immigration transaction information;
s32: verifying and checking the legality of the immigration transaction, whether the immigration transaction has an evolutionary chain created account signature, and whether the immigration transaction comprises an emigration transaction;
s33: verifying whether the emigration transaction is confirmed, whether the assets carried by the emigration transaction office are consistent with the emigration transaction and whether the original chain credit is equal to zero from the credit granting manager to the original chain;
s34: if any of the verification terms fail, discarding the transaction;
s35: if all the verification items pass, the accounting manager verifies whether the immigration assets exist in the current evolutionary chain;
s36: if not, the accounting manager creates the asset and allocates the total amount of the immigration amount for the asset;
s37: if so, the accounting manager adds the total amount to the assets, then the accounting manager allocates the assets to the user in the current evolutionary chain, the immigration manager creates user information consistent with the original chain for the user in the current evolutionary chain, and the creation of account assets and information is completed.
Preferably, the embodiment verifies the transaction in the form of accounting credit, when the current accounting is processed, if the credit is exceeded, the transaction is not received any more, when the original chain cannot be verified because the original chain has died and cannot be accessed, because the new transaction is not existed any more, the credit of the past transaction is confirmed, so that the problem that the operation of the new chain is blocked because the original chain died and cannot be verified is solved. After all the problems are comprehensively solved, the core idea can be realized. The method solves the problem of inter-user benefit dispute caused by updating and updating occurring at a certain stage of block chain development, and also well helps old users on the block chain to keep original benefits in one-time upgrading and evolution and obtain the benefits of a new chain.
Fig. 2 discloses a block chain evolutionary system according to an embodiment of the present invention, which includes an evolutionary chain creation module and an asset migration module, wherein the asset migration module is further divided into an emigration transaction processing sub-module, an emigration transaction processing sub-module and an asset migration completion sub-module;
the work flow of the module for creating the evolutionary chain is as follows: the method comprises the following steps that an evolutionary chain manager creates a null transaction of an evolutionary chain, fills in generative accounts, block periods, generative nodes and other generative information, adds the generative information of the current chain into the generative information of the evolutionary chain, then the evolutionary chain manager loads the generative information of the evolutionary chain into the null transaction, uses the generative account to sign the evolutionary chain transaction, then the signed transaction is submitted to the current chain, the nodes of the current chain receive the transaction and then process the transaction through the evolutionary chain manager, and the step of processing the transaction is as follows: the method comprises the steps that a evolutionary chain manager extracts transaction content, verifies the validity of the transaction and whether the transaction is a created account signature, extracts evolutionary chain created information, verifies the validity of the created information and the validity of original chain created information in the created information, discards the transaction if any verification item does not pass, and creates new chain information according to the evolutionary chain created information and completes created chain transaction processing if all verification items pass;
the work flow of the emigration transaction processing submodule is as follows: the original chain creates a migration transaction through the migration manager and sends the migration transaction to the created account, the created account gives a signature of the migration transaction, the migration transaction is sent to the current chain by the migration manager, the current chain receives the migration transaction, the migration transaction is processed through the migration manager, and the step of processing the transaction is as follows: the migration manager verifies the validity of the migration transaction, whether the migration transaction has an established account signature, whether the surplus assets of the migrator are greater than zero and whether the assets of the migrator are in an available state, if any verification item does not pass, the transaction is discarded, if all verification items pass, the migration manager starts to process the accounts of the migrator, all accounts of the migrator are frozen, the account processing of the migrator is finished, and the transaction processing of the migrator is finished;
the work flow of migrating the transaction processing submodule is as follows: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, receives the immigration transactions by the evolutionary chain node, processes the transactions through the immigration manager, and processes the transactions by the steps of: the migration manager extracts migration transaction information, verifies and checks whether the legality of migration transaction, whether evolution chain created account signature exists in migration transaction and whether migration transaction contains migration transaction, then, the credit manager verifies whether migration transaction is confirmed from an original chain, whether assets carried by migration transaction are consistent with migration transaction or not and whether original chain credit is equal to zero or not, if any verification item does not pass, transaction is abandoned, if all verification items pass, the financial manager verifies whether migration assets exist in the current evolution chain or not, if not, the financial manager creates the assets and allocates the total amount of the migration quantity to the assets, if yes, the financial manager adds the total amount to the assets, then, the financial manager allocates users in the current evolution chain, and the asset migration manager creates user information consistent with the original chain for the users in the current evolution chain, and completing the creation of account assets and information;
the workflow of the asset migration completion submodule is as follows: the migration manager completes processing of the migration transaction and thus completes migration of the account.
As shown in fig. 7, the present invention mainly relates to five core components, an accounting manager, an emigration manager, an evolutionary chain manager, and a trust manager.
The accounting manager is mainly used for managing the asset accounts of the users in the current chain, the asset accounts manage the assets held by the users and information data owned by the accounts, and the assets and the data serve as a freezing basis in the later emigration and are permanently frozen on the current chain after the emigration. As shown in fig. 8, the accounting manager mainly includes three core modules, an accounting list module, an accounting query module, and an accounting interface module. The accounting inventory module is mainly used for storing the user accounts of the current chain, and also comprises final information left by the user in the current chain activity, and the information and data are the basis of data migration when the following block chain evolves. The accounting inquiry module is mainly used for inquiring a type of accounting according to specific conditions, which is the basis for providing accounting information services for other modules. The accounting interface module is mainly used for providing an interface for interaction between the inside and the outside of the accounting manager, and is an entrance for providing accounting information service for the outside.
The migration manager is mainly used for freezing the assets and information of the migration account on the current chain, when the user initiates migration, all the assets and information of the migration account are frozen on the current chain and are not used for being unfrozen, and after freezing is completed, a frozen certificate is generated for the user and is used for verifying the source when migrating to other chains. As shown in fig. 9, the migration manager mainly involves two core modules, a migration frozen module and a frozen list module. The migration freezing module is mainly used for managing information of the current frozen account, including the migration of which user is frozen, the frozen quantity and the data state, and is a basis for ensuring that the user cannot be used by the original chain after the assets are migrated, and the user cannot be used and information can not be updated continuously in the original chain after being frozen. In the frozen list module, the reason that the current account is frozen, from which user respectively comes, and the target address of migration after freezing are mainly recorded, and can be used as a data source of historical frozen information.
The migration manager is mainly used for executing migration and creation operations of accounts, a set of assets and information which are the same as those of the original chain is created for the user on the current chain after the original chain user completes migration and obtains verification, when assets of the same type are migrated, the asset information is created on the current chain, and the assets are not created any more by migration of the second and later assets, but the total quantity of the assets is increased. When migrating, besides verifying whether the migrated voucher is the original chain created account signature, the migrated voucher also verifies whether the original chain is frozen or not. As shown in fig. 10, the migration manager mainly includes two core modules, a migration receiving module and an accounting creating module. The immigration receiving module is mainly used for receiving immigration applications sent by other chains, verifying that the chain is an original chain of the current chain, receiving and processing the chain, and informing the account creating module of carrying out related operations. The accounting creation module is mainly used for creating account information and assets which are the same as those of an original chain in verification of migration validity, if the current migration assets are assets which are not available on the current chain, a same asset is created on the current chain, the total amount of the assets is the total amount appointed by migration certificates, and when the migration continues subsequently, the total amount of the assets is increased by other certificates.
The evolutionary chain manager is mainly used for defining and creating an appearance creating block of a new chain, and incorporating appearance creating information of the new chain and appearance creating information of an original chain into the new chain appearance creating block, wherein the new chain appearance creating block is the basis for starting the new chain. As shown in fig. 11, the evolutionary chain manager mainly includes two core modules, a creation block management module and a target chain management module. The created block management module is mainly used for managing created block information, creating a new created block when a new chain needs to be evolved, and packaging the original chain created block information into the new chain created block. In a specific upper-layer application scenario, a plurality of target chains may appear here, which is equivalent to shunting original chain users, different users will go to different chains, and the super-large-scale chains are often used for subdividing services by sharing network performance at the later stage, and shunting each subdivided user to different chains.
The credit manager is mainly used for verifying data again by the nodes, verifying the confirmed immigration transaction when a new node is added into a new chain, and operating cooperatively by the credit manager no matter whether a source chain of the immigration transaction is accessible or not. As shown in fig. 12, the credit manager mainly includes three core modules, a chain general ledger module, a chain list module, and an account cancellation module. In the chain general ledger module, the chain general ledger module is mainly used for recording the incoming chain general ledger of the source chain and the incoming chain amount of the remaining un-reimbursed accounts, and in the new chain operation process, for the currently newly added incoming chain transaction, if the chain general ledger is not zero, the processing will not be performed. The chain list module is mainly used for recording the reason that the current chain general ledger is not zero and specific bills are not paid out, and is also used for inquiring and using historical account-paying records. The account cancellation module is mainly used for accessing the certificate which is not cancelled to the original chain for verification, deducting the total account amount if the certificate passes the verification, marking the certificate as cancelled account, and enabling the chain to be used in the debt owing state for the certificate which is cancelled and killed, so that the receipt of the immigration application of the chain is stopped.
The above-mentioned embodiments are only preferred embodiments of the present invention, and do not limit the technical scope of the present invention, so that the changes and modifications made by the claims and the specification of the present invention should fall within the scope of the present invention.
Claims (10)
1. A block chain evolution method is characterized by comprising the following steps:
(1) creating an evolutionary chain: the method comprises the steps that an evolutionary chain manager creates a null transaction of an evolutionary chain, fills in created information, adds created information of a current chain into created information of the evolutionary chain, then the evolutionary chain manager loads created information of the evolutionary chain into the null transaction, uses a created account to sign the evolutionary chain transaction, then submits the signed transaction to the current chain, and a node of the current chain receives the transaction and processes the transaction through the evolutionary chain manager;
(2) the asset migration specifically comprises the following substeps:
(2.1) emigration transaction processing: creating a migration transaction by the original chain through the migration manager and sending the migration transaction to the created account, sending a migration transaction signature to the created account, sending the migration transaction to the current chain by the migration manager, receiving the migration transaction by the current chain, and processing the migration transaction by the migration manager;
(2.2) immigration transaction processing: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, and receives the immigration transactions by the evolutionary chain node and processes the transactions through the immigration manager;
(2.3) completion of asset migration: the migration manager completes processing of the migration transaction and thus completes migration of the account.
2. The blockchain evolution method of claim 1, wherein the step of processing the transaction in step (1) is: the evolutionary chain manager extracts transaction content, verifies whether the transaction is legal and whether the transaction is signed by an established account, extracts evolutionary chain established information, verifies the legality of the established information and the legality of the original chain established information in the established information, discards the transaction if any verification item does not pass, and creates new chain information according to the evolutionary chain established information and completes established chain transaction processing if all the verification items pass.
3. The blockchain evolution method according to claim 1, wherein the step of processing the transaction in step (2.1) is: and the emigration manager verifies the legality of the emigration transaction, whether the emigration transaction has an established account signature, whether the residual assets of the emigration are greater than zero and whether the assets of the emigration are in an available state, if any verification item does not pass, the transaction is discarded, if all verification items pass, the emigration manager starts to process the accounts of the emigration, all the accounts of the emigration are frozen, the account processing of the emigration is finished, and the transaction processing of the emigration is finished.
4. The blockchain evolution method according to claim 1, wherein the step of processing the transaction in step (2.2) is: the migration manager extracts migration transaction information, verifies and checks whether the legality of migration transaction, whether evolution chain created account signature exists in migration transaction and whether migration transaction contains migration transaction, then, the credit manager verifies whether migration transaction is confirmed from an original chain, whether assets carried by migration transaction are consistent with migration transaction or not and whether original chain credit is equal to zero or not, if any verification item does not pass, transaction is abandoned, if all verification items pass, the financial manager verifies whether migration assets exist in the current evolution chain or not, if not, the financial manager creates the assets and allocates the total amount of the migration quantity to the assets, if yes, the financial manager adds the total amount to the assets, then, the financial manager allocates users in the current evolution chain, and the asset migration manager creates user information consistent with the original chain for the users in the current evolution chain, and completes the creation of account assets and information.
5. The block chain evolution method according to any of the claims 1 to 4, wherein the creation information in step (1) comprises creation accounts, block periods and creation nodes.
6. A block chain evolution system is characterized by comprising an evolution chain creation module and an asset migration module, wherein the asset migration module is further divided into an emigration transaction processing submodule, an emigration transaction processing submodule and an asset migration completion submodule;
the work flow of the module for creating the evolutionary chain is as follows: the method comprises the steps that an evolutionary chain manager creates a null transaction of an evolutionary chain, fills in created information, adds created information of a current chain into created information of the evolutionary chain, then the evolutionary chain manager loads created information of the evolutionary chain into the null transaction, uses a created account to sign the evolutionary chain transaction, then submits the signed transaction to the current chain, and a node of the current chain receives the transaction and processes the transaction through the evolutionary chain manager;
the work flow of the emigration transaction processing submodule is as follows: creating a migration transaction by the original chain through the migration manager and sending the migration transaction to the created account, sending a migration transaction signature to the created account, sending the migration transaction to the current chain by the migration manager, receiving the migration transaction by the current chain, and processing the migration transaction by the migration manager;
the work flow of migrating the transaction processing submodule is as follows: the immigration manager generates immigration transactions by using the processed emigration transactions, sends the immigration transactions to the evolutionary chain created account, signs the immigration transactions by the evolutionary chain created account through the immigration manager, sends the signed transactions to an evolutionary chain, and receives the immigration transactions by the evolutionary chain node and processes the transactions through the immigration manager;
the workflow of the asset migration completion submodule is as follows: the migration manager completes processing of the migration transaction and thus completes migration of the account.
7. The blockchain evolutionary system of claim 6, wherein the step of processing the transaction in the create evolutionary chain module is: the evolutionary chain manager extracts transaction content, verifies whether the transaction is legal and whether the transaction is signed by an established account, extracts evolutionary chain established information, verifies the legality of the established information and the legality of the original chain established information in the established information, discards the transaction if any verification item does not pass, and creates new chain information according to the evolutionary chain established information and completes established chain transaction processing if all the verification items pass.
8. The blockchain evolution system according to claim 6, wherein the step of processing the transaction in the migrated transaction processing submodule comprises: and the emigration manager verifies the legality of the emigration transaction, whether the emigration transaction has an established account signature, whether the residual assets of the emigration are greater than zero and whether the assets of the emigration are in an available state, if any verification item does not pass, the transaction is discarded, if all verification items pass, the emigration manager starts to process the accounts of the emigration, all the accounts of the emigration are frozen, the account processing of the emigration is finished, and the transaction processing of the emigration is finished.
9. The blockchain evolution system according to claim 6, wherein the step of migrating the transaction processing sub-module to process the transaction comprises: the migration manager extracts migration transaction information, verifies and checks whether the legality of migration transaction, whether evolution chain created account signature exists in migration transaction and whether migration transaction contains migration transaction, then, the credit manager verifies whether migration transaction is confirmed from an original chain, whether assets carried by migration transaction are consistent with migration transaction or not and whether original chain credit is equal to zero or not, if any verification item does not pass, transaction is abandoned, if all verification items pass, the financial manager verifies whether migration assets exist in the current evolution chain or not, if not, the financial manager creates the assets and allocates the total amount of the migration quantity to the assets, if yes, the financial manager adds the total amount to the assets, then, the financial manager allocates users in the current evolution chain, and the asset migration manager creates user information consistent with the original chain for the users in the current evolution chain, and completes the creation of account assets and information.
10. The system according to any one of claims 6 to 9, wherein the creation information in the module for creating evolutionary chains includes creation accounts, block periods, and creation nodes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010163539.4A CN113379423B (en) | 2020-03-10 | 2020-03-10 | Block chain evolution method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010163539.4A CN113379423B (en) | 2020-03-10 | 2020-03-10 | Block chain evolution method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113379423A true CN113379423A (en) | 2021-09-10 |
CN113379423B CN113379423B (en) | 2024-02-13 |
Family
ID=77569531
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010163539.4A Active CN113379423B (en) | 2020-03-10 | 2020-03-10 | Block chain evolution method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113379423B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170740A (en) * | 2017-12-18 | 2018-06-15 | 深圳前海微众银行股份有限公司 | Data migration method, system and computer readable storage medium |
CN110288344A (en) * | 2019-06-25 | 2019-09-27 | 中国工商银行股份有限公司 | The assets transfer method and device of transregional piece of chain |
CN110555765A (en) * | 2018-06-01 | 2019-12-10 | 厦门本能管家科技有限公司 | Method and system for carrying out asset circulation among various block chains |
-
2020
- 2020-03-10 CN CN202010163539.4A patent/CN113379423B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170740A (en) * | 2017-12-18 | 2018-06-15 | 深圳前海微众银行股份有限公司 | Data migration method, system and computer readable storage medium |
CN110555765A (en) * | 2018-06-01 | 2019-12-10 | 厦门本能管家科技有限公司 | Method and system for carrying out asset circulation among various block chains |
CN110288344A (en) * | 2019-06-25 | 2019-09-27 | 中国工商银行股份有限公司 | The assets transfer method and device of transregional piece of chain |
Also Published As
Publication number | Publication date |
---|---|
CN113379423B (en) | 2024-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6864330B2 (en) | Room inventory management system based on blockchain | |
EP4254220A2 (en) | Methods and systems for digital reward processing | |
CN107767265A (en) | A kind of data sharing method and server | |
CN109636492A (en) | Tax administration method, apparatus, medium and electronic equipment based on block catenary system | |
US9495652B1 (en) | Autonomic discrete business activity management method | |
CN107666484A (en) | A kind of CDN sharing methods and system based on block chain | |
CN115004206A (en) | System, method and storage medium for managing digital liquidity tokens in a distributed ledger platform | |
US20120042354A1 (en) | Entitlement conflict enforcement | |
CN110135966B (en) | Credit limit management method and system | |
CN102262767A (en) | Service delivery management for brokered service delivery of service groups | |
CN109639832B (en) | Service sharing network and method | |
EP3696766A1 (en) | Program, system and method for determining credit worthiness of a user | |
US20200014632A1 (en) | Resource path monitoring | |
JP2023027775A (en) | Computer-implemented method, computer system and computer program for privacy-preserving auditable accounts (privacy-preserving auditable accounts) | |
Eltoukhy et al. | Data-driven game-theoretic model based on blockchain for managing resource allocation and vehicle routing in modular integrated construction | |
Pourheidari et al. | A case study of execution of untrusted business process on permissioned blockchain | |
CN113379423A (en) | Block chain evolution method and system | |
KR102538221B1 (en) | System for providing custom management consulting service using non-fungible token | |
Henry et al. | Hire me fairly: towards dynamic resource-binding with smart contracts | |
CN113032036B (en) | Service data processing method, device, system, computer equipment and storage medium | |
CN113112356B (en) | Block chain universal service system based on national network security architecture | |
JP2021530010A (en) | Systems and methods to verify transactions embedded in electronic blockchain | |
TW201933245A (en) | Management method and system for credit line | |
CN114202415A (en) | Data processing method and device based on heterogeneous chain | |
Jonason | Innovative pricing effects: theory and practice in mobile Internet networks |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |