CN109272318A - Applied to requesting party's client resource stream method of commerce, device, equipment and medium - Google Patents

Applied to requesting party's client resource stream method of commerce, device, equipment and medium Download PDF

Info

Publication number
CN109272318A
CN109272318A CN201811182915.3A CN201811182915A CN109272318A CN 109272318 A CN109272318 A CN 109272318A CN 201811182915 A CN201811182915 A CN 201811182915A CN 109272318 A CN109272318 A CN 109272318A
Authority
CN
China
Prior art keywords
client
provider
resource
block chain
flow
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
CN201811182915.3A
Other languages
Chinese (zh)
Other versions
CN109272318B (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 CN201811182915.3A priority Critical patent/CN109272318B/en
Publication of CN109272318A publication Critical patent/CN109272318A/en
Application granted granted Critical
Publication of CN109272318B publication Critical patent/CN109272318B/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • 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/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights

Landscapes

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

Abstract

The invention discloses requesting party's client resource stream method of commerce, device, equipment and medium is applied to, it is applied to requesting party's client, method includes: one provider's client of selection, is associated with by block chain server with provider's client foundation;The resource flow for receiving and provider's client being used to provide;Characterization, which is generated, according to preset rules uses the credential information of the state of resource flow, the credential information is sent to block chain server, the first numerical value is determined based on the credential information by block chain server, first numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client.Using the embodiment of the present invention, the trade mode of fair resource flow may be implemented.

Description

Applied to requesting party's client resource stream method of commerce, device, equipment and medium
Technical field
The present invention relates to Internet technical field, be more particularly to be applied to requesting party's client resource stream method of commerce, Device, equipment and 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 because of its mobility, consumptive feature The provider of resource flow trades.In the prior art, the transaction of resource flow often only has the ginseng of two side of requesting party and provider With due to lacking the supervision of its reliable other party, a side or multi-party in requesting party and provider often occurs in process of exchange The malicious act of unlawful interests is obtained by cheating, 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 provide applied to requesting party's client resource stream method of commerce, Device, equipment and 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 one kind to be applied to requesting party's client resource stream method of commerce, is applied to requesting party Client, comprising:
Provider's client is selected, is associated with by block chain server with provider's client foundation;
The resource flow for receiving and provider's client being used to provide;
Characterization is generated using the credential information of the state of resource flow according to preset rules, and the credential information is sent to Block chain server determines the first numerical value based on the credential information by block chain server, and first numerical value is for characterizing Requesting party's client increased numerical value into the account of provider's client.
Optionally, one provider's client of the selection, is built by block chain server and provider's client Vertical association includes:
The resource flow release information of multiple provider's clients is obtained, the resource flow release information includes provider visitor The identification information at family end and the pricing information of resource flow;
It is released news based on the multiple resource flow and selects provider's client, sent and hand over to block chain server The transaction request information is forwarded to selected provider's client by block chain server, so that institute by easy solicited message Provider's client is stated to start to provide resource flow when permitting the transaction request information.
Optionally, the transaction request information includes the digital signature of requesting party's client, so that block chain server exists When transaction request information described in digital signature authentication based on requesting party's client is true, then the transaction request believed Breath is forwarded to provider's client.
Optionally, described to generate characterization using the credential information of the state of resource flow, by the voucher according to preset rules Information is sent to block chain server
During using resource flow, the resource flow use for characterizing currently used state is generated every prefixed time interval Voucher, and the resource flow is sent to provider's client using voucher, by provider's client by the money Source stream is sent to block chain server using voucher.
Optionally, the resource flow includes the digital signature of requesting party's client using voucher, so that the provider is objective When family end resource flow described in the digital signature authentication based on requesting party's client using voucher is true, then by the money Source stream is sent to block chain server using voucher.
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 one kind to be applied to requesting party's client resource stream the transaction device, is applied to requesting party Client, comprising:
Module is established in transaction, for selecting provider's client, passes through block chain server and provider visitor Association is established at family end;
Resource receiving module, the resource flow for receiving and being provided using provider's client;
Trade management module, for generating characterization using the credential information of the state of resource flow, by institute according to preset rules It states credential information and is sent to block chain server, the first numerical value is determined based on the credential information by block chain server, it is described First numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client.
Optionally, the transaction establishes module and selects provider's client, is mentioned by block chain server with described Supplier's client establishes association
Module is established in the transaction, and the resource flow for obtaining multiple provider's clients releases news, the resource flow Release information includes the identification information of provider's client and the pricing information of resource flow;It is issued based on the multiple resource flow Information selects provider's client, sends transaction request information to block chain server, will be described by block chain server Transaction request information is forwarded to selected provider's client, so that provider's client is asked in the allowance transaction Start to provide resource flow when seeking information.
Optionally, the transaction request information includes the digital signature of requesting party's client, so that block chain server exists When transaction request information described in digital signature authentication based on requesting party's client is true, then the transaction request believed Breath is forwarded to provider's client.
Optionally, the trade management module is generated characterization according to preset rules and is believed using the voucher of the state of resource flow Breath, the credential information, which is sent to block chain server, includes:
The trade management module, for it is current to generate characterization every prefixed time interval during using resource flow The resource flow of use state uses voucher, and the resource flow is sent to provider's client using voucher, by described The resource flow is sent to block chain server using voucher by provider's client.
Optionally, the resource flow includes the digital signature of requesting party's client using voucher, so that the provider is objective When family end resource flow described in the digital signature authentication based on requesting party's client using voucher is true, then by the money Source stream is sent to block chain server using voucher.
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 the resource flow of any of the above-described.
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 the resource flow of any of the above-described.
Using the embodiment of the present invention, the transaction of resource flow has from start to end as third-party block chain service Device participates in, and since block chain server is the arbitrary node in block chain network, the behavior of either block chain server is by area Witnessed by other multiple block chain servers in block chain network, therefore form the multi-party of trading activity for resource flow Block chain server in credible supervision, either requesting party, provider or block chain network can not practise fraud, can be down to Partially solution/mitigation/inhibition/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.
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 that a kind of process applied to requesting party's client resource stream method of commerce provided in an embodiment of the present invention is shown It is intended to;
Fig. 3 is that a kind of structure applied to requesting party's client resource stream the transaction device provided in an embodiment of the present invention is shown It is intended to;
Fig. 4 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Elaborate below to the embodiment of the present invention, the present embodiment under the premise of the technical scheme of the present invention into Row is implemented, and the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to following realities Apply example.
The embodiment of the invention provides be applied to requesting party's client resource stream method of commerce, device, equipment and medium, Just a kind of requesting party's client resource stream method of commerce that is applied to 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 is only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, to help skilled in the art to understand The technology contents of the disclosure, 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, in other embodiments computer equipment 101 It can be the terminal device for being equipped with various client applications, including but not limited to smart phone, tablet computer, volume on knee Computer and desktop computer etc. are write, computer equipment 101 is also possible to for providing the server of various services.In Fig. 1 Showing computer equipment 102 is a terminal device, in other embodiments computer equipment 102 can be equipped with it is various The terminal device of client application, including but not limited to smart phone, on knee write computer and desk-top meter at tablet computer Calculation machine etc., computer equipment 102 are also possible to for providing the server of various services.Network 103 is to calculate The medium of communication link is provided between machine equipment 101 and computer equipment 102, network 103 may include various connection types, Such as wired, wireless 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, meter 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 The provider of stream, after the transaction of resource flow starts, computer equipment 102 provides corresponding resource to computer equipment 101 Stream, computer equipment 101 receive and use resource flow, after computer equipment 101 stops using resource flow, computer equipment 101 need to pay corresponding tranaction costs, tranaction costs branch to computer equipment 102 according to the total amount of resource flow used in it Transaction terminates after paying.Similarly, computer equipment 102 can be used as the requesting party needed using resource flow, computer equipment 101 can be used as the provider for being capable of providing resource flow, and after the transaction of resource flow starts, computer equipment 101 is to meter It calculates machine equipment 102 and corresponding resource flow is provided, computer equipment 102 receives and uses resource flow, when computer equipment 102 is stopped Only using after resource flow, computer equipment 102 need to be paid according to the total amount of resource flow used in it to computer equipment 101 Corresponding tranaction costs, transaction terminates after tranaction costs payment.
It should be understood that the type and number of computer equipment and network in Fig. 1 are only schematical.According to realization It needs, can have any type, any number of computer equipment and network.
Fig. 2 is that a kind of process applied to requesting party's client resource stream method of commerce provided in an embodiment of the present invention is shown It is intended to;As shown in Fig. 2, this method is applied to requesting party's client, illustrate that the disclosure mentions from the angle of requesting party's client below The process of exchange of the resource flow of confession.
As shown in Fig. 2, this method comprises:
S201: one provider's client of selection is established by block chain server and provider's client and is closed Connection.
S202: the resource flow for receiving and being provided using provider's client.
S203: characterization is generated using the credential information of the state of resource flow according to preset rules, the credential information is sent out It send to block chain server, the first numerical value is determined based on the credential information by block chain server, the first numerical value is for characterizing Requesting party's client increased numerical value into the account of provider's client.
As it can be seen that method shown in Fig. 2 passes through block chain server and selected provider's client before transaction starts It establishes association to trade, by sending credential information so that block chain server to block chain server in transaction carries out To transaction carry out state status exercise supervision, and after transaction by block chain server determine tranaction costs with into Row payment.In this way, the transaction of resource flow has from start to end participates in as third-party block chain server, And since block chain server is the arbitrary node in block chain network, the behavior of either block chain server is by block link network Witnessed by other multiple block chain servers in network, therefore form the multi-party credible prison of the trading activity for resource flow It superintends and directs, either the block chain server in requesting party, provider or block chain network can not practise fraud, and realize justice The trade mode of resource flow.
As described above, 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 one of stream resource etc. resource flow or a variety of, herein with no restrictions.
In one embodiment of the present disclosure, the step S201 of method shown in Fig. 2 selects provider's client, leads to Crossing block chain server and being associated with provider's client foundation includes: the resource flow hair for obtaining multiple provider's clients Cloth information, the resource flow release information includes the identification information of provider's client and the pricing information of resource flow, is based on institute Multiple resource flow release information one provider's client of selection are stated, transaction request information are sent to block chain server, by area The transaction request information is forwarded to selected provider's client by block chain server, so that provider's client Start to provide resource flow when permitting the transaction request information.
Through this embodiment, any provider's client can provide money according to possessed by itself the characteristics of resource flow Source stream release information, resource flow release information can be obtained by any requesting party's client, which releases news can be with Type, quantity, price including the resource flow that can be provided etc. relevant information, any requesting party's client can be according to certainly Body demand selects suitable provider's client, is serviced again by block chain after determining selected provider's client Transaction request information is sent to provider's client by device, can start to be provided after the allowance of the side's of being provided client The transaction of source stream.
As an optional embodiment, transaction request that requesting party's client is sent after selected provider's client Information may include the digital signature of requesting party's client, so that block chain server is based on requesting party's client When transaction request information described in digital signature authentication is true, then the transaction request information is forwarded to the provider client End.As it can be seen that the present embodiment can prove the friendship by the digital signature of the requesting party's client carried in transaction request information The authenticity of easy solicited message, only in the case where transaction request information is true situation, the transaction request information can just pass through area Block chain server is forwarded to provider's client, and corresponding transaction can just be carried out.
Specifically, the digital signature of above-mentioned requesting party's client can be formed by way of asymmetric cryptosystem, such as can To be that the number that requesting party's client is encrypted to obtain requesting party's client to transaction request information based on the private key of oneself is signed Name, the true and false that block chain server can use the corresponding public key of requesting party's client to verify the transaction request information, example Such as, the digital signature that both parties can be formed in the present embodiment by the way of asymmetric cryptosystem, for any requesting party visitor Family end, requesting party's client correspond to unique key pair, which includes a public key and a private key, wherein public Key is can be disclosed, i.e., other requesting party's clients, each provider's client, and/or each block chain server can obtain The public key of requesting party's client, and private key be it is private, any other side cannot obtain the private of requesting party's client Key, only requesting party's client oneself are able to use the private key.Similarly, any provider's client also has exclusive close Key pair, either block chain server also can have exclusive key pair.The number of requesting party's client in transaction request information Word signature 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 transaction request information The true and false.And/or the digital signature of provider's client in transaction Grant information can be provider's client and be based on The private key of oneself encrypts transaction Grant information, and 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 Respective digital signature can be formed using other modes, aim at and demonstrate,proved to as third-party multiple block chain servers The authenticity of bright issued information, any way that can be realized the target can be with herein with no restrictions.
Specifically, it can also form both parties' by the way of asymmetric cryptosystem described above in the present embodiment Digital signature, such as can be requesting party's client resource flow is encrypted using voucher based on the private key of oneself and asked The digital signature of the side's of asking client, provider's client use voucher and requesting party client to resource flow based on the private key of oneself The digital signature at end carries out the digital signature of the encryption side's of being provided client, and block chain server can use the requesting party The digital signature of public key verifications requesting party's client of the public key of client and provider's client and provider client The true and false of the digital signature at end, to prove the true and false of transaction request information.
In one embodiment of the present disclosure, the step S203 of method shown in Fig. 2 generates characterization according to preset rules and uses The credential information of the state of resource flow, it includes: in the phase using resource flow that the credential information, which is sent to block chain server, Between, generated every prefixed time interval and characterize the resource flow of currently used state and use voucher, and by the resource flow use with Card is sent to provider's client, and the resource flow is sent to block chain using voucher by provider's client Server.I.e. credential information is generated by requesting party's client, is sent to provider's client from requesting party's client, then from mentioning Supplier's client is sent to the block chain server in block chain network, forms the common witness in many ways to credential information.This Resource flow is generated over time using voucher in embodiment, and provider's client can be by each resource received by it Stream is sent to block chain server using voucher, one or more can also be sent to block chain server, Such as requesting party's client the last one resource flow generated can be sent to block chain server using voucher.
For example, requesting party's client can generate a money every prefixed time interval T after beginning to use resource flow Source stream is using voucher and is sent to and provides provider's client of the resource flow, which is asked using can recorde in voucher The side's of asking client has currently used the information such as the quantity of resource flow, so that corresponding provider's client knows requesting party client End uses the state and situation of resource flow at present, can also stop in time when requesting party's client is not continued to using resource flow The supply of resource flow, and corresponding transaction can be calculated according to the total amount of resource flow used in requesting party's client subsequent Expense.
Further, in order to increase the confidence level of credential information, credential information is avoided to be forged or the quilt in transmittance process It distorts, as an optional embodiment, resource flow is used in voucher and gone back in addition to the information of the use state of characterization resource flow Digital signature including requesting party's client, so that provider's client is in the number based on requesting party's client When resource flow described in signature verification using voucher is true, then the resource flow is sent to block chain server using voucher.This Embodiment is by proving that the resource flow uses voucher using the digital signature of requesting party's client is increased in voucher in resource flow Authenticity, only in the case where resource flow is true situation using voucher provider's client just can by the resource flow use with Card is sent to block chain server, which is just considered as effective using voucher.
Specifically, the digital signature of above-mentioned requesting party's client can be formed by way of asymmetric cryptosystem, such as can To be that requesting party's client encrypts resource flow using voucher based on the private key of oneself to obtain the number of requesting party's client Signature, provider's client can use the corresponding public key of requesting party's client to verify the resource flow and use the true of voucher Puppet above has corresponding description, and details are not described herein.
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 Using and the resource that consumes, such as can be network flow resource, electric power resource, calculate power resource, have it is dynamic specified in real time Data flow resource etc. has the characteristics that such various streaming consumable resources can be used as the money in the embodiment of the present disclosure Source stream, herein with no restrictions.The transaction of These characteristics based on resource flow, resource flow often starts to be used with resource flow And starts, terminate to be used with resource flow and terminate, therefore the corresponding tranaction costs of exchange of resource flow are frequently necessary to handing over It could be obtained after easily, and be the use total amount according to resource flow and calculate corresponding tranaction costs.
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 the trading activity for resource flow Multi-party credible supervision, the either block chain server in requesting party, provider or block chain network can not practise fraud, Can at least be partially solved/mitigation/inhibit/or even avoid in resource flow process of exchange requesting party and provider either one or The problem of multi-party cheating, realizes the trade mode of fair resource flow.
In order to make it easy to understand, below just using the embodiment of the present invention resource flow transaction system a kind of concrete application into Row is introduced.In practical applications, firstly, requesting party's customer end A searches the stream that each provider's client issues by dedicated channel Sharing information is measured, which corresponds to resource flow described above and release news, what each provider's client issued It can recorde specific discharge price, available flow total amount, discharge pattern etc. one or more use in flow sharing information In the information for the feature for describing flow provided by it, requesting party's customer end A can select suitable offer according to needed for itself Square client.Wherein, dedicated channel used in requesting party's customer end A can be provided by provider's client, make to call request The local area network that square customer end A freely uses under the conditions ofs certain time, certain location etc., certain dedicated channel can also be with It is other forms, as long as temporary can meet the needs of requesting party's customer end A checks flow sharing information.
Then, after requesting party's customer end A selectes provider's customer end B, transaction request information is generated, which asks Ask include: in information the identification information of requesting party's customer end A, selected provider's customer end B identification information, estimated make With the second value for the cash pledge quantity that flow total amount and characterization are paid in advance, which corresponds to from requesting party client The numerical value of the digital cash of reduction in the account of A is held, requesting party's customer end A is also based on transaction request information generated and asks The private key of the side's of asking customer end A generates the digital signature A1 of requesting party's customer end A, encloses in transaction request information generated Digital signature A1.The flow that requesting party's customer end A is run into block chain server shares contract and sends above-mentioned transaction request Information, flow sharing contract verify the transaction request information in the public key and digital signature A1 according to requesting party's customer end A and are After very, which is sent to provider's customer end B, provider's customer end B can be according in transaction request information The information of record is to determine whether permit providing the progress flow sharing of requesting party's customer end A if permitting the sharing of this flow Square customer end B can generate provider's customer end B based on the private key of the transaction request information and provider's customer end B received Digital signature B1, enclosed in the transaction request information received digital signature B1 formed transaction Grant information, provider visitor Family end B by the transaction Grant information be sent to flow share contract agree carry out flow sharing and start to requesting party visitor Family end A provides flow.
Flow, which shares contract, can be deposited the transaction Grant information received by the verifying of the common recognition of each block chain server Enter in the corresponding block chain database of each block chain server, to obtain multi-party common supervision.
During flow is shared, requesting party's customer end A periodically uses voucher, the flow to provider's customer end B transmitted traffic Correspond to resource flow above using voucher and use voucher, each flow using record in voucher have requesting party's customer end A from Begin to use the used flow total amount until the flow uses time point corresponding to voucher.Provider's customer end B is each Flow is received using voucher you can learn that requesting party's customer end A is still using flow, and works as provider's customer end B and receive One flow is using being more than provider's customer end B when not receiving the flow of update the predetermined time again using voucher after voucher It can be determined that requesting party's customer end A stops using flow, provider's customer end B can stop providing stream to requesting party's customer end A Amount, and the flow finally received is committed to flow using voucher and shares contract.In this manner, when requesting party's customer end A When for a long time not to provider's customer end B transmitted traffic using voucher, provider's customer end B can pass through cutting flow and share Come the case where preventing requesting party's customer end A from not paying but using flow.
Flow shares contract after receiving the flow that provider's customer end B is submitted and using voucher, can be based on the stream Amount shares corresponding tranaction costs using voucher and this flow of specific discharge calculation of price, i.e. requesting party's customer end A should The numerical value of the digital cash of provider's customer end B is paid, which is indicated by the first numerical value, the first numerical representation method Increased numerical value in the account of provider's customer end B.The signature that above-mentioned tranaction costs can be paid in advance from requesting party's customer end A It is deducted in gold, if second value is 200, the first numerical value is 150, then deducts tranaction costs from the cash pledge of requesting party's customer end A Cash pledge residue 50 afterwards, remaining cash pledge can be handled according to the requirement of requesting party's customer end A, can such as return to requesting party Customer end A, i.e. the account numerical value of requesting party's customer end A increase by 50, can not also return to requesting party's customer end A, remain to ask The use when side's of asking customer end A needs payment transaction expense next time.So far the process of exchange of resource flow is completed.
As it can be seen that this example compared with the status for only providing a user network flow resource by major telecom operators at present, is led to Cross the two-way provider's client independently selected to requesting party's client provide flow, broken major telecom operators by The monopoly position that the advantages such as policy, capital, userbase are established, and introduce block chain network and participate in witness process of exchange, flow Price becomes open, transparent, and the statistics of flow service condition is counted by one side of operator, but by multi-party Common witness supervision, realizes the fair and reasonable of flow process of exchange, and the demand of flow provider and traffic requests side is able to Meet.Not only for network flow resource in this way, being all had for the transaction of other various resource flows above beneficial to effect Fruit.
Corresponding in embodiment illustrated in fig. 2 of the present invention, the embodiment of the invention also provides one kind to be applied to requesting party client Hold resource flow the transaction device.
Fig. 3 is that a kind of structure applied to requesting party's client resource stream the transaction device provided in an embodiment of the present invention is shown It is intended to, is applied to requesting party's client.As shown in figure 3, the transaction device 300 of resource flow includes: that module 301, money are established in transaction Source receiving module 302 and trade management module 303.
Transaction establish module 301 for select provider's client, pass through block chain server and the provider Client establishes association.
Resource receiving module 302 is used for the resource flow for receiving and providing using provider's client.
Trade management module 303 is used to generate the credential information that characterization uses the state of resource flow according to preset rules, will The credential information is sent to block chain server, determines the first numerical value, institute based on the credential information by block chain server The first numerical value is stated for characterizing requesting party's client increased numerical value into the account of provider's client.
In one embodiment of the present disclosure, transaction establishes module 301 and selects provider's client, passes through block It includes: that transaction establishes module 301 for obtaining multiple provider clients that chain server is associated with provider's client foundation The resource flow at end releases news, and the resource flow release information includes the identification information of provider's client and the valence of resource flow Lattice information is sent to block chain server and is traded based on the multiple resource flow release information one provider's client of selection The transaction request information is forwarded to selected provider's client by block chain server, so that described by solicited message Provider's client starts to provide resource flow when permitting the transaction request information.
Wherein optionally, transaction request information may include the digital signature of requesting party's client, so that block chain service When device transaction request information described in the digital signature authentication based on requesting party's client is true, then the transaction is asked Information is asked to be forwarded to provider's client.
In one embodiment of the present disclosure, trade management module 303 generates characterization according to preset rules and uses resource flow State credential information, it includes: that trade management module 303 is used for that the credential information, which is sent to block chain server, It during using resource flow, is generated every prefixed time interval and characterizes the resource flow of currently used state and use voucher, and by institute State resource flow and be sent to provider's client using voucher, by provider's client by the resource flow use with Card is sent to block chain server.
Wherein, as an optional embodiment, resource flow includes the digital signature of requesting party's client using voucher, So that provider's client resource flow described in the digital signature authentication based on requesting party's client is using voucher When true, then the resource flow is sent to block chain server using voucher.
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 Block, unit, any one or more in subelement can at least be implemented partly as hardware circuit, such as scene can compile Journey gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated collection At circuit (ASIC), or the hardware or firmware for any other rational method for integrate or encapsulate to circuit can be passed through It realizes, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriate groups It closes to realize.Alternatively, can be down to according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement It is implemented partly as computer program module less, when the computer program module is run, corresponding function can be executed Energy.
And/or transaction is established any in module 301, resource receiving module 302 and trade management module 303 Multiple may be incorporated in a module is realized or any one module therein can be split into multiple modules.Or At least partly function of person, one or more modules in these modules can mutually be tied at least partly function of other modules It closes, and is realized in a module.In accordance with an embodiment of the present disclosure, module 301,302 and of resource receiving module are established in transaction At least one of trade management module 303 can at least be implemented partly as hardware circuit, such as field-programmable gate array Arrange (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit It (ASIC), or can be by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware 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, transaction establish at least one of module 301, resource receiving module 302 and trade management module 303 can be at least It is implemented partly as computer program module, when the computer program module is run, corresponding function can be executed.
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 the trading activity for resource flow Multi-party credible supervision, the either block chain server in requesting party, provider or block chain network can not practise fraud, Can at least be partially solved/mitigation/inhibit/or even avoid in resource flow process of exchange requesting party and provider either one or The problem of multi-party cheating, 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 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 dedicated micro process Device (for example, specific integrated circuit (ASIC)), etc..Processor 401 can also include the onboard storage for caching purposes Device.Processor 401 may include the single treatment list for executing the different movements of the method flow according to the embodiment of the present disclosure First or 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 in ROM 402 and/or RAM 403 Program execute the various operations of the method flow according to the embodiment of the present disclosure.It is noted that described program also can store In one or more memories in addition to ROM 402 and RAM 403.Processor 401 can also be stored in institute by executing The program in one or more memories is stated to execute 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, defeated Enter/export (I/O) interface 405 and is also connected to bus 404.Computer equipment 400 can also include being connected to I/O interface 405 With one or more in lower component: the importation 406 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), The output par, c 407 of liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 408 including hard disk etc.;And including The communications portion 409 of the network interface card of LAN card, modem etc..Communications portion 409 is via such as internet Network executes communication process.Driver 910 is also connected to I/O interface 405 as needed.Detachable media 911, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 910, in order to from the meter read thereon Calculation machine program is mounted into storage section 408 as needed.
In accordance with an embodiment of the present disclosure, computer software may be implemented as according to the method flow of the embodiment of the present disclosure Program.For example, embodiment of the disclosure includes a kind of computer program product comprising carrying is on a computer-readable medium Computer program, which includes the program code for method shown in execution flow chart.In such implementation In example, which can be downloaded and installed from network by communications portion 409, and/or from detachable media 911 are mounted.The computer program by processor 401 execute when, execute limited in the system of the embodiment of the present disclosure it is above-mentioned Function.In accordance with an embodiment of the present disclosure, system as described above, unit, module, unit etc. can pass through computer journey Sequence module is realized.
Corresponding for embodiment illustrated in fig. 2 of the present invention, the embodiment of the invention also provides a kind of computer-readable Jie Matter, the computer-readable medium can be included in equipment/device/system described in above-described embodiment;It is also possible to Individualism, and without in the supplying equipment/device/system.Above-mentioned computer-readable medium carries one or more journey Sequence realizes the method according to the embodiment of the present disclosure when said one or multiple programs are performed.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer Readable storage medium storing program for executing 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 above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And In the disclosure, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but It is not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be calculating Any computer-readable medium other than machine readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit For by the use of instruction execution system, device or device or program in connection.On computer-readable medium The program code for including 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 be with Represent a part of a module, program segment or code, a part of above-mentioned module, program segment or code include one or Multiple executable instructions for implementing the specified logical function.It should also be noted that in some implementations as replacements, side The function of being marked in frame can also occur in a different order than that indicated in the drawings.For example, two sides succeedingly indicated Frame can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this according to related function and It is fixed.It is also noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, it can To be realized with the dedicated hardware based system for executing defined functions or operations, or specialized hardware and meter can be used The combination of calculation machine instruction is realized.
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 (14)

1. one kind is applied to requesting party's client resource stream method of commerce, which is characterized in that be applied to requesting party's client, packet It includes:
Provider's client is selected, is associated with by block chain server with provider's client foundation;
The resource flow for receiving and provider's client being used to provide;
Characterization is generated using the credential information of the state of resource flow according to preset rules, and the credential information is sent to block chain Server determines the first numerical value based on the credential information by block chain server, and first numerical value is for characterizing requesting party Client increased numerical value into the account of provider's client.
2. the method according to claim 1, wherein one provider's client of the selection, passes through block chain Server is associated with provider's client foundation
The resource flow release information of multiple provider's clients is obtained, the resource flow release information includes provider's client The pricing information of identification information and resource flow;
It is released news based on the multiple resource flow and selects provider's client, send transaction request to block chain server The transaction request information is forwarded to selected provider's client by block chain server, so that the offer by information Square client starts to provide resource flow when permitting the transaction request information.
3. according to the method described in claim 2, it is characterized in that, the transaction request information includes the number of requesting party's client Word signature, so that block chain server transaction request information described in the digital signature authentication based on requesting party's client is When true, then the transaction request information is forwarded to provider's client.
4. the method according to claim 1, wherein described generate according to preset rules characterizes using resource flow The credential information of state, the credential information, which is sent to block chain server, includes:
During using resource flow, voucher is used every the resource flow that prefixed time interval generates the currently used state of characterization, And the resource flow is sent to provider's client using voucher, the resource flow is made by provider's client Block chain server is sent to voucher.
5. according to the method described in claim 4, it is characterized in that, the resource flow using voucher includes requesting party's client Digital signature, so that provider's client resource flow described in the digital signature authentication based on requesting party's client makes When with voucher being true, then the resource flow is sent to block chain server using voucher.
6. 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.
7. one kind is applied to requesting party's client resource stream the transaction device, which is characterized in that be applied to requesting party's client, packet It includes:
Module is established in transaction, for selecting provider's client, passes through block chain server and provider's client Establish association;
Resource receiving module, the resource flow for receiving and being provided using provider's client;
Trade management module, for generating characterization using the credential information of the state of resource flow according to preset rules, will it is described with Card information is sent to block chain server, determines the first numerical value based on the credential information by block chain server, and described first Numerical value is for characterizing requesting party's client increased numerical value into the account of provider's client.
8. device according to claim 7, which is characterized in that the transaction establishes module and selects a provider client End, establishes to be associated with and includes: by block chain server and provider's client
Module is established in the transaction, and the resource flow for obtaining multiple provider's clients releases news, the resource flow publication Information includes the identification information of provider's client and the pricing information of resource flow;It is released news and is selected based on the multiple resource flow Provider's client is selected, transaction request information is sent to block chain server, is asked the transaction by block chain server Information is asked to be forwarded to selected provider's client, so that provider's client is when permitting the transaction request information Start to provide resource flow.
9. device according to claim 8, which is characterized in that the transaction request information includes the number of requesting party's client Word signature, so that block chain server transaction request information described in the digital signature authentication based on requesting party's client is When true, then the transaction request information is forwarded to provider's client.
10. device according to claim 7, which is characterized in that the trade management module generates table according to preset rules Using the credential information of the state of resource flow, the credential information is sent to block chain server includes: sign
The trade management module, for it is currently used to generate characterization every prefixed time interval during using resource flow The resource flow of state uses voucher, and the resource flow is sent to provider's client using voucher, by the offer The resource flow is sent to block chain server using voucher by square client.
11. device according to claim 10, which is characterized in that the resource flow includes requesting party's client using voucher Digital signature so that provider's client resource flow described in the digital signature authentication based on requesting party's client When the use of voucher being true, then the resource flow is sent to block chain server using voucher.
12. device according to claim 7, 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.
13. 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 6.
14. 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 6.
CN201811182915.3A 2018-10-11 2018-10-11 Resource flow transaction method, device, equipment and medium applied to requester client Active CN109272318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811182915.3A CN109272318B (en) 2018-10-11 2018-10-11 Resource flow transaction method, device, equipment and medium applied to requester client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811182915.3A CN109272318B (en) 2018-10-11 2018-10-11 Resource flow transaction method, device, equipment and medium applied to requester client

Publications (2)

Publication Number Publication Date
CN109272318A true CN109272318A (en) 2019-01-25
CN109272318B CN109272318B (en) 2020-12-01

Family

ID=65195680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811182915.3A Active CN109272318B (en) 2018-10-11 2018-10-11 Resource flow transaction method, device, equipment and medium applied to requester client

Country Status (1)

Country Link
CN (1) CN109272318B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461691A (en) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
CN112070606A (en) * 2020-07-16 2020-12-11 深圳市先河系统技术有限公司 Resource management method based on block chain, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160300222A1 (en) * 2015-04-07 2016-10-13 Modernity Financial Holdings, Ltd. Off network identity tracking in anonymous cryptocurrency exchange networks
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN108595126A (en) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 Data-storage system, querying method, inquiry unit, server 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
US20160300222A1 (en) * 2015-04-07 2016-10-13 Modernity Financial Holdings, Ltd. Off network identity tracking in anonymous cryptocurrency exchange networks
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN108596649A (en) * 2018-03-22 2018-09-28 深圳市网心科技有限公司 Account book rewards settlement method, server and computer readable storage medium
CN108595126A (en) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 Data-storage system, querying method, inquiry unit, server and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111461691A (en) * 2020-04-17 2020-07-28 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
CN111461691B (en) * 2020-04-17 2020-12-11 支付宝(杭州)信息技术有限公司 Flow statistical system, method and device based on block chain
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
CN112070606A (en) * 2020-07-16 2020-12-11 深圳市先河系统技术有限公司 Resource management method based on block chain, electronic device and storage medium
CN112070606B (en) * 2020-07-16 2024-01-12 深圳市先河系统技术有限公司 Resource management method based on block chain, electronic equipment and storage medium

Also Published As

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

Similar Documents

Publication Publication Date Title
KR101920015B1 (en) Method for managing token based on heterogeneous blockchains, and token management server using the same
CN109583857A (en) It is open to invite task processing method, system, equipment and storage medium
CN108564353A (en) Payment system based on block chain and method
CN108062671A (en) Data trade method, block chain node server and data submit terminal
CN109447648A (en) The method of recorded data zone block, accounting nodes and medium in block chain network
CN110532323A (en) Pupilage information processing method, device, electronic equipment and storage medium in block chain network
CN109492419A (en) For obtaining the method, apparatus and storage medium of the data in block chain
CN109300038A (en) A kind of transaction system of resource flow
CN108510275A (en) The method and computer readable storage medium of progress for the public good project that follows up
Weerasinghe et al. A novel blockchain-as-a-service (BaaS) platform for local 5G operators
CN109409885A (en) Across chain method of commerce, device and storage medium on block chain
CN104717067B (en) Safe verification method, equipment and system based on non-interactive type Zero Knowledge
CN110188550A (en) A kind of data verification method and device of block chain
WO2019200966A1 (en) Method and apparatus for sharing and acquiring information
CN105871923B (en) Information processing method, information record node and participation node
CN109741068A (en) Internetbank inter-bank contracting method, apparatus and system
CN109815659A (en) Safety certifying method, device, electronic equipment and storage medium based on WEB project
CN109583891A (en) A kind of information processing method, device and storage medium
CN110490640A (en) Method, apparatus and system for object distribution processor
CN106033571A (en) Trading method of electronic signature devices, electronic signature devices and trading system
CN110120952A (en) A kind of total management system single-point logging method, device, computer equipment and storage medium
CN109660534A (en) Safety certifying method, device, electronic equipment and storage medium based on more trade companies
CN109272318A (en) Applied to requesting party's client resource stream method of commerce, device, equipment and medium
CN109690516A (en) A kind of software-based switch for providing a user product and/or servicing without damaging its privacy
CN112488707B (en) Business circulation supervision method and system

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