CN111768194B - Novel alliance chain with light account book as characteristic - Google Patents

Novel alliance chain with light account book as characteristic Download PDF

Info

Publication number
CN111768194B
CN111768194B CN202010583088.XA CN202010583088A CN111768194B CN 111768194 B CN111768194 B CN 111768194B CN 202010583088 A CN202010583088 A CN 202010583088A CN 111768194 B CN111768194 B CN 111768194B
Authority
CN
China
Prior art keywords
node
transaction
full
account book
light
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
CN202010583088.XA
Other languages
Chinese (zh)
Other versions
CN111768194A (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.)
Jiangsu Rongzer Information Technology Co Ltd
Original Assignee
Jiangsu Rongzer Information 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 Jiangsu Rongzer Information Technology Co Ltd filed Critical Jiangsu Rongzer Information Technology Co Ltd
Priority to CN202010583088.XA priority Critical patent/CN111768194B/en
Publication of CN111768194A publication Critical patent/CN111768194A/en
Application granted granted Critical
Publication of CN111768194B publication Critical patent/CN111768194B/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
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a novel alliance chain with a light-weight account book as a characteristic, which comprises a plurality of full-amount nodes and a plurality of light-weight nodes, wherein each light-weight node is connected with each full-amount node, the full-amount nodes are used for collecting all endorsed transactions to perform sequencing and block dropping and forming transaction data information, and the transaction data information is further processed by an achievement consensus mechanism to generate the full-amount account book. The invention is different from the traditional alliance chain that each peer node can only store the full account book, and each peer node in the novel alliance chain can determine whether to store the light account book or the full account book according to the configuration; compared with a full account book, the light account book occupies a smaller storage space, is quicker to establish a world state, and is more suitable for being applied to business scenes of small-sized terminal equipment such as mobile phones and pos machines in a alliance chain.

Description

Novel alliance chain with light account book as characteristic
Technical Field
The invention relates to the technical field of block chains, in particular to a novel alliance chain with a light account book as a characteristic.
Background
Most of the existing alliance chains are reconstructed based on the hyper-bridge-fabric, and the account book is not innovated too much, or the account book design of the hyper-bridge-fabric is adopted, namely: the method comprises the steps that firstly, orderer nodes pack and drop transactions to form an account book, then lead peer nodes pull the account book, and finally the account book is synchronized among the peer nodes through a gossip protocol, so that the formed final state is that all the nodes store the same account book in full amount.
The accounts stored in each node are all full and the same, and cannot be applied to some special service scenarios, such as: the node is deployed on a small terminal device, a storage space enough for accommodating a full-volume ledger cannot be provided, and a client connected with the node does not care about transactions irrelevant to the node, namely the node does not need to synchronize the full-volume ledger but only synchronizes the transactions relevant to the node in the ledger. Aiming at the problems, a novel alliance chain which takes a light-weight account book as a characteristic is designed.
Disclosure of Invention
The invention aims to provide a novel alliance chain with a light-weight account book as a characteristic, which has the advantage of universality in the current business mode by expanding the existing alliance chain on an account book layer, and solves the problem that the existing alliance chain cannot be applied to small-sized terminal equipment.
In order to achieve the purpose, the invention adopts the following technical scheme: a novel alliance chain with a light-weight account book as a characteristic comprises a plurality of full-amount nodes and a plurality of light-weight nodes, wherein each light-weight node is connected with each full-amount node, the full-amount nodes are used for collecting all endorsed transactions to perform sequencing and block dropping and forming transaction data information, and the transaction data information is further processed by an agreement mechanism to generate the full-amount account book;
The lightweight node initiates request data of a synchronous account book to a full-scale node, wherein the request data comprises a transaction identification list, and the transaction identification list comprises transaction source member numbers and transaction related member numbers to distinguish transaction information; the full-volume node receives request data from a synchronous account book in the light-weight node, the full-volume node generates light-weight response account book data by adopting an association filtering mode according to a transaction identification list in the request data and the full-volume account book, the full-volume node returns the response account book data to the corresponding light-weight node, and the light-weight node analyzes transactions in a block according to the response account book data and updates the world state in sequence; the full-volume nodes and the light-weight nodes are divided according to different account book storage modes, the full-volume nodes record all transaction account book data, and the light-weight nodes record transaction data related to the nodes; the association filtering mode is that if the transaction contains any information in the transaction identification list, the transaction meets the requirement of the lightweight node; if the transaction does not contain any information in the transaction identification list, the transaction does not meet the requirements of the lightweight node.
Furthermore, the full-scale node and the light-weight node can perform transaction endorsement, transaction verification and world state updating.
Compared with the prior art, the invention has the following beneficial effects:
1. different from the situation that each peer node in the traditional alliance chain can only store a full account book, each peer node in the novel alliance chain can determine whether to store a light account book or a full account book according to configuration; compared with a full account book, the light account book occupies a smaller storage space, is quicker to establish a world state, and is more suitable for being applied to business scenes of small-sized terminal equipment such as mobile phones and pos machines in a alliance chain.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the attached fig. 1:
fig. 1 is a schematic structural diagram of a novel federation chain featuring a lightweight ledger according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a novel federation chain featuring a lightweight ledger includes a plurality of full-volume nodes and a plurality of lightweight nodes, each of the lightweight nodes is connected to each of the full-volume nodes, the full-volume nodes are used for collecting all endorsed transactions to perform sorting and blocking, and forming transaction data information, and the transaction data information is further processed by an agreement consensus mechanism to generate a full-volume ledger;
the lightweight node initiates request data of a synchronous account book to a full-scale node, wherein the request data comprises a transaction identification list, and the transaction identification list comprises transaction source member numbers and transaction related member numbers to distinguish transaction information; the full-volume node receives request data from a synchronous account book in the light-weight node, the full-volume node generates light-weight response account book data by adopting an association filtering mode according to a transaction identification list in the request data and the full-volume account book, the full-volume node returns the response account book data to the corresponding light-weight node, and the light-weight node analyzes transactions in a block according to the response account book data and updates the world state in sequence.
The full-amount node and the light-weight node are divided according to different account book storage modes, the full-amount node records all transaction account book data, and the light-weight node records transaction data related to the node.
The association filtering mode is that if the transaction contains any information in the transaction identification list, the transaction meets the requirement of the lightweight node; if the transaction does not contain any information in the transaction identification list, the transaction does not meet the requirements of the lightweight node.
The full-scale nodes and the light-weight nodes can perform transaction endorsement, transaction verification and world state updating.
Conventional transaction endorsements are as follows;
a. after the client creates the transaction, it sends a request to the endorsement node selected by the client, that is, sends a PROPOSE message to the endorsement node set selected by the transaction.
B. The endorsement node simulates the transaction and then generates an endorsement signature.
C. The submitting client obtains the endorsement of the transaction and broadcasts through the ordering service (the former submitting node waits, when enough messages and signatures are obtained, the transaction is concluded to be endorsed, the transaction involves multiple rounds of interaction with the endorsement node, and if not, the submitting client abandons the transaction and retries the transaction later).
d. The ordering service delivers a message to all nodes that propagates the transaction.
The operation mode is as follows: and after collecting all endorsed transactions, the full-volume node performs sorting and block dropping, and writes the blocks into a local account book after the step of achieving consensus, namely the full-volume account book.
The lightweight node sends a request for synchronizing the ledger to the full-volume node, and the request parameter comprises a transaction identification list (information for distinguishing transactions by transaction source member numbers and transaction related member numbers).
After receiving the synchronous account book request from the light-weight node, the full-volume node analyzes a transaction identification list, and filters the transactions in the local full-volume account book one by one according to the transaction identification list, wherein the method is as follows: if the transaction contains any information in the transaction identification list, the transaction meets the requirement of the lightweight node; if the transaction does not contain any information in the transaction identification list, the transaction does not meet the requirements of the lightweight node.
The full-scale node repackages the satisfactory transactions into blocks (block header and block meta-information is unchanged, only block data content is changed), which are returned to the lightweight node as part of the request response.
And after receiving the response, the lightweight node analyzes the transactions in the block and then sequentially updates the world state.
The invention is not described in detail, but is well known to those skilled in the art.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (2)

1. A novel alliance chain with a light-weight account book as a characteristic comprises a plurality of full-amount nodes and a plurality of light-weight nodes, wherein each light-weight node is connected with each full-amount node, the full-amount nodes are used for collecting all endorsed transactions to perform sequencing and block dropping and forming transaction data information, and the transaction data information generates the full-amount account book through an agreement consensus mechanism;
the lightweight node initiates request data of a synchronous account book to the full-volume node, wherein the request data comprises a transaction identification list, and the transaction identification list comprises transaction source member numbers and transaction related member numbers to distinguish transaction information; the full-amount node receives request data from a synchronous account book in the light-weight node, the full-amount node generates light-weight response account book data by adopting an association filtering mode according to a transaction identification list in the request data and the full-amount account book, the full-amount node returns the response account book data to the corresponding light-weight node, and the light-weight node analyzes the transaction in the block according to the response account book data and updates the world state in sequence;
the full-amount node and the light-weight node are divided according to different account book storage modes, the full-amount node records all transaction account book data, and the light-weight node records transaction data related to the node;
The association filtering mode is that if the transaction contains any information in the transaction identification list, the transaction meets the requirement of the lightweight node; if the transaction does not contain any information in the transaction identification list, the transaction does not meet the requirements of the lightweight node.
2. A new federation chain featuring a lightweight ledger as claimed in claim 1, characterised in that: the full-scale nodes and the light-weight nodes can perform transaction endorsement, transaction verification and world state updating.
CN202010583088.XA 2020-06-23 2020-06-23 Novel alliance chain with light account book as characteristic Active CN111768194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010583088.XA CN111768194B (en) 2020-06-23 2020-06-23 Novel alliance chain with light account book as characteristic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010583088.XA CN111768194B (en) 2020-06-23 2020-06-23 Novel alliance chain with light account book as characteristic

Publications (2)

Publication Number Publication Date
CN111768194A CN111768194A (en) 2020-10-13
CN111768194B true CN111768194B (en) 2022-05-24

Family

ID=72722706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010583088.XA Active CN111768194B (en) 2020-06-23 2020-06-23 Novel alliance chain with light account book as characteristic

Country Status (1)

Country Link
CN (1) CN111768194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291358B (en) * 2020-11-02 2021-03-16 暗链科技(深圳)有限公司 Data association method and system of segmented block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110223170A (en) * 2019-05-15 2019-09-10 北京瑞卓喜投科技发展有限公司 The distributing method and system of the logical card of security type based on alliance's chain
CN110634068A (en) * 2018-06-21 2019-12-31 北京果仁宝软件技术有限责任公司 Community-chain-based credit investigation data processing method and system
CN111191283A (en) * 2019-12-27 2020-05-22 广西大学 Beidou positioning information security encryption method and device based on alliance block chain
CN111200589A (en) * 2019-12-05 2020-05-26 北京数字认证股份有限公司 Data protection method and system for alliance chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110634068A (en) * 2018-06-21 2019-12-31 北京果仁宝软件技术有限责任公司 Community-chain-based credit investigation data processing method and system
CN110223170A (en) * 2019-05-15 2019-09-10 北京瑞卓喜投科技发展有限公司 The distributing method and system of the logical card of security type based on alliance's chain
CN111200589A (en) * 2019-12-05 2020-05-26 北京数字认证股份有限公司 Data protection method and system for alliance chain
CN111191283A (en) * 2019-12-27 2020-05-22 广西大学 Beidou positioning information security encryption method and device based on alliance block chain

Also Published As

Publication number Publication date
CN111768194A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
EP3635607B1 (en) Computer-implemented system and method for managing transactions over a blockchain network
TWI738208B (en) Method and device for sending certifiable information across chains
CN110443704B (en) Method and device for sending resources in cross-link mode
CN107332876B (en) Method and device for synchronizing block chain state
CN110430064B (en) Block chain system, message processing method and storage medium
CN110503558B (en) Processing method and device based on block chain system
US20230109969A1 (en) Data processing method and apparatus based on node internal memory, device and medium
CN110011988A (en) Based on the certification authentication method and device of block chain, storage medium, electronic device
CN110400142A (en) Data processing method, device and storage medium
RU2015106704A (en) METHOD FOR ACCOUNTING PROPERTY AND OTHER NAMEED UNITS IN SINGLE-LEVEL BITCOIN AND NEXT TYPE MEDIA
CN111163148B (en) Synchronization method and related equipment for consensus state of block chain system
CN111768194B (en) Novel alliance chain with light account book as characteristic
CN110597922A (en) Data processing method, device, terminal and storage medium
CN112883117B (en) Data synchronization method, equipment and computer readable storage medium
CN109242460A (en) A kind of payment system and its account checking method based on multiple channel of disbursement
CN111611321A (en) Data storage method and device and block chain system
CN111611260A (en) Method and device for deleting block chain data
CN107577700A (en) The processing method and processing device of database disaster tolerance
CN112699136B (en) Cross-link certificate storage method and related device
CN110138851A (en) The making friends method of intelligent wearable device
CN116827957B (en) Information processing method, device, equipment and medium based on multi-block chain
CN114707980A (en) Method and device for processing collection information based on block chain
CN110532270A (en) The associated data managing method of account book and its system
CN116205650A (en) Block chain-based data processing method, equipment and readable storage medium
CN118036021A (en) Multi-block-chain-based data processing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant