Summary of the invention
The main purpose of the present invention is to provide a kind of transaction business process method and system based on block chain, it is intended to mention
Rise the stability and efficiency that transaction business process is carried out using block chain technology.
To achieve the above object, a kind of transaction business process method based on block chain provided by the invention, for one
Block chain network is built with multiple parallel block chain networks with identical participant, is each participation of the block chain network
Side's building affairs diverter control system;Method includes the following steps:
After a participant of the user into the block chain network initiates transaction request, the affairs point of the participant
Flow control system obtains the preset kind parameter transaction of the transaction request, affairs flow-dividing control parameter according to the pre-stored data and
Predetermined analysis rule determines the mark of the corresponding parallel block chain network of the preset kind parameter transaction, the affairs
Flow-dividing control parameter includes the mark of parallel block chain network and the associated data of preset kind parameter transaction;
The affairs diverter control system of the participant should using the corresponding parallel block chain network of determining mark as execution
The target block chain network of transaction request, and the corresponding parameter transaction of the transaction request is sent to the target block chain network
Carry out trading processing.
Preferably, the preset kind parameter transaction is Transaction Identification Number, the predetermined analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to the mark of predetermined Transaction Identification Number fragment defined formula and parallel block chain network
The mapping relations of knowledge determine the mark for the corresponding parallel block chain network of Transaction Identification Number extracted.
Preferably, the preset kind parameter transaction is type of transaction, the predetermined analysis rule are as follows:
According to the mapping relations of predetermined type of transaction fragment defined formula and the mark of parallel block chain network, really
Surely the mark of the corresponding parallel block chain network of the type of transaction obtained.
Preferably, the preset kind parameter transaction includes Transaction Identification Number and type of transaction, the predetermined analysis rule
Then are as follows:
The Transaction Identification Number obtained is extracted, according to predetermined Transaction Identification Number, type of transaction fragment defined formula and parallel block
Mapping relations between the mark three of chain network, determine the corresponding parallel block of type of transaction of the Transaction Identification Number and acquisition that extract
The mark of chain network.
Preferably, the affairs flow-dividing control parameter is the section for being pre-stored within each participant of the block chain network
In the corresponding intelligent contract of point.
Preferably, this method further include:
After the target block chain network receives the corresponding parameter transaction of the transaction request, by the target block chain
Intelligent contract on network according to the affairs flow-dividing control Parameter analysis being pre-stored in the target block chain network whether
Execute the transaction request.
In addition, to achieve the above object, the affairs shunting that the present invention also provides a kind of for handling block chain trade transactions
Control system is built with multiple parallel block chain networks with identical participant for a block chain network, and is described
Each participant of block chain network constructs the affairs diverter control system;The affairs diverter control system includes:
Determining module, for obtaining after a participant of the user into the block chain network initiates transaction request
Take the preset kind parameter transaction of the transaction request, affairs flow-dividing control parameter according to the pre-stored data and predetermined point
Analysis rule determines the mark of the corresponding parallel block chain network of the preset kind parameter transaction, the affairs flow-dividing control parameter
The associated data of mark and preset kind parameter transaction including parallel block chain network;
Diverter module, the corresponding parallel block chain network of mark for that will determine is as the target for executing the transaction request
Block chain network, and the corresponding parameter transaction of the transaction request is sent to the target block chain network and carries out trading processing.
Preferably, the preset kind parameter transaction is Transaction Identification Number, the predetermined analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to the mark of predetermined Transaction Identification Number fragment defined formula and parallel block chain network
The mapping relations of knowledge determine the mark for the corresponding parallel block chain network of Transaction Identification Number extracted.
Preferably, the preset kind parameter transaction is type of transaction, the predetermined analysis rule are as follows:
According to the mapping relations of predetermined type of transaction fragment defined formula and the mark of parallel block chain network, really
Surely the mark of the corresponding parallel block chain network of the type of transaction obtained.
Preferably, the preset kind parameter transaction includes Transaction Identification Number and type of transaction, the predetermined analysis rule
Then are as follows:
The Transaction Identification Number obtained is extracted, according to predetermined Transaction Identification Number, type of transaction fragment defined formula and parallel block
Mapping relations between the mark three of chain network, determine the corresponding parallel block of type of transaction of the Transaction Identification Number and acquisition that extract
The mark of chain network.
Preferably, the affairs flow-dividing control parameter is the section for being pre-stored within each participant of the block chain network
In the corresponding intelligent contract of point.
Preferably, the diverter module is also used to:
After the target block chain network receives the corresponding parameter transaction of the transaction request, by the target block chain
Intelligent contract on network according to the affairs flow-dividing control Parameter analysis being pre-stored in the target block chain network whether
Execute the transaction request.
Transaction business process method and system proposed by the present invention based on block chain, by a block chain network structure
Multiple parallel block chain networks with identical participant are built, are that each participant of the block chain network constructs affairs shunting
Control system;After the participant in the block chain network receives transaction request, the affairs flow-dividing control system of the participant
System obtains the preset kind parameter transaction of the transaction request, and determines that the preset kind is handed over based on predetermined analysis rule
The mark of the corresponding parallel block chain network of easy parameter, using the corresponding parallel block chain network of determining mark as the execution friendship
The target block chain network easily requested, and by the corresponding parameter transaction of the transaction request be sent to the target block chain network into
Row trading processing.Due to that the transaction request of different participant can be branched to each different when carrying out transaction business process
Transaction request is executed in parallel block chain network, efficiently avoids to be broadcast within the predetermined time because of individual transaction
Fail Transaction caused by most nodes, and improved without reserved transaction broadcast time to the node in block chain network
The formation speed of transaction journal improves the stability and efficiency of transaction business process.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
The present invention provides a kind of transaction business process method based on block chain.Firstly, being directed to a block chain network structure
Multiple parallel block chain networks with identical participant are built, for example, if a block chain network has participant A, B, C, needle
Multiple parallel block chain networks are constructed to the block chain network, are had and the block chain network in each parallel block chain network
Same participant A, B, C, wherein each participant A, B, C have oneself node, i.e. the block link network on every block chain
Same participant A, B, C are all had in network and multiple parallel block chain networks, and each participant A, B, C are in every block chain
On have same node.Then, the affairs point for each participant building of the block chain network for affairs flow-dividing control
Flow control system manages node of each participant on each chain by the affairs diverter control system, to manage the area
Trade transactions in block chain network.
Referring to Fig.1, Fig. 1 is that the present invention is based on the flow diagrams of one embodiment of transaction business process method of block chain.
In one embodiment, being somebody's turn to do the transaction business process method based on block chain includes:
Step S10, after a participant of the user into the block chain network initiates transaction request, the participant
Affairs diverter control system obtain the preset kind parameter transaction of the transaction request, affairs flow-dividing control according to the pre-stored data
Parameter and predetermined analysis rule determine the mark of the corresponding parallel block chain network of the preset kind parameter transaction,
The affairs flow-dividing control parameter includes the mark of parallel block chain network and the associated data of preset kind parameter transaction;
In the present embodiment, asked when a participant in the block chain network receives a user to its transaction initiated
After asking, the preset kind parameter transaction (example of the transaction request is obtained for the affairs diverter control system that the participant constructs in advance
Such as, trade date, Transaction Identification Number, transaction amount, type of transaction etc.), according to the affairs being stored in advance in the block chain network
Fragment control parameter, and the corresponding parallel block of preset kind parameter transaction obtained is determined based on predetermined analysis rule
The mark of chain network, for example, can be according to successive, Transaction Identification Number the size or parity of trade date, the numerical value model of transaction amount
Enclose, a variety of situations such as different type of transaction determine the mark of its corresponding parallel block chain network, it is not limited here.
Wherein, the affairs flow-dividing control parameter includes the mark (for example, number of parallel block chain network) of parallel block chain network
With the associated data of preset kind parameter transaction (for example, trade date, Transaction Identification Number, transaction amount, type of transaction etc.).
The affairs diverter control system of step S20, the participant make the determining corresponding parallel block chain network of mark
For the target block chain network for executing the transaction request, and the corresponding parameter transaction of the transaction request is sent to the target area
Block chain network carries out trading processing.
After the mark for the corresponding parallel block chain network of preset kind parameter transaction for determining the transaction request, the ginseng
With the affairs diverter control system parallel block chain network that determining mark is corresponding of side as the mesh for executing the transaction request
Block chain network is marked, and the corresponding parameter transaction of the transaction request is issued into the target block chain network and carries out trading processing, from
And realize the flow-dividing control to trade transactions in the block chain network.
The present embodiment is by constructing multiple parallel block chain networks with identical participant to a block chain network
Each participant of the block chain network constructs affairs diverter control system;When the participant in the block chain network receives
To after transaction request, the affairs diverter control system of the participant obtains the preset kind parameter transaction of the transaction request, and base
The mark of the corresponding parallel block chain network of the preset kind parameter transaction is determined in predetermined analysis rule, will be determined
Target block chain network of the corresponding parallel block chain network of mark as the execution transaction request, and by the transaction request pair
The parameter transaction answered is sent to the target block chain network and carries out trading processing.Due to when carrying out transaction business process, energy
The transaction request of different participant is branched in each different parallel block chain network and executes transaction request, is effectively kept away
Fail Transaction caused by most nodes is exempted from cannot to be broadcast within the predetermined time because of individual transaction, and has been handed over without reserved
Easy broadcast time improves the formation speed of transaction journal, improves transaction business process to the node in block chain network
Stability and efficiency.
Further, in other embodiments, the preset kind parameter transaction be Transaction Identification Number, described predetermined point
Analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to the mark of predetermined Transaction Identification Number fragment defined formula and parallel block chain network
The mapping relations of knowledge determine the mark for the corresponding parallel block chain network of Transaction Identification Number extracted.
For example, in one embodiment, can extract the mantissa of the Transaction Identification Number obtained, according to predetermined Transaction Identification Number
The mapping relations of the mark of different mantissa and parallel block chain network, determine the corresponding parallel block of mantissa of the Transaction Identification Number extracted
The mark of chain network, the mark of the parallel block chain network are the corresponding parallel block chain of preset kind parameter transaction obtained
The mark of network.
In another embodiment, the mantissa of the also extractable Transaction Identification Number obtained, determines the odevity of the mantissa extracted
Property (for example, odd number or even number), according to the mapping of predetermined odevity property and the mark of parallel block chain network
Relationship determines the mark of the corresponding parallel block chain network of mantissa of the Transaction Identification Number extracted, the mark of the parallel block chain network
The mark of the corresponding parallel block chain network of the preset kind parameter transaction as obtained.
In yet another embodiment, the mantissa of the also extractable Transaction Identification Number obtained, according to predetermined Transaction Identification Number
The mapping relations of the mark of modulus and parallel block chain network, determine the mark for the corresponding parallel block chain network of modulus extracted
Know, the mark of the parallel block chain network is the mark of the corresponding parallel block chain network of preset kind parameter transaction obtained
Know.
Further, in other embodiments, the preset kind parameter transaction is type of transaction, described predetermined
Analysis rule are as follows:
According to the mapping relations of predetermined type of transaction fragment defined formula and the mark of parallel block chain network, really
Surely the mark of the corresponding parallel block chain network of the type of transaction obtained.
For example, the preset kind parameter transaction is to produce transaction, be transferred to the type of transaction such as transaction, according to predetermined
The mapping relations of the mark of different type of transaction and parallel block chain network, determine the corresponding parallel block of type of transaction obtained
The mark of chain network, the mark of the parallel block chain network are the corresponding parallel block chain of preset kind parameter transaction obtained
The mark of network.
Further, in other embodiments, the preset kind parameter transaction includes Transaction Identification Number and type of transaction, described
Predetermined analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to predetermined Transaction Identification Number, type of transaction fragment defined formula and parallel block
Mapping relations between the mark three of chain network, determine the corresponding parallel block of type of transaction of the Transaction Identification Number and acquisition that extract
The mark of chain network.
In the present embodiment, Transaction Identification Number and type of transaction are comprehensively considered to determine the mark of corresponding parallel block chain network
Know, it such as in one embodiment, can be according to predetermined Transaction Identification Number (the odevity property of modulus properties or mantissa), difference
Mapping relations between type of transaction and the mark three of parallel block chain network determine the transaction of the Transaction Identification Number and acquisition that extract
The mark of the corresponding parallel block chain network of type, the mark of the parallel block chain network are the preset kind transaction ginseng obtained
The mark of the corresponding parallel block chain network of number.
Further, in other embodiments, the affairs flow-dividing control parameter is to be pre-stored within the block link network
In the corresponding intelligent contract of the node of each participant of network.
Data on block chain chain would generally be stored in two places: intelligent contract (has the data state of oneself (i.e.:
Situation)) it neutralizes in transaction journal (transaction log), corresponding one intelligent contract of each block chain node and affairs note
Record.In the present embodiment, in order to guarantee each participant affairs diverter control system call the affairs flow-dividing control parameter
Be consistent, be credible, by the affairs flow-dividing control parameter be pre-stored within each block chain network (including block chain network and
For multiple parallel block chain networks of block chain network building) each participant the corresponding intelligent contract of each node
In.
Further, it is somebody's turn to do in affairs diverter control system using the corresponding parallel block chain network of determining mark as execution
The target block chain network of transaction request, and the corresponding parameter transaction of the transaction request is sent to the target block chain network
Later, by the intelligent contract in the target block chain network according to the affairs being pre-stored in the target block chain network
Whether flow-dividing control Parameter analysis executes the transaction request.For example, in one embodiment, in the target block chain network
Intelligent contract according to the mark and preset kind of itself pre-stored affairs flow-dividing control parameter, that is, parallel block chain network
The associated data of parameter transaction determines the mark of parallel block chain network corresponding to the parameter transaction in the transaction request, and
Verify the mark of determining parallel block chain network and identifying whether unanimously for the target block chain network itself.In another kind
In embodiment, the intelligent contract in the target block chain network is according to itself pre-stored affairs flow-dividing control parameter
The mark of parallel block chain network and the associated data of preset kind parameter transaction determine the target block chain network itself
The corresponding parameter transaction type of mark, and verify the class of the parameter transaction in determining parameter transaction type and the transaction request
Whether type is consistent.If confirming, the mark of parallel block chain network or parameter transaction type are errorless, just in the target block chain
The transaction request is executed on network, to prevent from causing the parameter transaction of mistake by the target because affairs diverter control system malfunctions
The case where block link network typing, occurs.
Further, as shown in Fig. 2, Fig. 2 is that the present invention is based in one embodiment of transaction business process method of block chain
Fragment defines the schematic diagram of downloading, in the present embodiment, carries out under fragment definition on each block chain (such as chain 0, chain 1, chain 2)
When carrying, namely prestoring the fragment of different preset kind parameter transactions and parallel block chain network and define, by block chain maintenance side handle
Fragment, which defines, is dealt into node that the maintenance of each chain can call up (such as node 1 on every chain), the section on every chain
Fragment defined formula 1 all can be synchronized to all nodes up by the common recognition mechanism on oneself chain by point, when participant
Separating system, that is, affairs diverter control system when opening can directly from oneself, downloading slicing is defined on the node on each chain, and
In this, as to the subsequent reference for carrying out affairs fragment.
Further, as shown in figure 3, Fig. 3 is that the present invention is based in one embodiment of transaction business process method of block chain
Fragment defines the schematic diagram of change, and in the present embodiment, if fragment definition change need to be carried out, update is divided by block chain maintenance side
Piece defined formula be dealt into one can call chain node up (such as node 1 of chain 0), the node 1 of chain 0 can be by oneself chain
Common recognition mechanism fragment defined formula is synchronized to all nodes on chain 0 up.When the definition of updated fragment is determined writing
After entering block chain, each node can send messages to separating system corresponding with them i.e. affairs diverter control system.Fragment
System receives message and learns that fragment definition has been updated, and newest fragment definition can be downloaded from node again, to complete fragment
The change of definition.
Further, as shown in figure 4, Fig. 4 is that the present invention is based in one embodiment of transaction business process method of block chain
The schematic diagram of process of exchange, in the present embodiment, when being traded on block chain, such as bank A is Transaction Identification Number txID=00001
Oneself separating system i.e. affairs diverter control system is issued in number transaction, and separating system receives after transaction can be according to writing on each section
Fragment defined formula on point passes to the transaction on block chain 0, and after the intelligent contract on block chain 0 is passed in transaction, intelligence is closed
Appointment decides whether to execute the transaction according to the fragment logic i.e. affairs flow-dividing control parameter being stored on chain, on block chain 0
Intelligent contract the corresponding block chain network of the transaction can be verified according to the affairs flow-dividing control parameter being stored on block chain 0
Whether mark or parameter transaction type are errorless, however, it is determined that and it is errorless, then the transaction is executed on block chain 0.
The present invention further provides a kind of for handling the affairs diverter control system of block chain trade transactions.Firstly, needle
Multiple parallel block chain networks with identical participant are constructed to a block chain network, for example, an if block chain network
With participant A, B, C, multiple parallel block chain networks are constructed for the block chain network, in each parallel block chain network
There are participant A, B, C same as the block chain network, wherein each participant A, B, C have certainly on every block chain
Same participant A, B, C, and each participation are all had in own node, i.e. the block chain network and multiple parallel block chain networks
Square A, B, C have same node on every block chain.Then, thing is used for for each participant building of the block chain network
The affairs diverter control system for flow-dividing control of being engaged in, manages each participant on each chain by the affairs diverter control system
Node, to manage the trade transactions in the block chain network.
It is the functional block diagram of one embodiment of affairs diverter control system of the present invention referring to Fig. 5, Fig. 5.
In one embodiment, which includes:
Determining module 01, for after a participant of the user into the block chain network initiates transaction request,
Obtain the preset kind parameter transaction of the transaction request, affairs flow-dividing control parameter according to the pre-stored data and predetermined
Analysis rule determines the mark of the corresponding parallel block chain network of the preset kind parameter transaction, the affairs flow-dividing control ginseng
Number includes the mark of parallel block chain network and the associated data of preset kind parameter transaction;
In the present embodiment, asked when a participant in the block chain network receives a user to its transaction initiated
After asking, the preset kind parameter transaction (example of the transaction request is obtained for the affairs diverter control system that the participant constructs in advance
Such as, trade date, Transaction Identification Number, transaction amount, type of transaction etc.), according to the affairs being stored in advance in the block chain network
Fragment control parameter, and the corresponding parallel block of preset kind parameter transaction obtained is determined based on predetermined analysis rule
The mark of chain network, for example, can be according to successive, Transaction Identification Number the size or parity of trade date, the numerical value model of transaction amount
Enclose, a variety of situations such as different type of transaction determine the mark of its corresponding parallel block chain network, it is not limited here.
Wherein, the affairs flow-dividing control parameter includes the mark (for example, number of parallel block chain network) of parallel block chain network
With the associated data of preset kind parameter transaction (for example, trade date, Transaction Identification Number, transaction amount, type of transaction etc.).
Diverter module 02, the corresponding parallel block chain network of mark for that will determine is as the mesh for executing the transaction request
Block chain network is marked, and the corresponding parameter transaction of the transaction request is sent to the target block chain network and is carried out at transaction
Reason.
After the mark for the corresponding parallel block chain network of preset kind parameter transaction for determining the transaction request, the ginseng
With the affairs diverter control system parallel block chain network that determining mark is corresponding of side as the mesh for executing the transaction request
Block chain network is marked, and the corresponding parameter transaction of the transaction request is issued into the target block chain network and carries out trading processing, from
And realize the flow-dividing control to trade transactions in the block chain network.
The present embodiment is by constructing multiple parallel block chain networks with identical participant to a block chain network
Each participant of the block chain network constructs affairs diverter control system;When the participant in the block chain network receives
To after transaction request, the affairs diverter control system of the participant obtains the preset kind parameter transaction of the transaction request, and base
The mark of the corresponding parallel block chain network of the preset kind parameter transaction is determined in predetermined analysis rule, will be determined
Target block chain network of the corresponding parallel block chain network of mark as the execution transaction request, and by the transaction request pair
The parameter transaction answered is sent to the target block chain network and carries out trading processing.Due to when carrying out transaction business process, energy
The transaction request of different participant is branched in each different parallel block chain network and executes transaction request, is effectively kept away
Fail Transaction caused by most nodes is exempted from cannot to be broadcast within the predetermined time because of individual transaction, and has been handed over without reserved
Easy broadcast time improves the formation speed of transaction journal, improves transaction business process to the node in block chain network
Stability and efficiency.
Further, in other embodiments, the preset kind parameter transaction be Transaction Identification Number, described predetermined point
Analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to the mark of predetermined Transaction Identification Number fragment defined formula and parallel block chain network
The mapping relations of knowledge determine the mark for the corresponding parallel block chain network of Transaction Identification Number extracted.
For example, in one embodiment, can extract the mantissa of the Transaction Identification Number obtained, according to predetermined Transaction Identification Number
The mapping relations of the mark of different mantissa and parallel block chain network, determine the corresponding parallel block of mantissa of the Transaction Identification Number extracted
The mark of chain network, the mark of the parallel block chain network are the corresponding parallel block chain of preset kind parameter transaction obtained
The mark of network.
In another embodiment, the mantissa of the also extractable Transaction Identification Number obtained, determines the odevity of the mantissa extracted
Property (for example, odd number or even number), according to the mapping of predetermined odevity property and the mark of parallel block chain network
Relationship determines the mark of the corresponding parallel block chain network of mantissa of the Transaction Identification Number extracted, the mark of the parallel block chain network
The mark of the corresponding parallel block chain network of the preset kind parameter transaction as obtained.
In yet another embodiment, the mantissa of the also extractable Transaction Identification Number obtained, according to predetermined Transaction Identification Number
The mapping relations of the mark of modulus and parallel block chain network, determine the mark for the corresponding parallel block chain network of modulus extracted
Know, the mark of the parallel block chain network is the mark of the corresponding parallel block chain network of preset kind parameter transaction obtained
Know.
Further, in other embodiments, the preset kind parameter transaction is type of transaction, described predetermined
Analysis rule are as follows:
According to the mapping relations of predetermined type of transaction fragment defined formula and the mark of parallel block chain network, really
Surely the mark of the corresponding parallel block chain network of the type of transaction obtained.
For example, the preset kind parameter transaction is to produce transaction, be transferred to the type of transaction such as transaction, according to predetermined
The mapping relations of the mark of different type of transaction and parallel block chain network, determine the corresponding parallel block of type of transaction obtained
The mark of chain network, the mark of the parallel block chain network are the corresponding parallel block chain of preset kind parameter transaction obtained
The mark of network.
Further, in other embodiments, the preset kind parameter transaction includes Transaction Identification Number and type of transaction, described
Predetermined analysis rule are as follows:
The Transaction Identification Number obtained is extracted, according to predetermined Transaction Identification Number, type of transaction fragment defined formula and parallel block
Mapping relations between the mark three of chain network, determine the corresponding parallel block of type of transaction of the Transaction Identification Number and acquisition that extract
The mark of chain network.
In the present embodiment, Transaction Identification Number and type of transaction are comprehensively considered to determine the mark of corresponding parallel block chain network
Know, it such as in one embodiment, can be according to predetermined Transaction Identification Number (the odevity property of modulus properties or mantissa), difference
Mapping relations between type of transaction and the mark three of parallel block chain network determine the transaction of the Transaction Identification Number and acquisition that extract
The mark of the corresponding parallel block chain network of type, the mark of the parallel block chain network are the preset kind transaction ginseng obtained
The mark of the corresponding parallel block chain network of number.
Further, in other embodiments, the affairs flow-dividing control parameter is to be pre-stored within the block link network
In the corresponding intelligent contract of the node of each participant of network.
Data on block chain chain would generally be stored in two places: intelligent contract (has the data state of oneself (i.e.:
Situation)) it neutralizes in transaction journal (transaction log), corresponding one intelligent contract of each block chain node and affairs note
Record.In the present embodiment, in order to guarantee each participant affairs diverter control system call the affairs flow-dividing control parameter
Be consistent, be credible, by the affairs flow-dividing control parameter be pre-stored within each block chain network (including block chain network and
For multiple parallel block chain networks of block chain network building) each participant the corresponding intelligent contract of each node
In.
Further, it is somebody's turn to do in affairs diverter control system using the corresponding parallel block chain network of determining mark as execution
The target block chain network of transaction request, and the corresponding parameter transaction of the transaction request is sent to the target block chain network
Later, by the intelligent contract in the target block chain network according to the affairs being pre-stored in the target block chain network
Whether flow-dividing control Parameter analysis executes the transaction request.For example, in one embodiment, in the target block chain network
Intelligent contract according to the mark and preset kind of itself pre-stored affairs flow-dividing control parameter, that is, parallel block chain network
The associated data of parameter transaction determines the mark of parallel block chain network corresponding to the parameter transaction in the transaction request, and
Verify the mark of determining parallel block chain network and identifying whether unanimously for the target block chain network itself.In another kind
In embodiment, the intelligent contract in the target block chain network is according to itself pre-stored affairs flow-dividing control parameter
The mark of parallel block chain network and the associated data of preset kind parameter transaction determine the target block chain network itself
The corresponding parameter transaction type of mark, and verify the class of the parameter transaction in determining parameter transaction type and the transaction request
Whether type is consistent.If confirming, the mark of parallel block chain network or parameter transaction type are errorless, just in the target block chain
The transaction request is executed on network, to prevent from causing the parameter transaction of mistake by the target because affairs diverter control system malfunctions
The case where block link network typing, occurs.
Further, when carrying out fragment definition downloading in one embodiment, on each block chain (such as chain 0, chain 1, chain 2)
When carrying out fragment definition downloading, namely prestoring the fragment of different preset kind parameter transactions and parallel block chain network and define, by
Block chain maintenance side, which defines fragment, is dealt into node that the maintenance of each chain can call (such as the node on every chain up
1), fragment defined formula all can be synchronized to all nodes up by the common recognition mechanism on oneself chain by the node 1 on every chain,
It can be directly from oneself on the node on each chain when the separating system of a participant, that is, affairs diverter control system is opened
Downloading slicing definition, and in this, as to the subsequent reference for carrying out affairs fragment.
Further, when carrying out fragment definition change in one embodiment, if fragment definition change need to be carried out, by block
Chain maintenance side update fragment defined formula be dealt into one can call chain node up (such as node 1 of chain 0), the section of chain 0
Fragment defined formula can be synchronized to all nodes on chain 0 up by the common recognition mechanism on oneself chain by point 1.When updated
After fragment definition is determined write-in block chain, each node can send messages to separating system corresponding with them i.e. affairs point
Flow control system.Separating system receives message and learns that fragment definition has been updated, and it is fixed to download newest fragment from node again
Justice, to complete the change that fragment defines.
Further, when being traded in one embodiment, if trading on block chain, such as bank A is transaction
The separating system i.e. affairs diverter control system of oneself is issued in number No. txID=00001 transaction, and separating system receives meeting after transaction
The transaction is passed on block chain 0 according to the fragment defined formula write on each node, the intelligence on block chain 0 is passed in transaction
After contract, intelligent contract can decide whether to execute the transaction according to the fragment logic being stored on chain, if so, in block chain 0
Upper execution transaction.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to be realized by hardware, but very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.On
It is for illustration only to state serial number of the embodiment of the present invention, does not represent the advantages or disadvantages of the embodiments.It is patrolled in addition, though showing in flow charts
Sequence is collected, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
Without departing from the scope and spirit of the invention, there are many variations to implement the present invention by those skilled in the art,
It can be used for another embodiment for example as the feature of one embodiment and obtain another embodiment.It is all to use technology of the invention
Made any modifications, equivalent replacements, and improvements within design, should all be within interest field of the invention.