CN110490584A - Transaction processing method, device, system, computer equipment and medium - Google Patents

Transaction processing method, device, system, computer equipment and medium Download PDF

Info

Publication number
CN110490584A
CN110490584A CN201910727081.8A CN201910727081A CN110490584A CN 110490584 A CN110490584 A CN 110490584A CN 201910727081 A CN201910727081 A CN 201910727081A CN 110490584 A CN110490584 A CN 110490584A
Authority
CN
China
Prior art keywords
transaction
stored value
center
block chain
participant
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
CN201910727081.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
Publication of CN110490584A publication Critical patent/CN110490584A/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

Landscapes

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

Abstract

The disclosure discloses a kind of transaction processing method, device, system, computer equipment and medium.This method is suitable for the transaction business disposed on block chain business network, center transaction node by expanding operation except the block chain business network is that the transaction business executes the method, which comprises receiving hot money packet is the inquiry into balance for selecting and carrying out of trading in hot money packet transaction page;The trading activity of selection is executed enough if queried the balance, and triggers trading processing to hot money packet;Receive the initiation of the trading activity of the hot money packet;The transaction participant and number of deals that the trading activity is related to are obtained, to carry out the update of Stored Value number in the block chain business network and the center transaction node according to the transaction participant and number of deals.It solves the problems, such as that deduction number of deals is low success rate of in the trading processing of block chain network execution in the related technology.

Description

Transaction processing method, device, system, computer equipment and medium
The application is on October 25th, 2018 " transaction processing method, device and system " submitting, entitled The divisional application of state patent application CN201811253136.8.
Technical field
The present invention relates to technical field of internet application, in particular to a kind of transaction processing method, device, system, calculating Machine equipment and medium.
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 solve to deduct in the trading processing that block chain network executes in the related technology, number of deals is low success rate of to be asked Topic, the present invention provides a kind of transaction processing method, device, system, computer equipment and media.
According to the one side of the disclosure, a kind of transaction processing method is proposed, the method is suitable for block chain service network The transaction business disposed on network, the center transaction node by expanding operation except the block chain business network are the transaction Business executes the method, which comprises
Receive the inquiry into balance that hot money packet is trade selection and the progress in hot money packet transaction page;
The trading activity of selection is executed enough if queried the balance, and triggers trading processing to hot money packet;
Receive the initiation of the trading activity of the hot money packet;
Obtain the transaction participant and number of deals that the trading activity is related to, so as to according to the transaction participant with And number of deals, the update of Stored Value number is carried out in the block chain business network and the center transaction node.
According to the one side of the disclosure, a kind of transaction processing method is proposed, the method is configured in the fortune of hot money packet In row, and the hot money packet adapts to the center transaction node that operation is expanded except block chain business network, the method packet It includes:
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 The transaction selection that roadblock face carries out determines transaction participant and number of deals;
It obtains according to the determining transaction participant and number of deals for being initiated to the center transaction node The trading activity;
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, so that the center transaction node is according to the transaction participant and number of deals Volume carries out the update of Stored Value number in the block chain business network and the center transaction node.
According to the one side of the disclosure, a kind of transaction processing system is proposed, the system is by block chain business network, institute It states the central row transaction node for expanding operation except block chain business network and adapts to the hot money of the center transaction node The common building of packet;
The hot money packet is the transaction selection in hot money packet transaction page, and the center Xiang Suoshu transaction node carries out remaining sum and looks into It askes;
If query the balance executes the trading activity of selection enough, the center transaction node is triggered to hot money packet and is traded Processing;
The hot money packet initiates the trading activity to the center transaction node;
The center transaction node obtains the transaction participant and number of deals that the trading activity is related to, so as to according to The transaction participant and number of deals carry out Stored Value in the block chain business network and the center transaction node The update of number.
According to the one side of the disclosure, a kind of traction processing apparatus is proposed, described device is suitable for block chain service network The transaction business disposed on network is deployed in the center transaction node for expanding operation except the block chain business network, institute Stating traction processing apparatus includes:
Inquiry into balance receiving module, for receiving hot money packet for the transaction selection in hot money packet transaction page and more than progress Volume inquiry;
Trading processing trigger module, if touched for the trading activity for executing selection enough that queries the balance to hot money packet Send out trading processing;
Receiving module, the initiation of the trading activity for receiving the hot money packet are initiated in trading activity;
Module is obtained, for obtaining the transaction participant and number of deals that the trading activity is related to, so as to according to institute Transaction participant and number of deals are stated, Stored Value number is carried out in the block chain business network and the center transaction node The update of volume.
According to the one side of the disclosure, a kind of traction processing apparatus is proposed, described device is configured in hot money packet, and And the hot money packet adapts to the center transaction node that operation is expanded except block chain business network, the traction processing apparatus packet It includes:
Inquiry into balance module, for selecting for the transaction in hot money packet transaction page, the center Xiang Suoshu transaction node is carried out Inquiry into balance;
Transaction participant and number of deals determining module, if for the transaction row for executing selection enough that queries the balance For the transaction selection then carried out for the initiation of the trading activity by hot money roadblock face determines transaction participant and transaction Number;
Trading activity obtains module, for obtaining according to the determining transaction participant and number of deals for institute State the trading activity of center transaction node initiation;
Notification module obtains the center transaction node for notifying the initiation of trading activity described in the transaction node of center The transaction participant and number of deals that the trading activity is related to are obtained, so that the center transaction node is joined according to the transaction With side and number of deals, Stored Value number is carried out more in the block chain business network and the center transaction node Newly.
According to the one side of the disclosure, a kind of computer equipment is proposed, comprising:
Memory, for storing computer-executable code;
Processor, for executing the computer-executable code of the memory storage, to realize the process described above.
According to the one side of the disclosure, a kind of computer-readable medium, including computer-executable code are proposed, In, when the computer-executable code is executed by the processor of computer equipment, realize the process described above.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Since in the embodiment of the present disclosure, before trading processing triggering, reception hot money packet is in hot money packet transaction page first Transaction selection and carry out inquiry into balance, if query the balance executes the trading activity of selection enough, just to hot money packet touching Trading processing is sent out, does not execute the trading activity of selection enough if queried the balance, does not just trigger trading processing to hot money packet.This Sample avoids and still executes useless processing caused by transaction when Sorry, your ticket has not enough value, reduces processing load, improve deduction number of deals Success rate.
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, one or more storage application programs 242 or data 244 storage medium 230 (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.It deposits Storage may include one or more modules (diagram is not shown) in the program of storage medium 230, and each module may include To the series of instructions operation in server.Further, central processing unit 222 can be set to logical with storage medium 230 Letter executes the series of instructions operation in storage medium 230 on the device 200.Device 200 can also include one or one with Upper 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, " Raiden15ether " then indicates that this transaction participant has 15 remaining sum in thunder and lightning network in ether mill;Hot money Packet 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 (14)

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
Receive the inquiry into balance that hot money packet is trade selection and the progress in hot money packet transaction page;
The trading activity of selection is executed enough if queried the balance, and triggers trading processing to hot money packet;
Receive the initiation of the trading activity of the hot money packet;
The transaction participant and number of deals that the trading activity is related to are obtained, so as to according to the transaction participant and friendship Easy number carries out the update of Stored Value number in the block chain business network and the center transaction node.
2. the method according to claim 1, wherein described according to the transaction participant and number of deals, The update of Stored Value number is carried out in the block chain business network and the center transaction node, comprising:
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.
3. the method according to claim 1, wherein the transaction participant that the triggered trading activity is related to is It is extracted from wallet condition code, the wallet condition code is obtained by scanning the two-dimensional code or inputting transaction participant account 's.
4. the method according to claim 1, wherein being the transaction in hot money packet transaction page receiving hot money packet Selection and carry out inquiry into balance before, the method also includes:
In response to hot money packet since the intelligent contract Code obtaining that transaction participant is initiated Stored Value behavior and sent is requested, institute is sent Intelligent contract code is stated, so that the hot money packet disposes intelligent contract using the intelligent contract code, and the transaction is joined In the Stored Value data write-in intelligent contract of side;
Receive the Stored Value data notification of hot money packet, the Stored Value number comprising the transaction participant in the Stored Value data notification According to;
Stored Value operation is executed to the transaction participant according to block chain business network described in the Stored Value data-driven, and according to holding The Stored Value data for the transaction participant that capable Stored Value operation synchronized update itself is held.
5. according to the method described in claim 4, it is characterized in that, obtain the transaction participant that the trading activity is related to And number of deals, so as to according to the transaction participant and number of deals, the block chain business network and it is described in After the update for carrying out Stored Value number in heart transaction node, the method also includes:
Generate the verification data of the signature comprising the center transaction node;
The verification data are sent to the address of the intelligent contract, after the intelligent contract collated correct, after update Stored Value data distribution to the block chain business network described in trade participant block chain wallet.
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
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;
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, so that the center transaction node is according to the transaction participant and number of deals, The update of Stored Value number is carried out in the block chain business network and the center transaction node.
7. according to the method described in claim 6, it 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 transaction business termination is triggered with the trading activity according to querying the balance, the triggering that the transaction business terminates will Transaction participant transaction business in the Stored Value data of the center transaction node and block chain business network is initiated to store up The clearing of value.
8. according to the method described in claim 6, it is characterized in that, the determining transaction participant includes:
By scanning the two-dimensional code or inputting transaction participant account, wallet condition code is obtained;
From the wallet condition code, the transaction participant that triggered trading activity is related to is determined.
9. according to the method described in claim 6, it is characterized in that, being selected for the transaction in hot money packet transaction page, to institute Before stating the progress inquiry into balance of center transaction node, the method also includes:
Stored Value behavior is initiated in response to transaction participant, the center Xiang Suoshu transaction node sends intelligent contract Code obtaining request;
The intelligent contract code is received from the center transaction node, is closed with disposing intelligence using the intelligent contract code It about, and will be in the Stored Value data write-in of the transaction participant intelligent contract;
The Stored Value data notification of hot money packet is sent to the center transaction node, includes the transaction in the Stored Value data notification The Stored Value data of participant, so as to center transaction node block chain business network pair according to the Stored Value data-driven The transaction participant executes Stored Value operation, and operates the transaction that synchronized update itself is held according to the Stored Value of execution and join With the Stored Value data of side.
10. 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 the transaction selection in hot money packet transaction page, and the center Xiang Suoshu transaction node carries out inquiry into balance;
If query the balance executes the trading activity of selection enough, the center transaction node triggers at transaction to hot money packet Reason;
The hot money packet initiates the trading activity to the center transaction node;
The center transaction node obtains the transaction participant and number of deals that the trading activity is related to, so as to according to described Transaction participant and number of deals carry out Stored Value number in the block chain business network and the center transaction node Update.
11. 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, is deployed in the center transaction node for expanding operation except the block chain business network, the traction processing apparatus packet It includes:
Inquiry into balance receiving module is that the remaining sum that the transaction in hot money packet transaction page is selected and carried out is looked into for receiving hot money packet It askes;
Trading processing trigger module, if triggering and handing over to hot money packet for the trading activity for executing selection enough that queries the balance It is easy to handle;
Receiving module, the initiation of the trading activity for receiving the hot money packet are initiated in trading activity;
Module is obtained, for obtaining the transaction participant and number of deals that the trading activity is related to, so as to according to the friendship Easy participant and number of deals, carry out Stored Value number in the block chain business network and the center transaction node It updates.
12. 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, the traction processing apparatus includes:
Inquiry into balance module, for selecting for the transaction in hot money packet transaction page, the center Xiang Suoshu transaction node carries out remaining sum Inquiry;
Transaction participant and number of deals determining module, if for the trading activity for executing selection enough that queries the balance, The transaction selection carried out for the initiation of the trading activity by hot money roadblock face determines transaction participant and number of deals;
Trading activity obtains module, for obtaining according to the determining transaction participant and number of deals for in described The trading activity that heart transaction node is initiated;
Notification module makes the center transaction node obtain institute for notifying the initiation of trading activity described in the transaction node of center The transaction participant and number of deals that trading activity is related to are stated, so that the center transaction node is according to the transaction participant And number of deals, the update of Stored Value number is carried out in the block chain business network and the center transaction node.
13. a kind of computer equipment characterized by comprising
Memory, for storing computer-executable code;
Processor, it is any in claim 1-10 to realize for executing the computer-executable code of the memory storage A method.
14. a kind of computer-readable medium, which is characterized in that including computer-executable code, wherein when the computer can When executing processor execution of the code by computer equipment, method described in any of claim 1-10 is realized.
CN201910727081.8A 2018-10-25 2018-10-25 Transaction processing method, device, system, computer equipment and medium Pending CN110490584A (en)

Priority Applications (1)

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

Applications Claiming Priority (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

Related Parent Applications (1)

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

Publications (1)

Publication Number Publication Date
CN110490584A true CN110490584A (en) 2019-11-22

Family

ID=65845573

Family Applications (2)

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

Family Applications Before (1)

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

Country Status (1)

Country Link
CN (2) CN109544157A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110796549B (en) * 2019-11-06 2023-04-14 杭州复杂美科技有限公司 Transaction method, apparatus and storage medium
CN110795288B (en) * 2019-11-06 2023-02-10 杭州复杂美科技有限公司 Data acquisition method, device and storage medium
CN113643030B (en) * 2020-03-03 2024-05-28 支付宝(杭州)信息技术有限公司 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
CN106934715A (en) * 2017-01-23 2017-07-07 天津米游科技有限公司 A kind of high frequency method of commerce and system based on block chain
CN108090761A (en) * 2017-11-10 2018-05-29 杭州云象网络技术有限公司 Block chain token method of payment based on credible two-dimension code
CN108197214A (en) * 2017-12-28 2018-06-22 中国人民银行数字货币研究所 The querying method and inquiry system of digital cash 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

Family Cites Families (4)

* 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
CN107368259B (en) * 2017-05-25 2020-07-10 创新先进技术有限公司 Method and device for writing service data into block chain system
CN108470276A (en) * 2018-03-12 2018-08-31 成都零光量子科技有限公司 A kind of block chain common recognition method using agency's book keeping operation
CN108596619B (en) * 2018-04-26 2022-11-01 深圳怡化电脑股份有限公司 Transaction method, device, central node and system for blockchain system

Patent Citations (5)

* 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
CN108090761A (en) * 2017-11-10 2018-05-29 杭州云象网络技术有限公司 Block chain token method of payment based on credible two-dimension code
CN108197214A (en) * 2017-12-28 2018-06-22 中国人民银行数字货币研究所 The querying method and inquiry system of digital cash 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李刚,黄奕敏,郑顾平,周国亮: "雷电网络在电动汽车充电交易中的", 《电力建设》 *

Also Published As

Publication number Publication date
CN109544157A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN110490584A (en) Transaction processing method, device, system, computer equipment and medium
US11861670B2 (en) Order processing method and terminal
CN106952094B (en) Electronic bill management method and device
CN108701305A (en) Digital asset is converted
CN110458557B (en) Payment method, payment equipment and storage medium
CN111656378A (en) Progressive digital asset collateral wallet
JP2019523495A (en) Digital goods management in a distributed transaction consensus network
EP3200167A1 (en) Information transaction infrastructure
CN109064146A (en) A kind of digital cash method of commerce, equipment, system, terminal and client wallet
CN102968715A (en) Payment control method and system based on credit data
CN103714485B (en) A kind of e-commerce system and method for realizing staple commodities spot transaction
WO2020071965A1 (en) Decentralized digital payment service system
CN101567071A (en) Data interactive processing method and device of online transaction system and bank system
WO2020147484A1 (en) Transaction clearing method and transaction clearing system
EP2070051A1 (en) System and method for making payment
CN109508970A (en) Money transfer method and device based on block chain
CN112767185B (en) Reverse warranty financing method, device and storage medium based on blockchain
CN110008716A (en) Block chain method of commerce and device, electronic equipment, storage medium
CN109389376A (en) A kind of merchant method and system based on digital cash
CN110009323B (en) Block chain transaction method and device, electronic equipment and storage medium
CN110009492B (en) Block chain transaction method and device, electronic equipment and storage medium
Zhao et al. Applying blockchain layer2 technology to mass e-commerce
CN108446905A (en) A kind of method of payment, device and electronic equipment
CN105096119A (en) Virtual bank system and realization method thereof
CN113450093B (en) Real-time consensus authentication method and system for digital change wallet based on cone block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40016873

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination