CN108399572A - block chain transaction processing method, device and storage medium - Google Patents

block chain transaction processing method, device and storage medium Download PDF

Info

Publication number
CN108399572A
CN108399572A CN201810241996.3A CN201810241996A CN108399572A CN 108399572 A CN108399572 A CN 108399572A CN 201810241996 A CN201810241996 A CN 201810241996A CN 108399572 A CN108399572 A CN 108399572A
Authority
CN
China
Prior art keywords
chain
transaction
subregion
transaction request
block
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
CN201810241996.3A
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.)
Shenzhen Onething Technology Co Ltd
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 CN201810241996.3A priority Critical patent/CN108399572A/en
Publication of CN108399572A publication Critical patent/CN108399572A/en
Priority to PCT/CN2018/123588 priority patent/WO2019179192A1/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
    • 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)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of block chain transaction processing method, and this method includes receiving step:Receive the transaction request that client user initiates;And processing step:Transaction request is distributed to parallel processing in the identical subregion chain of several structures.The present invention also provides a kind of electronic device and computer readable storage medium, it can be achieved that above-mentioned block chain transaction processing method when the processor of electronic device executes the block chain transaction processing program stored in storage medium.Using the present invention, horizontal extension can be carried out to block chain, the primary transaction for being sent to single block chain processing is averagely distributed to parallel processing in the block chain subregion of several same architectures.Transaction in different subregions structure having the same, can ensure transaction during chain forwards by receiving approval.

Description

Block chain transaction processing method, device and storage medium
Technical field
The present invention relates to block chain field more particularly to a kind of high performance block chain transaction processing system and methods.
Background technology
Based on practical Byzantine failure tolerance common recognition algorithm (Practical Byzantine Fault Tolerance, PBFT) Block catenary system, after receiving Client-initiated transaction request, it is desirable that the verification node in block chain mutually carries out three-wheel Ballot.In the case that user's number of requests is big, network communication burden weight, the situation especially more than the block chain interior joint quantity Under, inter-node traffic increases in square grade of number of nodes so that communication capacity becomes the bottle of block catenary system processing message Neck.
Invention content
In view of the foregoing, the present invention provides a kind of high performance block chain transaction processing method, and water is carried out to block chain Transaction is routed to different block chain subregions and carries out parallel processing by flat extension, improves transaction handling capacity and processing timeliness.
To achieve the above object, the present invention provides a kind of block chain transaction processing method, and this method includes:
Receiving step:Receive the transaction request that client user initiates;And
Processing step:Transaction request is distributed to parallel processing in the identical subregion chain of several structures.
Preferably, it the treating step comprises:Total number of partitions of the address of each transaction requestor and subregion chain is distinguished It carries out modulo operation and obtains the first Modulus of access, sent each transaction request according to the first Modulus of access and the correspondence of subregion chain To corresponding first subregion chain.
In addition, the present invention also provides a kind of electronic device, which includes memory and processor.The memory On be stored with block chain transaction processing program, when which is executed by processor, realize following steps:
Receiving step:Receive the transaction request that client user initiates;And
Processing step:Transaction request is distributed to parallel processing in the identical subregion chain of several structures.
Preferably, it the treating step comprises:Total number of partitions of the address of each transaction requestor and subregion chain is distinguished It carries out modulo operation and obtains the first Modulus of access, sent each transaction request according to the first Modulus of access and the correspondence of subregion chain To corresponding first subregion chain.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Storage medium includes block chain transaction processing program, when the block chain transaction processing program is executed by processor, it can be achieved that Step in block chain transaction processing method as described above.
Block chain transaction processing method, device and storage medium proposed by the present invention will be sent to single block chain processing Transaction be averagely distributed in the block chain subregion of several same architectures, horizontal extension has been carried out to block chain, by road of merchandising By carrying out parallel processing to different block chain subregions, transaction second grade may be implemented and arrive account.Transaction has identical in different subregions Structure, ensure transaction can be applicable to be widely applied scene by receiving approval during chain forwards.
Description of the drawings
Fig. 1 is the signal for the electronic device preferred embodiment that the present invention realizes high performance block chain transaction processing method Figure.
Fig. 2 is the schematic diagram that block chain transaction processing method of the present invention carries out block chain horizontal extension.
Fig. 3 is the schematic diagram with mutually isostructural subregion chain in Fig. 2.
Fig. 4 is the flow chart of first preferred embodiment of block chain transaction processing method of the present invention.
Fig. 5 is the flow chart of second preferred embodiment of block chain transaction processing method of the present invention.
Fig. 6 is the flow chart of block chain transaction processing method third preferred embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, being 1 preferred embodiment of electronic device that the present invention realizes high performance block chain transaction processing method Schematic diagram.
In the present embodiment, electronic device 1 can be server, smart mobile phone, tablet computer, PC, portable meter Calculation machine and other electronic equipments with calculation function.
The electronic device 1 includes:Memory 11, processor 13, network interface 15 and communication bus 17.Wherein, network connects Mouth 15 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Communication bus 17 is for realizing these Connection communication between component.
Memory 11 includes at least a type of readable storage medium storing program for executing.The readable storage medium storing program for executing of at least one type It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory.In some embodiments, described to deposit Reservoir 11 can be the internal storage unit of the electronic device 1, such as the hard disk of the electronic device 1.In other embodiments In, the memory 11 can also be to be equipped on the external memory unit of the electronic device 1, such as the electronic device 1 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..
In the present embodiment, the memory 11 can be used for store be installed on the electronic device 1 application software and The related data generated in Various types of data, such as the program code and its operational process of block chain transaction processing program 10.
Processor 13 can be in some embodiments a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chips, the program code for being stored in run memory 11 or processing data.
Fig. 1 illustrates only the electronic device 1 with component 11-17 and block chain transaction processing program 10, but should manage Solution, Fig. 1 do not show that all components of electronic device 1, can substitute and implement more or less component.The electronics fills It can also includes radio frequency (Radio Frequency, RF) circuit, sensor and voicefrequency circuit etc. to set 1, and details are not described herein.
In 1 embodiment of electronic device shown in Fig. 1, as memory block in a kind of memory 11 of computer storage media The program code of block chain transaction processing program 10, processor 13 execute the program code of the block chain transaction processing program 10 When, Client-initiated transaction request is routed in the identical block chain subregion of several frameworks parallel processing (such as Fig. 2, Fig. 3 institute Show).The block chain transaction processing method realized when illustrating that block chain transaction processing program 10 is run below in conjunction with Fig. 3~Fig. 6.
As shown in figure 4, being the flow chart of first preferred embodiment of block chain transaction processing method of the present invention.In the present embodiment In, in the present embodiment, when processor 13 executes the program code of the block chain transaction processing program 10 stored in memory 11 The block chain transaction processing method of realization includes:
Step S10 receives the transaction request that client user initiates.
Transaction request is distributed to parallel processing in the identical subregion chain of several structures by step S20.
As shown in Fig. 2, being N (N is the positive integer more than 1) with mutually isostructural subregion chain sum, when access layer receives When the transaction request sent to user, according to the address of each transaction requestor (string number for being similar to Bank Account Number) to point Transaction request is distributed to corresponding subregion chain by the value of area's number N modulus.For example, when the address of some transaction requestor is to subregion The value of number N modulus is 1, and the transaction request of the transaction requestor is distributed to the processing of subregion chain 1;When the ground of another transaction requestor Location is 3 to the value of number of partitions N modulus, then the transaction request of the transaction requestor is distributed to subregion chain 3 and handled.In the present embodiment In, it is to be distributed to transaction with address and the Modulus of access of subregion chain sum N.In other embodiments, can also be according to it He is distributed transaction mapping relations.
About the specific introduction of step S20, correlation step in Fig. 5 and Fig. 6 please be join.For example, step S20 is referred to Fig. 5 Step S303 is realized in middle step S103, Fig. 6, relate in Fig. 5, Fig. 6 it is more other the step of.
As shown in figure 5, being the flow chart of second preferred embodiment of block chain transaction processing method of the present invention.
Step S101 receives the transaction request that user sends.
Step S103 asks the transaction according to the address of transaction requestor and the Modulus of access M1 of total number of partitions N of subregion chain It asks and is sent to the first subregion chain.For example, as M1=1, which is sent to the first subregion chain 1 as shown in Figure 2.
The node of step S105, the first subregion chain parse the transaction request and the relevant information of the transaction, to verify the friendship The validity of the legitimacy and transaction easily asked.As shown in figure 3, each subregion chain includes multiple nodes, it is including but not limited to, non- Accounting nodes (peer nodes), accounting nodes (validator nodes) and monitoring node (listener nodes).Receive transaction After request, the legitimacy of non-accounting nodes verification transaction request judges whether the transaction request belongs to the processing of this subregion chain Task, verification mode are to calculate the address of transaction requestor to be somebody's turn to do with whether the Modulus of access M1 of total number of partitions N of subregion chain corresponds to Whether subregion chain, such as value M1 are equal to the identification code of the subregion chain.The validity of accounting nodes verification transaction, such as the transaction are asked Ask the amount of money being related to whether within allowable range.
The node of step S107, the first subregion chain judge whether the transaction request is legal, the transaction is according to analysis result It is no effective.When judging the illegal transaction request or the transaction invalid, step S109, refusal transaction are executed, flow can be tied Beam can also feed back the transaction related information being rejected to the user and associated mechanisms for initiating transaction request.When judging the transaction When asking the legal and transaction effective, step S111 is executed.
Transaction is packaged into block, reached common understanding between accounting nodes by step S111, the accounting nodes of the first block chain.Note It can, when reaching the preset time cycle, be incited somebody to action according to the time cycle that account node, which will merchandise and be packaged into the principle that block follows, The transaction that cut-off current time receives is packaged into block, can also be according to number of transaction, when the number of transaction received reaches pre- If when threshold value, transaction is packaged into block.
The monitoring node of step S113, the first block chain parse area's Transaction Information in the block.
Whether the monitoring node of step S115, the first block chain are related to across chain friendship according to the transaction in the block of analysis judgment area Easily.In the present embodiment, judge whether a transaction is related to being across the mode that chain is merchandised:The recipient's that the transaction is related to Address obtains value M2 with number of partitions N modulus, and whether judgment value M2 corresponds to this subregion chain, if corresponding is other subregion chains, Then it is related to across chain transaction.When judgment value M2 corresponds to this subregion chain, which is transaction in local area, executes step S117, Transaction is completed in the first block chain, flow terminates.When judgment value M2 corresponds to other subregion chains, step S119 is executed.
Step S119, the first block chain monitor Modulus of access of the node according to the address and total number of partitions N of transaction acceptance side Across chain transaction request is sent to the second subregion chain by M2.For example, as value M2=2, by across the chain transaction request be sent to Fig. 2, Subregion chain 2 in Fig. 3.
Step S121, the node verification of the second subregion chain is across the legitimacy of chain transaction request and the validity of transaction.Step The principle of S121,123,125 is similar to above-mentioned steps S105, S107, S109, and details are not described herein again.When the section of the second subregion chain Point judge should across chain transaction request it is legal and should across chain transaction it is effective when, execution step S127, the accounting nodes of the second block chain Transaction is packaged into block, is reached common understanding between accounting nodes, is believed by the monitoring node feeding back of the second subregion chain after completing transaction It ceases to the monitoring node of the first subregion chain.
As shown in fig. 6, being the flow chart of block chain transaction processing method third preferred embodiment of the present invention.
Step S301 receives the transaction request that user sends.
Step S303 asks the transaction according to the address of transaction requestor and the Modulus of access M1 of total number of partitions N of subregion chain It asks and is sent to the first subregion chain.Such as M1=1, the transaction request are sent to subregion chain 1 as shown in Figure 3.
Step S305, the first node computation requests side address of the first subregion chain and the Modulus of access M1 ' of number of partitions N.At this In embodiment, first node is non-accounting nodes.It is asked as shown in figure 3, the non-accounting nodes 1 of subregion chain 1 receive a transaction After asking, the Modulus of access M1 ' of the Supplicant Address and number of partitions N is calculated.
The first node of step S307, the first subregion chain verify whether the transaction request belongs to this according to Modulus of access M1 ' The transaction of first subregion chain.If verification is not belonging to the transaction of the first subregion chain, judges that the transaction request is illegal, execute step Rapid S309, refusal transaction.Flow can terminate, and can also feed back the transaction related information being rejected to the use for initiating transaction request Family and associated mechanisms.
If step S307 judges that transaction request is legal, S311 is thened follow the steps.For example, the non-accounting nodes 1 as Fig. 3 judge Modulus of access M1 ' is corresponding when not being subregion chain 1, and refusal transaction if Modulus of access M1 '=1, judges that the transaction request is legal.
The first node of step S311, the first subregion chain broadcast the transaction request to all second sections of the first subregion chain Point.In the present embodiment, second node is accounting nodes.As shown in figure 3, the transaction request is broadcast to note by non-accounting nodes 1 Account node 1~4.
The second node of step S313, the first subregion chain parse Transaction Information to verify the validity of transaction, such as the friendship Easily ask the amount of money being related to whether within allowable range.
The second node of step S315, the first subregion chain judge whether transaction is effective.If transaction invalid thens follow the steps S317, refusal transaction.Flow can terminate, and can also feed back the transaction related information being rejected to the user for initiating transaction request And associated mechanisms.
If step S315 judges that transaction is effective, S319 is thened follow the steps, transaction will be packaged into block by second node, the Reach common understanding between two nodes.As shown in figure 3, transaction block is reached common understanding between accounting nodes 1~4.Accounting nodes will merchandise It can, when reaching the preset time cycle, will end current time according to the time cycle to be packaged into the principle that block follows The transaction received is packaged into block, can also be that will be handed over according to number of transaction when the number of transaction received reaches predetermined threshold value Easily it is packaged into block.
The third node of step S321, the first subregion chain monitor transaction block, area's transaction in the block are parsed, by transaction acceptance The address of side obtains the second Modulus of access M2 with total number of partitions N modulus.In the present embodiment, third node is monitoring node, such as Monitoring node 1,2 in Fig. 3.
The third node of step S323, the first subregion chain judge whether the transaction is related to across chain friendship according to the second Modulus of access M2 Easily.When the second Modulus of access M2 correspond to the first subregion chain when, such as M2=1, correspond to subregion chain 1, judge the transaction be Subregion chain insider transaction executes step S325, and transaction is completed in the first subregion chain.Flow can terminate, and can also feed back The relevant information that transaction is completed is to the user and associated mechanisms for initiating transaction request.
When step S323 judges that the transaction is related to across chain transaction, execution step S327, third node is signed after across chain transaction, It is sent to the second node of the second subregion chain according to value M2, and caches across chain transaction to local memory.For example, M2=2, corresponding to The monitoring node 2 of subregion chain 2 in Fig. 3, subregion chain 1 reads digital signature to this across chain from local memory (not shown) After transaction is signed, which is sent to the accounting nodes 4 of subregion chain 2, and by the relevant information merchandised across chain It caches to local memory.
Step S329, after the second node of the second subregion chain receives across chain transaction, with calculating the recipient to merchandise across chain The Modulus of access M2 of location and number of partitions N.
The second node of step S331, the second subregion chain judge whether be somebody's turn to do across chain transaction according to the Modulus of access M2 being calculated It is legal, i.e., whether the transaction in relation to the second subregion chain.If judgement is illegal, S333, refusal request are thened follow the steps.Flow can To terminate, the transaction related information being rejected can also be fed back to the user and associated mechanisms for initiating transaction request.
Step S335, after the second node of the second subregion chain verifies the signature validity of the third node of the first block chain, Other second nodes that across the chain transaction is sent in the second subregion chain are reached common understanding, transaction is completed.For example, dividing in Fig. 3 The accounting nodes 4 of area's chain 2 verify the monitoring node 2 of subregion chain 1 signature it is effective after, by across chain transaction generation to subregion chain 2 Accounting nodes 1,2,3 reach common understanding after, complete transaction.
The third node of step S337, the second block chain listen to after the completion of across the chain transaction, notify in the first block chain The transaction of third node complete, across the chain transaction cached in the third knot removal memory of the first block chain.For example, dividing in Fig. 3 The monitoring node 1 of area's chain 2 listens to after the completion of across the chain transaction, and the transaction of monitoring node 2 of notice subregion chain 1 is completed.Subregion chain 1 Monitoring node 2 receive transaction completion notice after, delete cached in memory should the related data that merchandise across chain.
In other embodiments, after executing step S327, the third node in the first block chain waits for across chain transaction to relate to And the second block chain feedback trading complete information, if time-out do not receive feedback information, the third node in the first block chain The data that should be merchandised across chain that caching is read from memory, are sent to corresponding second block chain again.
Include not necessarily all steps shown in figure it should be pointed out that in Fig. 5, flow chart shown in fig. 6, It is not limited to step as shown in the figure.In addition, the Conventional processing steps in relation to block catenary system, can receive according to practical application scene Enter the present invention.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (16)

1. a kind of block chain transaction processing method, which is characterized in that this method includes:
Receiving step:Receive the transaction request that client user initiates;And
Processing step:Transaction request is distributed to parallel processing in the identical subregion chain of several structures.
2. block chain transaction processing method as described in claim 1, which is characterized in that the treating step comprises:
Total number of partitions of the address of each transaction requestor and subregion chain is subjected to modulo operation respectively and obtains the first Modulus of access, root Each transaction request is distributed to corresponding first subregion chain with the correspondence of subregion chain according to the first Modulus of access.
3. block chain transaction processing method as claimed in claim 1 or 2, which is characterized in that the processing step further includes:
When first subregion chain often receives a transaction request, the legitimacy of the transaction request and the validity of transaction are verified;
When verification transaction request is legal and transaction is effective, transaction is packaged into block by the first subregion chain, in the first subregion chain Reach common understanding between node;
First subregion chain judges whether area's transaction in the block is related to across chain transaction;
When judging not to be related to across chain transaction, transaction is completed in the first subregion chain.
4. block chain transaction processing method as claimed in claim 3, which is characterized in that the processing step further includes:
When judging to be related to across chain transaction, the first subregion chain is according to the address of transaction acceptance side and the second Modulus of access of total number of partitions Across chain transaction request is respectively sent to corresponding second subregion chain;
The legitimacy and the validity that merchandised across chain across chain transaction request that the verification of second subregion chain receives;
When verifying that across chain transaction request is legal and across chain transaction is effective, across chain transaction is packaged into block by the second subregion chain, Reach common understanding between the node of second subregion chain, feedback information is to corresponding first subregion chain after completing transaction.
5. block chain transaction processing method as claimed in claim 3, it is characterised in that:
It is by judging the address of the transaction requestor and subregion chain that whether legal the first subregion chain, which verifies the transaction request, Total number of partitions the first Modulus of access whether correspond to the first subregion chain;
It is by judging the transaction acceptance side that the first subregion chain, which judges whether area's transaction in the block is related to across chain transaction, The second Modulus of access of total number of partitions of address and subregion chain whether correspond to the first subregion chain, when second Modulus of access corresponds to Be not the first subregion chain when, judge that the transaction is related to across chain transaction.
6. block chain transaction processing method as claimed in claim 4, which is characterized in that the second subregion chain verification receives Across a chain transaction request it is whether legal be total number of partitions by judging the address of across the chain transaction acceptance side and subregion chain The second Modulus of access whether correspond to the second subregion chain.
7. block chain transaction processing method as claimed in claim 4, which is characterized in that the first subregion chain will across chain transaction Request is respectively sent to before or after corresponding second subregion chain, also executes following operation:
Across chain transaction request is cached to the memory of the first subregion chain.
8. block chain transaction processing method as claimed in claim 7, which is characterized in that the first subregion chain will across chain transaction Request is respectively sent to after corresponding second subregion chain, also executes following operation:
When time-out does not receive the feedback information of the second subregion chain transmission, is read from memory and be somebody's turn to do across chain transaction request again It is sent to the second subregion chain.
9. block chain transaction processing method as claimed in claim 7, which is characterized in that the first subregion chain will across chain transaction Request is respectively sent to after corresponding second subregion chain, also executes following operation:
When receiving the feedback information of the second subregion chain transmission, being deleted from memory should across chain transaction request.
10. a kind of electronic device, which includes memory and processor, which is characterized in that is stored on the memory There is block chain transaction processing program, when which is executed by processor, realizes following steps:
Receiving step:Receive the transaction request that client user initiates;And
Processing step:Transaction request is distributed to parallel processing in the identical subregion chain of several structures.
11. electronic device as claimed in claim 10, which is characterized in that the treating step comprises:
Total number of partitions of the address of each transaction requestor and subregion chain is subjected to modulo operation respectively and obtains the first Modulus of access, root Each transaction request is distributed to corresponding first subregion chain with the correspondence of subregion chain according to the first Modulus of access.
12. the electronic device as described in claim 10 or 11, which is characterized in that the processing step further includes:
When first subregion chain often receives a transaction request, the legitimacy of the transaction request and the validity of transaction are verified;
When verification transaction request is legal and transaction is effective, transaction is packaged into block by the first subregion chain, in the first subregion chain Reach common understanding between node;
First subregion chain judges whether area's transaction in the block is related to across chain transaction;
When judging not to be related to across chain transaction, transaction is completed in the first subregion chain.
13. electronic device as claimed in claim 12, which is characterized in that the processing step further includes:
When judging to be related to across chain transaction, the first subregion chain is according to the address of transaction acceptance side and the second Modulus of access of total number of partitions Across chain transaction request is respectively sent to corresponding second subregion chain;
The legitimacy and the validity that merchandised across chain across chain transaction request that the verification of second subregion chain receives;
When verifying that across chain transaction request is legal and across chain transaction is effective, across chain transaction is packaged into block by the second subregion chain, Reach common understanding between the node of second subregion chain, feedback information is to corresponding first subregion chain after completing transaction.
14. electronic device as claimed in claim 13, which is characterized in that it is characterized in that, the first subregion chain will be across chain Transaction request is respectively sent to before or after corresponding second subregion chain, also executes following operation:
Across chain transaction request is cached to the memory of the first subregion chain.
15. electronic device as claimed in claim 14, which is characterized in that the first subregion chain will across chain transaction request difference It is sent to after corresponding second subregion chain, also executes following operation:
When time-out does not receive the feedback information of the second subregion chain transmission, is read from memory and be somebody's turn to do across chain transaction request again It is sent to the second subregion chain;
When receiving the feedback information of the second subregion chain transmission, being deleted from memory should across chain transaction request.
16. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes that block chain is handed over Disposable program, when the block chain transaction processing program is executed by processor, it can be achieved that such as any one of claim 1 to 9 The step of described block chain transaction processing method.
CN201810241996.3A 2018-03-22 2018-03-22 block chain transaction processing method, device and storage medium Pending CN108399572A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810241996.3A CN108399572A (en) 2018-03-22 2018-03-22 block chain transaction processing method, device and storage medium
PCT/CN2018/123588 WO2019179192A1 (en) 2018-03-22 2018-12-25 Blockchain transaction processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810241996.3A CN108399572A (en) 2018-03-22 2018-03-22 block chain transaction processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN108399572A true CN108399572A (en) 2018-08-14

Family

ID=63091975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810241996.3A Pending CN108399572A (en) 2018-03-22 2018-03-22 block chain transaction processing method, device and storage medium

Country Status (2)

Country Link
CN (1) CN108399572A (en)
WO (1) WO2019179192A1 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165324A (en) * 2018-08-20 2019-01-08 深圳市元征科技股份有限公司 A kind of transaction data packaging method and relevant apparatus
CN109493221A (en) * 2018-10-26 2019-03-19 全链通有限公司 Transaction record time slot scrambling, equipment, network and storage medium in block chain
CN109493050A (en) * 2018-11-21 2019-03-19 北京蓝石环球区块链科技有限公司 Transfer process based on the more subchains of block chain main chain adduction row
CN109544310A (en) * 2018-11-13 2019-03-29 孙晞瑜 A kind of quick common recognition bookkeeping methods and its system based on block chain alliance chain
CN109784930A (en) * 2019-02-18 2019-05-21 深圳市网心科技有限公司 A kind of processing method, device, electronic equipment and the medium of block chain transaction data
CN110020859A (en) * 2019-03-28 2019-07-16 杭州秘猿科技有限公司 A kind of block chain common recognition method, apparatus and electronic equipment executed parallel
WO2019179192A1 (en) * 2018-03-22 2019-09-26 深圳市网心科技有限公司 Blockchain transaction processing method and device and storage medium
CN110474777A (en) * 2019-08-09 2019-11-19 刘一涵 Accounting nodes and block generation method
CN110619582A (en) * 2019-09-18 2019-12-27 深圳前海微众银行股份有限公司 Block chain transaction method, device, equipment and computer storage medium
CN110941479A (en) * 2018-09-25 2020-03-31 广州虎牙信息科技有限公司 Task data execution method, server, and computer storage medium
CN111010441A (en) * 2019-12-18 2020-04-14 深圳市网心科技有限公司 Block chain cross-chain method and system and electronic equipment
CN111144866A (en) * 2019-12-25 2020-05-12 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
WO2020135428A1 (en) * 2018-12-24 2020-07-02 杭州复杂美科技有限公司 Transfer transaction fragmentation processing method and device, and storage medium
WO2020134615A1 (en) * 2018-12-27 2020-07-02 阿里巴巴集团控股有限公司 Cross-chain evidence preservation method and access method, apparatus, and electronic device
CN111600908A (en) * 2020-06-17 2020-08-28 杭州云链趣链数字科技有限公司 Data processing method, system, computer device and readable storage medium
CN111738721A (en) * 2020-06-23 2020-10-02 金蝶软件(中国)有限公司 Block chain transaction monitoring method and related device
CN112783975A (en) * 2020-12-31 2021-05-11 杭州趣链科技有限公司 Block chain partition management and cross-partition transaction method and device
CN113360951A (en) * 2021-05-12 2021-09-07 电子科技大学 Electronic evidence preservation method based on partitioned block chain
US11743045B2 (en) 2018-04-27 2023-08-29 Nchain Licensing Ag Partitioning a blockchain network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170212781A1 (en) * 2016-01-26 2017-07-27 International Business Machines Corporation Parallel execution of blockchain transactions
CN107241279A (en) * 2017-06-22 2017-10-10 北京天德科技有限公司 A kind of block chain transaction current-limiting method based on multi-buffer queue
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107423124A (en) * 2017-07-27 2017-12-01 中链科技有限公司 A kind of method for being used to carry out transaction data parallel processing
WO2018026883A1 (en) * 2016-08-05 2018-02-08 Chicago Mercantile Exchange Inc. Systems and methods for blockchain rule synchronization
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630609B (en) * 2016-02-24 2021-05-11 杭州复杂美科技有限公司 Block chain packing storage method
CN106445711B (en) * 2016-08-28 2019-04-30 杭州云象网络技术有限公司 A kind of Byzantine failure tolerance common recognition method applied to block chain
CN106682984B (en) * 2016-10-27 2019-09-10 深圳壹账通智能科技有限公司 Transaction business process method and system based on block chain
CN108600315B (en) * 2018-03-22 2021-04-06 深圳市网心科技有限公司 Block link route processing method, device and storage medium
CN108596613A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170212781A1 (en) * 2016-01-26 2017-07-27 International Business Machines Corporation Parallel execution of blockchain transactions
WO2018026883A1 (en) * 2016-08-05 2018-02-08 Chicago Mercantile Exchange Inc. Systems and methods for blockchain rule synchronization
CN107241279A (en) * 2017-06-22 2017-10-10 北京天德科技有限公司 A kind of block chain transaction current-limiting method based on multi-buffer queue
CN107392608A (en) * 2017-07-11 2017-11-24 北京博晨技术有限公司 Digital asset method of commerce and block catenary system based on block catenary system
CN107423124A (en) * 2017-07-27 2017-12-01 中链科技有限公司 A kind of method for being used to carry out transaction data parallel processing
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邵奇峰: ""区块链技术:架构及进展"", 《计算机学报》 *

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019179192A1 (en) * 2018-03-22 2019-09-26 深圳市网心科技有限公司 Blockchain transaction processing method and device and storage medium
US11973869B2 (en) 2018-04-27 2024-04-30 Nchain Licensing Ag Maintaining blocks of a blockchain in a partitioned blockchain network
US12028453B2 (en) 2018-04-27 2024-07-02 Nchain Licensing Ag Partitioning a blockchain network
US11856100B2 (en) 2018-04-27 2023-12-26 Nchain Licensing Ag Partitioning a blockchain network
US11743045B2 (en) 2018-04-27 2023-08-29 Nchain Licensing Ag Partitioning a blockchain network
CN109165324A (en) * 2018-08-20 2019-01-08 深圳市元征科技股份有限公司 A kind of transaction data packaging method and relevant apparatus
CN110941479A (en) * 2018-09-25 2020-03-31 广州虎牙信息科技有限公司 Task data execution method, server, and computer storage medium
CN109493221B (en) * 2018-10-26 2021-01-12 全链通有限公司 Method, device, network and storage medium for keeping transaction records secret in block chain
CN109493221A (en) * 2018-10-26 2019-03-19 全链通有限公司 Transaction record time slot scrambling, equipment, network and storage medium in block chain
CN109544310A (en) * 2018-11-13 2019-03-29 孙晞瑜 A kind of quick common recognition bookkeeping methods and its system based on block chain alliance chain
CN109493050A (en) * 2018-11-21 2019-03-19 北京蓝石环球区块链科技有限公司 Transfer process based on the more subchains of block chain main chain adduction row
CN109493050B (en) * 2018-11-21 2021-08-03 北京蓝石环球区块链科技有限公司 Transfer method based on block chain main chain and parallel multiple sub-chains
WO2020135428A1 (en) * 2018-12-24 2020-07-02 杭州复杂美科技有限公司 Transfer transaction fragmentation processing method and device, and storage medium
WO2020134615A1 (en) * 2018-12-27 2020-07-02 阿里巴巴集团控股有限公司 Cross-chain evidence preservation method and access method, apparatus, and electronic device
CN109784930A (en) * 2019-02-18 2019-05-21 深圳市网心科技有限公司 A kind of processing method, device, electronic equipment and the medium of block chain transaction data
CN110020859B (en) * 2019-03-28 2022-03-11 杭州秘猿科技有限公司 Parallel execution block chain consensus method and device and electronic equipment
CN110020859A (en) * 2019-03-28 2019-07-16 杭州秘猿科技有限公司 A kind of block chain common recognition method, apparatus and electronic equipment executed parallel
CN110474777A (en) * 2019-08-09 2019-11-19 刘一涵 Accounting nodes and block generation method
CN110474777B (en) * 2019-08-09 2023-02-17 刘一涵 Accounting node and block generation method
CN110619582B (en) * 2019-09-18 2023-07-14 深圳前海微众银行股份有限公司 Block chain transaction method, device, equipment and computer storage medium
CN110619582A (en) * 2019-09-18 2019-12-27 深圳前海微众银行股份有限公司 Block chain transaction method, device, equipment and computer storage medium
CN111010441A (en) * 2019-12-18 2020-04-14 深圳市网心科技有限公司 Block chain cross-chain method and system and electronic equipment
CN111010441B (en) * 2019-12-18 2022-12-13 深圳市迅雷网络技术有限公司 Block chain cross-chain method and system and electronic equipment
CN111144866B (en) * 2019-12-25 2021-04-30 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
CN111144866A (en) * 2019-12-25 2020-05-12 腾讯科技(深圳)有限公司 Data transfer method, device, node equipment and storage medium
CN111600908A (en) * 2020-06-17 2020-08-28 杭州云链趣链数字科技有限公司 Data processing method, system, computer device and readable storage medium
CN111600908B (en) * 2020-06-17 2021-07-13 杭州云链趣链数字科技有限公司 Data processing method, system, computer device and readable storage medium
CN111738721A (en) * 2020-06-23 2020-10-02 金蝶软件(中国)有限公司 Block chain transaction monitoring method and related device
CN112783975A (en) * 2020-12-31 2021-05-11 杭州趣链科技有限公司 Block chain partition management and cross-partition transaction method and device
CN113360951A (en) * 2021-05-12 2021-09-07 电子科技大学 Electronic evidence preservation method based on partitioned block chain

Also Published As

Publication number Publication date
WO2019179192A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
CN108399572A (en) block chain transaction processing method, device and storage medium
CN108596613A (en) block chain transaction processing method, device and storage medium
CN108600315A (en) Block chain route processing method, device and storage medium
CN110889729A (en) Data verification method and device based on block chain network
CN105530278A (en) Message pushing method and device
CN104901936A (en) Business processing method and device, terminal and server
JP2005062556A (en) Authentication system, server, authentication method, and program
CN110704083B (en) On-line upgrading method, device and system for automobile and readable storage medium
CN107465698A (en) A kind of data verification method and server
CN106228367A (en) The method and apparatus of payment verification
CN107181804A (en) The method for down loading and device of resource
CN111127005A (en) Transaction endorsement method for block chain, electronic device and storage medium
CN110023942A (en) System and method for generating and selecting access rule
CN109377236A (en) A kind of risk control method, equipment and storage medium based on fusing mechanism
CN106878236A (en) A kind of user's request processing method and equipment
CN110149336A (en) Single-point logging method, device and information system
CN111046037A (en) Transaction processing method of block chain, electronic device and storage medium
CN107182042A (en) Short message channel method for evaluating quality, device, medium and system
CN107248995A (en) Account verification method and device
CN101122985A (en) Method and system for identity authentication
CN110098920A (en) A kind of block chain node load-balancing method and device reducing node collision
CN109118338A (en) Shared bicycle method for monitoring state and device
CN116703395B (en) Digital RMB payment method, device, equipment, system and medium
CN110535862A (en) A kind of flow rate testing methods, system, device and computer readable storage medium
CN100578557C (en) Demo plant, portable terminal device and verification method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211013

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: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant before: SHENZHEN ONETHING TECHNOLOGIES Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180814