# US 2021/0081404 A1 · Method and apparatus for managing cloud services using smart contracts and blockchains

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

- Number: US 2021/0081404 A1
- Document ID: US20210081404A1
- Status: Published application
- Kind: A1
- Application number: 16/959,661
- Filed: 2018-04-17
- Published: 2021-03-18
- Earliest claimed: 2018-02-06
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: James KEMPF; Nanjangud Chandrasekhara Swamy NARENDRA; Sambit NAYAK; Anshu SHUKLA
- Web page: https://patentgrep.com/patent/US20210081404A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 2209/56: Financial cryptography, e.g. electronic payment or e-cash
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and systems are disclosed for managing cloud services using smart contracts to facilitate various functions, such as tenant login, tenant enrollment, service registration, tenant usage charging, tenant usage tracking, tenant quota management, and tenant rights revocation. The proposed techniques allow tenant and service accounts to be represented as smart contracts, and for services to delegate authorization for bundles of service attributes to tenants and other services, for which the tenants and services are then charged. The business logic is implemented on a permissioned, distributed ledger (e.g., a private blockchain) and therefore is easily customized for specific classes of tenants and services.

## Claims

### Claim 1

A method in a tenant and service management system of a data center of managing access to one or more services by a plurality of users, the method comprising:
receiving an identification that uniquely identifies a service and a description of a set of one or more resources offered by the service;
recording into a blockchain database a smart delegation contract between the service and the tenant and service management system, wherein the smart delegation contract includes the identification of the service, an identification of the tenant and service management system, and the description of the set of resources, and the smart delegation contract is cryptographically signed with a cryptographic private key of the service that is part of a cryptographic public-private key pair for the service and with a cryptographic private key of the tenant and service management system that is part of a cryptographic public-private key pair for the tenant and service management system;
receiving from a requestor a request to access the service; and
authorizing the requestor to access the service based at least in part on the smart delegation contract between the service and the tenant and service management system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the method further comprises:
subscribing to a topic for obtaining updates for the set of resources, and
receiving, based on the topic, an update for at least one attribute of a resource from the set of resources following publication of the update by the service.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
following a requestor's access to the service, recording in a blockchain database usage information indicating the one or more resources of the service used by the requestor.

### Claim 4 (depends on 3)

The method of claim 3 further comprising:
transmitting the usage information and charging credentials of the requestor for charging the requestor for the usage of the service.

### Claim 5 (depends on 4)

The method of claim 4 further comprising:
receiving a message indicating whether the charging was successful;
responsive to determining that the charging was not successful, recording suspension of the smart delegation contract in the blockchain database; and
transmitting the suspended smart delegation contract to the service causing the service to suspend access to the requestor until charging is successful.

### Claim 6 (depends on 4)

The method of claim 4 further comprising:
receiving from the service and as a result of an unsuccessful charging operation a request to suspend the smart delegation contract; and
recording suspension of the smart delegation contract in the blockchain database until charging is successful.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
receiving from the requestor a request for an update of the service;
determining whether the update of the service can be granted to the requestor; and
responsive to determining that the update can be granted, recording in the blockchain database the smart delegation contract updated with new service resource attributes based on the requested update.

### Claim 8

(canceled)

### Claim 9

(canceled)

### Claim 10

(canceled)

### Claim 11

(canceled)

### Claim 12

(canceled)

### Claim 13

A server including a tenant and service management system in a data center for managing access to one or more services by a plurality of users, the server comprising:
a non-transitory computer readable storage medium to store instructions; and
a processor coupled with the non-transitory computer readable storage medium to process the stored instructions to:
receive an identification that uniquely identifies a service and a description of a set of one or more resources offered by the service;
record into a blockchain database a smart delegation contract between the service and the tenant and service management system, wherein the smart delegation contract includes the identification of the service, an identification of the tenant and service management system, and the description of the set of resources, and the smart delegation contract is cryptographically signed with a cryptographic private key of the service that is part of a cryptographic public-private key pair for the service and with a cryptographic private key of the tenant and service management system that is part of a cryptographic public-private key pair for the tenant and service management system;
receive from a requestor a request to access the service; and
authorize the requestor to access the service based at least in part on the smart delegation contract between the service and the tenant and service management system.

### Claim 14 (depends on 13)

The server of claim 13, wherein the processor is further to:
subscribe to a topic for obtaining updates for the set of resources, and
receive, based on the topic, an update for at least one attribute of a resource from the set of resources following publication of the update by the service.

### Claim 15 (depends on 13)

The server of claim 13, wherein the processor is further to:
following a requestor's access to the service, record in a blockchain database usage information indicating the one or more resources of the service used by the requestor.

### Claim 16 (depends on 15)

The server of claim 15, wherein the processor is further to:
transmit the usage information and charging credentials of the requestor for charging the requestor for the usage of the service.

### Claim 17 (depends on 16)

The server of claim 16, wherein the processor is further to:
receive a message indicating whether the charging was successful;
responsive to determining that the charging was not successful, record suspension of the smart delegation contract in the blockchain database; and
transmit the suspended smart delegation contract to the service causing the service to suspend access to the requestor until charging is successful.

### Claim 18 (depends on 16)

The server of claim 16, wherein the processor is further to:
receive from the service and as a result of an unsuccessful charging operation a request to suspend the smart delegation contract; and
record suspension of the smart delegation contract in the blockchain database until charging is successful.

### Claim 19 (depends on 13)

The server of claim 13, wherein the processor is further to:
receive from the requestor a request for an update of the service;
determine whether the update of the service can be granted to the requestor; and
responsive to determining that the update can be granted, record in the blockchain database the smart delegation contract updated with new service resource attributes based on the requested update.

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

A non-transitory machine-readable storage medium comprising computer program code which when executed by a processor of a server including a tenant and service management system in a data center for managing access to one or more services by a plurality of users causes the server to perform operations comprising:
receiving an identification that uniquely identifies a service and a description of a set of one or more resources offered by the service;
recording into a blockchain database a smart delegation contract between the service and the tenant and service management system, wherein the smart delegation contract includes the identification of the service, an identification of the tenant and service management system, and the description of the set of resources, and the smart delegation contract is cryptographically signed with a cryptographic private key of the service that is part of a cryptographic public-private key pair for the service and with a cryptographic private key of the tenant and service management system that is part of a cryptographic public-private key pair for the tenant and service management system;
receiving from a requestor a request to access the service; and
authorizing the requestor to access the service based at least in part on the smart delegation contract between the service and the tenant and service management system.

### Claim 25 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the operations further comprise:
subscribing to a topic for obtaining updates for the set of resources, and
receiving, based on the topic, an update for at least one attribute of a resource from the set of resources following publication of the update by the service.

### Claim 26 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the operations further comprise:
following a requestor's access to the service, recording in a tie blockchain database usage information indicating the one or more resources of the service used by the requestor.

### Claim 27 (depends on 26)

The non-transitory machine-readable storage medium of claim 26, wherein the operations further comprise:
transmitting the usage information and charging credentials of the requestor for charging the requestor for the usage of the service.

### Claim 28 (depends on 27)

The non-transitory machine-readable storage medium of claim 27, wherein the operations further comprise:
receiving a message indicating whether the charging was successful;
responsive to determining that the charging was not successful, recording suspension of the smart delegation contract in the blockchain database; and
transmitting the suspended smart delegation contract to the service causing the service to suspend access to the requestor until charging is successful.

### Claim 29 (depends on 27)

The non-transitory machine-readable storage medium of claim 27, wherein the operations further comprise:
receiving from the service and as a result of an unsuccessful charging operation a request to suspend the smart delegation contract; and
recording suspension of the smart delegation contract in the blockchain database until charging is successful.

### Claim 30 (depends on 24)

The non-transitory machine-readable storage medium of claim 24, wherein the operations further comprise:
receiving from the requestor a request for an update of the service;
determining whether the update of the service can be granted to the requestor; and
responsive to determining that the update can be granted, recording in the blockchain database the smart delegation contract updated with new service resource attributes based on the requested update.
