CN108985742A - Transaction processing method, device and block catenary system - Google Patents

Transaction processing method, device and block catenary system Download PDF

Info

Publication number
CN108985742A
CN108985742A CN201810798598.1A CN201810798598A CN108985742A CN 108985742 A CN108985742 A CN 108985742A CN 201810798598 A CN201810798598 A CN 201810798598A CN 108985742 A CN108985742 A CN 108985742A
Authority
CN
China
Prior art keywords
block chain
account
sub
subregion
chain subregion
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
CN201810798598.1A
Other languages
Chinese (zh)
Other versions
CN108985742B (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.)
Shenzhen Xunlei Network Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201810798598.1A priority Critical patent/CN108985742B/en
Publication of CN108985742A publication Critical patent/CN108985742A/en
Priority to PCT/CN2019/094557 priority patent/WO2020015533A1/en
Application granted granted Critical
Publication of CN108985742B publication Critical patent/CN108985742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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

Landscapes

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

Abstract

A kind of transaction processing method, device and block catenary system are disclosed in the embodiment of the present invention, accounting nodes in the corresponding sub-block chain subregion of the side's of producing account receive the transaction request initiated by client, and the relevant information of each sub-block chain subregion is obtained from main block chain subregion;The corresponding sub-block chain subregion of the side's of being transferred to account is determined according to relevant information;If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion corresponding from the side's of producing account is different, after the side of producing handles the transaction request, transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the side of being transferred to account, to be handled by the side of being transferred to the transaction request.Realize across subregion transaction on the basis of block chain subregion, each sub-block chain subregion need to only handle the relevant transaction of corresponding account, multiple sub-block chain subregions can the relevant transaction of the multiple accounts of parallel processing, improve transaction processing efficiency.

Description

Transaction processing method, device and block catenary system
Technical field
The present invention relates to block chain technical fields, and in particular to a kind of transaction processing method, device and block catenary system.
Background technique
Block chain technology is that algorithm of knowing together with storing data, using distributed node is verified using block linked data structure Guarantee the safety of data transmission and access with more new data, in the way of cryptography, using by automatized script generation to generate The intelligent contract of code composition programs the completely new distributed basis framework and calculation paradigm of one kind with operation data.Block chain skill Art itself has many advantages: on the one hand, since block chain network can realize selfdiscipline, any malice deception by algorithm The behavior of system all can be by the repulsion and inhibition of other nodes in network, therefore, and block catenary system is without relying on central authority Safe network trading can be realized in mechanism supports and credit endorsement.On the other hand, since block chain takes one-way hash function algorithm, Simultaneously each newly generated block in strict accordance with linearly sequence promote, the irreversibility of time cause it is any attempt invade usurp The behavior for changing data information in block chain is all easy to be traced, and causes by the repulsion of other nodes, so as to limit correlation Malfeasance.Therefore, block chain technology has obtained increasingly extensive application in various fields such as finance, banks.
But traditional block catenary system, each transaction in assets are required to through block chain nodes all in system Processing, for the limited speed of entire block catenary system processing transaction in the processing capacity of single block chain node, more transactions can not It concurrently executes, causes transaction processing efficiency low.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State a kind of transaction processing method and device of problem.
A kind of transaction processing method, it is described applied to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account Method includes:
Receive the transaction request initiated by client;
The side's of being transferred to account is obtained from the transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
According to the corresponding sub-block chain point of the side's of being transferred to account described in the determination of the relevant information of each sub-block chain subregion Area;
The corresponding sub-block chain subregion of the account of the side of being transferred to described in judgement sub-block chain point corresponding with the side's of producing account Whether area is identical;
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain point corresponding with the side's of producing account Area is different, according to account corresponding sub-block chain subregion in the side's of being transferred to described in the determination of the relevant information of each sub-block chain subregion Interior accounting nodes;
Accounting nodes in the corresponding sub-block chain subregion of the side's of producing account handle the transaction request Later, the transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the side of being transferred to account, by institute The accounting nodes stated in the corresponding sub-block chain subregion of the side's of being transferred to account handle the transaction request.
Optionally, the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account carry out the transaction request Processing, comprising:
Determine the corresponding assets number of transaction request;
The assets number is deducted from the corresponding assets of the side's of producing account;
After deducting the assets number in the corresponding assets of the side's of producing account, across subregion synchronizing information is remembered It records in the merkle tree in the corresponding sub-block chain subregion of the side's of producing account.
Optionally, the note transaction request being forwarded in the corresponding sub-block chain subregion of the side of being transferred to account Account node, comprising:
The transaction request and across the subregion synchronizing information are forwarded to the corresponding sub-block chain of the side of being transferred to account Accounting nodes in subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the side's of being transferred to account according to it is described across point After synchronizing information confirmation in area's deducts the assets number in the corresponding assets of the side's of producing account, in the side's of being transferred to account Increase the assets number in number corresponding assets.
Optionally, the side's of being transferred to account described in being forwarded to the transaction request and across the subregion synchronizing information is corresponding After accounting nodes in sub-block chain subregion, the method also includes:
Receipt letter is completed in the transaction that accounting nodes in the corresponding sub-block chain subregion of the account of the side of being transferred to described in reception are sent Breath;
Across the subregion synchronization is deleted from the merkle tree in the corresponding sub-block chain subregion of the side's of producing account Information.
Optionally, the method also includes:
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain point corresponding with the side's of producing account Area is different, is handled by the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account the transaction request.
A kind of transaction processing method is applied to client, which comprises
Generate transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
Determine that the side's of producing account in the transaction request is corresponding according to the relevant information of each sub-block chain subregion Sub-block chain subregion;
The transaction request is sent in the corresponding sub-block chain subregion of the side of producing account, so that the side of producing Accounting nodes in the corresponding sub-block chain subregion of account handle the transaction request.
A kind of traction processing apparatus, it is described applied to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account Device includes:
Receiving unit, for receiving the transaction request initiated by client;
Acquiring unit, for obtaining the side's of being transferred to account from the transaction request;
The acquiring unit is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit, it is corresponding for the side's of being transferred to account according to the determination of the relevant information of each sub-block chain subregion Sub-block chain subregion;
Judging unit, for judging that account corresponding sub-block chain subregion in the side of being transferred to is corresponding with the side's of producing account Sub-block chain subregion it is whether identical;
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain point corresponding with the side's of producing account Area is different, the determination unit, is also used to the side's of being transferred to account according to the determination of the relevant information of each sub-block chain subregion Accounting nodes in number corresponding sub-block chain subregion;
Transmission unit, in processing unit to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account After handling the transaction request, the transaction request is forwarded to the corresponding sub-block chain point of the side of being transferred to account Accounting nodes in area, with by the accounting nodes in the corresponding sub-block chain subregion of the side's of being transferred to account to the transaction request It is handled.
A kind of traction processing apparatus, is applied to client, and described device includes:
Generation unit, for generating transaction request;
The acquiring unit is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit turns for being determined in the transaction request according to the relevant information of each sub-block chain subregion The corresponding sub-block chain subregion of square account out;
Transmission unit, for the transaction request to be sent in the corresponding sub-block chain subregion of the side of producing account.
A kind of storage medium, is stored thereon with program, which realizes when being executed by processor at transaction as described above Reason method.
A kind of electronic equipment, the electronic equipment include memory and processor, and the memory is for storing program, institute Processor is stated for running program, wherein described program executes transaction processing method as described above when running.
A kind of block catenary system, the system comprises main block chain subregion and at least two sub-block chain subregions, wherein institute It states at least two sub-block chain subregions and includes the first sub-block chain subregion and the second main block chain subregion,
Accounting nodes in the first sub-block chain subregion are used to receive the transaction request initiated by client;From described The side's of being transferred to account is obtained in transaction request;The relevant information of each sub-block chain subregion is obtained from main block chain subregion;According to Account corresponding sub-block chain subregion in the side's of being transferred to described in the relevant information of each sub-block chain subregion is determining;Judgement is described to be turned Whether the corresponding sub-block chain subregion of the side's of entering account sub-block chain subregion corresponding with the side's of producing account is identical;If described The corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion corresponding from the side's of producing account is different, according to described each Accounting nodes in account corresponding sub-block chain subregion in the side's of being transferred to described in the relevant information of a sub-block chain subregion is determining;Institute It states after the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account handle the transaction request, by the friendship Easily request is forwarded to the accounting nodes in the corresponding second sub-block chain subregion of the side of being transferred to account;
Accounting nodes in the second sub-block chain subregion are used to receive the book keeping operation in the first sub-block chain subregion The transaction request that node is sent, and the transaction request is handled.
By above-mentioned technical proposal, transaction processing method, device and block catenary system provided by the invention, the side's of producing account Accounting nodes in corresponding sub-block chain subregion receive the transaction request initiated by client, obtain from main block chain subregion The relevant information of each sub-block chain subregion;The side's of being transferred to account pair is determined according to the relevant information of each sub-block chain subregion The sub-block chain subregion answered;If the corresponding sub-block chain subregion of the side's of being transferred to account son corresponding with the side's of producing account Block chain subregion is different, according to account corresponding sub-district in the side's of being transferred to described in the determination of the relevant information of each sub-block chain subregion Accounting nodes in block chain subregion;Accounting nodes in the corresponding sub-block chain subregion of the side's of producing account are to the transaction After request is handled, the transaction request is forwarded to the book keeping operation in the corresponding sub-block chain subregion of the side of being transferred to account Node, to be handled by the accounting nodes in the corresponding sub-block chain subregion of the side's of being transferred to account the transaction request. Across subregion transaction is realized on the basis of block chain subregion, each sub-block chain subregion need to only handle corresponding account phase The transaction of pass, multiple sub-block chain subregions can the relevant transaction of the multiple accounts of parallel processing, improve transaction processing efficiency.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of block chain subregion schematic diagram disclosed by the embodiments of the present invention;
Fig. 2 shows a kind of flow diagrams of transaction processing method disclosed by the embodiments of the present invention;
Fig. 3 shows a kind of flow diagram of transaction processing method disclosed by the embodiments of the present invention;
Fig. 4 shows a kind of structural schematic diagram of traction processing apparatus disclosed by the embodiments of the present invention;
Fig. 5 shows a kind of structural schematic diagram of traction processing apparatus disclosed by the embodiments of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Transaction processing method provided by the invention is suitable for including a main block chain subregion and at least two sub-block chains The block catenary system (as shown in Figure 1) of subregion, wherein main block chain subregion is used to record the related letter of all sub-block chain subregions Breath, relevant information includes but is not limited to the book keeping operation section in the division information of each sub-block chain subregion, each sub-block chain subregion Point information, specifically, the division information of each sub-block chain subregion may include, the serial number of each sub-block chain subregion with it is each The corresponding relationship of account number classification;Accounting nodes information in each sub-block chain subregion may include each sub-block chain subregion sequence Corresponding relationship and each sub-block chain subregion serial number and each height number with book keeping operation people's public key in each sub-block chain subregion The corresponding relationship of accounting nodes address in block chain subregion.Accounting nodes in each sub-block chain subregion can be from main block chain The relevant information of all sub-block chain subregions is obtained in subregion.
In one embodiment, above-mentioned at least two sub-block chain subregions include that the first sub-block chain subregion and second are main Block chain subregion, the accounting nodes in above-mentioned first sub-block chain subregion are used to receive by the transaction request of client initiation;From The side's of being transferred to account is obtained in above-mentioned transaction request;The relevant information of each sub-block chain subregion is obtained from main block chain subregion; The corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion;In judgement Whether identical state the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion corresponding with the above-mentioned side's of producing account;If The corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain subregion corresponding from the above-mentioned side's of producing account is different, according to upper The relevant information for stating each sub-block chain subregion determines accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account; It, will be upper after the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account handle above-mentioned transaction request State the accounting nodes that transaction request is forwarded in the corresponding second sub-block chain subregion of the above-mentioned side's of being transferred to account;Above-mentioned second sub-district Accounting nodes in block chain subregion are used to receive the above-mentioned transaction that the accounting nodes in above-mentioned first sub-block chain subregion are sent and ask It asks, and above-mentioned transaction request is handled.
It should be noted that the first sub-block chain subregion and the second sub-block chain subregion not refer in particular to certain two sub-block chain Subregion can be any two sub-block chain subregion at least two sub-block chain subregions.
Attached drawing 2 is please referred to, Fig. 2 is a kind of flow diagram of transaction processing method disclosed by the embodiments of the present invention, the party Method is applied to client, and the above method includes:
S100: transaction request is generated;
Transaction request can be by client generation, and a transaction may include the side of producing and the side of being transferred to, and use The assets of certain number need to be produced to the side of being transferred in the instruction side of producing, that is, include the side of producing of the transaction in transaction request Account and the side's of being transferred to account, and the number of transaction assets.
For example, client can be mobile phone, computer ... electronic equipment in the present embodiment, and client can be installed There is relevant application software (such as wallet APP), to generate corresponding transaction request;
S110: the relevant information of each sub-block chain subregion is obtained from main block chain subregion;
Client needs to obtain the relevant information of each sub-block chain subregion from main block chain subregion.
S120: the side's of producing account in above-mentioned transaction request is determined according to the relevant information of above-mentioned each sub-block chain subregion Corresponding sub-block chain subregion;
Client is after the relevant information for obtaining each sub-block chain subregion, according to the phase of above-mentioned each sub-block chain subregion It closes information and determines the corresponding sub-block chain subregion of the above-mentioned side's of producing account;In one embodiment, client first determines above-mentioned Account number classification belonging to the side's of producing account, then according to each sub-block chain in the relevant information of each sub-block chain subregion point The serial number in area with the corresponding relationship of each account number classification determine the above-mentioned side's of producing account belonging to the corresponding sub-block of account number classification Chain subregion serial number, so that it is determined that the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
S130: above-mentioned transaction request is sent in the corresponding sub-block chain subregion of the above-mentioned side's of producing account, so that above-mentioned Accounting nodes in the corresponding sub-block chain subregion of the side's of producing account handle the transaction request.
After client determines the corresponding sub-block chain subregion of the above-mentioned side's of producing account, then transaction request is sent to It states in the corresponding sub-block chain subregion of the side's of producing account, by the book keeping operation in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Node receives the transaction request that above-mentioned client is sent and processing.
In the present embodiment, client can obtain the relevant information of each sub-block chain subregion from main block chain subregion, And account corresponding sub-block chain subregion in the side's of producing in transaction request is obtained accordingly, transaction request is sent to the above-mentioned side's of producing account In number corresponding sub-block chain subregion, by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account to the transaction Request is handled.Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account handle the transaction request Detailed process will be illustrated in detail by way of the following examples.
Attached drawing 3 is please referred to, Fig. 3 is a kind of flow diagram of transaction processing method disclosed by the embodiments of the present invention, the party Method is applied to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account, and the above method includes:
S200: the transaction request initiated by client is received;
Accounting nodes reception in the corresponding sub-block chain subregion of the above-mentioned side's of producing account is asked by the transaction that client is initiated Ask, in one embodiment, the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account can directly receive by The transaction request that client is sent, in another embodiment, the transaction request that client is initiated can be first sent to except above-mentioned Other nodes except accounting nodes in the corresponding sub-block chain subregion of the side's of producing account, the corresponding son of the above-mentioned side's of producing account Accounting nodes in block chain subregion receive above-mentioned transaction request from other nodes again.
S210: the side's of being transferred to account is obtained from above-mentioned transaction request;
Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account are in the transaction for receiving client initiation After request, need to obtain the side's of being transferred to account from above-mentioned transaction request.
S220: the relevant information of each sub-block chain subregion is obtained from main block chain subregion;
Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account, can be from master after the acquisition side of being transferred to account The relevant information of each sub-block chain subregion is obtained in block chain subregion.
S230: the corresponding sub-block of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion Chain subregion;
Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account are obtaining each sub-block chain subregion After relevant information, the corresponding sub-block of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion Chain subregion, in one embodiment, the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account determine above-mentioned Account number classification belonging to the side's of being transferred to account, then according to each sub-block chain in the relevant information of each sub-block chain subregion point The serial number in area with the corresponding relationship of each account number classification determine the above-mentioned side's of being transferred to account belonging to the corresponding sub-block of account number classification Chain subregion serial number, so that it is determined that the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account.
S240: judge the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block corresponding with the above-mentioned side's of producing account Whether chain subregion is identical, executes S270 if identical if it is different, then executing S250 and S260;
In one embodiment, if the serial number of the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account is produced with above-mentioned The serial number of the corresponding sub-block chain subregion of square account is identical, then determine the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account with it is upper State that account corresponding sub-block chain subregion in the side's of producing is identical, if the serial number of the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account The serial number of sub-block chain subregion corresponding from the above-mentioned side's of producing account is different, then determines the corresponding sub-block of the above-mentioned side's of being transferred to account Chain subregion sub-block chain subregion corresponding from the above-mentioned side's of producing account is different.
S250: the corresponding sub-block of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion Accounting nodes in chain subregion;
It in one embodiment, can be according to above-mentioned each sub-block chain in the relevant information of each sub-block chain subregion Subregion serial number determines that the above-mentioned side's of being transferred to account is corresponding with the corresponding relationship of the accounting nodes address in each sub-block chain subregion Accounting nodes in sub-block chain subregion.
S260: the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account carry out above-mentioned transaction request After processing, above-mentioned transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account, with Above-mentioned transaction request is handled by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account.
S270: above-mentioned transaction request is carried out by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Processing.
Transaction processing method disclosed in the present embodiment realizes across subregion transaction on the basis of block chain subregion, each Sub-block chain subregion need to only handle the relevant transaction of corresponding account, and multiple sub-block chain subregions can the multiple accounts of parallel processing Number relevant transaction, improves transaction processing efficiency.
After the transaction has been completed, the corresponding block chain subregion of the side's of producing account block chain subregion corresponding with the side's of being transferred to account Transaction Information, is recorded in the area saved on each node in subregion by the broadcast that Transaction Information is all also carried out in subregion On block chain;Moreover, only storage Transaction Information relevant to the node on the block chain saved on each node in different subregions, And do not have to the Transaction Information for storing all nodes, to reduce the size of the block chain data of node storage.
For example, the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account to above-mentioned transaction request into Row processing, it may include:
Determine the corresponding assets number of transaction request;
Above-mentioned assets number is deducted from the corresponding assets of the above-mentioned side's of producing account;
After deducting above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, across subregion synchronizing information is remembered It records in the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Then, the above-mentioned book keeping operation section being forwarded to above-mentioned transaction request in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account Point, comprising: above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the corresponding sub-block chain of the above-mentioned side's of being transferred to account Accounting nodes in subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to it is above-mentioned across point After synchronizing information confirmation in area's deducts above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, in the above-mentioned side's of being transferred to account Increase above-mentioned assets number in number corresponding assets.
Above-mentioned transaction request and above-mentioned across subregion synchronizing information are then being forwarded to the corresponding sub-district of the above-mentioned side's of being transferred to account After accounting nodes in block chain subregion, the above method further include: receive the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account Acknowledgement information is completed in the transaction that interior accounting nodes are sent;Out of the above-mentioned side's of producing account corresponding sub-block chain subregion Above-mentioned across subregion synchronizing information is deleted in merkle tree.
In the present embodiment, the trading processing of the side's of being transferred to account and the side's of producing account is able to verify that by across subregion synchronizing information Authenticity can guarantee trading processing accuracy.
Attached drawing 4 is please referred to, Fig. 4 is a kind of concrete structure schematic diagram of traction processing apparatus disclosed by the embodiments of the present invention, The device is applied to client, and above-mentioned apparatus includes:
Generation unit 10, for generating transaction request;
Acquiring unit 11 is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit 12, for being determined in above-mentioned transaction request according to the relevant information of above-mentioned each sub-block chain subregion The corresponding sub-block chain subregion of the side's of producing account;
Transmission unit 13, for above-mentioned transaction request to be sent to the corresponding sub-block chain subregion of the above-mentioned side's of producing account It is interior.
Above-mentioned traction processing apparatus includes processor and memory, above-mentioned generation unit, acquiring unit, determination unit and Transmission unit etc. stores in memory as program unit, executes above procedure list stored in memory by processor Member realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, transaction processing efficiency is improved by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor Existing above-mentioned transaction processing method.
The embodiment of the invention provides a kind of processor, above-mentioned processor is for running program, wherein above procedure operation The above-mentioned transaction processing method of Shi Zhihang.
The embodiment of the invention provides a kind of electronic equipment, electronic equipment includes processor, memory and is stored in storage On device and the program that can run on a processor, processor perform the steps of when executing program
Generate transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
Determine that the side's of producing account in above-mentioned transaction request is corresponding according to the relevant information of above-mentioned each sub-block chain subregion Sub-block chain subregion;
Above-mentioned transaction request is sent in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Electronic equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
Generate transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
Determine that the side's of producing account in above-mentioned transaction request is corresponding according to the relevant information of above-mentioned each sub-block chain subregion Sub-block chain subregion;
Above-mentioned transaction request is sent in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Attached drawing 5 is please referred to, Fig. 5 is a kind of concrete structure schematic diagram of traction processing apparatus disclosed by the embodiments of the present invention, The device is applied to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account, and above-mentioned apparatus includes:
Receiving unit 20, for receiving the transaction request initiated by client;
Acquiring unit 21, for obtaining the side's of being transferred to account from above-mentioned transaction request;
Above-mentioned acquiring unit 21 is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit 22, for determining the above-mentioned side's of being transferred to account pair according to the relevant information of above-mentioned each sub-block chain subregion The sub-block chain subregion answered;
Judging unit 23, for judging the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account and the above-mentioned side's of producing account pair Whether the sub-block chain subregion answered is identical;
If the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Area is different, and above-mentioned determination unit 22 is also used to determine the above-mentioned side of being transferred to according to the relevant information of above-mentioned each sub-block chain subregion Accounting nodes in the corresponding sub-block chain subregion of account;
Transmission unit 24, in processing unit 25 to the book keeping operation in the corresponding sub-block chain subregion of the above-mentioned side's of producing account After node handles above-mentioned transaction request, above-mentioned transaction request is forwarded to the corresponding sub-block of the above-mentioned side's of being transferred to account Accounting nodes in chain subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account to above-mentioned transaction Request is handled.
Optionally, above-mentioned processing unit, is specifically used for:
Determine the corresponding assets number of transaction request;
Above-mentioned assets number is deducted from the corresponding assets of the above-mentioned side's of producing account;
After deducting above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, across subregion synchronizing information is remembered It records in the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Optionally, above-mentioned transmission unit is specifically used for:
Above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the corresponding sub-block chain of the above-mentioned side's of being transferred to account Accounting nodes in subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to it is above-mentioned across point After synchronizing information confirmation in area's deducts above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, in the above-mentioned side's of being transferred to account Increase above-mentioned assets number in number corresponding assets.
Optionally, above-mentioned receiving unit is also used to be forwarded to by above-mentioned transaction request and above-mentioned across subregion synchronizing information After accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account, the corresponding sub-district of the above-mentioned side's of being transferred to account is received Acknowledgement information is completed in the transaction that accounting nodes in block chain subregion are sent;
Above-mentioned processing unit is also used to from the merkletree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Delete above-mentioned across subregion synchronizing information.
Optionally, above-mentioned processing unit, if be also used to the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account with it is above-mentioned Account corresponding sub-block chain subregion in the side's of producing is different, by the book keeping operation section in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Point handles above-mentioned transaction request.
Above-mentioned traction processing apparatus includes processor and memory, and above-mentioned receiving unit, determination unit, is sentenced acquiring unit Disconnected unit, processing unit and transmission unit etc. store in memory as program unit, are stored in by processor execution Above procedure unit in reservoir realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, transaction processing efficiency is improved by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor Existing above-mentioned transaction processing method.
The embodiment of the invention provides a kind of processor, above-mentioned processor is for running program, wherein above procedure operation The above-mentioned transaction processing method of Shi Zhihang.
The embodiment of the invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor perform the steps of when executing program
Receive the transaction request initiated by client;
The side's of being transferred to account is obtained from above-mentioned transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
The corresponding sub-block chain point of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion Area;
Judge the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Whether area is identical;
If the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Area is different, determines the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to the relevant information of above-mentioned each sub-block chain subregion Interior accounting nodes;
Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account handle above-mentioned transaction request Later, above-mentioned transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account, by upper The accounting nodes stated in the corresponding sub-block chain subregion of the side's of being transferred to account handle above-mentioned transaction request.
Optionally, the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account carry out above-mentioned transaction request Processing, comprising:
Determine the corresponding assets number of transaction request;
Above-mentioned assets number is deducted from the corresponding assets of the above-mentioned side's of producing account;
After deducting above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, across subregion synchronizing information is remembered It records in the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Optionally, the above-mentioned note being forwarded to above-mentioned transaction request in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account Account node, comprising:
Above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the corresponding sub-block chain of the above-mentioned side's of being transferred to account Accounting nodes in subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to it is above-mentioned across point After synchronizing information confirmation in area's deducts above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, in the above-mentioned side's of being transferred to account Increase above-mentioned assets number in number corresponding assets.
Optionally, that above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the above-mentioned side's of being transferred to account is corresponding After accounting nodes in sub-block chain subregion, the above method further include:
It receives the transaction that the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account are sent and completes receipt letter Breath;
Above-mentioned across subregion synchronization is deleted from the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Information.
Optionally, the above method further include:
If the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Area is different, is handled by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account above-mentioned transaction request.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
Receive the transaction request initiated by client;
The side's of being transferred to account is obtained from above-mentioned transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
The corresponding sub-block chain point of the above-mentioned side's of being transferred to account is determined according to the relevant information of above-mentioned each sub-block chain subregion Area;
Judge the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Whether area is identical;
If the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Area is different, determines the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to the relevant information of above-mentioned each sub-block chain subregion Interior accounting nodes;
Accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account handle above-mentioned transaction request Later, above-mentioned transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account, by upper The accounting nodes stated in the corresponding sub-block chain subregion of the side's of being transferred to account handle above-mentioned transaction request.
Optionally, the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account carry out above-mentioned transaction request Processing, comprising:
Determine the corresponding assets number of transaction request;
Above-mentioned assets number is deducted from the corresponding assets of the above-mentioned side's of producing account;
After deducting above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, across subregion synchronizing information is remembered It records in the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account.
Optionally, the above-mentioned note being forwarded to above-mentioned transaction request in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account Account node, comprising:
Above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the corresponding sub-block chain of the above-mentioned side's of being transferred to account Accounting nodes in subregion, with by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account according to it is above-mentioned across point After synchronizing information confirmation in area's deducts above-mentioned assets number in the corresponding assets of the above-mentioned side's of producing account, in the above-mentioned side's of being transferred to account Increase above-mentioned assets number in number corresponding assets.
Optionally, that above-mentioned transaction request and above-mentioned across subregion synchronizing information are forwarded to the above-mentioned side's of being transferred to account is corresponding After accounting nodes in sub-block chain subregion, the above method further include:
It receives the transaction that the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account are sent and completes receipt letter Breath;
Above-mentioned across subregion synchronization is deleted from the merkle tree in the corresponding sub-block chain subregion of the above-mentioned side's of producing account Information.
Optionally, the above method further include:
If the corresponding sub-block chain subregion of the above-mentioned side's of being transferred to account sub-block chain point corresponding with the above-mentioned side's of producing account Area is different, is handled by the accounting nodes in the corresponding sub-block chain subregion of the above-mentioned side's of producing account above-mentioned transaction request.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (11)

1. a kind of transaction processing method, which is characterized in that applied to the book keeping operation in the corresponding sub-block chain subregion of the side's of producing account Node, which comprises
Receive the transaction request initiated by client;
The side's of being transferred to account is obtained from the transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
According to account corresponding sub-block chain subregion in the side's of being transferred to described in the determination of the relevant information of each sub-block chain subregion;
The corresponding sub-block chain subregion of the account of the side of being transferred to described in judgement sub-block chain subregion corresponding with the side's of producing account is It is no identical;
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion corresponding with the side's of producing account is not Together, in the corresponding sub-block chain subregion of the side's of being transferred to account according to the determination of the relevant information of each sub-block chain subregion Accounting nodes;
After the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account handle the transaction request, The transaction request is forwarded to the accounting nodes in the corresponding sub-block chain subregion of the side of being transferred to account, to be transferred to by described Accounting nodes in the corresponding sub-block chain subregion of square account handle the transaction request.
2. the method according to claim 1, wherein in the corresponding sub-block chain subregion of the side's of producing account Accounting nodes handle the transaction request, comprising:
Determine the corresponding assets number of transaction request;
The assets number is deducted from the corresponding assets of the side's of producing account;
After deducting the assets number in the corresponding assets of the side's of producing account, across subregion synchronizing information is recorded In merkle tree in the corresponding sub-block chain subregion of the side's of producing account.
3. according to the method described in claim 2, it is characterized in that, described be forwarded to the side of being transferred to account for the transaction request Accounting nodes in number corresponding sub-block chain subregion, comprising:
The transaction request and across the subregion synchronizing information are forwarded to the corresponding sub-block chain subregion of the side of being transferred to account Interior accounting nodes, with same across subregion according to by the accounting nodes in the corresponding sub-block chain subregion of the side's of being transferred to account After step validation of information deducts the assets number in the corresponding assets of the side's of producing account, in the side's of being transferred to account pair Increase the assets number in the assets answered.
4. according to the method described in claim 3, it is characterized in that, by the transaction request and across the subregion synchronizing information It is forwarded to after the accounting nodes in the corresponding sub-block chain subregion of the side of being transferred to account, the method also includes:
Acknowledgement information is completed in the transaction that accounting nodes in the corresponding sub-block chain subregion of the account of the side of being transferred to described in reception are sent;
Across the subregion synchronization letter is deleted from the merkle tree in the corresponding sub-block chain subregion of the side's of producing account Breath.
5. method as claimed in any of claims 1 to 4, which is characterized in that the method also includes:
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion phase corresponding with the side's of producing account Together, the transaction request is handled by the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account.
6. a kind of transaction processing method, which is characterized in that be applied to client, which comprises
Generate transaction request;
The relevant information of each sub-block chain subregion is obtained from main block chain subregion;
The corresponding son of the side's of producing account in the transaction request is determined according to the relevant information of each sub-block chain subregion Block chain subregion;
The transaction request is sent in the corresponding sub-block chain subregion of the side of producing account, so that the side's of producing account Accounting nodes in corresponding sub-block chain subregion handle the transaction request.
7. a kind of traction processing apparatus, which is characterized in that applied to the book keeping operation in the corresponding sub-block chain subregion of the side's of producing account Node, described device include:
Receiving unit, for receiving the transaction request initiated by client;
Acquiring unit, for obtaining the side's of being transferred to account from the transaction request;
The acquiring unit is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit, for the corresponding son of the side's of being transferred to account according to the determination of the relevant information of each sub-block chain subregion Block chain subregion;
Judging unit, for judging the corresponding sub-block chain subregion of the side of being transferred to account son corresponding with the side's of producing account Whether block chain subregion is identical;
If the corresponding sub-block chain subregion of the side's of being transferred to account sub-block chain subregion corresponding with the side's of producing account is not Together, the determination unit is also used to the side's of being transferred to account pair according to the determination of the relevant information of each sub-block chain subregion The accounting nodes in sub-block chain subregion answered;
Transmission unit, in processing unit to the accounting nodes in the corresponding sub-block chain subregion of the side's of producing account to institute It states after transaction request handled, the transaction request is forwarded in the corresponding sub-block chain subregion of the side of being transferred to account Accounting nodes, with by the accounting nodes in the corresponding sub-block chain subregion of the side's of being transferred to account to the transaction request carry out Processing.
8. a kind of traction processing apparatus, which is characterized in that be applied to client, described device includes:
Generation unit, for generating transaction request;
The acquiring unit is also used to obtain the relevant information of each sub-block chain subregion from main block chain subregion;
Determination unit, for determining the side of producing in the transaction request according to the relevant information of each sub-block chain subregion The corresponding sub-block chain subregion of account;
Transmission unit, for the transaction request to be sent in the corresponding sub-block chain subregion of the side of producing account.
9. a kind of storage medium, is stored thereon with program, realized when which is executed by processor as appointed in claim 1 to 5 One and/or transaction processing method as claimed in claim 6.
10. a kind of electronic equipment, the electronic equipment includes memory and processor, and the memory is for storing program, institute Processor is stated for running program, wherein execute such as any one of claims 1 to 5 and/or right when described program is run and want Transaction processing method described in asking 6.
11. a kind of block catenary system, the system comprises main block chain subregion and at least two sub-block chain subregions, wherein described At least two sub-block chain subregions include the first sub-block chain subregion and the second main block chain subregion,
Accounting nodes in the first sub-block chain subregion are used to receive the transaction request initiated by client;From the transaction The side's of being transferred to account is obtained in request;The relevant information of each sub-block chain subregion is obtained from main block chain subregion;According to described Account corresponding sub-block chain subregion in the side's of being transferred to described in the relevant information of each sub-block chain subregion is determining;The side of being transferred to described in judgement Whether the corresponding sub-block chain subregion of account sub-block chain subregion corresponding with the side's of producing account is identical;If described be transferred to The corresponding sub-block chain subregion of square account sub-block chain subregion corresponding from the side's of producing account is different, according to each height Accounting nodes in account corresponding sub-block chain subregion in the side's of being transferred to described in the relevant information of block chain subregion is determining;At described turn After the accounting nodes in the corresponding sub-block chain subregion of square account handle the transaction request out, the transaction is asked Seek the accounting nodes being forwarded in the corresponding second sub-block chain subregion of the side of being transferred to account;
Accounting nodes in the second sub-block chain subregion are used to receive the accounting nodes in the first sub-block chain subregion The transaction request sent, and the transaction request is handled.
CN201810798598.1A 2018-07-19 2018-07-19 Transaction processing method and device and block chain system Active CN108985742B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810798598.1A CN108985742B (en) 2018-07-19 2018-07-19 Transaction processing method and device and block chain system
PCT/CN2019/094557 WO2020015533A1 (en) 2018-07-19 2019-07-03 Transaction processing method and apparatus, and blockchain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810798598.1A CN108985742B (en) 2018-07-19 2018-07-19 Transaction processing method and device and block chain system

Publications (2)

Publication Number Publication Date
CN108985742A true CN108985742A (en) 2018-12-11
CN108985742B CN108985742B (en) 2022-04-05

Family

ID=64550427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810798598.1A Active CN108985742B (en) 2018-07-19 2018-07-19 Transaction processing method and device and block chain system

Country Status (2)

Country Link
CN (1) CN108985742B (en)
WO (1) WO2020015533A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109934592A (en) * 2019-03-22 2019-06-25 深圳市网心科技有限公司 A kind of across the chain communication means of block chain, system, electronic equipment and storage medium
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition
CN110245522A (en) * 2019-01-16 2019-09-17 腾讯科技(深圳)有限公司 Data processing method, terminal and medium in block chain financial account system
CN110287205A (en) * 2019-06-21 2019-09-27 中国银联股份有限公司 A kind of across the fragment transaction data processing method of block chain and device
CN110322348A (en) * 2019-06-03 2019-10-11 阿里巴巴集团控股有限公司 Reconciliation system, method, apparatus and electronic equipment based on block chain
WO2020015533A1 (en) * 2018-07-19 2020-01-23 深圳市网心科技有限公司 Transaction processing method and apparatus, and blockchain system
CN111144866A (en) * 2019-12-25 2020-05-12 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
CN112488717A (en) * 2020-12-30 2021-03-12 国网河南省电力公司南阳供电公司 Power management method based on block chain
US11188910B2 (en) 2019-06-03 2021-11-30 Advanced New Technologies Co., Ltd. Blockchain-based reconciliation system, method, and apparatus and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113935836B (en) * 2021-10-19 2024-03-22 平安科技(深圳)有限公司 Cross-border payment method, system, equipment and medium based on Fabric alliance chain

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
US20170116693A1 (en) * 2015-10-27 2017-04-27 Verimatrix, Inc. Systems and Methods for Decentralizing Commerce and Rights Management for Digital Assets Using a Blockchain Rights Ledger
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system
CN107819582A (en) * 2016-09-14 2018-03-20 陈新 Intelligent block chain interacted system
KR101841565B1 (en) * 2017-04-27 2018-03-26 주식회사 코인플러그 Method for issuing, using, refunding, settling and revocating electric voucher in use of merkle tree structure on the basis of unspent transaction output, and server using the same
CN107862216A (en) * 2017-10-13 2018-03-30 布比(北京)网络技术有限公司 Method for secret protection, device and the storage medium merchandised for anonymity across chain
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN108009811A (en) * 2017-11-30 2018-05-08 中国人民解放军国防科技大学 Inter-cloud computing environment value exchange-oriented cross-chain communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10103893B2 (en) * 2015-02-27 2018-10-16 Guardtime IP Holdings, Ltd. Blockchain-supported, fail-safe synchronization in a data authentication infrastructure
CN107464112B (en) * 2017-07-20 2021-05-25 捷德(中国)科技有限公司 Transaction management method and system based on block chain
CN108985742B (en) * 2018-07-19 2022-04-05 深圳市迅雷网络技术有限公司 Transaction processing method and device and block chain system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170116693A1 (en) * 2015-10-27 2017-04-27 Verimatrix, Inc. Systems and Methods for Decentralizing Commerce and Rights Management for Digital Assets Using a Blockchain Rights Ledger
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN107819582A (en) * 2016-09-14 2018-03-20 陈新 Intelligent block chain interacted system
KR101841565B1 (en) * 2017-04-27 2018-03-26 주식회사 코인플러그 Method for issuing, using, refunding, settling and revocating electric voucher in use of merkle tree structure on the basis of unspent transaction output, and server using the same
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN107147735A (en) * 2017-05-12 2017-09-08 北京博晨技术有限公司 A kind of distributed account book system based on hierarchy
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system
CN107862216A (en) * 2017-10-13 2018-03-30 布比(北京)网络技术有限公司 Method for secret protection, device and the storage medium merchandised for anonymity across chain
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN108009811A (en) * 2017-11-30 2018-05-08 中国人民解放军国防科技大学 Inter-cloud computing environment value exchange-oriented cross-chain communication method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
QI LIU等: "decentration transaction method based on blockchain technology", 《IEEE》 *
于雷等: "区块链全局账本数据的拆分技术研究", 《高技术通讯》 *
邵奇峰: "区块链技术:架构及进展", 《计算机学报》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020015533A1 (en) * 2018-07-19 2020-01-23 深圳市网心科技有限公司 Transaction processing method and apparatus, and blockchain system
CN110245522A (en) * 2019-01-16 2019-09-17 腾讯科技(深圳)有限公司 Data processing method, terminal and medium in block chain financial account system
CN110245522B (en) * 2019-01-16 2022-07-12 腾讯科技(深圳)有限公司 Data processing method, terminal and medium in block chain fund settlement system
CN109934592A (en) * 2019-03-22 2019-06-25 深圳市网心科技有限公司 A kind of across the chain communication means of block chain, system, electronic equipment and storage medium
WO2020191935A1 (en) * 2019-03-22 2020-10-01 深圳市网心科技有限公司 Method and system for blockchain cross-chain communication, and electronic device and storage medium
CN109961366A (en) * 2019-03-25 2019-07-02 中国农业银行股份有限公司 A kind of method of commerce and system based on subregion common recognition
CN110322348A (en) * 2019-06-03 2019-10-11 阿里巴巴集团控股有限公司 Reconciliation system, method, apparatus and electronic equipment based on block chain
US11188910B2 (en) 2019-06-03 2021-11-30 Advanced New Technologies Co., Ltd. Blockchain-based reconciliation system, method, and apparatus and electronic device
CN110287205A (en) * 2019-06-21 2019-09-27 中国银联股份有限公司 A kind of across the fragment transaction data processing method of block chain and device
CN111144866A (en) * 2019-12-25 2020-05-12 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
CN111144866B (en) * 2019-12-25 2021-04-30 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
CN112488717A (en) * 2020-12-30 2021-03-12 国网河南省电力公司南阳供电公司 Power management method based on block chain

Also Published As

Publication number Publication date
CN108985742B (en) 2022-04-05
WO2020015533A1 (en) 2020-01-23

Similar Documents

Publication Publication Date Title
CN108985742A (en) Transaction processing method, device and block catenary system
CN108053211B (en) Transaction processing method and device based on block chain
CN108182581B (en) Accounting method and device for block chain
CN110442652B (en) Cross-chain data processing method and device based on block chain
CN108322309B (en) Transaction processing method and device based on block chain
CN111818095B (en) Tax refunding method and device based on block chain and electronic equipment
CN109299222A (en) Verification of data method and device
CN109377224A (en) Block chain method of commerce and device, electronic equipment
CN109598599A (en) A kind of refund processing method, device and equipment based on block chain
CN108334340A (en) A kind of Cross-environment data communications method, device and system
CN108924185A (en) Interface creation method and device
CN111443894A (en) Random number generation method, device and medium based on block chain
CN114529415A (en) Transaction verification method and device based on block chain and electronic equipment
CN115473643B (en) Trusted efficiency consensus system and method suitable for alliance chains
CN115150413B (en) Block chain data storage method and device, electronic equipment and storage medium
CN111105277A (en) Block chain state change transaction tracing method and device
CN115470264A (en) Data auditing method and device, electronic equipment and storage medium
CN108170403A (en) Data screening method and apparatus
CN111383008B (en) Block chain transfer method and device based on account model
CN109587198A (en) Graph text information method for pushing and device
CN114491662A (en) Block chain-based data asset auditing method, system and equipment
PG et al. Blockchain based verification of vehicle history for pre-owned vehicle industry
CN111127151A (en) Method, equipment and medium for managing online order based on block chain
CN107066840A (en) The acquisition methods and device of data
CN110175036A (en) The upgrade method and device of soft-lock license

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: 20210914

Address after: 518000 21 / f-23 / F, block B, building 12, Shenzhen Bay science and technology ecological park, No. 18, South Keji Road, high tech community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Xunlei Networking Technologies, Ltd.

Applicant after: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.

Address before: 518052 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.

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

Effective date of registration: 20240619

Address after: 518000, 2101 to 2107, Xunlei Building, No. 3709 Baishi Road, Gaoxin District, Yuehai Street, Nanshan District, Shenzhen, Guangdong Province

Patentee after: Xunlei Networking Technologies, Ltd.

Country or region after: China

Address before: 518000 21 / f-23 / F, block B, building 12, Shenzhen Bay science and technology ecological park, No. 18, South Keji Road, high tech community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Xunlei Networking Technologies, Ltd.

Country or region before: China

Patentee before: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.