# US 2021/0342899 A1 · Method and apparatus for transacting resource flow

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342899 A1
- Document ID: US20210342899A1
- Status: Published application
- Kind: A1
- Application number: 17/283,824
- Filed: 2018-10-11
- Published: 2021-11-04
- Earliest claimed: 2018-10-11
- Assignees: Hefei Dappworks Technology Co., Ltd.
- Applicants: Hefei Dappworks Technology Co., Ltd.
- Inventors: Yi SHI; Yang ZHANG
- Web page: https://patentgrep.com/patent/US20210342899A1

## CPC

- G06Q 30/0283: Price estimation or determination
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06Q 10/06: Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q 20/085: {involving remote charge determination or related payment systems}
- G06Q 30/06: Buying, selling or leasing transactions
- G06Q 40/00: Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q 50/06: Energy or water supply
- H04L 9/3247: {involving digital signatures}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 12/14: Charging, metering or billing arrangements specially adapted for data communications, e.g. authentication, authorisation and accounting [AAA] framework
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 2463/102: applying security measure for e-commerce
- G06Q: INFORMATION 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for transacting a resource flow is provided. The method is applied to a blockchain server, and includes: acquiring initial transaction information for associating a requester client with a provider client, and sending the initial transaction information to other blockchain servers, to store the initial transaction information in respective corresponding blockchain database; acquiring certificate information indicative of a status of a resource flow usage of the requester client; and determining a first value indicative of a value added by the requester client to an account of the provider client based on the initial transaction information and the certificate information, and sending the first value to the other blockchain servers. An apparatus for transacting a resource flow, a computer equipment, and a computer-readable medium are further provided.

## Claims

### Claim 1

A method for transacting a resource flow applied to a blockchain server, comprising:
acquiring initial transaction information for associating a requester client with a provider client, and sending the initial transaction information to other blockchain servers, to cause each blockchain server to store the initial transaction information in respective corresponding blockchain database;
acquiring certificate information indicative of a status of a resource flow usage of the requester client; and
determining a first value indicative of a value added by the requester client to an account of the provider client based on the initial transaction information and the certificate information, and sending the first value to the other blockchain servers, to cause each blockchain server to store the first value in the respective corresponding blockchain database.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the acquiring initial transaction information for associating a requester client with a provider client comprises:
receiving transaction request information sent by the requester client, wherein the transaction request information comprises identification information of the requester client, identification information of the provider client, and a digital signature of the requester client;
verifying the transaction request information based on the digital signature of the requester client, and sending the transaction request information to the provider client in response to verifying of the transaction request information being true;
receiving transaction permission information sent by the provider client, wherein the transaction permission information comprises the transaction request information and a digital signature of the provider client; and
verifying the transaction permission information based on the digital signature of the provider client, and using the transaction permission information as the initial transaction information for associating the requester client with the provider client, in response to verifying of the transaction permission information being true.

### Claim 3 (depends on 2)

The method according to claim 2, wherein,
the transaction request information further comprises price information of the resource flow; and
determining a first value based on the initial transaction information and the certificate information comprises:
determining a total amount of the resource flow used by the requester client based on the certificate information; and
determining the first value based on the price information of the resource flow and the total amount of the resource flow used by the requester client.

### Claim 4 (depends on 2)

The method according to claim 2, wherein,
the transaction request information further comprises a second value indicative of a value decreased from an account of the requester client; and
determining a first value based on the initial transaction information and the certificate information further comprises:
determining a third value indicative of a value added to the account of the requester client if the second value is greater than the first value, wherein the third value is equal to difference between the second value and the first value;
determining a fourth value indicative of a value decreased from the account of the requester client if the second value is less than the first value, wherein the fourth value is equal to difference between the first value and the second value; and
sending the third value or the fourth value determined to the other blockchain servers, to cause each blockchain server to store the third value or the fourth value in the respective corresponding blockchain database.

### Claim 5 (depends on 2)

The method according to claim 2, wherein,
the transaction request information further comprises a second value indicative of a value decreased from an account of the requester client; and
determining a first value based on the initial transaction information and the certificate information further comprises: recording difference between the second value and the first value as a fifth value if the second value is greater than the first value, adding the fifth value to the second value corresponding to a next transaction of the resource flow in a case where the next transaction of the resource flow is conducted by the requester client, and obtaining an updated second value corresponding to the next transaction of the resource flow.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the acquiring certificate information indicative of a status of a resource flow usage of the requester client comprises:
receiving a resource flow usage certificate sent by the provider client, wherein the resource flow usage certificate comprises a digital signature of the requester client and a digital signature of the provider client, and the resource flow usage certificate is sent from the requester client to the provider client; and
verifying the resource flow usage certificate based on the digital signature of the requester client and the digital signature of the provider client, and using the resource flow usage certificate as the certificate information of the resource flow usage of the requester client, in response to verifying of the resource flow usage certificate being true.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the resource flow comprises at least one of a network traffic resource, a power resource, a computing power resource, and/or a designated data flow resource with a real-time dynamic status.

### Claim 8

A method for transacting a resource flow applied to a requester client, comprising:
selecting a provider client, and establishing an association with the provider client through a blockchain server;
receiving and using a resource flow provided by the provider client; and
generating certificate information indicative of a status of a resource flow usage according to a preset rule, and sending the certificate information to the blockchain server, to cause the blockchain server to determine a first value indicative of a value added by the requester client to an account of the provider client based on the certificate information.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the selecting a provider client, and establishing an association with the provider client through a blockchain server comprises:
acquiring resource flow release information of a plurality of provider clients, wherein the resource flow release information comprises identification information of provider clients and price information of the resource flow; and
selecting a provider client based on the resource flow release information, and sending transaction request information to the blockchain server, wherein the transaction request information is forwarded by the blockchain server to the provider client selected, to cause the provider client to begin to provide the resource flow in a case where the transaction request information is permitted.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the transaction request information comprises a digital signature of the requester client, and the blockchain server forwards the transaction request information to the provider client in a case where the transaction request information is verified to be true based on the digital signature of the requester client.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the generating certificate information indicative of a status of a resource flow usage according to a preset rule, and sending the certificate information to the blockchain server comprises:
during using of the resource flow, generating a resource flow usage certificate indicative of a current usage status every preset time interval, and sending the resource flow usage certificate to the provider client, to cause the provider client to send the resource flow usage certificate to the blockchain server.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the resource flow usage certificate comprises a digital signature of the requester client, and the provider client sends the resource flow usage certificate to the blockchain server in a case where the resource flow usage certificate is verified to be true based on the digital signature of the requester client.

### Claim 13

A method for transacting a resource flow applied to a provider client, comprising:
establishing an association with a requester client through a blockchain server, and providing a resource flow to the requester client, to cause the requester client to receive and use the resource flow;
acquiring certificate information indicative of a status of a resource flow usage of the requester client, and sending the certificate information to the blockchain server, to cause the blockchain server to determine a first value indicative of a value added to the provider client by the requester client based on the certificate information.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the establishing an association with a requester client through a blockchain server, and providing a resource flow to the requester client comprises:
receiving transaction request information sent by the blockchain server, wherein the transaction request information comprises identification information of the requester client and a digital signature of the requester client, and the transaction request information is sent from the requester client to the blockchain server; and
sending transaction permission information to the blockchain server in a case where the transaction request information is permitted, and beginning to provide the resource flow to the requester client, wherein the transaction permission information comprises the transaction request information and a digital signature of the provider client.

### Claim 15 (depends on 14)

The method according to claim 14, wherein,
the transaction request information further comprises an estimated total amount of the resource flow to be used; and
the establishing an association with a requester client through a blockchain server further comprises: permitting the transaction request information in a case where the estimated total amount of the resource flow to be used is not greater than a total amount of the resource flow to be provided.

### Claim 16 (depends on 13)

The method according to claim 13, wherein the acquiring certificate information indicative of a status of a resource flow usage of the requester client, and sending the certificate information to the blockchain server comprises:
receiving a resource flow usage certificate sent by the requester client; and
determining an end of using of the resource flow by the requester client in a case where the resource flow usage certificate is not received after exceeding a predetermined period of time, and sending the resource flow usage certificate received to the blockchain server.

### Claim 17 (depends on 16)

The method according to claim 16, wherein,
the resource flow usage certificate sent by the requester client comprises a digital signature of the requester client, and the sending the resource flow usage certificate received to the blockchain server further comprises: verifying the resource flow usage certificate based on the digital signature of the requester client, and sending the resource flow usage certificate to the blockchain server in response to verifying of the resource flow usage certificate being true; and/or
the sending the resource flow usage certificate received to the blockchain server further comprises: sending the resource flow usage certificate and the digital signature of the provider client to the blockchain server.

### Claim 18 (depends on 1)

A computer equipment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, cause the processor to perform the method for transacting a resource flow according to claim 1.

### Claim 19 (depends on 1)

A non-transitory computer-readable medium having executable instructions stored thereon, wherein the executable instructions, when executed by a processor, cause the processor to perform the method for transacting a resource flow according to claim 1.

### Claim 20 (depends on 8)

A computer equipment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, cause the processor to perform the method for transacting a resource flow according to claim 8.
