CN112488700A - Dual-signature transaction account method and system for block chain - Google Patents

Dual-signature transaction account method and system for block chain Download PDF

Info

Publication number
CN112488700A
CN112488700A CN201910768284.1A CN201910768284A CN112488700A CN 112488700 A CN112488700 A CN 112488700A CN 201910768284 A CN201910768284 A CN 201910768284A CN 112488700 A CN112488700 A CN 112488700A
Authority
CN
China
Prior art keywords
transaction
block
account
accounting
transactions
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
Application number
CN201910768284.1A
Other languages
Chinese (zh)
Other versions
CN112488700B (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
Xiamen Instinct Blockchain Technology 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 Xiamen Instinct Blockchain Technology Co ltd filed Critical Xiamen Instinct Blockchain Technology 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

Images

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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a double signature transaction account method for a block chain, which comprises the steps of starting a node, checking transaction information and the 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 fast forging of a new area; creating a new block after acquiring the local latest block and the hash value of the latest block, and circularly processing the transaction in the unprocessed transaction queue; the invention also provides a double signature transaction account system for a block chain, which comprises a transaction manager, an accounting manager and a block manager, and solves the problem that accounting information cannot be calculated without full data, thereby realizing the technical basic function of real everything interconnection.

Description

Dual-signature transaction account method and system for block chain
Technical Field
The invention relates to the technical field of block chains, in particular to a double-signature transaction account method and a double-signature transaction account system for a block chain.
Background
The blockchain is one of the most important infrastructures in the credit era, and carries almost all human activities on the blockchain, even includes all devices for providing services to human beings, and some of the devices have high computing power and storage capability, so that the devices can independently complete some computing and storage work, so that the functions of the devices can be very powerful, and even can be used as nodes of a common blockchain, but the devices for providing services to human beings are not necessarily devices with strong computing power and storage capability, possibly very light-weight micro devices which can only perform simple computing, cannot participate in complex computing, and cannot store much data, so that when the devices participate in the infrastructure of the blockchain, the devices are difficult to independently provide services, and often need additional third-party services to provide computing and storage as a relay, when this service involves digital assets such as funding services, the use of third party services not only violates the design principles of block chain decentration, but also exposes these devices to uncontrolled risk. Therefore, how to handle the fund account by the portable nodes and even the micro devices on the blockchain without the help of third party services becomes an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a double-signature transaction account method and a double-signature transaction account system for a block chain, which solve the problem that account information cannot be calculated without full data through interactive access of a transaction manager, an account manager and a block manager, provide a foundation for a light node to become a block chain link point, and realize the technical foundation effect of real object-to-object interconnection.
A dual-signature transaction account method for a blockchain, the dual-signature transaction account method comprising:
s1, starting a node, wherein after the node receives the transaction generated by the block chain network, the node checks the validity of the transaction information and the transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for fast forging of a new region;
s2, creating a new block by acquiring the local latest block and the hash value of the latest block, and circularly processing the transaction in the unprocessed transaction queue;
and S3, discarding the unprocessed transaction when the transaction is found to be illegal in the processing process, wherein the transactions in the unprocessed transaction queue are processed in the block forging time, and all the processed transactions are put into the processed pool in the block body to finish the block forging.
Further, the processing the transactions in the unprocessed transaction queue in a loop includes:
extracting unprocessed transactions, acquiring main body information of the unprocessed transactions, acquiring asset information of a transaction initiator when transaction information and a transaction signature are legal by checking the validity of the transaction information and the transaction signature, and checking whether the assets of the transaction initiator are enough and whether the assets can be transferred and then starting financial processing;
and when any one of the transaction information, the transaction signature, the asset sufficiency and the asset transferability does not meet the conditions, the transaction is selected to be discarded.
Further, the accounting processing procedure includes:
when the transaction information and the transaction signature are legal and the assets are sufficient and transferable, extracting account summary information when a transaction initiator starts, and storing the account summary information into a transaction body;
extracting account summary information of a transaction receiver when the transaction receiver starts and storing the account summary information of the transaction receiver into a transaction body;
and then account summary information printed after the transaction initiator and the transaction receiver are subjected to the account release is stored in a transaction body through the assets of the transaction initiator and the assets of the transaction receiver, so that the financial processing is completed.
The invention also extends to a double signature transaction account system for a block chain based on the method, the system comprises:
a transaction manager: the transaction management system comprises a storage area, a transaction processing area and a transaction processing area, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information required to be contained by transaction conventions and are specially used for storing accounting summary information related to both transaction initiators and transaction receivers;
the accounting manager: the accounting management system is used for storing, changing and inquiring accounts, calculating changed accounts through full transaction, and synchronizing the changed accounts to a transaction area storing an accounting abstract from the accounting manager after the accounts are changed;
the block manager: the system comprises a block signature module, a block creation module and a block storage module, wherein the block signature module is used for processing transactions, creating blocks and storing the blocks, and guaranteeing the validity of the accounting summary information by bringing the accounting summary information of a transaction initiator and a transaction receiver into the protection range of the block signature;
in the system, after a transaction manager receives a transaction and checks the validity of a transaction signature and transaction information, the transaction manager is informed to enter block forging, a block forging device creates a blank block and puts a hash value of the previous block into the blank block, an accounting manager obtains asset information of a transaction initiator and checks the asset state, when a transaction condition is met, the accounting manager extracts account summary information of the initiator, the transaction manager stores the summary information into a transaction body, the accounting manager executes account-up and account-down operation and completes accounting processing, the block manager completes block forging within a specified time and completes transaction processing by the transaction manager, and the transaction manager, the accounting manager and the block manager are connected in a cross mesh manner and can access data mutually.
Further, the transaction manager includes:
a transaction storage module: for storing involved transactions, including unprocessed transactions, processed transactions;
a transaction creation module: the system is used for creating new transactions and verifying basic information of the received transactions, and the types of the new transactions provide different types of transactions according to the requirements of upper-layer applications so as to support different service scenes;
a transaction query module: the system is used for providing transaction query service, providing transactions for the block forging module and providing a data query interface for the external block chain node.
Further, the accounting manager includes:
an accounting storage module: the system is used for storing accounts of participants on the blockchain and assets held in the accounts;
an accounting change module: the system is used for managing the creation, updating and invalidation operations of the accounts;
an accounting query module: the method is used for providing accounting inquiry operation for the block forging module, and the service time of the accounting inquiry operation is limited to the block forging period.
Further, the creating, updating and invalidating operations of the accounting change module include:
when a new account needs to be created, the accounting change module creates a pair of private keys for the account to confirm the 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 and whether the assets involved in the transaction are full in transfer, starting updating after all the check items are completely met, and stopping updating if any check item is not met;
when the account is invalidated, including but not limited to deleting the account data and adopting a non-contact way, the voiding account selects different voiding ways according to different transaction services.
Further, the tile manager comprises:
a storage block module: for storing the blocks of node forgings and blocks received from the blockchain network and checking the validity of the blocks and the presence of a miss at rollback and start-up;
block forging module: the system is used for creating a new district block and putting unprocessed transactions into the new district block after processing, wherein the unprocessed transactions comprise but are not limited to accounting transactions;
a block synchronization module: the system is used for broadcasting the forged block of the node and the new block received by the node outwards, verifying the validity after verifying the received block and the forged new block, and judging that the accounting summary information is valid data after the accounting summary information in the transaction body after the block signature is verified to be consistent.
Further, the block forging module, when processing accounting type transaction, comprises:
before account settlement and accounting of the account are calculated, the balance and other account summary information of both transaction parties are stored in a transaction body;
when the transaction processing is finished, the latest information of the account is obtained again, and the 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 account information cannot be calculated without full data and a light device cannot independently process accounts, and particularly, a transaction manager, an account manager and a block manager are connected and accessed in an intersecting mode, so that the problem of historical change tracing is solved, and the function of knowing the general situation of an account by using one record under the condition of not synchronizing a large amount of data and calculation power is realized.
Drawings
FIG. 1 is a flow chart illustrating a dual signature transaction account method for blockchains according to the present invention;
FIG. 2 is a schematic diagram of the dual signature transaction account system for blockchains according to the present invention;
FIG. 3 is a schematic diagram of the transaction manager in the dual-signature transaction ledger system for blockchains according to the present invention;
FIG. 4 is a schematic diagram of the components of the accounting manager in the dual-signature transaction account system for blockchains according to the present invention;
figure 5 is a schematic diagram of the composition of a block manager in the dual signature ledger system for blockchains according to the present invention,
wherein: 100 a transaction manager; 200 an accounting manager; 300 the block manager 101 transaction storage module; 102 a transaction creation module; 103 a transaction query module; 201 an accounting storage module; 202 an accounting change module; 203 an accounting query module; 301 store the block module; 302 block forging module; 303 block synchronization module
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 blockchain is used as an important foundation for building a trust platform, and often requires that nodes on a blockchain network have high computing power and storage capacity, but often a lightweight node does not have the condition, and a micro device which can only perform simple computation cannot participate in the blockchain network activity, and particularly when a transaction of capital and financial transactions is processed, due to the defects of computing power and storage capacity, the help of a third-party large node or a transit node is needed, but the mechanism principle of going to the center of the blockchain is violated.
Therefore, in order to solve the problems that the light equipment cannot independently process the financial affairs and cannot calculate the financial affairs information without full data, the invention provides the following technical scheme:
as shown in fig. 1, a double signature transaction account method for a blockchain specifically includes:
s1, starting a node, wherein after the node receives the transaction generated by the block chain network, the node checks the validity of the transaction information and the transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for fast forging of a new region;
s2, creating a new block after acquiring the local latest block and the hash value of the latest block, circularly processing the transaction in the unprocessed transaction queue, firstly extracting the unprocessed transaction, acquiring the main body information of the unprocessed transaction, then acquiring the asset information of the transaction initiator when the transaction information and the transaction signature are legal by checking the validity of the transaction information and the transaction signature, checking whether the asset of the transaction initiator is enough and whether the asset can be transferred, and then starting the financial transaction processing, and when any one of the transaction information, the transaction signature, the asset sufficiency and the asset transferability does not meet the conditions, selecting to discard the transaction.
The accounting processing process further specifically includes: when the transaction information and the transaction signature are legal and the assets are sufficient and transferable, extracting account summary information when a transaction initiator starts, and storing the account summary information into a transaction body;
extracting account summary information of a transaction receiver when the transaction receiver starts and storing the account summary information of the transaction receiver into a transaction body;
and then account summary information printed after the transaction initiator and the transaction receiver are subjected to the account release is stored in a transaction body through the assets of the transaction initiator and the assets of the transaction receiver, so that the financial processing is completed.
And S3, discarding the unprocessed transaction when the transaction is found to be illegal in the processing process, wherein the transactions in the unprocessed transaction queue are processed in the block forging time, and all the processed transactions are put into the processed pool in the block body to finish the block forging.
The process of the double-signature transaction account method of the present invention described in conjunction with the above-mentioned S1-S3 extends to a double-signature transaction account system for blockchains, as shown in fig. 2, including but not limited to logical units consisting of the transaction manager 100, the accounting manager 200, and the blockmanager 300.
The transaction manager 100: the transaction management system comprises a storage area, a transaction processing area and a transaction processing area, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information required to be contained by transaction conventions and are specially used for storing accounting summary information related to both transaction initiators 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 query module 103, the transaction storage module 101 is used for storing related transactions, including unprocessed transactions and processed transactions, which are directly discarded for invalid transactions, when the block forging module 302 starts to process transactions, the transactions are extracted from an unprocessed transaction list in the transaction storage module 101, then normal processing of transactions is continued, and the processed transactions are stored in the processed transactions in the transaction storage module 101;
the transaction creation module 102: the transaction system is used for creating a new transaction and carrying out basic information verification on the received transaction, wherein the type of the new transaction provides different types of transactions according to the requirements of upper-layer application so as to support different service scenes;
the transaction query module 103: for providing transaction query services, providing transactions to tile forging module 302, and providing data query interfaces to external blockchain nodes.
The accounting manager 200: for storing, changing and inquiring accounts, the accounting manager 200 is the core in the whole accounting transaction process, and is also the basis of the transaction process, it needs to calculate the changed accounts through the whole transaction, after the accounts are changed, it needs to synchronize from the accounting manager 200 to the area storing the accounting summary of the transaction, as shown in fig. 4, the accounting manager 200 includes an accounting storage module 201, an accounting change module 202 and an accounting inquiry module 203, and the three modules work and function as follows:
the accounting storage module 201: the system is used for storing accounts of participants on the blockchain and assets held in the accounts, the assets mentioned in the invention include but are not limited to currency, equity, expression and the like, and it should be noted that the selection of the asset type does not limit the protection scope of the invention;
the accounting change module 202: the accounting change module 202 is used for managing the creation, update and invalidation operations of the accounting, and when a new account needs to be created, a pair of private keys is created for the account for confirming the 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 and whether the assets involved in the transaction are full in transfer, starting updating after all the check items are completely met, and stopping updating if any check item is not met; when the account is invalidated, including but not limited to deleting the account data and adopting a non-contact way, the voiding account selects different voiding ways according to different transaction services;
the accounting query module 203: the block forging module 302 is configured to provide accounting query operations, and the usage time of the accounting query operations is limited to 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 node.
The block manager 300: the block manager 300 guarantees that the accounting digest entered into the transaction is valid when the block manager serves another function in the present invention, except for the creation block, the broadcast block, the synchronization block, and the check block, and since the accounting digest is not within the signature range of the transaction initiator, a second signature is required to guarantee that the transaction data is not falsified, and the block manager 300 will bring these accounting digests added later into the protection range of the block signature and bind the block reliability together. Therefore, when the micro device obtains the last processed transaction of the micro device from any node in the blockchain network through the unified consensus interface of the blockchain, the micro device can obtain the latest account balance and other accounting summary information of the micro device without calculating from the beginning, and the calculation power and the storage capacity are effectively saved.
As shown in fig. 5, the block manager 300 further includes a block storage module 301, a block forging module 302, and a block synchronization module 303, where the block storage module 301 is used for storing the node-forged blocks and the blocks received from the blockchain network, and checking the validity and absence of the blocks during rollback and startup; the block forging module 302 is configured to create a new block, process unprocessed transactions including but not limited to accounting transactions, and store balances of both parties of the transactions and other accounting summary information into a transaction body before accounting for accounts; when the transaction processing is finished, the latest information of the account is obtained again, and the account balance and other account summary information are transmitted into a transaction body; after processing of all transactions is completed, signing the block, and bringing the newly written account summary into a signature range; the block synchronization module 303 is configured to broadcast a block with a forged node and a new block received by the node to the outside, verify the validity of the received block and the new block received by the forged block, and determine that the accounting summary information is valid data when the accounting summary information in the transaction body after checking the block signature is consistent
In the system, after the transaction manager 100 receives the transaction and checks the transaction signature and the validity of the transaction information, the block manager 300 is informed to enter block forging, the block manager 300 creates a blank block and puts the hash value of the previous block into the blank block, the accounting manager 200 acquires the asset information of the transaction initiator and checks the asset status, when the transaction condition is satisfied, the accounting manager 200 extracts the account summary information of the initiator, the transaction manager 100 stores the summary information into the transaction body, the accounting manager 200 performs the accounting-up and accounting-down operation and completes the accounting processing, the block manager 300 completes block forging within a specified time and completes the transaction processing by the transaction manager 100, the accounting manager 200 and the block manager 300 are connected in a cross-mesh manner, can access data with each other, and provides a basis for realizing that the light node block becomes a link point, the technical basic function of real everything interconnection is realized.
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 (9)

1. A double-signed transaction account method for a blockchain, the double-signed transaction account method comprising:
s1, starting a node, wherein after the node receives the transaction generated by the block chain network, the node checks the validity of the transaction information and the transaction signature, and the node puts the transaction into an unprocessed transaction queue to be processed when waiting for fast forging of a new region;
s2, creating a new block by acquiring the local latest block and the hash value of the latest block, and circularly processing the transaction in the unprocessed transaction queue;
and S3, discarding the unprocessed transaction when the transaction is found to be illegal in the processing process, wherein the transactions in the unprocessed transaction queue are processed in the block forging time, and all the processed transactions are put into the processed pool in the block body to finish the block forging.
2. A dual signature transaction ledger method for blockchains, according to claim 1, wherein said circular processing of transactions among the queues of unprocessed transactions comprises:
extracting unprocessed transactions, acquiring main body information of the unprocessed transactions, acquiring asset information of a transaction initiator when transaction information and a transaction signature are legal by checking the validity of the transaction information and the transaction signature, and checking whether the assets of the transaction initiator are enough and whether the assets can be transferred and then starting financial processing;
and when any one of the transaction information, the transaction signature, the asset sufficiency and the asset transferability does not meet the conditions, the transaction is selected to be discarded.
3. The double-signed transaction account method for the blockchain according to claim 2, wherein the accounting process comprises:
when the transaction information and the transaction signature are legal and the assets are sufficient and transferable, extracting account summary information when a transaction initiator starts, and storing the account summary information into a transaction body;
extracting account summary information of a transaction receiver when the transaction receiver starts and storing the account summary information of the transaction receiver into a transaction body;
and then account summary information printed after the transaction initiator and the transaction receiver are subjected to the account release is stored in a transaction body through the assets of the transaction initiator and the assets of the transaction receiver, so that the financial processing is completed.
4. A dual signature transaction account system for a blockchain, the system comprising:
a transaction manager: the transaction management system comprises a storage area, a transaction processing area and a transaction processing area, wherein the storage area is used for storing, creating and inquiring transactions, and the transactions comprise field information required to be contained by transaction conventions and are specially used for storing accounting summary information related to both transaction initiators and transaction receivers;
the accounting manager: the accounting management system is used for storing, changing and inquiring accounts, calculating changed accounts through full transaction, and synchronizing the changed accounts to a transaction area storing an accounting abstract from the accounting manager after the accounts are changed;
the block manager: the system comprises a block signature module, a block creation module and a block storage module, wherein the block signature module is used for processing transactions, creating blocks and storing the blocks, and guaranteeing the validity of the accounting summary information by bringing the accounting summary information of a transaction initiator and a transaction receiver into the protection range of the block signature;
in the system, after a transaction manager receives a transaction and checks the validity of a transaction signature and transaction information, the transaction manager is informed to enter block forging, a block forging device creates a blank block and puts a hash value of the previous block into the blank block, an accounting manager obtains asset information of a transaction initiator and checks the asset state, when a transaction condition is met, the accounting manager extracts account summary information of the initiator, the transaction manager stores the summary information into a transaction body, the accounting manager executes account-up and account-down operation and completes accounting processing, the block manager completes block forging within a specified time and completes transaction processing by the transaction manager, and the transaction manager, the accounting manager and the block manager are connected in a cross mesh manner and can access data mutually.
5. The dual signature transaction account system for blockchains according to claim 4, wherein the transaction manager comprises:
a transaction storage module: for storing involved transactions, including unprocessed transactions, processed transactions;
a transaction creation module: the system is used for creating new transactions and verifying basic information of the received transactions, and the types of the new transactions provide different types of transactions according to the requirements of upper-layer applications so as to support different service scenes;
a transaction query module: the system is used for providing transaction query service, providing transactions for the block forging module and providing a data query interface for the external block chain node.
6. The dual-signature transaction account system for blockchains according to claim 4, wherein the accounting manager comprises:
an accounting storage module: the system is used for storing accounts of participants on the blockchain and assets held in the accounts;
an accounting change module: the system is used for managing the creation, updating and invalidation operations of the accounts;
an accounting query module: the method is used for providing accounting inquiry operation for the block forging module, and the service time of the accounting inquiry operation is limited to the block forging period.
7. The dual signature transaction account system for blockchain of claim 6, wherein the operations of creating, updating, invalidating the accounting change module comprises:
when a new account needs to be created, the accounting change module creates a pair of private keys for the account to confirm the 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 and whether the assets involved in the transaction are full in transfer, starting updating after all the check items are completely met, and stopping updating if any check item is not met;
when the account is invalidated, including but not limited to deleting the account data and adopting a non-contact way, the voiding account selects different voiding ways according to different transaction services.
8. The dual signature transactional account system for blockchains of claim 4 wherein said blockmanager comprises:
a storage block module: for storing the blocks of node forgings and blocks received from the blockchain network and checking the validity of the blocks and the presence of a miss at rollback and start-up;
block forging module: the system is used for creating a new district block and putting unprocessed transactions into the new district block after processing, wherein the unprocessed transactions comprise but are not limited to accounting transactions;
a block synchronization module: the system is used for broadcasting the forged block of the node and the new block received by the node outwards, verifying the validity after verifying the received block and the forged new block, and judging that the accounting summary information is valid data after the accounting summary information in the transaction body after the block signature is verified to be consistent.
9. The dual signature transaction account system for blockchain of claim 8, wherein the blockforging module when processing accounting type transactions comprises:
before account settlement and accounting of the account are calculated, the balance and other account summary information of both transaction parties are stored in a transaction body;
when the transaction processing is finished, the latest information of the account is obtained again, and the 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 true CN112488700A (en) 2021-03-12
CN112488700B 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 (7)

* 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
US20190163912A1 (en) * 2017-11-30 2019-05-30 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 (7)

* 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
US20190163912A1 (en) * 2017-11-30 2019-05-30 Mocana Corporation System and method for recording device lifecycle transactions as versioned blocks in a blockchain network using a transaction connector and broker service
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
张海燕;: "电子支付系统中双重签名的研究与实现", 广西轻工业, no. 03 *

Also Published As

Publication number Publication date
CN112488700B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
US20210287215A1 (en) Resource transfer system
CN108389129B (en) Transaction execution method and device based on block chain and electronic equipment
CN110363665B (en) Credit right data processing method, device, equipment and medium
US20220051235A1 (en) Settlement system, settlement method, user device, and settlement program
US9898376B2 (en) Recovery of a transaction after XA end
JP2012018449A (en) Snapshot acquisition processing program, snapshot acquisition processing method, snapshot participant computer, and snap shot coordinator computer
CN111597264A (en) Block chain accounting method and device
CN108762895B (en) Method and device for processing distributed transaction
US20050144301A1 (en) System for aborting web services automatically and method thereof
CN112488700A (en) Dual-signature transaction account method and system for block chain
CN116415955A (en) Cross-chain transaction method and system based on combination of hash locking and notary
CN114372293A (en) Block chain based data approval method, device, equipment and storage medium
JP2022074072A (en) Computer-implemented method, system, and computer program (identifying sister nodes based on context node)
US11681990B2 (en) Reducing information requirements in digital electronic transfers
US20230351337A1 (en) Generating and securing digital checks using distributed ledger and embedded chip methods
CN112291305B (en) Code chain construction method and device based on unified identification
EP1703455A2 (en) Electronic value exchange method, user device, and third-party device
CN118056381A (en) Method and system for blockchain-based transactions for atomic exchange of assets
CN112734373A (en) Information processing method, information processing apparatus, electronic device, and medium
CN116522376A (en) Cross-chain transaction method and system based on time lock rewarding mechanism
CN114529411A (en) Financing method and device based on block chain
CN113282664A (en) Data synchronization method, system and storage medium based on block chain
CN113077241A (en) Approval processing method, device, equipment and storage medium
CN111630542A (en) Method of executing a transaction
KR20180010036A (en) Fintech server and method of providing notary service for account transfer

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

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.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant