CN109447807A - The weak center's trust data management system and method for the total score double-strand of digital bank - Google Patents

The weak center's trust data management system and method for the total score double-strand of digital bank Download PDF

Info

Publication number
CN109447807A
CN109447807A CN201811306195.7A CN201811306195A CN109447807A CN 109447807 A CN109447807 A CN 109447807A CN 201811306195 A CN201811306195 A CN 201811306195A CN 109447807 A CN109447807 A CN 109447807A
Authority
CN
China
Prior art keywords
chain
ledger
transaction
block
head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811306195.7A
Other languages
Chinese (zh)
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.)
Chengdu Jiukuan Technology Co Ltd
Original Assignee
Chengdu Jiukuan 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 Chengdu Jiukuan Technology Co Ltd filed Critical Chengdu Jiukuan Technology Co Ltd
Priority to CN201811306195.7A priority Critical patent/CN109447807A/en
Publication of CN109447807A publication Critical patent/CN109447807A/en
Pending legal-status Critical Current

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses the weak center's trust data management systems and method of a kind of total score double-strand of digital bank, this method comprises: All Activity flowing water is woven into an oriented transaction net according to transaction agent and exchange hour;The oriented transaction net is cut into a general ledger chain and several ledger chains from vertical and horizontal both direction respectively;The chain head synchronizing information of all ledger chains is incorporated in the block of general ledger chain, so that the general ledger chain and ledger chain are merged into a BC chain;Relationship trading and account information are checked by the verifying of chain head and transaction verification, it is ensured that check the authenticity of information.The present invention passes through total score duplex structure, under the premise of the center of maintenance is centrally stored to data and manages, guarantee that data are open and clear, with block chain can not tamper and trackability feature, and all depositors is made all to be superintendent, implement the audit to system entirety accounting data indirectly, thus the possibility for avoiding bank's altered data, remembering false account.

Description

The weak center's trust data management system and method for the total score double-strand of digital bank
Technical field
The present invention relates to technical field of data processing, especially a kind of weak centerization of the total score double-strand of digital bank is credible Data management system and method.
Background technique
Traditional bank system uses " centralization " management mode for a long time, which has efficiently controllable and manage convenient etc. excellent Gesture, but recently as the disclosure of some insiders crime and external attack event, the drawbacks of centralization mode, increasingly highlights: in The heart centrally stored all account information and Transaction Information, it is easy to as the target of hacker attack, bring about great losses.More Importantly, centralized management lacks the transparency and controllability, depositor can only passively trust bank completely, it is difficult to actively real Apply supervision.Bank possesses the book keeping operation power of each transaction, has the ability forged customer information, distort transaction record, specific In the case of, it practises fraud there are center and encroaches on the risk of depositor's interests.
In recent years, " decentralization " management mode based on block chain technology gradually attracts attention and heat is held in both hands.It establishes more The block chain technology that Fang Gongtong keeps accounts under principle has the anti-tamper advantages such as traceable of high security, open and clear, data.But The technology is at present still in initial stage, the problems such as missing there are high cost with low efficiency, privacy leakage and responsible party.In addition, according to this Mode, bank by the Central Position for system of losing, government be more difficult to implement supervision, not can guarantee financial system safety and can Control property.Currently, being Typical Representative of the block chain in financial application, Central Bank, China with the ideal money that " bit coin " is representative Prepare the digital cash of distribution oneself, but the digital cash of Central Bank still uses centralization mode using state credit as endorsement, The characteristics of block chain is trusted in many ways can not be inherently embodied, and then is unable to give full play the business advantage of ideal money.Meanwhile It is larger to the operating mode change of existing banking system, and construction cost and maintenance cost all will be very high.
In view of this, promoting bank's public credibility to better meet banking demand, we combine existing banking system Business characteristic and block chain technical advantage, propose a kind of novel bank data storage and management scheme.
Summary of the invention
The technical problems to be solved by the present invention are: in view of the above problems, providing a kind of total score of digital bank The weak center's trust data management system and method for double-strand, by the data management of centralization and distributed, light client Data Audit combines, to have the efficient convenience of centralization and the safety transparent of decentralization concurrently.
The technical solution adopted by the invention is as follows:
A kind of weak center's trust data management method of the total score double-strand of number bank, specifically comprises the following steps:
All Activity flowing water is woven into an oriented transaction net according to transaction agent and exchange hour by step 1;
The oriented transaction net is cut into a general ledger chain and several point families from vertical and horizontal both direction respectively by step 2 Account chain;
Step 3, based on the general ledger chain, the chain head synchronizing information of all ledger chains is incorporated to the block of general ledger chain In, so that the general ledger chain and ledger chain are merged into a BC chain;
Step 4 is verified and transaction verification checks relationship trading and account information by chain head, it is ensured that examination information Authenticity: the chain head be verified as verifying BC chain newest block and itself ledger chain chain head information relationship;It is described Transaction verification is to verify the relationship that history block is corresponded in itself specific historical trading and the BC chain.
Further, the BC chain includes several chronologically successive blocks;The block of each BC chain includes Block head and block body;The block head, for storing the summary info of the block, and by the summary info of storage to complete Body depositor discloses;The block body, for storing current detailed trade data.
Further, in step 1, the structure of the transaction net are as follows:
Longitudinal is transaction agent, the account information of corresponding depositor;
It is laterally exchange hour, the transaction of all depositors, i.e. the general ledger information of banking system in corresponding timeslice.
Further, the timeslice is the isometric some time piece for daily dividing exchange hour.
Further, in step 2, the general ledger chain stores information according to block chain structure, and each block loads the corresponding time All Activity in piece;
The ledger chain is the transaction data of depositor individual to be connected according to chronological order, and press formula (1) The hash chain of calculating mode composition:
Wherein, TXiIndicate the detail of the i-th transaction, BalanceiAccount balance after indicating the i-th transaction;End Hi(i =n) it is known as the chain head information of ledger chain.
Further, All Activity current in the BC chain is constituted into general ledger tree, the chain head letter of current all ledger chains Breath constitutes ledger tree;Then there is following quantitative relation:
Head_PC_Merkle_Root(SumA**)=2 × TX_Merkle_Root (SumA*) %M (2);
Head_PC_Merkle_Root (SumB)=TB (3);
Wherein, SumA**It is the field in the tree root Head_PC_Merkle_Root of ledger tree, SumA with SumB**Table Show the value of the current total transaction amount mould M based on all ledgers statistics, TB indicates the overall balance of system;SumA*For general ledger tree Field in tree root TX_Merkle_Root, it indicates the value of the current total transaction amount mould M counted based on bank ledger.
Further, the chain head verifying, comprising:
Whether the chain head information that depositor itself is verified by Merkel path that bank returns by strictly according to the facts is included in institute In the ledger tree for stating the newest block of BC chain, the existence proof of itself chain head information is completed;
And verify the numerical relation whether whole transaction data in newest block meets formula (2) and formula (3).
Further, the transaction verification, comprising:
Whether the Merkel path returned by bank is strictly according to the facts to verify certain particular transactions on itself ledger chain Included in the general ledger tree of the correspondence history block of BC chain, complete the existence proof of itself particular transactions;
And verify the numerical relation whether whole transaction data in corresponding history block meets formula (2) and formula (3).
A kind of weak center's trust data management system of the total score double-strand of number bank, including the visitor by network connection Family end and server;
The client, comprising: client memory module and request module;
The client memory module, for storing the build chain and the ledger chain of itself of BC chain;
The request module, for sending echo request according to the server;
The server, comprising: central store module and account management module;
The central store module, for storing complete transaction journal, account data, BC chain and point of every depositor Family account chain data;
The account management module, the echo request for being sent according to the request module of the client return to client Hold Merkel path and the system entirety transaction data of corresponding block;
The client carries out chain head and tests by receiving Merkel path and the system entirety transaction data of corresponding block Card and transaction verification.
Further, the client and server is provided with respective private key and public key, and by digital signature come Carry out authentication.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are:
1, All Activity flowing water is woven into an oriented transaction net according to transaction agent and exchange hour by the present invention;Then The oriented transaction net is cut into a general ledger chain and several ledger chains;It, will subsequently based on the general ledger chain The chain head synchronizing information of all ledger chains is incorporated in the block of general ledger chain, so that the general ledger chain and ledger chain are merged into One BC chain;One aspect of the present invention guarantees that data are open and clear by total score duplex structure, with block chain can not tamper Guarantee that data are centrally stored on the other hand by weak center with trackability feature, and it is distributed for making all depositors all Superintendent implements audit to system entirety accounting data indirectly, thus effectively prevent bank's altered data, note false account can Energy.
2, for the present invention compared to bit coin network, irrelevant personnel can not obtain the transaction record and account letter of other depositors Breath can not also know the globalities business information such as deposit at bank scale, while data storage centerization and the spy that can not be distorted Point is also convenient for auditing bodies and implements supervision and internal auditing to bank.
3, the present invention is not necessarily to additionally build the new digital cash of new public chain or distribution, only by introducing asymmetric encryption Account management technology and the storage for carrying out block chain type to accounting data are transformed, and bank can be made to retain system centre status While, realize the characteristic service and function of numerous virtual digit currency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is money transfer transactions flow chart.
Fig. 2 is weak center's trust data management method flow chart of the total score double-strand of the digital bank of the present invention.
Fig. 3 is oriented transaction web frame schematic diagram of the invention.
Fig. 4 is the logical construction schematic diagram of total score double-strand of the invention.
Fig. 5 is the detailed structure view of BC chain of the invention.
Fig. 6 is weak center's trust data management system structure diagram of the total score double-strand of digital bank of the invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention, i.e., described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is logical The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
Inventive concept of the invention are as follows: All Activity flowing water is woven into a Zhang Youxiang according to transaction agent and exchange hour Transaction net;Then the oriented transaction net is cut into a general ledger chain and several ledger chains;Subsequently with the general ledger Based on chain, the chain head synchronizing information of all ledger chains is incorporated in the block of general ledger chain, to by the general ledger chain and divide Family account chain is merged into a BC chain;A kind of weak center's trust data management of total score double-strand is consequently formed, passes through total score double-strand On the one hand structure guarantees that data are open and clear, with block chain can not tamper and trackability feature, while in data set Storage meets bank oneself and controls data, protects the demand of bank and depositor's account privacy.
Before being illustrated to detailed step, to the present invention relates to the relevant technologies content be illustrated.
Merkle tree is a kind of Hash binary tree, it is a kind of as quick conclusion and verification large-scale data integrality Data structure.The complete Merkle tree needs of construction one are recursive to carry out Hash operation to back end, and will be newly-generated Hash node is inserted into Merkle tree, and until only remaining next Hash node, which is exactly Merkle root.
Merkle tree provides a kind of method of fast verification data existence.When N number of data element passes through Hash calculation And when being inserted into Merkle tree, any one full node dates back more log2(N) a path node can reach Merkle root, i.e., extremely Pass through log more2(N)+1 (including a Hash to itself), secondary Hash calculation can check that arbitrary data element whether there is In the Merkle tree, to complete its existence proof.
Feature and performance of the invention are described in further detail with reference to embodiments.
Embodiment 1
The present embodiment provides a kind of weak center's trust data management methods of the total score double-strand of digital bank, firstly, this Weak center's trust data management system of the total score double-strand of the digital bank of invention identifies body using asymmetric encryption techniques Part and ensure safety, i.e., depositor and bank have respective private key and public key, and carried out by digital signature authentication and Realize the non repudiation of information.For example, depositor ensures the authenticity of transaction request by digital signature, bank passes through number It signs to ensure the authenticity of system message and receipt of transferring accounts.Meanwhile the registration mode of the virtual digits currency such as similar bit coin, There is no the CA mechanism (i.e. " certificate authority ") of so-called centralization in digital banking system, the key pair of depositor is by depositor oneself Generate, the corresponding relationship of public key and account address is completed to map when it carries out Account Registration to bank, private key by depositor from Oneself takes care of.The asymmetric encryption account management technology of no CA mechanism is to realize the basis of Trusted Digital bank.Compared to existing bank In system, symmetric cryptosystem is generallyd use based on the absolute trust to bank to protect account safety and carry out identification Mode, the asymmetric encryption techniques that the present invention uses can arbitrarily forge or usurp to avoid bank using the Information Superiority in hand Change the transaction record of depositor.The entire flow of a money transfer transactions as shown in Figure 1, wherein in transaction request TX, VA、VBRespectively Indicate the account of the side of producing Alice and the side of being transferred to Bob, Amount is transfer amounts, Time1For request time, Memo is remarks Information, SgnAIt is the side's of producing private key to the signature of the request, to confirm the authenticity of the request;It transfers accounts in receipt RE, Time2For It keeps accounts the time, BalanceAFor the account balance of the side of producing after the completion of transaction, Head_PBAIndicate the chain head of the side's of producing ledger chain Information, SgncIt is bank's private key to the signature of the transaction, to confirm the completed authenticity of the transaction;It transfers accounts and notifies in Msg Parameter is similar with RE.The receipt RE and transferring accounts of transferring accounts notifies in Msg that the effect of Head_PB is both the confirmation to currently trading, and Confirmation to all historical tradings of the depositor.Weak center's trust data management method of the total score double-strand of the number bank, As shown in Fig. 2, specifically comprising the following steps:
All Activity flowing water is woven into an oriented transaction net according to transaction agent and exchange hour by step 1;
In the oriented transaction net:
Longitudinal is transaction agent, the account information of corresponding depositor;
It is laterally exchange hour, the transaction of all depositors, i.e. the general ledger information of banking system in corresponding timeslice;
Oriented transaction web frame schematic diagram as shown in Figure 3, the timeslice are by the several of the isometric division of exchange hour Timeslice preferably daily divides, and is set as 24 hours, so as to corresponding with bank existing " journal account ",
In the oriented transaction net: node Vi(i=0,1,2 ..., n) indicates each depositor in unit time piece;Often One arrow all corresponds to a money transfer transactions;Arrow beginning is the side of producing, and end is the side of being transferred to;Lateral solid line represents different nodes Between funds flow, longitudinal dotted line represent the remaining sum in the same node flow direction.The oriented transaction net is a constantly growth Dynamic network, and since new account account constantly has new node to generate.Bank ledger itself is regarded as a special section Point V0, only one node of original state the whole network V0, other depositor Vi(i=1,2 ..., n) is increasingly incorporated into network in the later period.Regulation The balance of deposits of all nodes must not drop below zero, bank V0Primary balance be a sufficiently large positive value TB (Total- Balance), depositor ViThe primary balance of (i=1,2 ..., n) is 0.Since All Activity is all oriented transaction net interior nodes Between transfer accounts, including depositor Vi(i=1,2 ..., n) depositor V also can be considered to itself account access cashi(i=1,2 ..., n) With bank V0Between transfer accounts.Therefore, the cash flow in transaction net is a closed loop, and overall balance is consistently equal to constant TB.
Depositor Vi(i=1,2 ..., n) is stored in the cash of X, is equivalent to bank V0To Vi(i=1,2 ..., n) transfer accounts X, i.e., silver-colored Row V0Itself balance of deposits reduction X, and depositor ViThe balance of deposits of (i=1,2 ..., n) increases X, while cash in bank assets increase Add X.Similar, depositor Vi(i=1,2 ..., n) extracts the cash of Y, is equivalent to depositor Vi(i=1,2 ..., n) Xiang Yinhang V0Turn Account Y, i.e. Vi(i=1,2 ..., n) itself balance of deposits reduction Y, and bank V0The balance of deposits increase Y, while cash in bank provide It produces and reduces Y.Bank V0Primary balance TB it is sufficiently large mean no matter how depositor withdraws deposit, bank V0Remaining sum be forever positive value.
The oriented transaction net is cut into a general ledger chain and several point families from vertical and horizontal both direction respectively by step 2 Account chain;
The logical construction schematic diagram of total score double-strand as shown in Figure 4 specifically further takes out the oriented transaction net As being cut respectively from vertical and horizontal two dimensions: being laterally general ledger information, longitudinal is account information, forms two kinds of logical datas Chain: a general ledger chain GC (General-Chain) and several ledger chain PC (Private-Chain);
Whole system only has a general ledger chain GC, and each depositor has a relatively independent ledger chain PC.Institute General ledger chain GC is stated, stores information according to block chain structure, each block loads the All Activity in corresponding timeslice, and utilizes front and back The Hash iteration of block locks historical trading;The ledger chain PC, the transaction data of depositor individual is suitable according to time order and function Sequence series connection, and the hash chain formed by the calculating mode of formula (1).
Wherein, TXiIndicate the detail of the i-th transaction, BalanceiAccount balance after indicating the i-th transaction;End Hi(i =n) it is known as the chain head information Head_PC of ledger chain, such as No. 31 squares in Fig. 3 just represent depositor's B node V2Chain head Information Head_PC.
Step 3, based on the general ledger chain GC, the chain head synchronizing information of all ledger chain PC is incorporated to general ledger chain GC Block in, so that the general ledger chain GC and ledger chain PC are merged into a BC chain (Binary-Chain);
The detailed structure view of BC chain as shown in Figure 5:
The BC chain includes several chronologically successive blocks;The block of each BC chain includes the area block Tou He Block;The block head, for storing the summary info of the block, and the summary info of storage is public to all depositors It opens;The block body, for storing current detailed trade data.The summary info includes: timestamp, transaction stroke count, hands over The value (M is one much larger than single trade maximum limit but less than the integer value of unit time piece total transaction amount) of easy total value mould M, The roots of two Merkel trees (general ledger tree TX_Merkle and ledger tree Head_PC_Merkle) and upper block head Cryptographic Hash.All block head information of BC chain disclose all depositors, by the distributed storage of the build chain to BC chain, realize The transaction of all depositors is known together, and then achievees the purpose that implement to supervise to center bank.The build chain of the BC chain is all BC The data-link that the block head of chain block is constituted.
Current All Activity constitutes general ledger tree TX_Merkle;The general ledger tree TX_Merkle is the Merck of an extension You set, and each leaf node corresponds to a current transaction TX, and the information of storage includes the cryptographic Hash hash (TX) of the transaction and hands over Easy volume Amount.Other than the traditional Merkel tree of picture is to cryptographic Hash layer by layer iteration, the SumA field of each node is equal to its most phase The sum of close turnover of two child nodes mould M.In this way, the Root field of root node has locked current All Activity, simultaneously SumA*Field is equal to current total turnover mould M.
The chain head information of current all ledger chain PC constitutes ledger tree Head_PC_Merkle;The ledger tree Head_PC_Merkle is also the Merkel tree of an extension: the account information of corresponding one individual depositor of each leaf node, storage The content deposited further includes total transaction amount ∑ Amount in the current period account and works as in addition to the chain head information of respective ledger chain PC Phase ending balance Balance.Corresponding, the Root field of root node has locked the ledger chain PC of current all depositors, simultaneously SumA**Field be equal to current total turnover twice of value mould M (same transaction can be recorded in the ledger chain of both parties simultaneously On), SumB field is equal to system overall balance TB.Its quantitative relation is as follows:
Head_PC_Merkle_Root(SumA**)=2 × TX_Merkle_Root (SumA*) %M (2);
Head_PC_Merkle_Root (SumB)=TB (3);
Wherein, SumA**It is the field in the tree root Head_PC_Merkle_Root of ledger tree, SumA with SumB**Table Show the value of the current total transaction amount mould M based on all ledgers statistics, TB indicates the overall balance of system;SumA*For general ledger tree Field in tree root TX_Merkle_Root, it indicates the value of the current total transaction amount mould M counted based on bank ledger
In conclusion asymmetric encryption techniques ensure that bank can not forge wash sale and directly encroach on depositor's interests, General ledger tree TX_Merkle has been anchored all transaction, and ledger tree Head_PC_Merkle has been anchored all ledger chain PC, And every ledger chain PC is the anchor for being anchored every depositor individual transaction.Card and mutually control are deposited by double-strand, in conjunction with numerical value Verifying, can effectively " latchings " data, prevention bank practise fraud.If only general ledger chain GC, without ledger chain PC, depositor can only The existence proof of transaction is completed, but the integrality of transaction can not be verified, i.e., bank may " missing " part transaction record.Phase Instead, if only ledger chain, although depositor is capable of the integrality of individual authentication itself transaction, since ledger chain is each other Isolated onrelevant, the public, which lacks general ledger data, can not serve as transaction eye-witness, and bank can use the advantage of information asymmetry, Unilateral account is remembered when manufacturing local true, whole false situation, such as transferring accounts, or is fabricated history to trade using inter-account and be remembered Record.
Step 4 is verified and transaction verification checks relationship trading and account information by chain head, it is ensured that examination information Authenticity;The examination is embodied the daily inquiry of its historical trading by depositor;The chain head is verified as verifying BC The relationship of the chain head information Head_PC of the newest block of chain and itself ledger chain;The transaction verification is to verify itself specifically The relationship of history block is corresponded in historical trading and the BC chain;
In actual verification process, the verification process of the chain head verifying and transaction verification is refined as the verifying of two classes, Verifying i.e. to the verifying of data and to system overall data, the former is presented as that existence is verified, and the latter is presented as numerical value The verifying of relationship:
The chain head verifying is to verify the authenticity of newest block in BC chain: the Merkel on the one hand returned by bank (Merkle) the chain head information Head_PC of depositor itself is verified by the ledger included in newest block strictly according to the facts in path whether It sets in Head_PC_Merkle, completes the existence proof of itself Head_PC;On the other hand the whole friendship in newest block is verified Whether easy data meet the numerical relation of formula (2) and formula (3), i.e., trace back to root from depositor's leaf node in previous ledger tree During node Head_PC_Merkle_Root, examination SumB whether constant is overall balance TB, SumA**Whether it is equal to newest " total transaction amount modulus SumA in block head*" twice of value mould M.
The transaction verification is the authenticity for verifying the transaction of certain particular historical: the Merkel on the one hand returned by bank (Merkle) certain particular transactions TX on itself ledger chain PC is verified by pair included in BC chain strictly according to the facts in path whether It answers in the general ledger tree TX_Merkle of history block, completes the existence proof of itself particular transactions;On the other hand correspondence is verified to go through Whether the whole transaction data in history block meets the numerical relation of formula (2) and formula (3), i.e., in previous general ledger tree from transaction During leaf node traces back to root node TX_Merkle_Root and the block ledger tree is traced back to from depositor's leaf node During root node Head_PC_Merkle_Root, examination SumB whether constant is overall balance TB, general ledger root vertex SumA*Whether " total transaction amount modulus SumA in the block head is equal to*" value, the SumA of ledger root vertex**Whether it is equal to SumA*Twice of value mould M.
Be not difficult to find out from above-mentioned ping procedure, the individual depositor largely dispersed to itself Transaction Information and account data into While row is directly checked, by cross double-strand to the cross validation of data existence, integrality and numerical relation, realize indirectly Audit to bank's entirety Transaction Information and accounting data, the possibility for thus greatly reducing bank's altered data, falsifying accounts, Improve the public credibility of bank.
It should be noted that depositor before carrying out Transaction Inquiries, needs advanced row data synchronous, the block including updating BC chain The ledger chain PC of head chain and itself, i.e., system newly-increased block head data and itself ledger chain since being downloaded from last time update down PC new hash chain node.Note that needing to verify the correctness of more new data when data are synchronous, i.e., foundation is previously deposited The continuity of the data step by step calculation new data of storage sees newest " the build Kazakhstan for the build chain that whether can smoothly derive BC chain The newest Head_PC of uncommon value " and itself PC.
Embodiment 2
The present embodiment provides a kind of weak center's trust data management of the total score double-strand of the digital bank of Application Example 1 Weak center's trust data management system of the total score double-strand of the digital bank of method, as shown in Figure 6, comprising: connected by network The client and server connect;
The client, comprising: client memory module and request module;
The client memory module, for storing the build chain and the ledger chain of itself of BC chain;
The request module, for sending echo request according to the server;
The server, comprising: central store module and account management module;
The central store module, for storing complete transaction journal, account data, BC chain and point of every depositor Family account chain data;
The account management module, the echo request for being sent according to the request module of the client are returned and are corresponded to The Merkel path of block and system entirety transaction data;
The client carries out build and tests by receiving Merkel path and the system entirety transaction data of corresponding block Card and transaction verification.
Further, the client and server is provided with respective private key and public key, and by digital signature come Carry out authentication.
It is apparent to those skilled in the art that the convenience and letter for description are bought, the number of foregoing description In weak center's trust data management system of the total score double-strand of bank, the weak centerization of the total score double-strand of the number bank can The specific work process of letter data management system and its functional module, can refer to corresponding processes in the foregoing method embodiment, Details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. it is a kind of number bank total score double-strand weak center's trust data management method, which is characterized in that specifically include as Lower step:
All Activity flowing water is woven into an oriented transaction net according to transaction agent and exchange hour by step 1;
The oriented transaction net is cut into a general ledger chain and several ledger chains from vertical and horizontal both direction respectively by step 2;
Step 3, based on the general ledger chain, the chain head synchronizing information of all ledger chains is incorporated in the block of general ledger chain, To which the general ledger chain and ledger chain are merged into a BC chain;
Step 4 is verified and transaction verification checks relationship trading and account information by chain head, it is ensured that checks the true of information Reality: the chain head is verified as the relationship of the newest block of verifying BC chain and the chain head information of itself ledger chain;The transaction It is verified as verifying the relationship for corresponding to history block in itself specific historical trading and the BC chain.
2. weak center's trust data management method of the total score double-strand of number bank as described in claim 1, feature exist In, the BC chain include several chronologically successive blocks;The block of each BC chain includes block head and block body; The block head discloses all depositors for storing the summary info of the block, and by the summary info of storage;It is described Block body, for storing current detailed trade data.
3. weak center's trust data management method of the total score double-strand of number bank as described in claim 1, feature exist In, in step 1, the structure of the transaction net are as follows:
Longitudinal is transaction agent, the account information of corresponding depositor;
It is laterally exchange hour, the transaction of all depositors, i.e. the general ledger information of banking system in corresponding timeslice.
4. weak center's trust data management method of the total score double-strand of number bank as claimed in claim 3, feature exist In the timeslice is the isometric some time piece for daily dividing exchange hour.
5. weak center's trust data management method of the total score double-strand of number bank as described in claim 1, feature exist In in step 2, the general ledger chain stores information according to block chain structure, and each block loads all friendships in corresponding timeslice Easily;
The ledger chain is the calculating that the transaction data of depositor individual is connected according to chronological order, and presses formula (1) The hash chain of mode composition:
Wherein, TXiIndicate the detail of the i-th transaction, BalanceiAccount balance after indicating the i-th transaction;End Hi(i=n) The referred to as chain head information of ledger chain.
6. weak center's trust data management method of the total score double-strand of number bank as claimed in claim 5, feature exist In by All Activity current in BC chain composition general ledger tree, the chain head information of current all ledger chains constitutes ledger tree; Then there is following quantitative relation:
Head_PC_Merkle_Root(SumA**)=2 × TX_Merkle_Root (SumA*) %M (2);
Head_PC_Merkle_Root (SumB)=TB (3);
Wherein, SumA**It is the field in the tree root Head_PC_Merkle_Root of ledger tree, SumA with SumB**Expression is based on The value of the current total transaction amount mould M of all ledger statistics, TB indicate the overall balance of system;SumA*For the tree root TX_ of general ledger tree Field in Merkle_Root, it indicates the value of the current total transaction amount mould M counted based on bank ledger.
7. weak center's trust data management method of the total score double-strand of number bank as claimed in claim 6, feature exist In the chain head verifying, comprising:
Whether the chain head information that depositor itself is verified by Merkel path that bank returns by strictly according to the facts is included in the BC In the ledger tree of the newest block of chain, the existence proof of itself chain head information is completed;
And verify the numerical relation whether whole transaction data in newest block meets formula (2) and formula (3).
8. weak center's trust data management method of the total score double-strand of number bank as claimed in claim 6, feature exist In the transaction verification, comprising:
Whether certain particular transactions on itself ledger chain are verified by packet strictly according to the facts by the Merkel path of bank's return It is contained in the general ledger tree of correspondence history block of BC chain, completes the existence proof of itself particular transactions;
And verify the numerical relation whether whole transaction data in corresponding history block meets formula (2) and formula (3).
9. a kind of weak center's trust data management system of the total score double-strand of number bank, including the client by network connection End and server, which is characterized in that
The client, comprising: client memory module and request module;
The client memory module, for storing the build chain and the ledger chain of itself of BC chain;
The request module, for sending echo request according to the server;
The server, comprising: central store module and account management module;
The central store module, for storing complete transaction journal, account data, BC chain and the ledger of every depositor Chain data;
The account management module, the echo request for being sent according to the request module of the client return to client pair Answer Merkel path and the system entirety transaction data of block;
The client, by receiving Merkel path and the system entirety transaction data of corresponding block, carry out the verifying of chain head and Transaction verification.
10. weak center's trust data management system of the total score double-strand of number bank as claimed in claim 9, feature exist In the client and server is provided with respective private key and public key, and carries out authentication by digital signature.
CN201811306195.7A 2019-01-25 2019-01-25 The weak center's trust data management system and method for the total score double-strand of digital bank Pending CN109447807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811306195.7A CN109447807A (en) 2019-01-25 2019-01-25 The weak center's trust data management system and method for the total score double-strand of digital bank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811306195.7A CN109447807A (en) 2019-01-25 2019-01-25 The weak center's trust data management system and method for the total score double-strand of digital bank

Publications (1)

Publication Number Publication Date
CN109447807A true CN109447807A (en) 2019-03-08

Family

ID=65550828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811306195.7A Pending CN109447807A (en) 2019-01-25 2019-01-25 The weak center's trust data management system and method for the total score double-strand of digital bank

Country Status (1)

Country Link
CN (1) CN109447807A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347745A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Time service authentication method, device and the equipment of a kind of piece of chain type account book
CN110599026A (en) * 2019-09-09 2019-12-20 北京搜狗科技发展有限公司 Data processing method and device for data processing
CN111177188A (en) * 2019-12-30 2020-05-19 浙江邦盛科技有限公司 Rapid massive time sequence data processing method based on aggregation edge and time sequence aggregation edge
CN111640018A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Block chain transaction existence verification method and device
US10778452B2 (en) 2019-06-03 2020-09-15 Alibaba Group Holding Limited Blockchain ledger authentication
CN112488707A (en) * 2020-11-24 2021-03-12 泰康保险集团股份有限公司 Service flow supervision method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
CN108009917A (en) * 2017-10-13 2018-05-08 中国银联股份有限公司 The transaction verification and register method and system of digital cash
US20180152442A1 (en) * 2003-12-22 2018-05-31 Guardtime Ip Holdings Limited Blockchain-supported, hash tree-based digital signature infrastructure
CN108595535A (en) * 2018-03-30 2018-09-28 李欣宇 Knowledge Q-A system and method based on the double-chain block chain of same root
CN108881459A (en) * 2018-07-02 2018-11-23 甘肃山呼信息技术有限公司 A kind of public block catenary system of Highly Scalable towards practical application
CN109033841A (en) * 2018-07-12 2018-12-18 杨城 It is a kind of to write the weak center's trusted data storage system and management method for testing separation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180152442A1 (en) * 2003-12-22 2018-05-31 Guardtime Ip Holdings Limited Blockchain-supported, hash tree-based digital signature infrastructure
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
CN108009917A (en) * 2017-10-13 2018-05-08 中国银联股份有限公司 The transaction verification and register method and system of digital cash
CN108595535A (en) * 2018-03-30 2018-09-28 李欣宇 Knowledge Q-A system and method based on the double-chain block chain of same root
CN108881459A (en) * 2018-07-02 2018-11-23 甘肃山呼信息技术有限公司 A kind of public block catenary system of Highly Scalable towards practical application
CN109033841A (en) * 2018-07-12 2018-12-18 杨城 It is a kind of to write the weak center's trusted data storage system and management method for testing separation

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347745A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Time service authentication method, device and the equipment of a kind of piece of chain type account book
US10778452B2 (en) 2019-06-03 2020-09-15 Alibaba Group Holding Limited Blockchain ledger authentication
CN110347745B (en) * 2019-06-03 2020-10-02 阿里巴巴集团控股有限公司 Time service authentication method, device and equipment for block chain type account book
US10911251B2 (en) 2019-06-03 2021-02-02 Advanced New Technologies Co., Ltd. Blockchain ledger authentication
US11108573B2 (en) 2019-06-03 2021-08-31 Advanced New Technologies Co., Ltd. Blockchain ledger authentication
CN110599026A (en) * 2019-09-09 2019-12-20 北京搜狗科技发展有限公司 Data processing method and device for data processing
CN110599026B (en) * 2019-09-09 2022-07-05 北京搜狗科技发展有限公司 Data processing method and device for data processing
CN111177188A (en) * 2019-12-30 2020-05-19 浙江邦盛科技有限公司 Rapid massive time sequence data processing method based on aggregation edge and time sequence aggregation edge
CN111640018A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Block chain transaction existence verification method and device
CN112488707A (en) * 2020-11-24 2021-03-12 泰康保险集团股份有限公司 Service flow supervision method and system
CN112488707B (en) * 2020-11-24 2023-06-23 泰康保险集团股份有限公司 Business circulation supervision method and system

Similar Documents

Publication Publication Date Title
CN109447807A (en) The weak center's trust data management system and method for the total score double-strand of digital bank
Zou et al. Focus on blockchain: A comprehensive survey on academic and application
Tian et al. Enabling cross-chain transactions: A decentralized cryptocurrency exchange protocol
CN109410076A (en) Agricultural product based on block chain technology, which are traced to the source, insures public service platform
CN109919756A (en) Fund transfer system, checking method and method of commerce based on Merkle tree backtracking location technology
CN109191281A (en) A kind of group's fraud identifying system of knowledge based map
CN107682308A (en) The electronic evidence preservation system for Channel Technology of being dived based on block chain
CN105844505A (en) Method of carrying out digital currency trading through block chain technology
CN108985773A (en) A kind of payment accounts method for secure transactions and system based on block chain
CN106204287A (en) Mutual insurance based on block chain and help each other guarantee operation method and system
CN110363527A (en) Card, monitoring and managing method and device are deposited based on block chain
CN114362987B (en) Distributed voting system and method based on block chain and intelligent contract
CN111476552A (en) Block chain-based card and ticket transaction platform
CN110490733A (en) A kind of stock trading method and system based on block chain
CN113570350A (en) Bill digital interaction system and method based on block chain
TWM586416U (en) Implementing a multi-center, distributed verification system for transactions based on blockchain technology
Zhang et al. Environmental accounting system model based on artificial intelligence blockchain and embedded sensors
Toapanta et al. Hyperledger technology in public organizations in Ecuador
Liucheng Application Prospect of Block Chain Technology in Accounting Industry
Su et al. Analysis on the Impact of Blockchain Technology on the Accounting Profession
Chhabra et al. An overview of blockchain technology and comparison between various cryptocurrencies
CN110363513A (en) Payment unions method and apparatus based on block chain
CN102194171A (en) Anti-fraud control method for financial management based on audit logic unit
Yang et al. Impact of Bitcoin's Distributed Structure on the Construction of the Central Bank's Digital Currency System
CN109087184A (en) A kind of bank's financial management method and system based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308