CN109544157A - Transaction processing method, device and system - Google Patents

Transaction processing method, device and system Download PDF

Info

Publication number
CN109544157A
CN109544157A CN201811253136.8A CN201811253136A CN109544157A CN 109544157 A CN109544157 A CN 109544157A CN 201811253136 A CN201811253136 A CN 201811253136A CN 109544157 A CN109544157 A CN 109544157A
Authority
CN
China
Prior art keywords
transaction
block chain
stored value
business
value data
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
CN201811253136.8A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910727081.8A priority Critical patent/CN110490584A/en
Priority to CN201811253136.8A priority patent/CN109544157A/en
Publication of CN109544157A publication Critical patent/CN109544157A/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

Present invention discloses a kind of transaction processing methods, device and system.The method is suitable for the transaction business disposed on block chain business network, center transaction node by expanding operation except block chain business network is that transaction business executes the method, which comprises obtains the transaction participant and number of deals that triggered trading activity is related to;By executing the update that transaction participant is matched with the plus-minus operation acquisition Stored Value data of number of deals to the held Stored Value data of center transaction node;According to the updates of Stored Value data in the Stored Value data-triggered block chain business network of update when terminating transaction business, the Stored Value data being updated in block chain business network are that transaction participant is generated to transaction business Stored Value in block chain business network;The Stored Value data updated in block chain business network terminate the clearing of transaction business for participant of trading.The relevant treatment process of institute is no longer executed by block chain business network, the handling capacity of significant increase transaction business.

Description

Transaction processing method, device and system
Technical field
The present invention relates to technical field of internet application, in particular to a kind of transaction processing method, device and system.
Background technique
Distributed Application based on block chain technology is grown rapidly, so that many applications in internet all will It is realized by the Distributed Application based on block chain technology.That is, the application of more and more script centralization frameworks is adopted It is realized with block chain technology, is disliked with this to avoid centralization framework from facing centralized malicious attack even institute's storing data The problem of meaning is distorted, many transaction applications especially realized by internet.
By means of internet application technology, carried out so that various transaction business are transferred on line, but there is centers Change the problems that framework is faced and therefore realizes the processing of transaction based on block chain technology.
Under the support of region chain technology, all block chain nodes all carry out the storage of all data respectively, and by It is limited to technical principle specific to block chain technology, so that the trading processing carried out there is trading efficiency low, transaction peak It is worth too low limitation, therefore, the technical bottleneck not high there is handling capacity for the progress of trading processing, unit time institute's energy The transaction business quantity enough handled is too low.
For example, the transaction carried out by block chain business network, acknowledging time will often spend one more than hour, The number of deals per second that can be received only reaches 7, significantly limits the performance of trading processing, and can not be applied to many transaction Scene.
In summary, it would be highly desirable to which the trading processing to carry out under the technical support of block chain solves the too low limitation of handling capacity Property, so that the progress of trading processing can obtain extraordinary performance by means of the advantage of block chain technology again.
Summary of the invention
In order to which the handling capacity for solving the realized transaction business of block chain business network in the related technology is low, it is difficult to be applied to The technical issues of various transaction scenes, the present invention provides a kind of transaction processing methods, device and system.
A kind of transaction processing method, the method are suitable for the transaction business disposed on block chain business network, pass through institute Stating and expanding the center transaction node of operation except block chain business network is that the transaction business executes the method, the method Include:
For the transaction business disposed on the block chain business network, obtains the transaction that triggered trading activity is related to and participate in Side and number of deals;
The transaction participant, which is executed, by the Stored Value data held to the center transaction node is matched with the friendship The plus-minus operation of easy number, the update of the Stored Value data is obtained for the trading activity;
When participant of trading terminates the transaction business, according to block chain business described in the Stored Value data-triggered of update The update of Stored Value data in network, the Stored Value data being updated in the block chain business network are transaction participants in institute It is generated to the transaction business Stored Value to state block chain business network;
Wherein, the Stored Value data updated in the block chain business network terminate the knot of transaction business for participant of trading It calculates.
A kind of transaction processing method, the method are configured in the operation of hot money packet, and the hot money packet adapts to The center transaction node of operation is expanded except block chain business network, which comprises
The trading activity that the selection of hot money packet transaction page is initiated is received, the trading activity is towards block chain business network What the transaction participant and number of deals of disposed transaction business were initiated;
The initiation of trading activity described in the transaction node of notice center makes the center transaction node obtain the trading activity The transaction participant and number of deals being related to;
Wherein, the hot money packet of operation by the center transaction node to the transaction participant according to the transaction Number updates Stored Value data, and the Stored Value data of update drive institute when the transaction business is terminated by the transaction participant State the update of block chain business network.
A kind of transaction processing method, the method are applied to except block chain business network, the block chain business network It expands the central row transaction node of operation and adapts to the system that the hot money packet of the center transaction node constructs jointly;It is described Method includes:
The trading activity of hot money packet triggering according to selected by itself transaction page, the center Xiang Suoshu transaction node notice The initiation of the trading activity;
The center transaction node is the transaction business disposed on the block chain business network, to initiated trading activity The plus-minus that Stored Value Data Matching corresponding to transaction participant is executed in number of deals operates, and obtains the storage for the trading activity The update of Value Data;
When the transaction participant terminates the transaction business, the center transaction node is according to the Stored Value of update The update of Stored Value data in block chain business network described in data-triggered, the storage being updated in the block chain business network Value Data is that transaction participant is generated to the transaction business Stored Value in the block chain business network;
The Stored Value data that the block chain business network is updated according to itself execute the dealer and terminate transaction business Clearing.
A kind of traction processing apparatus, described device are suitable for the transaction business disposed on block chain business network, pass through institute Stating and expanding the center transaction node of operation except block chain business network is that the transaction business runs described device, described device Include:
Transaction obtains module, and for the transaction business to dispose on the block chain business network, acquisition triggers transaction The transaction participant and number of deals that behavior is related to;
Transaction execution module executes the transaction for the Stored Value data by being held to the center transaction node and joins The plus-minus for being matched with the number of deals with side operates, and the update of the Stored Value data is obtained for the trading activity;
Update module, when terminating the transaction business for participant of trading, according to the Stored Value data-triggered of update The update of Stored Value data in the block chain business network, the Stored Value data being updated in the block chain business network are Participant of trading is generated to the transaction business Stored Value in the block chain business network;
Wherein, the Stored Value data updated in the block chain business network terminate the knot of transaction business for participant of trading It calculates.
A kind of traction processing apparatus, described device are configured in hot money packet, and the hot money packet adapts to block chain The center transaction node of operation is expanded except business network, described device includes:
Receiving module, for receive hot money packet transaction page selection initiate trading activity, the trading activity be towards What the transaction participant and number of deals of the disposed transaction business of block chain business network were initiated;
Notification module obtains the center transaction node for notifying the initiation of trading activity described in the transaction node of center Obtain the transaction participant and number of deals that the trading activity is related to;
Wherein, the hot money packet of operation by the center transaction node to the transaction participant according to the transaction Number updates Stored Value data, and the Stored Value data of update drive institute when the transaction business is terminated by the transaction participant State the update of block chain business network.
A kind of transaction processing system, the system except block chain business network, the block chain business network by expanding The central row transaction node of operation and the hot money packet for adapting to the center transaction node construct jointly;
The hot money packet is used for the trading activity of the triggering according to selected by itself transaction page, the center Xiang Suoshu transaction node Notify the initiation of the trading activity;
The transaction business that the center transaction node is used for dispose on the block chain business network, to initiating to trade Behavior executes Stored Value Data Matching corresponding to transaction participant and operates in the plus-minus of number of deals, obtains institute for the trading activity State the update of Stored Value data;
When the transaction participant terminates the transaction business, the center transaction node is used for according to update The update of Stored Value data in block chain business network described in Stored Value data-triggered, the institute being updated in the block chain business network Stating Stored Value data is that transaction participant is generated to the transaction business Stored Value in the block chain business network;
The Stored Value data that the block chain business network is used to be updated according to itself execute the dealer and terminate transaction The clearing of business.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Transaction business is disposed on block chain business network, for the transaction business disposed, block chain business will be passed through The center transaction node that operation is expanded except network comes for user, that is, participant execution realization transaction business of trading, firstly, center Transaction node is the transaction business disposed on block chain business network, obtain the transaction participant that triggered trading activity is related to And number of deals, transaction participant then, which is executed, by the Stored Value data held to center transaction node is matched with number of deals Plus-minus operation, for trading activity obtain Stored Value data update, and so on, will be realized outside chain trade participant initiated Transaction business, until transaction participant is when terminating this transaction business, center transaction node is further according to Stored Value data-triggered block The update of Stored Value data in chain business network, the Stored Value data side of being being updated in block chain business network is in block chain service network Network is generated to transaction business Stored Value, at this point, just the side of being used for terminates transaction to the Stored Value data updated in block chain business network The clearing of business, block chain business network are matched with center transaction node, and trading activity is responded in center transaction node, The relevant treatment process of institute is no longer executed by block chain business network, and then the technical principle as specific to block chain is avoided to lead Cause handling capacity low, the handling capacity of significant increase transaction business can be applied to various transaction scenes.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited Invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and in specification together principle for explaining the present invention.
Fig. 1 is the simplified schematic diagram of implementation environment according to the present invention shown according to an exemplary embodiment;
Fig. 2 is a kind of block diagram of device shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of transaction processing method shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the transaction processing method shown according to another exemplary embodiment;
Fig. 5 is the hot money packet transaction page schematic diagram according to shown by an exemplary embodiment;
Fig. 6 is according to the flow chart that step 330 is described shown in Fig. 3 corresponding embodiment;
Fig. 7 is a kind of flow chart of the transaction processing method shown according to an exemplary embodiment in user side;
Fig. 8 is according to the flow chart that step 710 is described shown in Fig. 7 corresponding embodiment;
Fig. 9 is flow chart of the transaction processing method shown according to an exemplary embodiment in constructed system;
Figure 10 is the schematic diagram of thunder and lightning network implementations transaction shown according to an exemplary embodiment;
Figure 11 is the time diagram of the realized high concurrent transaction of the present invention shown according to an exemplary embodiment;
Figure 12 is to realize a kind of block diagram of traction processing apparatus in center transaction node shown in an exemplary embodiment;
Figure 13 is to realize a kind of block diagram of traction processing apparatus in hot money packet shown in another exemplary embodiment.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is the signal schematic drawing of implementation environment according to the present invention shown according to an exemplary embodiment.One In a exemplary embodiment, the present invention passes through the transaction business that block chain business network is realized, outer the realized center transaction of chain Handling capacity is promoted under the cooperation of node, provides transactional services for various transaction scenes, so that any trading activity can be by It is fast and safely responded in realization of the invention.
It, can be by for example, need quickly to confirm the scene for completing online trading under line, various high concurrents transaction on line It is realized in implementation environment shown in FIG. 1 and trading processing logic of the invention.
Signified block chain business network of the invention, is realized by the block chain that several nodes are constituted, these sections Point is block chain node.
Therefore, framework as shown in Figure 1, several nodes 110 constitute the block chain business network of deployment transaction business, each Node 110 carries out the storage of respectively transaction participant Stored Value data all for transaction business, and center transaction node 130 is then in chain Outer operation.Side, for example, the initiator to transfer accounts and reciever, reaching for trading between both sides is to be by center transaction node 130 What main body carried out.
Trading activity is triggered to transaction business, center transaction node 130 executes transaction thus, related account book of trading Record and clearing, are all implemented by center point-of-transaction 130, until reaching some time point, transaction node 130 ability in center is to block Chain business network is settled accounts, and the Stored Value data that the processing of center transaction node 130 exchange settles accounts are synchronized to block chain In business network, the fast and safely transaction based on block chain business network is realized.
Fig. 2 is a kind of block diagram of device shown according to an exemplary embodiment.For example, device 200 can be shown in Fig. 1 Node server.
Referring to Fig. 2, which can generate bigger difference because configuration or performance are different, may include one or More than one central processing unit (central processing units, CPU) 222 is (for example, one or more are handled Device) and memory 232, the storage medium 230 of one or more storage application programs 242 or data 244 (such as one Or more than one mass memory unit).Wherein, memory 232 and storage medium 230 can be of short duration storage or persistent storage. The program for being stored in storage medium 230 may include one or more modules (diagram is not shown), and each module can wrap It includes to the series of instructions operation in server.Further, central processing unit 222 can be set to and storage medium 230 Communication executes the series of instructions operation in storage medium 230 on the device 200.Device 200 can also include one or one The above power supply 226, one or more wired or wireless network interfaces 250, one or more input/output interfaces 258, and/or, one or more operating systems 241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..It is taken described in following Fig. 3, Fig. 4, Fig. 5, Fig. 6, Fig. 7 and embodiment illustrated in fig. 8 by node Step performed by business device can be based on the apparatus structure shown in Fig. 2.
Fig. 3 is a kind of flow chart of transaction processing method shown according to an exemplary embodiment.In an exemplary reality It applies in example, the transaction processing method, the transaction business that it is suitable for disposing on block chain business network passes through block chain service network The center transaction node that operation is expanded except network is that transaction business executes this method.
As shown in Figure 3, which at least includes the following steps.
In the step 310, it is the transaction business disposed on block chain business network, obtains what triggered trading activity was related to Transaction participant and number of deals.
Wherein, block chain business network realizes the distributed transaction for being capable of providing transactional services by deployment transaction business Using.Each node all carries out the relevant data record of transaction business in block chain business network, and is recorded between node Data be all consistent, guarantee the safety of realized transaction business with this, data can not distort.
The deployment of multi-exchange business can be realized by means of block chain business network as needed, be adapted to not with this With the transactions demand under scene.It should be appreciated that deployment of the transaction business on block chain business network, as transaction business institute is right It answers programmed logic that can execute on block chain business network, can be concluded the transaction the offer of service with this side.
In one exemplary embodiment, the deployment of transaction business can be real by intelligent contract on block chain business network It is existing.Intelligent contract is the programmed logic constructed according to corresponding transaction business, and the operation on a node necessarily causes All in the operating status of this transaction business, i.e., the data caused therefrom update to be extended all nodes in block chain business network To other nodes, therefore, the operation in the operation of intelligent contract, substantially a node, and entire block chain business network Journey.
Block chain business network is adaptable to various scenes and disposes required transaction business by issuing intelligent contract, And the substantial treatment process of this transaction business, it will will be executed by the center transaction node run outside chain, without to each Transaction record, which is updated to block chain business network, can come into force completion transaction.
The transaction business to dispose on block chain business network is executed the existing place of essence by center transaction node as a result, Reason process carries out trading processing based on the transaction node of center, until just by final result after reaching particular point in time Cochain is updated to block chain business network.
For a transaction business of deployment, center transaction node all will be involved by the trading activity that triggered first for it acquisition And transaction participant and number of deals.Transaction participant, refers to the initiator of transaction first, is one-sided initiating transaction When, transaction participant is the initiator to trade, for example, all will be one-sided when transaction business is carried out Stored Value or extracted When row;Initiate transaction relate to both sides it is even multi-party when, transaction participant include transaction initiator and reciever.
Participant of no matter trading is related to folk prescription, both sides or multi-party, will be all identified with specific character, and with this shape Formula exists, that is to say, that in the trading processing carried out, will be used with the specific character of unique identification transaction participant Family mark.In one exemplary embodiment, signified transaction participant can be to realize transaction industry by block chain business network The deployment of business and the intelligent contract issued generate corresponding hot money packet address for it, as a result, transaction participate in it is convenient in this format In the presence of.
Trading activity is not only related to participant of trading, and has also related to number of deals.Number of deals is in trading activity It is specified in triggering, for example, the number of transferring accounts specified in the behavior of transferring accounts triggered.
Under the transaction business that block chain business network is disposed, user side, i.e. transaction corresponding to trading activity are participated in Side come given transaction number and will initiate the relevant transaction row of transaction business institute by this client of hot money packet run For.It is corresponding, center transaction node will thus and obtain transaction participant that triggered trading activity is related to and Number of deals.
It should remark additionally herein, center transaction node is different from block chain business network, block chain business network In node respectively play different functions from center transaction node.But physically, center transaction node and block chain Node in business network may operate in therebetween same server or equipment vendor, certainly, can also transport therebetween Row is in different server or equipment vendor, herein without limiting.
In a step 330, transaction participant is executed by the Stored Value data held to center transaction node be matched with friendship The plus-minus operation of easy number, the update of Stored Value data is obtained for trading activity.
Wherein, each transaction participant of transaction business all has in center transaction node and block chain business network Corresponding Stored Value data.Stored Value data are used to indicate the assets number that corresponding transaction participant is held in transaction business, answer When understanding, Stored Value data are used to indicate the assets that transaction participant is held in transaction business, can be obtained by Stored Value data Obtain the amount of assets that corresponding transaction participant is held.
First it should be noted that transaction business needs the premise in transaction participant pre-paid in block chain business network Therefore lower offer transactional services to realize transaction, trade participant after business is participated in business in authorization, are block chain business Thus transaction business on network just produces just in hot money packet by center transaction node to block chain business network Stored Value The Stored Value data of beginning, this Stored Value data be synchronized in center transaction node and block chain business network it is existing.
With the progress of transaction, Stored Value data will accordingly be updated in center transaction node, but be stored up in block chain business network The storage of Value Data, no longer updates therewith, and only updates in a particular point in time, guarantees the handling capacity of trading processing with this, By recording All Activity outside chain, Stored Value number obtained is finally only settled accounts to the update of block chain business network in particular point in time According to transaction be no longer limited by block chain business network.
As aforementioned described, transaction participant all has in center transaction node and block chain business network corresponding Stored Value data.On the one hand, transaction participant is held in the Stored Value data of center transaction node, refers to transaction participant at center The Stored Value data that transaction node is stored are also possible under the control of center transaction node certainly, by center transaction node The Stored Value data being stored at it, herein without limiting.Another aspect, transaction participant is right in block chain business network institute The Stored Value data answered are stored on each node of block chain business network, will not being updated with transaction, with This treatment effeciency to enhance transaction, avoids the resource consumption on block chain business network.
Center transaction node executes plus-minus operation according to number of deals obtained to Stored Value data, with responder to transaction The trading activity of business triggering.It should be appreciated that signified plus-minus operation is according to triggered trading activity to Stored Value data institute phase The operation that should be executed, plus-minus operation is for according to corresponding to indicated trading activity and number of deals more New Transaction participant Stored Value data, but not execution add operation as the name indicates and subtraction operation can also only execute addition or subtraction operation.
For example, trading activity is when transferring accounts behavior, it is that number of deals is matched with to the Stored Value data execution of initiator Subtraction operation, and accordingly the Stored Value data of reciever are executed with the add operation for being matched with number of deals;In another example trading activity When being Stored Value behavior, there is only the initiator of transaction, performed plus-minus operation is to execute addition to the Stored Value data of initiator The process of operation;For another example, also there is only the initiator of transaction, performed plus-minus operates when trading activity is extraction behavior, It is the process that the Stored Value data of initiator are executed with subtraction operation.
With the update of execution the held Stored Value data of acquisition center transaction node of plus-minus operation.Accordingly, for being touched For sending out trading activity, at center, transaction node completes its process of exchange, and center transaction node is to transaction participant institute Hold the remaining sum of Stored Value data instruction, i.e. initiator, even receives the remaining sum of possessed assets.
In step 350, when transaction participant terminates transaction business, according to the Stored Value data-triggered block chain business of update The update of Stored Value data in network, the Stored Value data side of being being updated in block chain business network is in block chain business network to friendship Easy business Stored Value is generated.
Wherein, by abovementioned steps, i.e., as described in step 310 and step 330, the transaction initiated by transaction business Behavior is responded, and is handled, right by updating to realize transaction under the control of center transaction node for transaction participant The held Stored Value data of the Stored Value data answered, i.e. center transaction node more newly arrive what the transaction acquisition side to be realized was held Assets number indicates in that is, updated Stored Value data.
Single existing transaction participant and more than two transaction participants, all carry out with center transaction node Centered on initiate trading activity, and complete to trade, each trading activity initiated, it is only necessary to after the execution of center transaction node Continuous operation, for example, book keeping operation, the relevant sequence of operations of settlement bargain institute, all trading processings all at center, hold by transaction node Row, center transaction node maintain transaction record, are able to carry out the operation such as reimbursement, are enhancing the performance of transaction realization, so that The transaction realized based on block chain technology can also have reimbursement, that is, the rollback traded and the function of changing transaction content.
The transaction business of transaction participant terminates, and refers to that transaction participant is no longer participate in the transaction business, for example, transaction ginseng With side by all Stored Values, i.e. all assets of pre-paid all extract, at this point, transaction participant is on block chain business network The transaction business of deployment does not have Stored Value, it is meant that transaction participant terminates transaction business;In another example transaction participant relieves Itself authorization to transaction business, and the transactional services of this transaction business offer are not provided.
Therefore, it includes that can release transaction participant to use the provided friendship of transaction business that transaction participant, which terminates transaction business, Various situations easily serviced, and once transaction participant terminates transaction business, center transaction node just direction block chain thus The update of business network progress Stored Value data.
The assets remaining sum of each party's Stored Value data corresponding to the transaction node of center instruction is all that the party experienced and be initiated Transaction after possess, after it terminates transaction business, center transaction node need to update Stored Value to block chain business network Data, so that block chain business network can really and accurately know the transaction participant institute holding assets for terminating transaction business Number, and then accurately settle accounts.
Therefore, as the Stored Value data that center transaction node is carried out to block chain business network update, region chain service network The Stored Value data that network is updated are used to execute the clearing that transaction participant terminates transaction business.
Pass through exemplary embodiment as described above, it can be seen that user is initiated by hot money packet to center transaction node Trading activity, initiated trading activity executes subsequent operation under the action of the transaction node of center, and drives block if necessary Chain business network updates, no longer the real-time update in progress block chain business network, records All Activity outside chain, and it is last entirely at One transaction is updated to block chain business network, greatly reduces data on chain, and the transaction for reaching second million ranks of grade is realized.
Fig. 4 is a kind of flow chart of the transaction processing method shown according to another exemplary embodiment.In another example In property embodiment, as shown in figure 4, the method for commerce before executing step 310, also at least includes the following steps.
In step 510, according to the Stored Value behavior that transaction business is triggered on block chain business network, center transaction node Block chain business network is driven to execute Stored Value operation to transaction business.
In step 530, center transaction node operates the Stored Value number that synchronized update itself is held according to the Stored Value of execution According to.
Wherein, as pointed by foregoing description, for the transaction business disposed on block chain business network, can to this and Trading activity is triggered, including but not limited to: Stored Value behavior, transfer accounts behavior and extraction behavior.
Transaction participates in the disposed transaction business of direction block chain business network and triggers Stored Value behavior, is to trade participant to make The transactional services provided by the transaction business pay the behavior of expense in advance.It should be understood that no matter which kind of transaction is gone For, used Stored Value, the assets transferred accounts, extracted, block chain business network where both depending on, that is to say, that be using institute Block chain business network assets and carry out Stored Value, transfer accounts and extract.
As Stored Value behavior is triggered, driving block chain business network is also executed Stored Value operation by center transaction node, i.e., So that region chain business network be transaction participant increase newly Stored Value, block chain business network will for transaction business to transaction participant Lock supplemented with money assets.That is, transaction participant is on block chain business network, it will be from the user blocks chain money of itself Supplemented with money assets are taken out in packet, this assets is transferred accounts to the transaction business disposed.
At this point, corresponding, center transaction node also will be as participant of trading on block chain business network be to friendship The Stored Value of easy business and synchronized update Stored Value data, guarantee the accuracy of the held Stored Value data of center transaction node with this.
In another exemplary embodiment, trading activity includes behavior of transferring accounts and extraction behavior, the step 310 include: According to transaction business on block chain business network be triggered transfer accounts behavior or extract behavior, center transaction node from initiate transfer accounts The hot money packet of behavior obtains the transaction participant and number of deals that trading activity is related to, and number of deals is to initiate behavior of transferring accounts Hot money is wrapped specified.
Wherein, after the Stored Value for carrying out transaction business in advance, no matter transfer accounts and behavior or extract behavior, it all will be by hot money Packet is initiated, and by the interaction between hot money packet and center transaction node, and is realized and is responded initiated trading activity, completes to hand over Easily.
Fig. 5 is the hot money packet transaction page schematic diagram according to shown by an exemplary embodiment.In an exemplary implementation In example, hot money packet transaction page is used for trigger action behavior, i.e., initiating remaining sum to center transaction node can satisfy number of deals Trading activity.As shown in Figure 5, transaction participant is indicated in hot money packet transaction page on each block chain business network Remaining sum, for example, the remaining sum of ether mill and thunder and lightning network, for example, " Ethereum 20ether " indicates that this transaction participant exists There are also 20 remaining sum, " Raiden 15ether " then indicates that this transaction participant has 15 remaining sum in thunder and lightning network in ether mill;Heat The purse transaction page also indicates the relevant information of transfer code institute, i.e. transaction details, for example, displaced to Bob 0.05ether displaced 0.1ether to Alice.
In addition to this, hot money packet transaction page is provided with for triggering the button of trading activity, for example, " Deposit is pressed Button ", as Stored Value button;" Withdraw button ", to extract button;" Tranactions button " is button of transferring accounts.
Fig. 6 is according to the flow chart that step 330 is described shown in Fig. 3 corresponding embodiment.In an exemplary reality It applies in example, the step 330 is as shown in fig. 6, include at least:
In step 331, obtaining center transaction node is the initiator for the behavior of transferring accounts and the Stored Value that reciever is held respectively Data.
In step 333, initiator and reciever are matched by the Stored Value data that center transaction node is held respectively In the equivalent plus-minus operation of number of deals, the update that Stored Value data correspond to behavior of transferring accounts is obtained.
Wherein, for the behavior of transferring accounts initiated, the transfer of mutual assets will be carried out between the participant each side that trades, For example, the behavior of transferring accounts can be the payment behavior under a transaction scene, the assets that can also directly carry out between transaction participant Displacement behavior.
Center transaction node is knowing that hot money wraps the heat that after selection transferred accounts, will be transferred accounts thus to selection Wallet provides the remaining sum of transaction participant, i.e., for the top limit transferred accounts, so that hot money packet is meeting under remaining sum in Heart transaction node initiates behavior of transferring accounts.
At this point, center transaction node obtains the Stored Value data for corresponding to transfer accounts behavior initiator and reciever thus, with The equivalent plus-minus operation for being matched with number of deals is executed on this Stored Value data, realizes that Stored Value data correspond to behavior of transferring accounts It updates.
The signified equivalent plus-minus operation for being matched with number of deals, is to execute subtraction operation to the Stored Value data of initiator, Add operation is executed to the Stored Value data of reciever, to be adapted to the process for the behavior of transferring accounts, the numerical value for being added or subtracting each other is It is matched with number of deals, for example, numerical value indicated by number of deals, or according to certain rules to the number conversion gained that becomes different The numerical value arrived, herein without limiting.
In another exemplary embodiment, step 350 includes: that response transaction business is selected to terminate by transaction participant, It sends transaction participant and Stored Value data is held to block chain business network by center transaction node, block chain business is triggered with this Stored Value data of the network more New Transaction participant in transaction business.
Wherein, the Stored Value data of update be used to control trade participant transaction business Stored Value to corresponding block chain Wallet retracts.
As previously described, transaction business is terminated by transaction participant, for example, initiating in the behavior of extraction and participating in transaction The Stored Value of side has all extracted, then at center, transaction node responds this extraction behavior and executes and add to the Stored Value data of transaction participant After reducing, update of the updated Stored Value data to block chain business network is carried out.
For block chain business network, as pointed by aforementioned carried out Stored Value, in block chain business network, transaction The Stored Value for participating in direction transaction business is transaction business and the assets lock up that carries out thus.It is carried out with transaction participant Transaction business terminates, the assets number on the one hand more New Transaction participant being needed really to hold on this transaction business, another party Face will also retract remaining assets, and to solve the locking of surplus assets, this is storage of the transaction participant in transaction business It is worth the realization to retract to corresponding block chain wallet.
In block chain business network, the assets of corresponding number are carried out to user blocks according to the Stored Value data updated The rollback of chain wallet retracts to the assets of block chain wallet, can freely use to release locking of the transaction business to it.
By exemplary embodiment as described above, the transaction business to dispose on block chain business network is realized outside chain Transaction, block chain business network only carries out the storage of the data on key node and updates, performed transaction each time as a result, Process is no longer dependent on block chain business network, realizes and trades outside chain, but in the advantage for being compatible with block chain business network.
In addition, corresponding with exemplary embodiment as described above, the present invention also provides the transaction realizations that hot money is wrapped. The transaction processing method is configured in the operation of hot money packet, and hot money packet adapts to expand fortune except block chain business network Capable center transaction node, Fig. 7 are a kind of process of the transaction processing method shown according to an exemplary embodiment in user side Figure.In one exemplary embodiment, as shown in fig. 7, the transaction processing method, includes at least:
In step 710, the trading activity that the selection of hot money packet transaction page is initiated is received, trading activity is towards block chain industry What the transaction participant and number of deals of business the disposed transaction business of network were initiated.
In step 730, the initiation for notifying the trading activity of center transaction node makes center transaction node obtain transaction row For the transaction participant and number of deals being related to.
Wherein, the hot money packet of operation updates Stored Value number according to number of deals to transaction participant by center transaction node According to the Stored Value data of update drive block chain business network to update when transaction business is terminated by transaction participant.
Hot money packet is independent of block chain network, and from center, transaction node obtains all data, therefore, hot money packet Very high trading efficiency can be obtained by matching with center transaction node, realized and arrived account in real time.For hot money packet, depend on Center transaction node is formed by center framework to realize transaction, and for the transaction node of center, it is realized friendship Easily it is to rely on the distributed structure/architecture that block chain business network is realized.
Hot money packet knows that the selection of trading activity is initiated by itself hot money packet transaction page, at this point, as Bank of Communications is quilt The selection of transaction participant is initiated, and hot money packet will know related transaction participant and number of deals.
Hot money packet will to center transaction node carry out inquiry into balance, with query the balance can satisfy trading activity when, Hot money packet controls to center transaction node and initiates trading activity, and center transaction node side can obtain trading activity and be related to as a result, Transaction participant and number of deals.
Fig. 8 is according to the flow chart that step 710 is described shown in Fig. 7 corresponding embodiment.In an exemplary reality It applies in example, as shown in figure 8, the step 710 includes at least:
It in step 711, is the transaction selection in hot money packet transaction page, Xiang Zhongxin transaction node carries out inquiry into balance.
In step 713, execute the trading activity of selection enough if queried the balance, for trading activity initiation by The transaction selection that hot money roadblock face carries out determines transaction participant and number of deals.
In a step 715, it obtains according to determining transaction participant and number of deals for being sent out to center transaction node The trading activity risen.
Wherein, as pointed by foregoing description, center transaction node holds Stored Value data, can be transaction ginseng therefore The transaction selection carried out on hot money roadblock face with side queries the balance, and is shown in hot money packet transaction page.
It can satisfy the trading activity of selection progress, i.e. number of deals involved in trading activity not querying the balance Under the premise of beyond remaining sum, transaction participant and number of deals involved in selecting to be traded are determined from hot money roadblock face, Come to initiate trading activity to center transaction node with this.
In another exemplary embodiment, the transaction selection in hot money packet transaction page is that the termination of transaction business is held Row, at this point, the transaction processing method for running on hot money packet is further comprising the steps of after executing step 730:
Hot money packet is terminated according to querying the balance with trading activity triggering transaction business, and the triggering that transaction business terminates will be sent out Play the clearing of transaction participant transaction business Stored Value in the Stored Value data of center transaction node and block chain business network.
That is, hot money, which is wrapped to center transaction node, initiates extraction behavior, or triggering the provided friendship of transaction business When what is easily serviced licenses, transaction business will be initiated to center transaction node and terminated, to trigger center transaction node And the clearing on block chain business network.
By exemplary embodiment as described above, pass through block chain business network, center transaction node and hot money packet Construct the system that can fast and safely realize trading processing.Therefore, the present invention also provides a kind of transaction processing method, this method Applied to expanding the central row transaction node of operation except block chain business network, block chain business network and adapt to center The system that the hot money packet of transaction node constructs jointly.
Fig. 9 is flow chart of the transaction processing method shown according to an exemplary embodiment in constructed system.One In a exemplary embodiment, as shown in figure 9, the transaction processing method at least includes the following steps.
In step 910, the trading activity of hot money packet triggering according to selected by itself transaction page, Xiang Zhongxin transaction node Notify the initiation of trading activity.
In step 930, center transaction node is the transaction business disposed on block chain business network, to initiating to trade Behavior executes Stored Value Data Matching corresponding to transaction participant and operates in the plus-minus of number of deals, obtains the storage for trading activity The update of Value Data.
In step s 950, when participant of trading terminates transaction business, center transaction node is according to the Stored Value data of update The update of Stored Value data in block chain business network is triggered, the Stored Value data being updated in block chain business network are that transaction participates in Side is generated to transaction business Stored Value in block chain business network.
In step 970, the Stored Value data that block chain business network is updated according to itself execute dealer and terminate transaction The clearing of business.
By this exemplary embodiment, realizes block chain business network, center transaction node and hot money packet and constituted Thus the processing traded in system is no longer limited by block chain business network, the advantage of block chain business network had not only been utilized, but also Drawback present in block chain business network is evaded.
Center transaction node, the node disjoint operation being different from block chain business network, therefore, related data are not It needs to carry out block packing, can quickly confirm carried out transaction, and due to the not real-time cochain of involved Stored Value data, Therefore, can retract carried out transaction, can also change transaction content, increase Safety Redundancy.
By exemplary embodiment as described above, the payment field for being applied under various lines need quickly to confirm will be able to Scape, for example, commodity and Supermarket account-settling etc. are bought in payment of calling a taxi, roadside stands;It can also be applied to high concurrent transaction scene, example on line Such as, the second of electric business commodity kills the payment etc. of payment, advertising campaign.
By taking the high concurrent trading processing based on block chain business network as an example, above-mentioned transaction processing method is described.
The realization traded on block chain business network, for transaction carry out enhance Information Security, still, it may have hand over Easy low efficiency, the too low feature of transaction peak value, for example, the bit coin trade confirmation time based on block chain often wants a hour More than, it is difficult to it is suitable for respectively transaction scene, high concurrent transaction scene.
Therefore, in existing realization, thunder and lightning network is developed based on ether mill technology, is a kind of outer counterparty of chain Case, the program are the trading schemes of current mainstream.
Figure 10 is the schematic diagram of thunder and lightning network implementations transaction shown according to an exemplary embodiment.The Shock Web in ether mill Network technology, as shown in Figure 10, first by means of the node in thunder and lightning network, memory channel is established between two points, i.e., as walked Shown by rapid 1, come to enable intelligent contract between Bob and Alice with this.
At this point, Bob and Alice are supplemented with money to the transaction business for enabling intelligent contract realization as described in step 2 5ether, for subsequent performed transaction Stored Value.
By constructed memory channel, i.e., the effect of a node such as, realize Bob and Alice between assets transfer, For example, transfer process three times illustrated in fig. 10, Transaction 1, Transaction 2 and Transaction 3.
Block, which is carried out, after last transaction completion is packaged cochain.
It is to be understood, however, that, the one kind of thunder and lightning network as block chain business network, the transaction realized is desirable Service charge is collected, and service charge is settled accounts with special assets, because the price of assets can be elevated, one carried out Small amount payment, generated service charge even can be more expensive using assets than the exchange to transfer accounts.
In addition, needing both sides to confirm when closing the trade, still, if a side is not online, another party can provide false data, After being more than certain time limit, memory channel Automatic-settlement, the assets of final statement are subject to virtual data.
The realization traded in thunder and lightning network all unidirectionally directly confirms, without any reimbursement and redundancy scheme, once go out Now the safety problems such as swindle are with regard to soft white hands without plan.
Service charge, the grade confirmation of realization second to reduce that therefore, it is necessary to realizations through the invention, and it is superfluous to increase safety It is remaining.
First it should be noted that the transaction that the present invention is realized, is that hot money packet is generated for user by intelligent contract, Block chain business network is not written in transaction between hot money packet immediately, but records every transaction by center transaction node, Then some time point is arrived to be settled accounts.
Hot money packet, which has arrived timing node or triggered some condition, is written block chain, intermediate friendship the result after calculating later Easy process is omitted, even if there is million transactions between hot money packet, final be written on chain also only operates corresponding friendship twice Easy process creates intelligent contract and terminates operation corresponding to intelligent contract.
The transaction of hot money parlor is implemented to trade through the invention as a result, and transaction retains in center transaction node and remembers every time Record can make the operation such as reimbursement before cochain, and then reach second grade confirmation and do not need service charge, the number of deals of 100,000 ranks.
Figure 11 is the time diagram of the realized high concurrent transaction of the present invention shown according to an exemplary embodiment.Such as figure Shown in 11, as shown by user side, the transaction of the high concurrent that is carried out includes three phases, i.e., Stored Value, transfer accounts and mention coin.
Firstly, for Stored Value stage, including process performed below, it may be assumed that
1, user initiates Stored Value behavior;
2, hot money packet pulls newest intelligent contract code and abi interface to center transaction node, on public chain top Intelligent contract is affixed one's name to, and is transferred accounts in Stored Value assets to intelligent contract in the public chain wallet of user;
3, intelligent contract locks these assets, and records the wallet address of user and center transaction node;
4, hot money packet notice center transaction node updates the Stored Value data of user, and updates Stored Value result to use at interface Family.
It is possible thereby to know, user can carry out awarding for corresponding transaction business by pulling corresponding intelligent contract Power access, Stored Value is the transactional services that this transaction business can be used to provide on basis herein.
And for block chain business network, various transaction business can be obtained by the deployment of various intelligent contracts Deployment.
Secondly, will include process performed below for transferring accounts, it may be assumed that
1, user initiates behavior of transferring accounts;
2, whether the remaining sum of from hot money packet to center transaction system inquiry user are enough;
3, in the enough situations of remaining sum, the initiation of hot money packet is transferred accounts behavior, hot money packet at this time can by scanning the two-dimensional code or Person inputs the various ways such as other side's account and obtains other side's wallet condition code, obtains other side's mark to center transaction node by condition code Know, to initiate to transfer accounts;
4, hot money packet notice center transaction node is transferred accounts, and center transaction node carries out etc. to add to the side of transferring accounts and the side of being transferred Reducing.
It will include process performed below finally, for coin is mentioned, it may be assumed that
1, user initiates to mention coin;
2, account balance of the hot money packet to center transaction node inquiry user;
3, hot money packet triggers intelligent contract according to the account balance of user and terminates, and center transaction node sends the school signed Data are tested to be verified to intelligent contract address.
At this point, intelligent contract executes check logic, errorless rear progress subsequent operation is verified.
4, intelligent contract carries out non-consumable portion to locking assets and divides to user blocks chain wallet according to final result Hair.
If user be receive transfer accounts after mention coin, final checkout result will appear the assets intelligent contract of extraction Situation more than the assets of locking, by when, center transaction node needs to pay for first a part of assets when settling accounts, and by block chain service network Clearing in network are filled and led up.
Of course it is to be understood that can also by public credibility third party lock assets, to substitute intelligent contract, herein without It limits, as long as transaction business can be realized on block chain business network.
Following is apparatus of the present invention embodiment, can be used for executing the above-mentioned transaction processing method embodiment of the present invention.For Undisclosed details in apparatus of the present invention embodiment please refers to transaction processing method embodiment of the present invention.
Figure 12 is to realize a kind of block diagram of traction processing apparatus in center transaction node shown in an exemplary embodiment. The device is suitable for the transaction business disposed on block chain business network, by expanding in operation except block chain business network Heart transaction node is that transaction business runs the device.
In one exemplary embodiment, as shown in figure 13, which includes but is not limited to: transaction acquisition module 1010, Transaction execution module 1030 and update module 1050.
Transaction obtains module 1010, and for the transaction business to dispose on the block chain business network, acquisition is triggered The transaction participant and number of deals that trading activity is related to;
Transaction execution module 1030 executes the friendship for the Stored Value data by being held to the center transaction node Easy participant is matched with the plus-minus operation of the number of deals, and the update of the Stored Value data is obtained for the trading activity;
Update module 1050, when terminating the transaction business for participant of trading, according to the Stored Value data of update The update of Stored Value data in the block chain business network is triggered, the Stored Value number being updated in the block chain business network According to be transaction participant it is generated to the transaction business Stored Value in the block chain business network;
Wherein, the Stored Value data updated in the block chain business network terminate the knot of transaction business for participant of trading It calculates.
Figure 13 is to realize a kind of block diagram of traction processing apparatus in hot money packet shown in another exemplary embodiment.One In a exemplary embodiment, which is configured in hot money packet, and hot money packet adapts to except block chain business network open up The center transaction node of operation is opened up, the device is as shown in figure 13, includes at least receiving module 1110 and notification module 1130.
Receiving module 1110, for receive hot money packet transaction page selection initiate trading activity, trading activity be towards What the transaction participant and number of deals of the disposed transaction business of block chain business network were initiated;
Notification module 1130 hands over center transaction node for notifying the initiation of center transaction node trading activity Easy transaction participant and number of deals to be related to;
Wherein, the hot money packet of operation updates Stored Value number according to number of deals to transaction participant by center transaction node According to the Stored Value data of update drive block chain business network to update when transaction business is terminated by transaction participant.
In one exemplary embodiment, a kind of transaction processing system is by block chain business network, block chain business network Except expand the central row transaction node of operation and adapt to the hot money packet of center transaction node and construct jointly;
Hot money packet is used for the trading activity of the triggering according to selected by itself transaction page, the center Xiang Suoshu transaction node notice The initiation of the trading activity;
The transaction business that the center transaction node is used for dispose on the block chain business network, to initiating to trade Behavior executes Stored Value Data Matching corresponding to transaction participant and operates in the plus-minus of number of deals, obtains institute for the trading activity State the update of Stored Value data;
When the transaction participant terminates the transaction business, the center transaction node is used for according to update The update of Stored Value data in block chain business network described in Stored Value data-triggered, the institute being updated in the block chain business network Stating Stored Value data is that transaction participant is generated to the transaction business Stored Value in the block chain business network;
The Stored Value data that the block chain business network is used to be updated according to itself execute the dealer and terminate transaction The clearing of business.
Optionally, the present invention also provides a kind of computer system, which can be used for aforementioned shown implementation ring In border, execute as above it is any shown in method all or part of step.The center transaction node realized includes:
Processor;
Memory for storage processor executable instruction;
The computer-readable instruction realizes preceding method when being executed by the processor.
The concrete mode that the processor of device in the embodiment executes operation is held in the embodiment of preceding method Detailed description is gone, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium, It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is for example including instruction Memory, above-metioned instruction can by the processor of device execute to complete the above method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (12)

1. a kind of transaction processing method, which is characterized in that the method is suitable for the transaction industry disposed on block chain business network Business, the center transaction node by expanding operation except the block chain business network are that the transaction business executes the side Method, which comprises
For the transaction business disposed on the block chain business network, obtain the transaction participant that triggered trading activity is related to And number of deals;
The transaction participant, which is executed, by the Stored Value data held to the center transaction node is matched with the number of deals The plus-minus of volume operates, and the update of the Stored Value data is obtained for the trading activity;
When participant of trading terminates the transaction business, according to block chain business network described in the Stored Value data-triggered of update The update of middle Stored Value data, the Stored Value data being updated in the block chain business network are transaction participants in the area Block chain business network is generated to the transaction business Stored Value;
Wherein, the Stored Value data updated in the block chain business network terminate the clearing of transaction business for participant of trading.
2. the method according to claim 1, wherein for the transaction industry disposed on the block chain business network Business is obtained and is triggered before executing the transaction participant and number of deals that process of exchange is related to, the method also includes:
According to the Stored Value behavior that transaction business is triggered on block chain business network, the center transaction node drives the block Chain business network executes Stored Value operation to the transaction business;
The center transaction node operates the Stored Value data that synchronized update itself is held according to the Stored Value of execution.
3. the method according to claim 1, wherein the trading activity includes transferring accounts behavior and extraction behavior, For the transaction business disposed on the block chain business network, transaction participant and friendship that triggered trading activity is related to are obtained Easy number, comprising:
Transfer accounts behavior or the extraction behavior being triggered according to transaction business on the block chain business network, the center transaction section Point obtains the transaction participant being related to and number of deals from the hot money packet of transfer accounts described in the initiation behavior or extraction behavior, institute State number of deals be initiate described in transfer accounts behavior or extract behavior hot money wrap it is specified.
4. according to the method described in claim 3, it is characterized in that, transaction participant includes initiator and the receiving for the behavior of transferring accounts Side, the Stored Value data execution counterparty by being held to the center transaction node are matched with the number of deals Plus-minus operation, obtain the updates of the Stored Value data for the trading activity, comprising:
Obtain the initiator that the center transaction node is the behavior of transferring accounts and the Stored Value data that reciever is held respectively;
The initiator and reciever are carried out being matched with the friendship by the Stored Value data that the center transaction node is held respectively The equivalent plus-minus operation of easy number, obtains the update that the Stored Value data correspond to the behavior of transferring accounts.
5. method according to claim 1 or 3, which is characterized in that when the transaction participant terminates the transaction business, According to the update of Stored Value data in block chain business network described in the Stored Value data-triggered of update, comprising:
It responds the transaction business and is selected to terminate by the transaction participant, send the transaction participant and traded by the center The held Stored Value data of node trigger the block chain business network with this and update the transaction to the block chain business network Stored Value data of the participant in the transaction business;
Wherein, the Stored Value data of update be used to control the transaction participant the transaction business Stored Value to corresponding Block chain wallet retract.
6. a kind of transaction processing method, which is characterized in that the method is configured in the operation of hot money packet, and the hot money Packet adapts to the center transaction node that operation is expanded except block chain business network, which comprises
The trading activity that the selection of hot money packet transaction page is initiated is received, the trading activity is towards portion, block chain business network institute What the transaction participant and number of deals for affixing one's name to transaction business were initiated;
The initiation of trading activity described in the transaction node of notice center makes the center transaction node obtain the trading activity and is related to Transaction participant and number of deals;
Wherein, the hot money packet of operation by the center transaction node to the transaction participant according to the number of deals Stored Value data are updated, the Stored Value data of update drive the area when the transaction business is terminated by the transaction participant Block chain business network updates.
7. according to the method described in claim 6, it is characterized in that, the transaction for receiving the selection of hot money packet transaction page and initiating Behavior, comprising:
For the transaction selection in hot money packet transaction page, the center Xiang Suoshu transaction node carries out inquiry into balance;
Execute the trading activity of selection enough if queried the balance, for the trading activity initiation by the hot money roadblock The transaction selection that face carries out determines transaction participant and number of deals;
It obtains according to the determining transaction participant and number of deals for described in center transaction node initiation Trading activity.
8. the method according to the description of claim 7 is characterized in that the transaction selection in the hot money packet transaction page is described The termination of transaction business selects, and the initiation of trading activity described in the transaction node of the notice center makes the center transaction node After obtaining the transaction participant and number of deals that the trading activity is related to, the method also includes:
The hot money packet triggers the transaction business termination with the trading activity according to querying the balance, and the transaction business is whole Triggering only will initiate the transaction participant in the Stored Value data of the center transaction node and block chain business network The clearing of transaction business Stored Value.
9. a kind of transaction processing method, which is characterized in that the method is applied to block chain business network, the block chain business The central row transaction node of operation is expanded except network and adapts to what the hot money packet of the center transaction node constructed jointly System;The described method includes:
The trading activity of hot money packet triggering according to selected by itself transaction page, the center Xiang Suoshu transaction node notice described in The initiation of trading activity;
The center transaction node is the transaction business disposed on the block chain business network, is executed to initiated trading activity Stored Value Data Matching corresponding to participant of trading is operated in the plus-minus of number of deals, obtains the Stored Value number for the trading activity According to update;
When the transaction participant terminates the transaction business, the center transaction node is according to the Stored Value data of update The update of Stored Value data in the block chain business network is triggered, the Stored Value number being updated in the block chain business network According to be transaction participant it is generated to the transaction business Stored Value in the block chain business network;
The Stored Value data that the block chain business network is updated according to itself execute the knot that the dealer terminates transaction business It calculates.
10. a kind of traction processing apparatus, which is characterized in that described device is suitable for the transaction industry disposed on block chain business network Business, the center transaction node by expanding operation except the block chain business network are that the transaction business runs the dress It sets, described device includes:
Transaction obtains module, for the transaction business to dispose on the block chain business network, obtains triggered trading activity The transaction participant and number of deals being related to;
Transaction execution module executes the transaction participant for the Stored Value data by being held to the center transaction node It is matched with the plus-minus operation of the number of deals, the update of the Stored Value data is obtained for the trading activity;
Update module, when terminating the transaction business for participant of trading, according to the Stored Value data-triggered of update The update of Stored Value data in block chain business network, the Stored Value data being updated in the block chain business network are transaction Participant is generated to the transaction business Stored Value in the block chain business network;
Wherein, the Stored Value data updated in the block chain business network terminate the clearing of transaction business for participant of trading.
11. a kind of traction processing apparatus, which is characterized in that described device is configured in hot money packet, and the hot money Bao Shi Assigned in the center transaction node for expanding operation except block chain business network, described device includes:
Receiving module, the trading activity initiated for receiving the selection of hot money packet transaction page, the trading activity is towards block What the transaction participant and number of deals of the disposed transaction business of chain business network were initiated;
Notification module makes the center transaction node obtain institute for notifying the initiation of trading activity described in the transaction node of center State the transaction participant and number of deals that trading activity is related to;
Wherein, the hot money packet of operation by the center transaction node to the transaction participant according to the number of deals Stored Value data are updated, the Stored Value data of update drive the area when the transaction business is terminated by the transaction participant Block chain business network updates.
12. a kind of transaction processing system, which is characterized in that the system is by block chain business network, the block chain service network The central row transaction node of operation is expanded except network and adapts to the hot money packet of the center transaction node constructs jointly;
The hot money packet is used for the trading activity of the triggering according to selected by itself transaction page, the center Xiang Suoshu transaction node notice The initiation of the trading activity;
The transaction business that the center transaction node is used for dispose on the block chain business network, to initiated trading activity The plus-minus that Stored Value Data Matching corresponding to transaction participant is executed in number of deals operates, and obtains the storage for the trading activity The update of Value Data;
When the transaction participant terminates the transaction business, the center transaction node is used for the Stored Value according to update The update of Stored Value data in block chain business network described in data-triggered, the storage being updated in the block chain business network Value Data is that transaction participant is generated to the transaction business Stored Value in the block chain business network;
The Stored Value data that the block chain business network is used to be updated according to itself execute the dealer and terminate transaction business Clearing.
CN201811253136.8A 2018-10-25 2018-10-25 Transaction processing method, device and system Pending CN109544157A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910727081.8A CN110490584A (en) 2018-10-25 2018-10-25 Transaction processing method, device, system, computer equipment and medium
CN201811253136.8A CN109544157A (en) 2018-10-25 2018-10-25 Transaction processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811253136.8A CN109544157A (en) 2018-10-25 2018-10-25 Transaction processing method, device and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910727081.8A Division CN110490584A (en) 2018-10-25 2018-10-25 Transaction processing method, device, system, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN109544157A true CN109544157A (en) 2019-03-29

Family

ID=65845573

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910727081.8A Pending CN110490584A (en) 2018-10-25 2018-10-25 Transaction processing method, device, system, computer equipment and medium
CN201811253136.8A Pending CN109544157A (en) 2018-10-25 2018-10-25 Transaction processing method, device and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910727081.8A Pending CN110490584A (en) 2018-10-25 2018-10-25 Transaction processing method, device, system, computer equipment and medium

Country Status (1)

Country Link
CN (2) CN110490584A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795288A (en) * 2019-11-06 2020-02-14 杭州复杂美科技有限公司 Data acquisition method, device and storage medium
CN110796549A (en) * 2019-11-06 2020-02-14 杭州复杂美科技有限公司 Transaction method, apparatus and storage medium
CN110992039A (en) * 2020-03-03 2020-04-10 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111461878A (en) * 2020-03-10 2020-07-28 杭州溪塔科技有限公司 Block chain transaction processing method and system based on intelligent contracts outside chains
CN111539723A (en) * 2020-04-14 2020-08-14 浙江浙燃能源有限公司 Block chain transaction recording method, equipment, block chain node and computer medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107819582A (en) * 2016-09-14 2018-03-20 陈新 Intelligent block chain interacted system
CN108090761A (en) * 2017-11-10 2018-05-29 杭州云象网络技术有限公司 Block chain token method of payment based on credible two-dimension code
CN108470276A (en) * 2018-03-12 2018-08-31 成都零光量子科技有限公司 A kind of block chain common recognition method using agency's book keeping operation
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106934715A (en) * 2017-01-23 2017-07-07 天津米游科技有限公司 A kind of high frequency method of commerce and system based on block chain
CN108197214B (en) * 2017-12-28 2020-12-29 中国人民银行数字货币研究所 Method and system for inquiring digital currency transaction information
CN108399571A (en) * 2018-01-30 2018-08-14 厦门快商通信息技术有限公司 Unsecured method of commerce and system based on block chain intelligence contract
CN108446969A (en) * 2018-03-29 2018-08-24 张文昌 A kind of unified public transport book keeping operation and transaction system based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819582A (en) * 2016-09-14 2018-03-20 陈新 Intelligent block chain interacted system
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN108090761A (en) * 2017-11-10 2018-05-29 杭州云象网络技术有限公司 Block chain token method of payment based on credible two-dimension code
CN108470276A (en) * 2018-03-12 2018-08-31 成都零光量子科技有限公司 A kind of block chain common recognition method using agency's book keeping operation
CN108596619A (en) * 2018-04-26 2018-09-28 深圳怡化电脑股份有限公司 For the method for commerce of block catenary system, device, Centroid and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李刚等: "雷电网络在电动汽车充电交易中的技术前景", 《电力建设》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795288A (en) * 2019-11-06 2020-02-14 杭州复杂美科技有限公司 Data acquisition method, device and storage medium
CN110796549A (en) * 2019-11-06 2020-02-14 杭州复杂美科技有限公司 Transaction method, apparatus and storage medium
CN110992039A (en) * 2020-03-03 2020-04-10 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN110992039B (en) * 2020-03-03 2021-06-29 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111461878A (en) * 2020-03-10 2020-07-28 杭州溪塔科技有限公司 Block chain transaction processing method and system based on intelligent contracts outside chains
CN111539723A (en) * 2020-04-14 2020-08-14 浙江浙燃能源有限公司 Block chain transaction recording method, equipment, block chain node and computer medium

Also Published As

Publication number Publication date
CN110490584A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN109544157A (en) Transaction processing method, device and system
US11861670B2 (en) Order processing method and terminal
CN106952094B (en) Electronic bill management method and device
CN107169749B (en) Network payment reconciliation method and system
CN108701305A (en) Digital asset is converted
JP2019523495A (en) Digital goods management in a distributed transaction consensus network
CN110458557B (en) Payment method, payment equipment and storage medium
EP3200167A1 (en) Information transaction infrastructure
CN109508970A (en) Money transfer method and device based on block chain
KR102313675B1 (en) Block chain-based crytography donation server and donation method without limitation to donation target
WO2020071965A1 (en) Decentralized digital payment service system
CN103310334A (en) Business processing method and device
CN110008716A (en) Block chain method of commerce and device, electronic equipment, storage medium
AU2019409883A1 (en) Method, system, and computer readable medium for transferring cryptographic tokens
CN110033370A (en) Account creation method and device, electronic equipment, storage medium
CN108985740A (en) The implementation method of high-performance common recognition algorithm
CN109447802B (en) Fund management system based on block chain technology
CN109118102A (en) A kind of bi-directional combination cloud resource distribution method and system based on block chain of justice
CN109903146A (en) A kind of accounting and account method and system calculate equipment and storage medium
JP6723386B2 (en) Two-way verification mobile payment method and system
CN111986022A (en) Transaction quota processing method and system based on block chain and each node
CN110009323A (en) Block chain method of commerce and device, electronic equipment, storage medium
CN108446905A (en) A kind of method of payment, device and electronic equipment
CN105096119A (en) Virtual bank system and realization method thereof
TW202013276A (en) Transaction processing method and device, electronic equipment and computer readable storage medium

Legal Events

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