CN110570187A - digital currency performance expanding method based on fragment area - Google Patents
digital currency performance expanding method based on fragment area Download PDFInfo
- Publication number
- CN110570187A CN110570187A CN201910853587.3A CN201910853587A CN110570187A CN 110570187 A CN110570187 A CN 110570187A CN 201910853587 A CN201910853587 A CN 201910853587A CN 110570187 A CN110570187 A CN 110570187A
- Authority
- CN
- China
- Prior art keywords
- transaction
- parcel
- user
- digital currency
- cross
- 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
- 238000000034 method Methods 0.000 title claims abstract description 18
- 239000012634 fragment Substances 0.000 title abstract description 7
- 238000012795 verification Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 4
- 238000013508 migration Methods 0.000 abstract description 4
- 230000005012 migration Effects 0.000 abstract description 4
- 238000013316 zoning Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000013467 fragmentation Methods 0.000 description 4
- 238000006062 fragmentation reaction Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000005192 partition Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
-
- 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
- G06Q20/3825—Use of electronic 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
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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
Abstract
the invention relates to the technical field of digital currency, in particular to a method for expanding the performance of digital currency based on a fragment area. The expanding method comprises the following steps: dividing the user belonging area according to the user information; after the user completes the creation of the new parcel wallet, the digital currency of the old parcel is transferred to the new parcel wallet; the user uses the new parcel to conduct intra-parcel transactions or cross-parcel transactions. The invention aims at the actual demand of the objective world, and determines the area to which the user belongs according to the data of the physical position, the identity information, the working unit and the like of the user, so that the transaction of the user occurs in the area to which the user belongs, the frequency of cross-area transaction is reduced, and the aim of improving the expansibility is better achieved. The zone migration may be performed to improve the performance of the system and improve the user experience. Aiming at the cross-parcel transaction, the transaction receiver parcel can quickly verify the validity of the transaction by means of digital signature, the problems of double flowers and the like do not exist, the state exchange among different parcel nodes is avoided, and the performance of the cross-parcel transaction is improved.
Description
Technical Field
The invention relates to the technical field of digital currency, in particular to a method for expanding the performance of digital currency based on a fragment area.
Background
Fragmentation is a technique to improve the scalability of blockchains. Different from the traditional block chain, each node stores and processes all transaction data, each node only stores and processes a part of transaction data under the fragmentation technology, and the transaction data can be processed on different nodes in parallel, so that the purposes of acceleration and transverse expansion are achieved.
The fragmentation principle of the existing fragmentation technology is usually based on transaction Hash, account address and the like, so that the transaction habit of a user cannot be well reflected, and frequent cross-fragment communication is needed, so that the communication traffic is greatly increased, the performance is reduced, and the basic purpose of improving the expansibility by fragmenting is destroyed. When a cross-shard transaction occurs, a state exchange is required due to the lack of a good mechanism for both parties to verify whether the transaction is valid (e.g., whether double flowers are present), which not only compromises performance and increases the complexity of the system, but also carries the risk of double flowers.
disclosure of Invention
Aiming at the actual requirements of the objective world, the attribution is not determined according to the relative randomness modes of a user wallet address, transaction Hash and the like, but the affiliated section of the user is determined according to the data of the physical position, identity information, a working unit and the like of the user, so that the transaction of the user is generated in the affiliated section as much as possible, the frequency of cross-section transaction is reduced, and the purpose of improving the expansibility is better achieved. If the trading habits of the user change or the initial zoning partition cannot well reflect the trading habits of the user, zoning migration can also be performed to improve the performance of the system and improve the user experience. Aiming at the cross-parcel transaction, the transaction receiver parcel can quickly verify the validity of the transaction by means of digital signature, the problems of double flowers and the like do not exist, the state exchange among different parcel nodes is avoided, and the performance of the cross-parcel transaction is improved.
The technical scheme adopted by the invention for solving the technical problems is as follows:
A digital currency performance expanding method based on a parcel is disclosed, which comprises the following steps:
Dividing the user belonging area according to the user information; after the user completes the creation of the new parcel wallet, the digital currency of the old parcel is transferred to the new parcel wallet; the user uses the new parcel to conduct intra-parcel transactions or cross-parcel transactions.
specifically, the specific step of dividing the user's belonging segment is as follows: the user locally generates a private key, then allocates a parcel for the user according to the physical position, the identity information and the work unit data of the user, and finally determines the wallet address of the user according to a public key corresponding to the private key of the user and the parcel allocated for the user to complete the creation of the wallet.
Specifically, the specific steps of transferring the digital currency of the old parcel to the wallet of the new parcel are as follows: the user initiates a cross-parcel transaction, transferring the user's digital currency in the old parcel to a new parcel wallet.
specifically, the step of cross-region transaction is as follows: the user creates a cross-parcel transaction, which needs to include the signature of a sender in the transaction, then the user sends the cross-parcel transaction to an accounting and verifying node of a local parcel, then the accounting and verifying node of the local parcel checks whether the transaction format signature is correct and whether double flowers exist, if the check is wrong, the transaction is rejected, the transaction fails until the transaction is detected, after the error is detected, the accounting and verifying node of the local parcel signs the transaction, then the signed transaction is broadcasted to an accounting and verifying node of a receiving parcel, finally the accounting and verifying node of the receiving party verifies whether the transaction correctly includes the signature of the sender parcel and the verifying node, if the verification is successful, the transaction is successful, otherwise, the transaction fails.
Specifically, the intra-area transaction specifically comprises the following steps: the user creates a transaction, the process needs to include the signature of a sender in the transaction, then the user broadcasts the transaction to the accounting and verifying node, and finally the accounting and verifying node verifies whether the transaction format signature is correct and whether double flowers exist, if the transaction format signature is verified to be correct, the transaction is posted and the transaction is informed of success, otherwise, the transaction is informed of failure.
the invention has the beneficial effects that: the invention provides a digital currency performance expanding method based on a parcel, aiming at the actual demand of the objective world, the attribution is not determined according to the relative randomness modes of a user wallet address, transaction Hash and the like, but the parcel to which the user belongs is determined according to the data of the physical position, identity information, a working unit and the like of the user, so that the transaction of the user can be generated in the parcel as far as possible, the frequency of cross parcel transaction is reduced, and the aim of improving the expansibility is better fulfilled. If the trading habits of the user change or the initial zoning partition cannot well reflect the trading habits of the user, zoning migration can also be performed to improve the performance of the system and improve the user experience. Aiming at the cross-parcel transaction, the transaction receiver parcel can quickly verify the validity of the transaction by means of digital signature, the problems of double flowers and the like do not exist, the state exchange among different parcel nodes is avoided, and the performance of the cross-parcel transaction is improved.
Drawings
The invention is further described with reference to the following figures and examples.
FIG. 1 is an overall architecture diagram of the present invention;
FIG. 2 is a flow chart of the present invention for partitioning the segment to which the user belongs;
FIG. 3 is a flow chart of the present invention for transferring digital currency from an old parcel to a new parcel wallet;
FIG. 4 is a flow chart of an intra-parcel transaction of the present invention;
FIG. 5 is a flow diagram of a cross-parcel transaction of the present invention;
Detailed Description
The invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams illustrating only the basic structure of the invention in a schematic manner, and thus show only the constitution related to the invention.
FIG. 1 is an overall architecture diagram of the present invention, FIG. 2 is a flow chart of the present invention for dividing the parcel to which the user belongs, FIG. 3 is a flow chart of the present invention for migrating digital currency of an old parcel to a new parcel wallet, FIG. 4 is a flow chart of the present invention for intra-parcel transactions, and FIG. 5 is a flow chart of the present invention for cross-parcel transactions.
As shown in the attached figure 1, according to the actual requirements of the objective world, attribution is determined no longer according to a relatively random mode such as a user wallet address and a transaction Hash, but a user belonging area is determined according to data such as a physical position, identity information and a working unit of the user, so that the transaction of the user is generated in the belonging area as much as possible, the transaction frequency of cross-area transactions is reduced, and the purpose of improving expansibility is achieved better. If the trading habits of the user change or the initial zoning partition cannot well reflect the trading habits of the user, zoning migration can also be performed to improve the performance of the system and improve the user experience. Aiming at the cross-parcel transaction, the transaction receiver parcel can quickly verify the validity of the transaction (double flowers and the like do not exist) in a digital signature mode, so that the state exchange among different parcel nodes is avoided, and the performance of the cross-parcel transaction is improved.
As shown in fig. 2, the segment to which the user belongs is divided:
(1) The user locally generates the private key.
(2) And allocating the fragment area for the user according to the physical position, the identity information, the working unit and other data of the user.
(3) And determining the wallet address of the user according to the public key corresponding to the private key of the user and the fragment area allocated to the user, and finishing the creation of the wallet.
As shown in fig. 3, the digital currency of the old parcel is migrated to the new parcel wallet:
(1) The user completes the creation of a new parcel wallet. The detailed flow of this section is shown in FIG. 2.
(2) the user initiates a cross-parcel transaction to transfer his own digital currency in the old parcel to a new parcel wallet.
(3) The user uses the new parcel wallet to conduct future transactions, including intra-parcel transactions and cross-parcel transactions.
As shown in fig. 4, intra-session transactions:
(1) The user creates a transaction that requires the inclusion of a signature of the sender in the transaction.
(2) The user broadcasts the transaction to the billing and verification node.
(3) The accounting and verification node verifies that the transaction format signature is correct and that double flowers are present. If the verification is correct, the transaction is posted and the transaction is successful, otherwise, the transaction is failed.
As shown in fig. 5, cross-sector transactions:
(1) The user creates a cross-parcel transaction that requires the sender's signature to be included in the transaction.
(2) The user sends the cross-district transaction to the accounting and verification node of the local district.
(3) The accounting and verifying node of the local area checks whether the transaction format signature and the like are correct and whether double flowers exist, if the check is wrong, the transaction is rejected, and the transaction fails. Otherwise, the flow 4 is executed.
(4) The accounting and verification node of the local area signs the transaction, and then broadcasts the signed transaction to the accounting and verification node of the receiving party area.
(5) the accounting and verifying node of the receiving party verifies whether the transaction correctly contains the signature of the accounting and verifying node of the sending party chip area, if the verification is successful, the transaction is successful, otherwise, the transaction fails.
In light of the foregoing description of preferred embodiments according to the invention, many modifications and variations can be made by the worker skilled in the art without departing from the scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.
Claims (5)
1. A digital currency performance expanding method based on a parcel is characterized in that: the expanding method comprises the following steps:
Dividing the user belonging area according to the user information; after the user completes the creation of the new parcel wallet, the digital currency of the old parcel is transferred to the new parcel wallet; the user uses the new parcel to conduct intra-parcel transactions or cross-parcel transactions.
2. The tile-based digital currency performance enhancement method according to claim 1, wherein: the specific steps of dividing the user belonging area are as follows: the user locally generates a private key, then allocates a parcel for the user according to the physical position, the identity information and the work unit data of the user, and finally determines the wallet address of the user according to a public key corresponding to the private key of the user and the parcel allocated for the user to complete the creation of the wallet.
3. The tile-based digital currency performance enhancement method according to claim 1, wherein: the specific steps of transferring the digital currency of the old parcel to the wallet of the new parcel are as follows: the user initiates a cross-parcel transaction, transferring the user's digital currency in the old parcel to a new parcel wallet.
4. the tile-based digital currency performance enhancement method according to claim 1, wherein: the specific steps of the cross-region transaction are as follows: the user creates a cross-parcel transaction, which needs to include the signature of a sender in the transaction, then the user sends the cross-parcel transaction to an accounting and verifying node of a local parcel, then the accounting and verifying node of the local parcel checks whether the transaction format signature is correct and whether double flowers exist, if the check is wrong, the transaction is rejected, the transaction fails until the transaction is detected, after the error is detected, the accounting and verifying node of the local parcel signs the transaction, then the signed transaction is broadcasted to an accounting and verifying node of a receiving parcel, finally the accounting and verifying node of the receiving party verifies whether the transaction correctly includes the signature of the sender parcel and the verifying node, if the verification is successful, the transaction is successful, otherwise, the transaction fails.
5. The tile-based digital currency performance enhancement method according to claim 1, wherein: the specific steps of the intra-area transaction are as follows: the user creates a transaction, the process needs to include the signature of a sender in the transaction, then the user broadcasts the transaction to the accounting and verifying node, and finally the accounting and verifying node verifies whether the transaction format signature is correct and whether double flowers exist, if the transaction format signature is verified to be correct, the transaction is posted and the transaction is informed of success, otherwise, the transaction is informed of failure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910853587.3A CN110570187A (en) | 2019-09-10 | 2019-09-10 | digital currency performance expanding method based on fragment area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910853587.3A CN110570187A (en) | 2019-09-10 | 2019-09-10 | digital currency performance expanding method based on fragment area |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110570187A true CN110570187A (en) | 2019-12-13 |
Family
ID=68778842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910853587.3A Pending CN110570187A (en) | 2019-09-10 | 2019-09-10 | digital currency performance expanding method based on fragment area |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110570187A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109359992A (en) * | 2018-10-09 | 2019-02-19 | 北京彩球世纪科技有限公司 | A kind of novel block chain subregion sliced fashion and device |
CN109508968A (en) * | 2018-10-25 | 2019-03-22 | 常州唯康信息科技有限公司 | Block catenary system and its control method |
-
2019
- 2019-09-10 CN CN201910853587.3A patent/CN110570187A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109191287A (en) * | 2018-06-27 | 2019-01-11 | 浙江超脑时空科技有限公司 | A kind of sharding method, device and the electronic equipment of block chain intelligence contract |
CN109359992A (en) * | 2018-10-09 | 2019-02-19 | 北京彩球世纪科技有限公司 | A kind of novel block chain subregion sliced fashion and device |
CN109508968A (en) * | 2018-10-25 | 2019-03-22 | 常州唯康信息科技有限公司 | Block catenary system and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107580048B (en) | VANETs position privacy protection system and method based on virtual Mix-zone | |
US10135616B2 (en) | Revocation of cryptographic keys in the absence of a trusted central authority | |
CN108492103B (en) | Joint block chain consensus method | |
US10341431B2 (en) | System and method for announcing cryptographic keys on a blockchain | |
EP3557831A1 (en) | Two-dimensional barcode processing method, device, and system | |
US7496759B2 (en) | Multisignature method, apparatus, program, and system | |
WO2018177093A1 (en) | Block chain processing method, accounting node, verification node and storage medium | |
CN113239382A (en) | Credible identity model based on block chain intelligent contract | |
CN109684414B (en) | Method, device and equipment for synchronizing block data and storage medium | |
JP7319961B2 (en) | Computer-implemented systems and methods related to binary blockchains forming a pair of coupled blockchains | |
CN111046437A (en) | Block chain parallel transaction processing method and system based on isomorphic multi-chain and terminal | |
CN101193103B (en) | A method and system for allocating and validating identity identifier | |
KR20120107927A (en) | Trusted message storage and transfer protocol and system | |
CN110430061A (en) | A kind of car networking equipment identities authentication method based on block chain technology | |
KR102295701B1 (en) | Device and method communication between heterogeneous private blockchains | |
KR101756719B1 (en) | Method for allowing a user to log in and server using the same | |
CN104010302A (en) | Vehicle-mounted self-organizing network traffic data trust evaluation method | |
Park et al. | A reliable incentive scheme using bitcoin on cooperative vehicular ad hoc networks | |
EP3707684A1 (en) | Limited scope blockchain system | |
CN110570187A (en) | digital currency performance expanding method based on fragment area | |
CN113923093A (en) | Novel Byzantine fault-tolerant consensus method based on trusted execution environment | |
US20220278854A1 (en) | Unity Protocol Consensus | |
US11204914B2 (en) | Systems and methods for a federated directory service | |
CN111353780B (en) | Authorization verification method, device and storage medium | |
CN109981637B (en) | Multi-source cross composite authentication method for Internet of things based on block chain |
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: 20191213 |
|
RJ01 | Rejection of invention patent application after publication |