CN112488700B - Dual signature transaction account method and system for blockchain - Google Patents

Dual signature transaction account method and system for blockchain Download PDF

Info

Publication number
CN112488700B
CN112488700B CN201910768284.1A CN201910768284A CN112488700B CN 112488700 B CN112488700 B CN 112488700B CN 201910768284 A CN201910768284 A CN 201910768284A CN 112488700 B CN112488700 B CN 112488700B
Authority
CN
China
Prior art keywords
transaction
block
accounting
account
module
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.)
Active
Application number
CN201910768284.1A
Other languages
Chinese (zh)
Other versions
CN112488700A (en
Inventor
杨税令
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Benchainless Technology Shenzhen Co ltd
Original Assignee
Benchainless Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Benchainless Technology Shenzhen Co ltd filed Critical Benchainless Technology Shenzhen Co ltd
Priority to CN201910768284.1A priority Critical patent/CN112488700B/en
Publication of CN112488700A publication Critical patent/CN112488700A/en
Application granted granted Critical
Publication of CN112488700B publication Critical patent/CN112488700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing

Abstract

The invention discloses a dual signature transaction account method for a blockchain, which comprises the steps of starting a node, checking transaction information and validity of a transaction signature after receiving a transaction, and processing the transaction when the node puts the transaction into an unprocessed transaction queue to wait for a new zone to forge; starting to create a new block after acquiring a local latest block and a hash value of the latest block, and circularly processing transactions in an unprocessed transaction queue; when the unprocessed transaction is found illegal in the processing process, the transaction is discarded, the transaction in the unprocessed transaction queue is carried out in the block forging time, the processed transaction is put into the processed pool in the block body to complete the block forging.

Description

Dual signature transaction account method and system for blockchain
Technical Field
The invention relates to the technical field of blockchains, in particular to a dual signature transaction account method and a system for a blockchain.
Background
The blockchain is one of the most important infrastructures in the credit age, and carries almost all activities of human activities, even comprises all devices for providing services for human beings, and among the devices, some devices have high computing power and storage capability, so that the devices can independently complete some computing and storage tasks, so that the functions of the devices can be very powerful, and the devices can even be used as nodes of a common blockchain, but the devices for providing services for human beings are not necessarily all devices with the powerful computing power and storage capability, can be extremely lightweight, can only be simply-computed miniature devices, cannot participate in complex computing and cannot store much data, and when the devices participate in the infrastructures of the blockchain, the devices are difficult to independently provide services, additional third party services are required to provide computing and storage as transit, and when the services relate to digital assets such as fund services, the third party services are often adopted to not only violate the design principle of decentralization of the blockchain, but also expose the devices to uncontrollable risks. How to process funds accounts by themselves, even with micro devices, on a portable node on a blockchain without the aid of third party services is an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a double-signature transaction account method and a system for a blockchain, which solve the problem that accounting information cannot be calculated without full data through interactive access of a transaction manager, an accounting manager and a blockmanager, and provide a foundation for realizing that a light node becomes a blockchain link point, thereby realizing the technical foundation function of real everything interconnection.
A dual signature transaction ledger method for a blockchain, the dual signature transaction ledger method comprising:
s1, starting a node, wherein after the node receives a transaction generated from a blockchain network, the node checks the validity of transaction information and a transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for forging a new block;
s2, starting to create a new block after acquiring a local latest block and a hash value of the latest block, and circularly processing the transaction in an unprocessed transaction queue;
s3, discarding the transaction when the unprocessed transaction is found illegal in the processing process, carrying out transaction in the unprocessed transaction queue within the block forging time, and putting all processed transactions into the processed pool in the block body to finish block forging.
Further, the loop processing transactions among the unprocessed transaction queues includes:
extracting unprocessed transaction, obtaining main body information of the unprocessed transaction, and when the transaction information and the transaction signature are legal, obtaining asset information of a transaction initiator, and checking whether the asset of the transaction initiator is enough and whether the asset can be transferred and then starting accounting processing by checking the validity of the transaction information and the transaction signature;
when any one of the transaction information, the transaction signature, the asset sufficiency, and the asset transferability does not satisfy the condition, the transaction is selected to be discarded.
Further, the accounting process includes:
when the transaction information and the transaction signature are legal, extracting account abstract information at the beginning of a transaction initiator when the asset is sufficient and transferable, and storing the account abstract information into a transaction body;
extracting account abstract information of a transaction receiver at the beginning of the transaction and storing the account abstract information of the transaction receiver into a transaction body;
and (3) through the assets of the transaction initiator and the assets of the transaction receiver, storing account summary information of the transaction initiator and the transaction receiver, which are checked after the transaction initiator and the transaction receiver are checked up and down, into a transaction body, and finishing accounting processing.
The invention also extends to a dual signature transaction ledger system for blockchain based on the method described above, the system comprising:
transaction manager: the system comprises a storage area, a processing unit and a processing unit, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information which is conventionally required to be contained by the transactions and are specially used for storing accounting summary information related to both transaction originators and transaction receivers;
accounting manager: the accounting management system is used for storing, changing and inquiring accounts, the changed accounts are calculated through full-quantity transaction, and after the accounts are changed, the accounts are required to be synchronized from the accounting manager to the area of the transaction, in which the account summary is stored;
block manager: the system comprises a block signature module, a storage module, a transaction initiator, a transaction receiver, a transaction storage module and a transaction processing module, wherein the block signature module is used for processing a transaction, creating a block and the storage module, and the validity of the accounting summary information is ensured by bringing the accounting summary information of the transaction initiator and the transaction receiver into the protection range of the block signature;
in the system, after a transaction manager receives a transaction, checking the validity of a transaction signature and transaction information, informing a block manager to enter block forging, wherein the block forging device is used for creating a blank block and placing the hash value of the last block into the blank block, the accounting manager is used for acquiring asset information of a transaction initiator and checking the asset state, when the transaction condition is met, the accounting manager is used for extracting account summary information of the initiator, the account summary information is stored in a transaction body by the transaction manager, then the accounting manager is used for executing up-down account operation and finishing accounting processing, the block forging is finished within a specified time, and the transaction manager is used for finishing transaction processing, and the transaction manager, the accounting manager and the block manager are mutually connected in a cross network mode, so that data access can be performed.
Further, the transaction manager includes:
a transaction storage module: for storing related transactions, including unprocessed transactions, processed transactions;
a transaction creation module: the system comprises a transaction processing module, a transaction processing module and a transaction processing module, wherein the transaction processing module is used for creating a new transaction and checking basic information of the received transaction, and the type of the new transaction provides different types of transactions according to the requirements of upper-layer applications so as to support different business scenes;
transaction inquiry module: the transaction inquiry service is used for providing transaction for the block forging module and providing a data inquiry interface for the external block chain node.
Further, the accounting manager includes:
accounting storage module: the system comprises a storage unit, a storage unit and a storage unit, wherein the storage unit is used for storing accounts of participants on a blockchain and assets held in the accounts;
accounting change module: the system is used for managing creation, update and revocation operations of accounts;
and the accounting query module: the accounting query operation is used for providing the accounting forging module, and the service time of the accounting query operation is limited to the period of the block forging.
Further, the operations of creating, updating and voiding the accounting change module include:
when a new account needs to be created, the account changing module creates a pair of private keys for the account to confirm ownership of the account;
when the account needs to be updated, checking whether the ownership of the account is consistent with the change applicant, whether the change content is legal or not and whether the asset involved in the transaction is transferred or not, starting updating after all check items are all consistent, and stopping updating if any check item is not consistent;
when the account is voided, including but not limited to deleting account data and using non-contact means, the voided account selects a different voiding means depending on the transaction.
Further, the block manager includes:
a storage block module: the storage node comprises a block used for storing node forging and a block received from a blockchain network, and checking the validity of the block and whether a defect exists when rolling back and starting;
block forging module: for creating a new block and placing an unprocessed transaction into the new block after processing, the unprocessed transaction including, but not limited to, an accounting type transaction;
block synchronization module: and the method is used for broadcasting the blocks forged by the nodes and the new blocks received by the nodes outwards, checking the validity of the received and forged new blocks, and judging the accounting summary information as effective data after the accounting summary information in the transaction body after the block signature is checked to be consistent.
Further, the block forging module includes, when processing an accounting transaction:
storing the balances and other account summary information of both transaction parties into a transaction body before accounting is calculated;
when the transaction processing is finished, the latest information of the accounts is acquired again, and account balance and other account summary information are transmitted into a transaction body;
after all transactions are processed, the block is signed, and the newly written account summary is included in the signature range.
The invention provides a transaction double-signature mode for solving the problems that no total data can not calculate the account information and light equipment can not independently process the accounts, and particularly, the transaction double-signature mode is used for realizing the history change traceability problem by mutually crossing and accessing a transaction manager, an account manager and a block manager, and realizing the function of knowing account profile by using one record under the condition of not synchronizing a large amount of data and calculation power.
Drawings
FIG. 1 is a flow chart of a dual signature transaction ledger method for blockchain as mentioned in the present invention;
FIG. 2 is a schematic diagram of the components of the dual signature transaction ledger system for blockchains of the present invention;
FIG. 3 is a schematic diagram of the components of a transaction manager in the dual signature transaction ledger system for blockchains of the present invention;
FIG. 4 is a schematic diagram of the components of an accounting manager in the dual signature transaction ledger system for blockchains of the present invention;
figure 5 is a schematic diagram of the composition of a block manager in the dual signature transaction ledger system for blockchains as referred to in the present invention,
wherein: 100 transaction manager; 200 accounting manager; 300 the block manager 101 deals with the storage module; 102, a transaction creation module; 103 a transaction inquiry module; 201 an accounting storage module; 202 an accounting change module; 203 an accounting query module; 301 a memory block module; a 302 block forging module; 303 block synchronization module
Detailed Description
The invention will be described in further detail with reference to the drawings and the specific examples. It should be noted that the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The blockchain is taken as an important foundation of trust platform construction, a node on the blockchain network is required to have high computing power and storage power, but a lightweight node does not have the condition, a miniature device which can only perform simple computation cannot participate in the blockchain network activity, and particularly the defect of computing power and storage power when processing transactions of fund accounting and passing needs to be aided by a third party large node or a transit node, but the principle is contrary to the principle of mechanism of the blockchain decentralization.
Therefore, in order to solve the problems that the light equipment cannot independently process the accounts and the full-quantity-free data cannot calculate the account information, the invention provides the following technical scheme:
as shown in fig. 1, a dual signature transaction ledger method for a blockchain, the dual signature transaction ledger method specifically includes:
s1, starting a node, wherein after the node receives a transaction generated from a blockchain network, the node checks the validity of transaction information and a transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for forging a new block;
s2, creating a new block after acquiring a local latest block and a hash value of the latest block, circularly processing a transaction in an unprocessed transaction queue, firstly extracting unprocessed transaction, acquiring main body information of the unprocessed transaction, then acquiring asset information of a transaction initiator by checking validity of transaction information and a transaction signature, checking whether the asset of the transaction initiator is enough and whether the asset is transferable, and then starting accounting processing, and selecting to discard the transaction when any one of the transaction information, the transaction signature, the asset sufficiency and the asset transferability does not meet the condition.
The accounting processing process specifically comprises the following steps: when the transaction information and the transaction signature are legal, extracting account abstract information at the beginning of a transaction initiator when the asset is sufficient and transferable, and storing the account abstract information into a transaction body;
extracting account abstract information of a transaction receiver at the beginning of the transaction and storing the account abstract information of the transaction receiver into a transaction body;
and (3) through the assets of the transaction initiator and the assets of the transaction receiver, storing account summary information of the transaction initiator and the transaction receiver, which are checked after the transaction initiator and the transaction receiver are checked up and down, into a transaction body, and finishing accounting processing.
S3, discarding the transaction when the unprocessed transaction is found illegal in the processing process, carrying out transaction in the unprocessed transaction queue within the block forging time, and putting all processed transactions into the processed pool in the block body to finish block forging.
The process of the dual signature transaction account method described in S1-S3 is combined with the present invention to extend a dual signature transaction account system for blockchain, as shown in fig. 2, including but not limited to the logic units comprising transaction manager 100, accounting manager 200, and blockmanager 300.
Transaction manager 100: the system comprises a storage area, a processing unit and a processing unit, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information which is conventionally required to be contained by the transactions and are specially used for storing accounting summary information related to both transaction originators and transaction receivers;
as shown in fig. 3, the transaction manager 100 further includes a transaction storage module 101, a transaction creation module 102, and a transaction inquiry module 103, where the transaction storage module 101 is configured to store related transactions, including unprocessed transactions and processed transactions, and discard invalid transactions directly, and when the block forging module 302 starts to process the transactions, the transaction is extracted from the unprocessed transaction list in the transaction storage module 101, and then the transaction is processed normally, and the processed transaction is stored in the processed transaction of the transaction storage module 101;
transaction creation module 102: the method comprises the steps of creating a new transaction and checking basic information of the received transaction, wherein the type of the new transaction provides different types of transactions according to the requirements of upper-layer applications so as to support different business scenes;
transaction inquiry module 103: for providing transaction inquiry services, providing transactions for the block forging module 302, and providing data inquiry interfaces for external blockchain nodes.
Accounting manager 200: the accounting manager 200 is used for storing, changing and inquiring accounts, is the core in the whole accounting transaction process, and is also the basis of the transaction process, and needs to calculate the changed accounts through the full-volume transaction, and after the accounting is changed, the accounting manager 200 needs to be synchronized to the area of the transaction storing the account summary, as shown in fig. 4, the accounting manager 200 further comprises an accounting storage module 201, an accounting change module 202 and an accounting inquiring module 203, and the specific work and function of the three modules are as follows:
accounting storage module 201: the method is used for storing assets held in accounts of participants on the blockchain, the assets include but are not limited to currency, rights and interests, expressions and the like, and the selection of asset types is not limited to the protection scope of the method;
accounting change module 202: the accounting change module 202 is used for managing the creation, update and revocation operations of accounts, and when a new account needs to be created, the account change module 202 creates a pair of private keys for the account to confirm ownership of the account; when the account needs to be updated, checking whether the ownership of the account is consistent with the change applicant, whether the change content is legal or not and whether the asset involved in the transaction is transferred or not, starting updating after all check items are all consistent, and stopping updating if any check item is not consistent; when the account is voided, including but not limited to deleting account data and adopting a non-contact way, the voided account selects different voiding ways according to different transaction services;
accounting query module 203: the accounting query operation is provided for the block forging module 302, and the accounting query operation is used only during the block forging period, because the accounting balance has no effective mechanism for identifying whether the accounting balance is tampered in other single-node environments, and thus no accounting query interface is provided for the external blockchain nodes.
Block manager 300: for processing a transaction, creating a block and storing the block, by incorporating accounting summary information of a transaction initiator and a transaction receiver into the protection range of the block signature to ensure validity of the accounting summary information, the block manager 300 ensures that accounting summaries recorded in the transaction are valid when performing another function in the present invention except creating the block, broadcasting the block, synchronizing the block and checking the block, and since the accounting summary is not within the signature range of the transaction initiator, a second signature is required to ensure that transaction data is not tampered, the block manager 300 will incorporate these later added accounting summaries into the protection range of the block signature, together with reliability of the block. Therefore, after the micro device obtains the last processed transaction from any node in the blockchain network through the unified consensus interface of the blockchain, the latest balance and other account summary information of the micro device can be obtained without calculating the micro device from the beginning, so that the calculation power and the storage capacity are effectively saved.
As shown in fig. 5, the block manager 300 further includes a storage block module 301, a block forging module 302 and a block synchronization module 303, where the storage block module 301 is used for storing blocks forged by nodes and blocks received from a blockchain network, and checking validity and absence of the blocks during rollback and start; the block forging module 302 is configured to create a new block, process an unprocessed transaction, including but not limited to an accounting transaction, and store the balance of both parties to the transaction and other accounting summary information in the transaction body before accounting up and accounting down; when the transaction processing is finished, the latest information of the accounts is acquired again, and account balance and other account summary information are transmitted into a transaction body; after all transactions are processed, signing the block, and bringing the newly written account abstract into the signature range; the block synchronization module 303 is configured to broadcast the block forged by the node and the new block received by the node outwards, verify the validity of the new block after verifying the new block received and forged, and determine that the accounting summary information is valid data after the accounting summary information in the transaction body after verifying the block signature is consistent.
In the system, after the transaction manager 100 receives the transaction, checks the validity of the transaction signature and the transaction information, notifies the block manager 300 to enter the block forging, the block manager 300 creates a blank block and puts the hash value of the last block into the blank block, the accounting manager 200 acquires the asset information of the transaction initiator and checks the asset state, when the transaction condition is met, the accounting manager 200 extracts the account summary information of the initiator, the transaction manager 100 stores the account summary information into a transaction body, the accounting manager 200 performs the up-down operation and finishes the accounting processing, the block manager 300 finishes the block forging within the specified time and finishes the transaction processing by the transaction manager 100, the accounting manager 200 and the block manager 300 are connected in a cross network manner, the data access can be performed mutually, a foundation is provided for realizing that a light node becomes a block link point, and the technical foundation function of real everything interconnection is realized.
The above description is only of the preferred embodiments of the present invention, and should not be taken as limiting the technical scope of the present invention, but all changes and modifications that come within the scope of the invention as defined by the claims and the specification are to be embraced by the invention.

Claims (6)

1. A dual signature transaction ledger method for blockchain, the dual signature transaction ledger method comprising:
s1, starting a node, wherein after the node receives a transaction generated from a blockchain network, the node checks the validity of transaction information and a transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for forging a new block;
s2, starting to create a new block after acquiring a local latest block and a hash value of the latest block, and circularly processing the transaction in an unprocessed transaction queue;
the looping processing transactions among the unprocessed transaction queues includes:
extracting unprocessed transaction, obtaining main body information of the unprocessed transaction, and when the transaction information and the transaction signature are legal, obtaining asset information of a transaction initiator, and checking whether the asset of the transaction initiator is enough and whether the asset can be transferred and then starting accounting processing by checking the validity of the transaction information and the transaction signature;
the accounting process comprises the following steps:
when the transaction information and the transaction signature are legal, extracting account abstract information at the beginning of a transaction initiator when the asset is sufficient and transferable, and storing the account abstract information into a transaction body;
extracting account abstract information of a transaction receiver at the beginning of the transaction and storing the account abstract information of the transaction receiver into a transaction body;
the account summary information of the accounts which is checked after the transaction initiator and the transaction receiver go up and down is stored in a transaction body through the assets of the transaction initiator and the assets of the transaction receiver, so that the accounting processing is completed;
selecting to discard the transaction when any one of the transaction information, the transaction signature, the asset sufficiency, and the asset transferability does not satisfy the condition;
s3, discarding the transaction when the unprocessed transaction is found to be illegal in the processing process, performing the transaction in the unprocessed transaction queue within the block forging time, and putting all processed transactions into the processed pool in the block body to finish the block forging;
the method comprises the following steps:
transaction manager: the system comprises a storage area, a processing unit and a processing unit, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information which is conventionally required to be contained by the transactions and are specially used for storing accounting summary information related to both transaction originators and transaction receivers;
accounting manager: the accounting management system is used for storing, changing and inquiring accounts, the changed accounts are calculated through full-quantity transaction, and after the accounts are changed, the accounts are required to be synchronized from the accounting manager to the area of the transaction, in which the account summary is stored;
block manager: the system comprises a block signature module, a storage module, a transaction initiator, a transaction receiver, a transaction storage module and a transaction processing module, wherein the block signature module is used for processing a transaction, creating a block and the storage module, and the validity of the accounting summary information is ensured by bringing the accounting summary information of the transaction initiator and the transaction receiver into the protection range of the block signature;
after the transaction manager receives the transaction, checking the validity of the transaction signature and the transaction information, informing the block manager to enter block forging, wherein the block forging device creates a blank block and puts the hash value of the last block into the blank block, the accounting manager acquires asset information of a transaction initiator and checks the asset state, and when the transaction condition is met, the accounting manager extracts account summary information of the initiator, the transaction manager stores the account summary information into a transaction body, then the accounting manager performs up-down account operation and finishes accounting processing, the block manager finishes block forging within a specified time and finishes transaction processing by the transaction manager, and the transaction manager, the accounting manager and the block manager are connected in a cross network mode, so that data access can be performed.
2. The dual signature transaction ledger method for blockchains of claim 1, wherein the transaction manager includes:
a transaction storage module: for storing related transactions, including unprocessed transactions, processed transactions;
a transaction creation module: the system comprises a transaction processing module, a transaction processing module and a transaction processing module, wherein the transaction processing module is used for creating a new transaction and checking basic information of the received transaction, and the type of the new transaction provides different types of transactions according to the requirements of upper-layer applications so as to support different business scenes;
transaction inquiry module: the transaction inquiry service is used for providing transaction for the block forging module and providing a data inquiry interface for the external block chain node.
3. The dual signature transaction ledger method for blockchains of claim 1, wherein the accounting manager includes:
accounting storage module: the system comprises a storage unit, a storage unit and a storage unit, wherein the storage unit is used for storing accounts of participants on a blockchain and assets held in the accounts;
accounting change module: the system is used for managing creation, update and revocation operations of accounts;
and the accounting query module: the accounting query operation is used for providing the accounting forging module, and the service time of the accounting query operation is limited to the period of the block forging.
4. The dual signature transaction ledger method for blockchains of claim 3, wherein the creating, updating, and voiding operations of the accounting change module include:
when a new account needs to be created, the account changing module creates a pair of private keys for the account to confirm ownership of the account;
when the account needs to be updated, checking whether the ownership of the account is consistent with the change applicant, whether the change content is legal or not and whether the asset involved in the transaction is transferred or not, starting updating after all check items are all consistent, and stopping updating if any check item is not consistent;
when the account is voided, including but not limited to deleting account data and using non-contact means, the voided account selects a different voiding means depending on the transaction.
5. The dual signature transaction ledger method for blockchains of claim 1, wherein the blockmanager includes:
a storage block module: the storage node comprises a block used for storing node forging and a block received from a blockchain network, and checking the validity of the block and whether a defect exists when rolling back and starting;
block forging module: for creating a new block and placing an unprocessed transaction into the new block after processing, the unprocessed transaction including, but not limited to, an accounting type transaction;
block synchronization module: and the method is used for broadcasting the blocks forged by the nodes and the new blocks received by the nodes outwards, checking the validity of the received and forged new blocks, and judging the accounting summary information as effective data after the accounting summary information in the transaction body after the block signature is checked to be consistent.
6. The dual signature transaction ledger method for blockchain of claim 5, wherein the blockforging module when processing accounting-type transactions includes:
storing the balances and other account summary information of both transaction parties into a transaction body before accounting is calculated;
when the transaction processing is finished, the latest information of the accounts is acquired again, and account balance and other account summary information are transmitted into a transaction body;
after all transactions are processed, the block is signed, and the newly written account summary is included in the signature range.
CN201910768284.1A 2019-08-20 2019-08-20 Dual signature transaction account method and system for blockchain Active CN112488700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910768284.1A CN112488700B (en) 2019-08-20 2019-08-20 Dual signature transaction account method and system for blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910768284.1A CN112488700B (en) 2019-08-20 2019-08-20 Dual signature transaction account method and system for blockchain

Publications (2)

Publication Number Publication Date
CN112488700A CN112488700A (en) 2021-03-12
CN112488700B true CN112488700B (en) 2024-04-05

Family

ID=74919784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910768284.1A Active CN112488700B (en) 2019-08-20 2019-08-20 Dual signature transaction account method and system for blockchain

Country Status (1)

Country Link
CN (1) CN112488700B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184495A (en) * 2011-04-21 2011-09-14 北京天地融科技有限公司 Network payment method and system
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN107846278A (en) * 2017-10-30 2018-03-27 中国联合网络通信集团有限公司 Intelligent contract processing method and processing device
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system
CN109376551A (en) * 2018-02-13 2019-02-22 李茗 Digital publishing rights block chain, digital content summary info calculation method and computer equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10657261B2 (en) * 2017-11-30 2020-05-19 Mocana Corporation System and method for recording device lifecycle transactions as versioned blocks in a blockchain network using a transaction connector and broker service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184495A (en) * 2011-04-21 2011-09-14 北京天地融科技有限公司 Network payment method and system
CN105956923A (en) * 2016-04-20 2016-09-21 上海如鸽投资有限公司 Asset transaction platform and digital certification and transaction method for assets
CN107846278A (en) * 2017-10-30 2018-03-27 中国联合网络通信集团有限公司 Intelligent contract processing method and processing device
CN108282474A (en) * 2018-01-18 2018-07-13 山东大学 The maintaining method of digital asset trade identity based on block chain
CN109376551A (en) * 2018-02-13 2019-02-22 李茗 Digital publishing rights block chain, digital content summary info calculation method and computer equipment
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电子支付系统中双重签名的研究与实现;张海燕;;广西轻工业(第03期);全文 *

Also Published As

Publication number Publication date
CN112488700A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US20230129822A1 (en) Resource transfer system
CN107846278B (en) Intelligent contract processing method and device
CN109522362A (en) Incomplete markets synchronous method, system and equipment based on block chain data
CN109314643A (en) Transacter, transaction methods and the program for it
CN105389488A (en) Identity authentication method and apparatus
CN110163691B (en) Invoice creating method and device based on block chain and electronic equipment
CN110008716A (en) Block chain method of commerce and device, electronic equipment, storage medium
CN110363663A (en) Batch data processing method, device, equipment and storage medium based on block chain
CN110262909A (en) RabbitMQ multi-zone supervision and message dilivery method, system
CN112581130A (en) Cross-chain transaction method based on multi-chain interconnection
CN111597264A (en) Block chain accounting method and device
CN108762895B (en) Method and device for processing distributed transaction
CN110009323A (en) Block chain method of commerce and device, electronic equipment, storage medium
US11461772B2 (en) Digital wallet conversion engine
CN109614263A (en) A kind of disaster tolerance data processing method, apparatus and system
CN112488700B (en) Dual signature transaction account method and system for blockchain
CN116029825B (en) Block chain transaction method, device and system, electronic equipment and storage medium
CN112581257A (en) Dispute service management method, system, device and medium supporting different card organizations
CN110119430B (en) Intelligent contract management method, server and computer readable storage medium
CN116339798A (en) Online consumption financial service platform architecture method, storage medium and electronic equipment
CN107066315B (en) Service calling method and device
JP2022074072A (en) Computer-implemented method, system, and computer program (identifying sister nodes based on context node)
US11227266B2 (en) Digital holding account
CN114372293A (en) Block chain based data approval method, device, equipment and storage medium
TW201933245A (en) Management method and system for credit line

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210401

Address after: Room 2201, 703c, Desai science and technology building, 9789 Shennan Avenue, high tech Zone community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Benchainless Technology (Shenzhen) Co.,Ltd.

Address before: 361006 unit 202, No.50, anling 2nd Road, Huli District, Xiamen City, Fujian Province

Applicant before: XIAMEN INSTINCT BLOCKCHAIN TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant