CN109325858A - The method of commerce and device of resource flow, computer equipment and computer-readable medium - Google Patents

The method of commerce and device of resource flow, computer equipment and computer-readable medium Download PDF

Info

Publication number
CN109325858A
CN109325858A CN201811182703.5A CN201811182703A CN109325858A CN 109325858 A CN109325858 A CN 109325858A CN 201811182703 A CN201811182703 A CN 201811182703A CN 109325858 A CN109325858 A CN 109325858A
Authority
CN
China
Prior art keywords
client
numerical value
transaction
value
requesting party
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811182703.5A
Other languages
Chinese (zh)
Other versions
CN109325858B (en
Inventor
张焱
施逸
田宝同
邓晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Da Pu Hui Couplet Technology Co Ltd
Hefei DappWorks Technology Co Ltd
Original Assignee
Hefei Da Pu Hui Couplet Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Da Pu Hui Couplet Technology Co Ltd filed Critical Hefei Da Pu Hui Couplet Technology Co Ltd
Priority to CN201811182703.5A priority Critical patent/CN109325858B/en
Publication of CN109325858A publication Critical patent/CN109325858A/en
Application granted granted Critical
Publication of CN109325858B publication Critical patent/CN109325858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention discloses the method for commerce of resource flow and device, computer equipment and computer-readable medium, applied to block chain server, method includes: to obtain the transaction initial information of association request side's client and provider's client, the transaction initial information is sent to other block chain servers, so that the transaction initial information is stored in corresponding block chain database by each block chain server;Obtain the credential information for characterizing the state that requesting party's client uses resource flow;The first numerical value is determined based on the transaction initial information and the credential information, first numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client, first numerical value is sent to other block chain servers, so that first numerical value is stored in corresponding block chain database by each block chain server.Using the embodiment of the present invention, the trade mode of fair resource flow may be implemented.

Description

The method of commerce and device of resource flow, computer equipment and computer-readable medium
Technical field
The present invention relates to Internet technical fields, are more particularly to the method for commerce and device, computer equipment of resource flow And computer-readable medium.
Background technique
With the development of science and technology, social connectivity constantly enhances, and the transaction of resource becomes more and more general with sharing Time, wherein resource flow is usually needing the requesting party using resource flow and is being capable of providing money because of its mobility, consumptive feature The provider of source stream trades.In the prior art, the transaction of resource flow often only has the participation of two side of requesting party and provider, Due to lacking the supervision of its reliable other party, a side in requesting party and provider often occurs in process of exchange or passes through in many ways Cheating obtains the malicious act of unlawful interests, and the transaction of resource flow fair, just, can not be carried out pellucidly.
Summary of the invention
Technical problem to be solved by the present invention lies in the method for commerce for providing resource flow and device, computer equipment and Computer-readable medium, to realize the trade mode of fair resource flow.
The present invention is to solve above-mentioned technical problem by the following technical programs:
The embodiment of the invention provides a kind of method of commerce of resource flow, are applied to block chain server, and method includes:
The transaction initial information for obtaining association request side's client and provider's client sends out the transaction initial information It send to other block chain servers, so that the transaction initial information is stored in corresponding block chain by each block chain server In database;
Obtain the credential information for characterizing the state that requesting party's client uses resource flow;
The first numerical value is determined based on the transaction initial information and the credential information, and first numerical value is for characterizing institute Requesting party's client increased numerical value into the account of provider's client is stated, first numerical value is sent to other areas Block chain server, so that first numerical value is stored in corresponding block chain database by each block chain server.
Optionally, the transaction initial information for obtaining association request side's client and provider's client, comprising:
The transaction request information that requesting party's client is sent is received, the transaction request information includes: requesting party visitor The digital signature of the identification information at family end, the identification information of provider's client and requesting party's client;
Digital signature based on requesting party's client verifies the transaction request information, if being verified as very, The transaction request information is sent to provider's client;
The transaction Grant information that provider's client is sent is received, the transaction Grant information includes that the transaction is asked Seek the digital signature of information and provider's client;
Digital signature based on provider's client verifies the transaction Grant information, if being verified as very, Using the transaction Grant information as the transaction initial information for being associated with requesting party's client and provider's client.
Optionally, the transaction request information further includes the pricing information of resource flow;
It is described to determine that the first numerical value includes: based on the transaction initial information and the credential information
The total amount for the resource flow that requesting party's client uses is determined according to the credential information;
According to the total amount for the resource flow that the pricing information of the resource flow and requesting party's client use, first is determined Numerical value.
Optionally, the transaction request information further includes second value, and the second value is for characterizing the requesting party The numerical value of reduction in the account of client;
It is described that first numerical value is determined based on the transaction initial information and the credential information further include:
If second value is greater than the first numerical value, determine that third value, the third value are equal to second value and first The difference of numerical value, the third value are used to characterize increased numerical value in the account of requesting party's client;
If second value less than the first numerical value, determines that the 4th numerical value, the 4th numerical value are equal to the first numerical value and second The difference of numerical value, the 4th numerical value are used to characterize the numerical value of reduction in the account of requesting party's client;
Identified third value or the 4th numerical value are sent to other block chain servers, so that each block chain server The third value or the 4th numerical value are stored in corresponding block chain database.
Optionally, the transaction request information further includes second value, and the second value is for characterizing the requesting party The numerical value of reduction in the account of client;
It is described that first numerical value is determined based on the transaction initial information and the credential information further include: if second value Greater than the first numerical value, the difference for recording second value and the first numerical value is the 5th numerical value, when requesting party's client carries out down When the transaction of first resource stream, the 5th numerical value second value corresponding with the transaction of the resource flow next time is mutually tired out Add, obtains the corresponding updated second value of transaction of the resource flow next time.
Optionally, acquisition characterization requesting party's client includes: using the credential information of the state of resource flow
It receives the resource flow that provider's client is sent and uses voucher, the resource flow includes described ask using voucher The digital signature of the digital signature of the side's of asking client and provider's client, the resource flow using voucher are asked by described The side's of asking client is sent to provider's client;
The digital signature of digital signature and provider's client based on requesting party's client is to the resource Stream is verified using voucher, if being verified as very, using voucher to use money as requesting party's client the resource flow The credential information of source stream.
Optionally, the resource flow includes following at least one: network flow resource, electric power resource, calculate power resource and/ Or has and dynamically specify data flow resource in real time.
The embodiment of the invention provides a kind of the transaction devices of resource flow, are applied to block chain server, and device includes:
Initiation module will be described for obtaining the transaction initial information of association request side's client and provider's client Transaction initial information is sent to other block chain servers, so that the transaction initial information is stored in respectively by each block chain server In self-corresponding block chain database;
Module is obtained, for obtaining the credential information for characterizing the state that requesting party's client uses resource flow;
Management module, for determining the first numerical value based on the transaction initial information and the credential information, described first Numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client, by first number Value is sent to other block chain servers, so that first numerical value is stored in corresponding block chain by each block chain server In database.
Optionally, the initiation module obtains the transaction initial information packet of association request side's client and provider's client It includes:
The initiation module, the transaction request information sent for receiving requesting party's client, the transaction request Information includes: the number of the identification information of requesting party's client, the identification information of provider's client and requesting party's client Signature;Digital signature based on requesting party's client verifies the transaction request information, if being verified as very, by institute It states transaction request information and is sent to provider's client;The transaction Grant information that provider's client is sent is received, The transaction Grant information includes the digital signature of the transaction request information and provider's client;Based on the offer The digital signature of square client verifies the transaction Grant information, if being verified as that very, the transaction Grant information being made For the transaction initial information for being associated with requesting party's client and provider's client.
Optionally, the transaction request information further includes the pricing information of resource flow;
The management module determines that the first numerical value includes: the pipe based on the transaction initial information and the credential information Module is managed, for determining the total amount of resource flow that requesting party's client uses according to the credential information;According to the money The total amount for the resource flow that the pricing information of source stream and requesting party's client use, determines the first numerical value.
Optionally, the transaction request information further includes second value, and the second value is for characterizing the requesting party The numerical value of reduction in the account of client;
The management module is also used to determine third value, the third value when second value is greater than the first numerical value Equal to the difference of second value and the first numerical value, the third value is used to characterize to be increased in the account of requesting party's client Numerical value;Determine that the 4th numerical value, the 4th numerical value are equal to the first numerical value and the second number when second value is less than the first numerical value The difference of value, the 4th numerical value are used to characterize the numerical value of reduction in the account of requesting party's client;By identified Three numerical value or the 4th numerical value are sent to other block chain servers, so that each block chain server is by the third value or the 4th Numerical value is stored in corresponding block chain database.
Optionally, the transaction request information further includes second value, and the second value is for characterizing the requesting party The numerical value of reduction in the account of client;
The management module is also used to record the difference of second value and the first numerical value when second value is greater than the first numerical value Value be the 5th numerical value, when requesting party's client carry out the transaction of resource flow next time when, by the 5th numerical value with it is described The corresponding second value of the transaction of resource flow mutually adds up next time, after obtaining the corresponding update of transaction of resource flow next time Second value.
Optionally, the module that obtains obtains the credential information for characterizing the state that requesting party's client uses resource flow Include:
The acquisition module uses voucher, the resource flow for receiving the resource flow that provider's client is sent It the use of voucher include the digital signature of requesting party's client and the digital signature of provider's client, the resource flow It the use of voucher is that provider's client is sent to by requesting party's client;Number based on requesting party's client The digital signature of word signature and provider's client verifies the resource flow using voucher, will if being verified as very The resource flow uses voucher to use the credential information of resource flow as requesting party's client.
Optionally, the resource flow includes following at least one: network flow resource, electric power resource, calculate power resource and/ Or has and dynamically specify data flow resource in real time.
The embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage are on a memory And the computer program that can be run on a processor, when the processor executes described program, realize:
The method of commerce of any of the above-described kind of resource flow.
The embodiment of the invention provides a kind of computer-readable mediums, are stored thereon with executable instruction, which is located Reason device executes processor when executing:
The method of commerce of any of the above-described kind of resource flow.
The embodiment of the invention provides a kind of computer program, the computer program includes computer executable instructions, Described instruction is when executed for realizing the method for commerce of resource flow as described above.
Using the embodiment of the present invention, the transaction of resource flow has from start to end as third-party block chain server It participates in, and since block chain server is the arbitrary node in block chain network, the behavior of either block chain server is by block Witnessed by other multiple block chain servers in chain network, therefore form the multi-party credible of trading activity for resource flow Supervision, either the block chain server in requesting party, provider or block chain network can not practise fraud, can be at least partly Ground solution/mitigation/inhibition/even avoid in resource flow process of exchange requesting party and provider either one or that practises fraud in many ways ask Topic realizes the trade mode of fair resource flow.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario provided in an embodiment of the present invention that can apply the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for commerce of resource flow provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the transaction device of resource flow provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
It elaborates below to the embodiment of the present invention, the present embodiment carries out under the premise of the technical scheme of the present invention Implement, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to following implementation Example.
The embodiment of the invention provides the method for commerce of resource flow and device, computer equipment and computer-readable medium, Just a kind of method of commerce of resource flow provided in an embodiment of the present invention is introduced first below.
Fig. 1 is the schematic diagram of a scenario provided in an embodiment of the present invention that can apply the embodiment of the present invention.It should be noted that Being only shown in Fig. 1 can be using the example of the system architecture of the embodiment of the present disclosure, to help skilled in the art to understand this public affairs The technology contents opened, but it is not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment or scene.
As shown in Figure 1, system architecture 100 may include computer equipment 101, computer equipment according to this embodiment 102 and network 103.It is a server that computer equipment 101 is shown in Fig. 1, and computer equipment 101 can in other embodiments To be the terminal device for being equipped with various client applications, including but not limited to smart phone, tablet computer, on knee write meter Calculation machine and desktop computer etc., computer equipment 101 are also possible to for providing the server of various services.It is shown in Fig. 1 Computer equipment 102 is a terminal device, and computer equipment 102, which can be, in other embodiments is equipped with various clients The terminal device of application, including but not limited to smart phone, on knee write computer and desktop computer etc. at tablet computer Deng computer equipment 102 is also possible to for providing the server of various services.Network 103 is in computer equipment 101 The medium of communication link is provided between computer equipment 102, network 103 may include various connection types, such as wired, nothing Line communication link or fiber optic cables etc..
Computer equipment 101 and computer equipment 102 can carry out the transaction of resource flow by network 103, for example, calculating Machine equipment 101 can be used as the requesting party needed using resource flow, and computer equipment 102, which can be used as, is capable of providing resource flow Provider, after the transaction of resource flow starts, computer equipment 102 provides corresponding resource flow to computer equipment 101, meter It calculates machine equipment 101 and receives and use resource flow, after computer equipment 101 stops using resource flow, computer equipment 101 need to be pressed Corresponding tranaction costs are paid to computer equipment 102 according to the total amount of resource flow used in it, are handed over after tranaction costs payment Easily terminate.Similarly, computer equipment 102 can be used as the requesting party needed using resource flow, and computer equipment 101 can be used as It is capable of providing the provider of resource flow, after the transaction of resource flow starts, computer equipment 101 is mentioned to computer equipment 102 For corresponding resource flow, computer equipment 102 receives and uses resource flow, after computer equipment 102 stops using resource flow, Computer equipment 102 need to pay corresponding tranaction costs to computer equipment 101 according to the total amount of resource flow used in it, hand over Trading after easy reimbursement of expense terminates.
It should be understood that the type and number of computer equipment and network in Fig. 1 are only schematical.According to realization need It wants, can have any type, any number of computer equipment and network.
Fig. 2 is a kind of flow diagram of the method for commerce of resource flow provided in an embodiment of the present invention, and this method is applied to Block chain server illustrates the process of exchange for the resource flow that the disclosure provides from the angle of block chain server, as shown in Fig. 2, This method comprises:
S201 obtains the transaction initial information of association request side's client and provider's client, and the transaction is initial Information is sent to other block chain servers, so that each block chain server is corresponding by transaction initial information deposit In block chain database.
In this operation, transaction initial information before transaction starts for establishing corresponding requesting party's client and provider visitor Association between the end of family, wherein requesting party's client is to need to buy a side of resource flow, and provider's client is that can provide One side of resource flow.Multiple block chain servers constitute block chain network, and each block chain server has corresponding block chain Database, stored data is consistent in each block chain database, and multiple block chain servers are to institute in block chain database The multi-party supervision of deposit data is so that it is that can not distort that the data in block chain database, which are once stored in,.
S202: the credential information for characterizing the state that requesting party's client uses resource flow is obtained.
S203: the first numerical value is determined based on the transaction initial information and the credential information, the first numerical value is for characterizing Requesting party's client increased numerical value into the account of provider's client, is sent to other blocks for the first numerical value Chain server, so that the first numerical value is stored in corresponding block chain database by each block chain server.
In this operation, requesting party's client should consign to provider's client after the first numerical value indicates this transaction Tranaction costs, tranaction costs pass through scheduled digital cash and are paid in this programme, for any node, either appoint One requesting party's client, any provider's client, and/or either block chain server, the total value in account are used for table The total amount of digital cash possessed by the node is levied, then the first numerical value indicates to answer in the account of requesting party's client after trading Increased numerical value is answered in reduction/provider's client account, which is recorded in block also by block chain server In chain database.
As it can be seen that method shown in Fig. 2 is creating and is carrying out the resource flow between requesting party's client and provider's client Transaction during, before transaction starts, the block chain network formed by block chain server is by association request side client The transaction initial information of end and provider's client is recorded in block chain database, in transaction carries out, is characterized by obtaining Requesting party's client carries out state status to transaction using the credential information of the state of resource flow and exercises supervision, and ties in transaction Shu Hou determines that this transaction requestor's client should be delivered to provider's client by transaction initial information and credential information Expense, and this cost information that should deliver of transaction is recorded in block chain database by block chain network.According to The method, the relevant information of the transaction of resource flow from start to end are recorded in block chain database, are based on block chain The characteristic that data in database can not distort guarantees the permanent authenticity of the transaction related information of resource flow, either requests Block chain server in side, provider or block chain network can not practise fraud, and form the transaction row in many ways to resource flow For credible supervision, realize the trade mode of fair resource flow.
It should be noted that the resource flow in the embodiment of the present disclosure refer to can it is continuous, be provided to streaming, and with making With and the resource that consumes, such as can be network flow resource, electric power resource, calculate power resource, there is dynamic specified number in real time According to stream resource etc., have the characteristics that such various streaming consumable resources can be used as the resource in the embodiment of the present disclosure Stream, herein with no restrictions.These characteristics based on resource flow, the transaction of resource flow often start to be used and open with resource flow Begin, terminate to be used with resource flow and terminate, therefore the corresponding tranaction costs of exchange of resource flow are frequently necessary to tie in transaction It could be obtained after beam, and be the use total amount according to resource flow and calculate corresponding tranaction costs.
In one embodiment of the present disclosure, the operation S201 of method shown in Fig. 2 obtains association request side's client and mentions The transaction initial information of supplier's client may include: firstly, receive the transaction request information that requesting party's client is sent, The transaction request information includes: the identification information of requesting party's client, the identification information of provider's client and requesting party The digital signature of client.Secondly, the digital signature based on requesting party's client tests the transaction request information Card, if being verified as very, the transaction request information being sent to provider's client.Then, the provider visitor is received Family end is directed to the transaction Grant information that the transaction request information is sent, and the transaction Grant information includes the transaction request letter The digital signature of breath and provider's client, the digital signature based on provider's client permit believing to the transaction Breath is verified, if being verified as very, using the transaction Grant information as association requesting party's client and the provider The transaction initial information of client.
In the present embodiment, the transaction request information that requesting party's client is sent be requesting party's client to obtain resource flow and The information of transaction is initiated in request, and the identification information of requesting party's client in transaction request information shows requesting party's client certainly Oneself identity information, the identification information of provider's client show requesting party's client when initiating transaction request institute actively or The corresponding identity information of one or more provider's clients passively selected, the digital signature of requesting party's client is for proving The authenticity of the transaction request information, the digital signature based on requesting party's client verify transaction request information, If the transaction request information is forwarded to corresponding provider client if true, illustrate that the transaction request information is authentic and valid by verifying End so that provider's client decides whether to trade, if verifying if false, illustrate that the transaction request information is to forge, Subsequent processing is not done to the transaction request information, so that exception transaction cannot be established.It is forwarded to by transaction request information After corresponding provider's client, if receiving the transaction Grant information of provider's client return, illustrate the provider client End is agreed to trade, in addition to there are also the number label of provider's client for the transaction request information of script in Grant information of trading Name, for proving the authenticity of the transaction Grant information, the digital signature based on provider's client is quasi- to the transaction Perhaps information is verified, if verifying is if true, illustrate that the transaction Grant information is authentic and valid, subsequent by the transaction Grant information As this transaction transaction initial information and be stored in block chain database, if verifying if false, illustrating the transaction Grant information It is to forge, subsequent processing is not done to the transaction Grant information, as the situation that transaction initial information has not been obtained, so that this is different Often transaction cannot be established.As it can be seen that the present embodiment using block chain server as transaction initial information building process in third It can believe supervision, the authenticity of the process is verified by the digital signature of both parties, guarantee transaction from being established It is initially justice, true, effective, transaction initial information is stored into block chain database and then shows that the transaction is established ?.
As an optional embodiment, receiving, the transaction that provider's client is returned for transaction request information is quasi- Perhaps it after information, due to including the digital signature of transaction request information and provider's client in transaction Grant information, and trades and asks Ask includes that the digital signature of provider's client can be in order to more reliably verify the authenticity of transaction Grant information in information The digital signature for the provider's client being based not only in transaction Grant information is verified, also based in transaction Grant information The digital signature of requesting party's client in transaction request information is verified again, guarantees the transaction in transaction Grant information Solicited message is not tampered with or forges.
Specifically, the digital signature that both parties can be formed in the present embodiment by the way of asymmetric cryptosystem, for Any requesting party's client, requesting party's client correspond to unique key pair, which includes a public key and one Private key, wherein public key be can be disclosed, i.e. other requesting party's clients, each provider's client, and/or each block chain service Device can obtain the public key of requesting party's client, and private key be it is private, any other side cannot obtain the requesting party The private key of client, only requesting party's client oneself are able to use the private key.Similarly, any provider's client also has Exclusive key pair, either block chain server also can have exclusive key pair.Requesting party visitor in transaction request information The digital signature at family end can be what requesting party's client encrypted transaction request information based on the private key of oneself, Block chain server can use the true and false of the public key verifications of the requesting party's client digital signature, to prove that transaction request is believed The true and false of breath.And/or the digital signature of provider's client in transaction Grant information can be provider client's end group In the private key of oneself to trading what Grant information was encrypted, block chain server can use provider's client The true and false of the public key verifications digital signature, to prove the true and false of transaction Grant information.In other embodiments, both parties can also To form respective digital signature using other modes, aiming to as third-party multiple block chain servers proves institute The authenticity of information is issued, any way that can be realized the target can be with herein with no restrictions.
During initial information is traded in above-mentioned acquisition, as an optional embodiment, block chain server is connect In the transaction request information of receipts in addition to the identification information of above-mentioned requesting party's client, provider's client identification information, ask It can also include the pricing information of resource flow except the digital signature of the side's of asking client.Resource flow in transaction request information Pricing information, which can be used as, to be decided whether to agree to reference information when trading in provider's client, and, in provider After client agreement is traded and returns to transaction Grant information, the pricing information of the resource flow is i.e. as transaction initial information In entrained pricing information be stored in block chain database together, the formal transaction value as this transaction.Block chain Credential information acquired in server is the quantity for proving the used resource flow of requesting party's client.Method shown in Fig. 2 Operation S203 determine that the first numerical value includes: according to the credential information based on the transaction initial information and the credential information The total amount for determining the resource flow that requesting party's client uses, according to the pricing information of the resource flow and requesting party visitor The total amount for the resource flow that family end uses determines the first numerical value.
In one embodiment of the present disclosure, requesting party's client can before transaction starts prepaid transaction cash pledge, i.e. area The received transaction request information of block chain server institute further includes second value, and second value is for characterizing requesting party's client Account in reduction numerical value, indicate requesting party's client pay the signature that the digital cash of second value is traded as this in advance Gold, after the agreement of provider's client is traded, second value is deposited together as the information carried in transaction initial information Enter in block chain database, can witness requesting party in many ways and pay this event of the cash pledge of second value in advance, can guarantee to pacify Entirely, effectively, it is traceable.The process of the cash pledge payment transaction expense paid in advance using requesting party's client can be according to such as lower section Formula processing, i.e. step S203 determine the first numerical value based on the transaction initial information and the credential information further include: if the Two numerical value are greater than the first numerical value, determine third value, the third value is equal to the difference of second value and the first numerical value, described Third value is used to characterize increased numerical value in the account of requesting party's client.If second value less than the first numerical value, Determine that the 4th numerical value, the 4th numerical value are equal to the difference of the first numerical value and second value, the 4th numerical value is for characterizing institute State the numerical value of reduction in the account of requesting party's client.Identified third value or the 4th numerical value are sent to other block chains Server, so that the third value or the 4th numerical value are stored in corresponding block chain database by each block chain server In.
Wherein, the first numerical value indicates that requesting party's client should consign to the tranaction costs of provider's client, the second number Value indicates the cash pledge that requesting party's client is paid in advance, when second value is greater than the first numerical value, illustrates that requesting party's client is pre- The cash pledge first paid is more than tranaction costs, then the difference of second value and the first numerical value indicates the signature that requesting party's client is paid Gold subtracts the remaining sum after tranaction costs, which can directly return to the account of requesting party's client, product return process request The account increased numerical value of institute of square client and correspond to third value, will the third value be stored in it is same in block chain database Ensure that the extra cash pledge product return process safely, effectively, it is traceable.When second value is less than the first numerical value, illustrate to request The cash pledge that square client is paid in advance is less than tranaction costs, then the difference of the first numerical value and second value indicates that tranaction costs subtract Shortcoming after the cash pledge that requesting party's client is paid, shortcoming needs are supplemented by requesting party's client, from requesting party visitor The account at family end reduces corresponding numerical value to supplement the shortcoming corresponding to the 4th numerical value, and the 4th numerical value is stored in block chain data Equally ensure that in library supplement cash pledge shortcoming process safely, effectively, it is traceable.As can be seen that the present embodiment actually describes The complete scheme that the cash pledge paid in advance about requesting party client returns the overcharge and demand payment of the shortage.
It is equally requesting party's client prepaid transaction cash pledge before transaction starts in another embodiment of the disclosure, The transaction request information further includes second value, and the second value is used to characterize to be subtracted in the account of requesting party's client Few numerical value.The process of the cash pledge payment transaction expense paid in advance using requesting party's client can be located as follows Reason, i.e. operation S203 determine the first numerical value based on the transaction initial information and the credential information further include: if the second number Value is greater than the first numerical value, and the difference for recording second value and the first numerical value is the 5th numerical value, when requesting party's client carries out Next time when the transaction of resource flow, the 5th numerical value second value corresponding with the transaction of the resource flow next time is mutually tired out Add, obtains the corresponding updated second value of transaction of the resource flow next time.
Wherein, the first numerical value indicates that requesting party's client should consign to the tranaction costs of provider's client, the second number Value indicates the cash pledge that requesting party's client is paid in advance, when second value is greater than the first numerical value, illustrates that requesting party's client is pre- The cash pledge first paid is more than tranaction costs, then the difference of second value and the first numerical value indicates the signature that requesting party's client is paid Gold subtracts the remaining sum after tranaction costs, which can continue to be left to the requesting party as cash pledge and trade client next time use, It is registered as the 5th numerical value.When requesting party's client carries out the transaction of resource flow next time, if requesting party's client The cash pledge newly paid also corresponds to second value, and remaining 5th numerical value before is mutually tired out with the second value specifically newly paid Add, obtain existing total cash pledge quantity, existing total cash pledge quantity is recycled to pay new tranaction costs.It is preferred that Ground, the 5th numerical value recorded every time and updated second value, which can be stored in block chain database, to be recorded, to protect Demonstrate,prove above-mentioned remaining cash pledge continue to use process safely, effectively, it is traceable.
In one embodiment of the present disclosure, the step S202 of method shown in Fig. 2, which is obtained, characterizes requesting party's client Credential information using the state of resource flow includes: to receive the resource flow that provider's client is sent to use voucher, described Resource flow using in voucher in addition to proving that requesting party's client used the information of quantity of resource flow, further include the request The digital signature of the digital signature of square client and provider's client, the resource flow are by the request using voucher Square client is sent to provider's client, digital signature and provider visitor based on requesting party's client The digital signature at family end verifies the resource flow using voucher, if being verified as that very, the resource flow being made using voucher The credential information of resource flow is used for requesting party's client.It can be seen that, on the one hand, the resource flow in the present embodiment uses voucher Provider's client is sent to by requesting party's client, then block chain server is sent to by provider's client, passes through tripartite Common witness safeguard that resource flow uses the safety of voucher, on the other hand, the present embodiment also passes through the number of both parties Signature ensure that the authenticity of credential information to verify to resource flow using the authenticity of voucher, and then ensure that final The fair validity of the tranaction costs based on determined by credential information, maintains justice of exchange.
Specifically, the number of both parties can also be formed in the present embodiment by the way of asymmetric cryptosystem described above Word signature, such as can be requesting party's client and resource flow is encrypted to obtain requesting party using voucher based on the private key of oneself The digital signature of client, provider's client use resource flow the number of voucher and requesting party's client based on the private key of oneself Word signature carries out the digital signature of the encryption side's of being provided client, and block chain server can use requesting party's client The digital signature of public key verifications requesting party's client of public key and provider's client and the number of provider's client The true and false of signature, to prove the true and false of transaction request information.
Using embodiment illustrated in fig. 2 of the present invention, the transaction of resource flow has from start to end as third-party block Chain server participates in, and since block chain server is the arbitrary node in block chain network, the row of either block chain server For witnessed by other multiple block chain servers in block chain network, therefore form trading activity for resource flow Multi-party credible supervision, either the block chain server in requesting party, provider or block chain network can not practise fraud, can be with At least be partially solved/mitigation/inhibit/or even avoid in resource flow process of exchange requesting party and provider either one or multi-party make The problem of disadvantage, realizes the trade mode of fair resource flow.
Corresponding with embodiment illustrated in fig. 2 of the present invention, the embodiment of the invention also provides a kind of the transaction devices of resource flow.
It should be noted that a kind of the transaction device 300 of resource flow provided in an embodiment of the present invention takes applied to block chain Business device.
Fig. 3 is a kind of structural schematic diagram of the transaction device of resource flow provided in an embodiment of the present invention, as shown in figure 3, money The transaction device 300 of source stream includes: initiation module 301, obtains module 302 and management module 303.
Initiation module 301 is used to obtain the transaction initial information of association request side's client and provider's client, by institute It states transaction initial information and is sent to other block chain servers, so that the transaction initial information is stored in by each block chain server In corresponding block chain database.
It obtains module 302 and is used to obtain the credential information for characterizing the state that requesting party's client uses resource flow.
Management module 303 is used to determine the first numerical value based on the transaction initial information and the credential information, described the One numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client, by described first Numerical value is sent to other block chain servers, so that first numerical value is stored in corresponding block by each block chain server In chain database.
Using embodiment illustrated in fig. 3 of the present invention, the transaction of resource flow has from start to end as third-party block Chain server participates in, and since block chain server is the arbitrary node in block chain network, the row of either block chain server For witnessed by other multiple block chain servers in block chain network, therefore form trading activity for resource flow Multi-party credible supervision, either the block chain server in requesting party, provider or block chain network can not practise fraud, can be with At least be partially solved/mitigation/inhibit/or even avoid in resource flow process of exchange requesting party and provider either one or multi-party make The problem of disadvantage, realizes the trade mode of fair resource flow.
In one embodiment of the present disclosure, initiation module 301 obtains association request side's client and provider's client Transaction initial information include: that initiation module 301 is used to receive the transaction request information that requesting party's client is sent, it is described Transaction request information includes: the identification information of requesting party's client, the identification information of provider's client and requesting party client The digital signature at end, the digital signature based on requesting party's client verify the transaction request information, if verifying It is very, the transaction request information to be sent to provider's client, receives the transaction that provider's client is sent Grant information, the transaction Grant information include the digital signature of the transaction request information and provider's client;Base The transaction Grant information is verified in the digital signature of provider's client, if being verified as very, by the transaction Grant information is as the transaction initial information for being associated with requesting party's client and provider's client.
Further, as an optional embodiment, transaction request information can also include the pricing information of resource flow. Management module 303 determines that the first numerical value includes: that management module 303 is used for based on the transaction initial information and the credential information The total amount that the resource flow that requesting party's client uses is determined according to the credential information is believed according to the price of the resource flow The total amount for the resource flow that breath and requesting party's client use, determines the first numerical value.
In one embodiment of the present disclosure, transaction request information further includes second value, and the second value is used for table Levy the numerical value of reduction in the account of requesting party's client.Management module 303 is also used to be greater than the first numerical value when second value When determine third value, the third value is equal to the difference of second value and the first numerical value, and the third value is for characterizing Increased numerical value in the account of requesting party's client.The 4th numerical value is determined when second value is less than the first numerical value, it is described 4th numerical value is equal to the difference of the first numerical value and second value, and the 4th numerical value is used to characterize the account of requesting party's client The numerical value of reduction in family.Identified third value or the 4th numerical value are sent to other block chain servers, so that each block The third value or the 4th numerical value are stored in corresponding block chain database by chain server.
In another embodiment of the disclosure, the transaction request information further includes second value, the second value The numerical value of reduction in account for characterizing requesting party's client.Management module 303 is also used to be greater than the when second value The difference that second value and the first numerical value are recorded when one numerical value is the 5th numerical value, when next time requesting party's client is provided When the transaction of source stream, the 5th numerical value second value corresponding with the transaction of the resource flow next time is mutually added up, is obtained The corresponding updated second value of the transaction of the resource flow next time.
In one embodiment of the present disclosure, it obtains the acquisition characterization of module 302 requesting party's client and uses resource flow The credential information of state include: to obtain module 302 to be used to receive resource flow that provider's client is sent using voucher, The resource flow includes the digital signature of requesting party's client and the digital signature of provider's client using voucher, The resource flow is to be sent to provider's client by requesting party's client using voucher, is based on the requesting party The digital signature of the digital signature of client and provider's client verifies the resource flow using voucher, if testing Card be it is true, the resource flow used into voucher as requesting party's client use the credential information of resource flow.
In above-described embodiment, resource flow can include but is not limited to following at least one: network flow resource, electric power money Source is calculated power resource, and/or is had and dynamically specifies data flow resource in real time.
It should be noted that in device section Example each module/unit/subelement etc. embodiment, the skill of solution Art problem, the function of realization and the technical effect reached respectively with the implementation of corresponding step each in method section Example Mode, the technical issues of solving, the function of realization and the technical effect that reaches are same or like, and details are not described herein.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, initiation module 301, obtain in module 302 and management module 303 any number of may be incorporated in one It is realized in module or any one module therein can be split into multiple modules.Alternatively, one in these modules or At least partly function of multiple modules can be combined at least partly function of other modules, and be realized in a module. In accordance with an embodiment of the present disclosure, initiation module 301, obtain at least one of module 302 and management module 303 can be at least It is implemented partly as hardware circuit, such as field programmable gate array (FPGA), programmable logic array (PLA), on piece system System, the system on substrate, the system in encapsulation, specific integrated circuit (ASIC), or can be by being integrated or being sealed to circuit The hardware such as any other rational method or firmware of dress realize, or in three kinds of software, hardware and firmware implementations Any one several appropriately combined is realized with wherein any.Alternatively, initiation module 301, acquisition module 302 and management At least one of module 303 can at least be implemented partly as computer program module, when the computer program module quilt When operation, corresponding function can be executed.
Corresponding with embodiment illustrated in fig. 2 of the present invention, the embodiment of the invention also provides a kind of computer equipments.
Computer equipment shown in Fig. 4 is only an example, should not function and use scope to the embodiment of the present disclosure Bring any restrictions.
Fig. 4 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention, as shown in figure 4, computer is set Standby 400 include processor 401, can be according to the program being stored in read-only memory (ROM) 402 or from storage section 408 programs being loaded into random access storage device (RAM) 403 and execute various movements appropriate and processing.Processor 401 It such as may include general purpose microprocessor (such as CPU), instruction set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 401 can also include the onboard storage device for caching purposes.Place Reason device 401 may include for executing according to the different single treatment units acted of the method flow of the embodiment of the present disclosure or It is multiple processing units.
In RAM 403, it is stored with computer equipment 400 and operates required various programs and data.Processor 401, ROM 402 and RAM 403 is connected with each other by bus 404.Processor 401 is by executing the journey in ROM 402 and/or RAM 403 Sequence executes the various operations of the method flow according to the embodiment of the present disclosure.It is being removed it is noted that described program also can store In one or more memories other than ROM 402 and RAM 403.Processor 401 can also be stored in described one by executing Program in a or multiple memories executes the various operations of the method flow according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, computer equipment 400 can also include input/output (I/O) interface 405, input/ Output (I/O) interface 405 is also connected to bus 404.Computer equipment 400 can also be including being connected to the following of I/O interface 405 It is one or more in component: the importation 406 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal The output par, c 407 of display (LCD) etc. and loudspeaker etc.;Storage section 408 including hard disk etc.;And including such as The communications portion 409 of the network interface card of LAN card, modem etc..Communications portion 409 is held via the network of such as internet Row communication process.Driver 910 is also connected to I/O interface 405 as needed.Detachable media 911, such as disk, CD, magnetic CD, semiconductor memory etc. are mounted on as needed on driver 910, in order to from the computer program read thereon It is mounted into storage section 408 as needed.
In accordance with an embodiment of the present disclosure, computer software journey may be implemented as according to the method flow of the embodiment of the present disclosure Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising carry meter on a computer-readable medium Calculation machine program, the computer program include the program code for method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed from network by communications portion 409, and/or be pacified from detachable media 911 Dress.When the computer program is executed by processor 401, the above-mentioned function of limiting in the system of the embodiment of the present disclosure is executed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come It realizes.
It is corresponding for embodiment illustrated in fig. 2 of the present invention, the embodiment of the invention also provides a kind of computer-readable medium, The computer-readable medium can be included in equipment/device/system described in above-described embodiment;It is also possible to individually In the presence of, and without in the supplying equipment/device/system.Above-mentioned computer-readable medium carries one or more program, when Said one or multiple programs are performed, and realize the method according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc., or Above-mentioned any appropriate combination.
For example, in accordance with an embodiment of the present disclosure, computer-readable medium may include above-described ROM 402 and/or One or more memories other than RAM 403 and/or ROM 402 and RAM 403.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (16)

1. a kind of method of commerce of resource flow, which is characterized in that be applied to block chain server, method includes:
The transaction initial information for obtaining association request side's client and provider's client, the transaction initial information is sent to Other block chain servers, so that the transaction initial information is stored in corresponding block chain data by each block chain server In library;
Obtain the credential information for characterizing the state that requesting party's client uses resource flow;
The first numerical value is determined based on the transaction initial information and the credential information, and first numerical value is for characterizing described ask First numerical value is sent to other block chains by the side's of asking client increased numerical value into the account of provider's client Server, so that first numerical value is stored in corresponding block chain database by each block chain server.
2. the method according to claim 1, wherein acquisition association request side's client and provider client The transaction initial information at end, comprising:
The transaction request information that requesting party's client is sent is received, the transaction request information includes: requesting party's client Identification information, the identification information of provider's client and the digital signature of requesting party's client;
Digital signature based on requesting party's client verifies the transaction request information, if being verified as very, by institute It states transaction request information and is sent to provider's client;
The transaction Grant information that provider's client is sent is received, the transaction Grant information includes the transaction request letter The digital signature of breath and provider's client;
Digital signature based on provider's client verifies the transaction Grant information, if being verified as very, by institute Transaction Grant information is stated as the transaction initial information for being associated with requesting party's client and provider's client.
3. according to the method described in claim 2, it is characterized in that,
The transaction request information further includes the pricing information of resource flow;
It is described to determine that the first numerical value includes: based on the transaction initial information and the credential information
The total amount for the resource flow that requesting party's client uses is determined according to the credential information;
According to the total amount for the resource flow that the pricing information of the resource flow and requesting party's client use, the first number is determined Value.
4. according to the method described in claim 2, it is characterized in that,
The transaction request information further includes second value, and the second value is used to characterize the account of requesting party's client The numerical value of middle reduction;
It is described that first numerical value is determined based on the transaction initial information and the credential information further include:
If second value is greater than the first numerical value, determine that third value, the third value are equal to second value and the first numerical value Difference, the third value is used to characterize increased numerical value in the account of requesting party's client;
If second value less than the first numerical value, determines that the 4th numerical value, the 4th numerical value are equal to the first numerical value and second value Difference, the 4th numerical value is used to characterize the numerical value of reduction in the account of requesting party's client;
Identified third value or the 4th numerical value are sent to other block chain servers, so that each block chain server is by institute It states third value or the 4th numerical value is stored in corresponding block chain database.
5. according to the method described in claim 2, it is characterized in that,
The transaction request information further includes second value, and the second value is used to characterize the account of requesting party's client The numerical value of middle reduction;
It is described that first numerical value is determined based on the transaction initial information and the credential information further include: if second value is greater than First numerical value, the difference for recording second value and the first numerical value is the 5th numerical value, when requesting party's client carries out next time When the transaction of resource flow, the 5th numerical value second value corresponding with the transaction of the resource flow next time is mutually added up, is obtained To the corresponding updated second value of transaction of the resource flow next time.
6. the method according to claim 1, wherein the acquisition, which characterizes requesting party's client, uses resource The credential information of the state of stream includes:
It receives the resource flow that provider's client is sent and uses voucher, the resource flow includes the requesting party using voucher The digital signature of the digital signature of client and provider's client, the resource flow are by the requesting party using voucher Client is sent to provider's client;
The digital signature of digital signature and provider's client based on requesting party's client makes the resource flow It is verified with voucher, if being verified as very, using voucher to use resource flow as requesting party's client the resource flow Credential information.
7. the method according to claim 1, wherein the resource flow includes following at least one: network flow Resource, electric power resource are calculated power resource, and/or are had and dynamically specify data flow resource in real time.
8. a kind of the transaction device of resource flow, which is characterized in that be applied to block chain server, device includes:
Initiation module, for obtaining the transaction initial information of association request side's client and provider's client, by the transaction Initial information is sent to other block chain servers, so that each block chain server is respectively right by transaction initial information deposit In the block chain database answered;
Module is obtained, for obtaining the credential information for characterizing the state that requesting party's client uses resource flow;
Management module, for determining the first numerical value, first numerical value based on the transaction initial information and the credential information For characterizing requesting party's client increased numerical value into the account of provider's client, first numerical value is sent out It send to other block chain servers, so that first numerical value is stored in corresponding block chain data by each block chain server In library.
9. device according to claim 8, which is characterized in that the initiation module obtains association request side's client and mentions The transaction initial information of supplier's client includes:
The initiation module, the transaction request information sent for receiving requesting party's client, the transaction request information It include: the number label of the identification information of requesting party's client, the identification information of provider's client and requesting party's client Name;Digital signature based on requesting party's client verifies the transaction request information, will be described if being verified as very Transaction request information is sent to provider's client;Receive the transaction Grant information that provider's client is sent, institute State the digital signature that transaction Grant information includes the transaction request information and provider's client;Based on the provider The digital signature of client verifies the transaction Grant information, if be verified as it is true, using the transaction Grant information as It is associated with the transaction initial information of requesting party's client and provider's client.
10. device according to claim 9, which is characterized in that
The transaction request information further includes the pricing information of resource flow;
The management module determines that the first numerical value includes: the management mould based on the transaction initial information and the credential information Block, for determining the total amount of resource flow that requesting party's client uses according to the credential information;According to the resource flow Pricing information and the total amount of resource flow that uses of requesting party's client, determine the first numerical value.
11. device according to claim 9, which is characterized in that
The transaction request information further includes second value, and the second value is used to characterize the account of requesting party's client The numerical value of middle reduction;
The management module is also used to determine that third value, the third value are equal to when second value is greater than the first numerical value The difference of second value and the first numerical value, the third value are used to characterize increased number in the account of requesting party's client Value;Determine the 4th numerical value when second value is less than the first numerical value, the 4th numerical value is equal to the first numerical value and second value Difference, the 4th numerical value are used to characterize the numerical value of reduction in the account of requesting party's client;By identified third number Value or the 4th numerical value are sent to other block chain servers, so that each block chain server is by the third value or the 4th numerical value It is stored in corresponding block chain database.
12. device according to claim 9, which is characterized in that
The transaction request information further includes second value, and the second value is used to characterize the account of requesting party's client The numerical value of middle reduction;
The management module, the difference for being also used to record second value and the first numerical value when second value is greater than the first numerical value are 5th numerical value, when requesting party's client carry out the transaction of resource flow next time when, by the 5th numerical value with it is described next The corresponding second value of the transaction of secondary resource flow mutually adds up, and obtains the transaction corresponding updated the of the resource flow next time Two numerical value.
13. device according to claim 8, which is characterized in that the acquisition module, which obtains, characterizes the requesting party client End includes: using the credential information of the state of resource flow
The acquisition module uses voucher, the resource flow use for receiving the resource flow that provider's client is sent Voucher includes the digital signature of requesting party's client and the digital signature of provider's client, and the resource flow uses Voucher is to be sent to provider's client by requesting party's client;Number label based on requesting party's client The digital signature of name and provider's client verifies the resource flow using voucher, will be described if being verified as very Resource flow uses voucher to use the credential information of resource flow as requesting party's client.
14. device according to claim 8, which is characterized in that the resource flow includes following at least one: network flow Resource, electric power resource are calculated power resource, and/or are had and dynamically specify data flow resource in real time.
15. a kind of computer equipment, which is characterized in that including memory, processor and store on a memory and can handle The computer program run on device when the processor executes described program, is realized:
Such as the method for commerce of resource flow according to any one of claims 1 to 7.
16. a kind of computer-readable medium, which is characterized in that be stored thereon with executable instruction, which is executed by processor When execute processor:
Such as the method for commerce of resource flow according to any one of claims 1 to 7.
CN201811182703.5A 2018-10-11 2018-10-11 Resource flow transaction method and device, computer equipment and computer readable medium Active CN109325858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811182703.5A CN109325858B (en) 2018-10-11 2018-10-11 Resource flow transaction method and device, computer equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811182703.5A CN109325858B (en) 2018-10-11 2018-10-11 Resource flow transaction method and device, computer equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN109325858A true CN109325858A (en) 2019-02-12
CN109325858B CN109325858B (en) 2020-12-01

Family

ID=65261343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811182703.5A Active CN109325858B (en) 2018-10-11 2018-10-11 Resource flow transaction method and device, computer equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN109325858B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801649A (en) * 2020-04-17 2021-05-14 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
CN113902428A (en) * 2020-07-06 2022-01-07 北京信诺恒升科技有限公司 Settlement method, device and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN108596649A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 Account book rewards settlement method, server and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170310653A1 (en) * 2016-04-22 2017-10-26 Sony Corporation Client, server, method and identity verification system
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN108596649A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 Account book rewards settlement method, server and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801649A (en) * 2020-04-17 2021-05-14 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
CN112801649B (en) * 2020-04-17 2022-04-22 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
CN113902428A (en) * 2020-07-06 2022-01-07 北京信诺恒升科技有限公司 Settlement method, device and server

Also Published As

Publication number Publication date
CN109325858B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN110020543B (en) Data processing method and device based on block chain
CN104717067B (en) Safe verification method, equipment and system based on non-interactive type Zero Knowledge
CN109493047A (en) A kind of commission settlement method, device and terminal device based on block chain
CN112001713B (en) Block chain system and request processing method and device
CN111414434B (en) Block chain-based data transaction management network, transaction device and storage medium
CN109859040A (en) A kind of method and device carrying out house prosperity transaction based on block chain
KR20190057909A (en) Real estate contract method and broker system based on block chain
CN113221191B (en) Block chain-based data evidence storage method, device, equipment and storage medium
CN109300038A (en) A kind of transaction system of resource flow
JP2015535360A (en) Method and system for distributing data streams
CN110490640A (en) Method, apparatus and system for object distribution processor
CN112232828A (en) Power grid data transaction method and system
CN110347750A (en) Data processing method and device based on block chain
CN110941840B (en) Data processing method, system and terminal
US12026760B2 (en) Method and apparatus for transacting resource flow
CN109325858A (en) The method of commerce and device of resource flow, computer equipment and computer-readable medium
CN113126996A (en) Code auditing method, device and system
CN109165319B (en) Accounting method, device and system based on block chain
Li et al. Secure electronic ticketing system based on consortium blockchain
CN111401891B (en) Data management method and device applied to blockchain
CN109272318B (en) Resource flow transaction method, device, equipment and medium applied to requester client
KR20110124088A (en) Billing verifying apparatus, billing apparatus and method for cloud computing environment
CN115809440A (en) Method and device for managing copyrighted works based on block chain
CN106203976A (en) Payment system based on same fund server and method of payment, device and server
WO2021121030A1 (en) Resource transfer method, settlement terminal, and server node

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
GR01 Patent grant
GR01 Patent grant