IP Library › Granted Patent US 11,573,976
Granted Patent B2
US 11,573,976 · App. 16/135,676 · Granted Feb 7, 2023

Method and apparatus for managing a service request in a blockchain network

Inventors: Abhishek Sharma (Bengaluru, IN); Mainak Choudhury (Bangalore, IN); Vikalp Mullick (Jabalpur, IN)
Assignee: Samsung Electronics Co., Ltd.
G06F16/27G06F16/1805G06F16/245G06Q10/02G06Q20/382G06Q50/06G06Q50/30G06Q2220/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,573,976
App. No.
16/135,676
Granted
Feb 7, 2023
Kind
B2
Abstract

A method and an apparatus for managing a service request in a blockchain network are provided. The method includes receiving, by a first device, a service request, identifying an intent from the service request, selecting one or more atomic contracts, each of which is related to the intent, wherein the atomic contracts are associated with a second device on the blockchain network and are verified in the blockchain network, generating a new contract including the atomic contracts, and broadcasting the new contract over the blockchain network.

Claims (58)

1. A method of managing a service request in a blockchain network, the method comprising:

receiving, by a first device, a service request;

identifying at least one intent from the service request;

identifying a plurality of services included in the service request;

categorizing the plurality of services based on types of the identified plurality of services, wherein the types are determined based on at least one service request item or at least one attribute;

establishing a plurality of hierarchical levels each of which corresponds to the plurality of services based on the categorizing;

selecting a plurality of atomic contracts by filtering the plurality of atomic contracts with a whitelist and a blacklist, wherein each of the plurality of atomic contracts is a complete contract satisfying the at least one intent and corresponds to each of the plurality of services, and previously generated prior to the service request in connection with each of a plurality of second devices on the blockchain network in response to a request similar to the service request and is verified in the blockchain network, and wherein the whitelist is a list of atomic contracts which can be used with the each of the plurality of atomic contracts and the blacklist is a list of atomic contracts which cannot be used with the each of the plurality of atomic contracts;

determining whether at least one atomic contract, among the plurality of atomic contracts, is unavailable;

selecting an alternative atomic contract replacing the at least one atomic contract determined to be unavailable, based on the hierarchical level corresponding to a service among the plurality of services which is corresponding to the alternative atomic contract positioned at a same level in the hierarchical level as a service corresponding to the at least one atomic contract determined to be unavailable;

generating a new contract including the plurality of atomic contracts and the alternative atomic contract replacing the at least one atomic contract determined to be unavailable;

broadcasting the new contract, the whitelist including a list of atomic contracts which can be used with the new contract and the blacklist including a list of atomic contracts which cannot be used with the new contract, over the blockchain network;

determining whether a smart contract pipeline is available in the blockchain network; and

in response to a determination that the smart contract pipeline is not available, deploying the smart contract pipeline in the blockchain network, wherein the smart contract pipeline is deployed by generating the smart contract pipeline including the plurality of atomic contracts and the alternative atomic contract by putting the plurality of atomic contracts and the alternative atomic contract in sequence, parallel or hybrid combinations.

2. The method of claim 1 , further comprising:

determining the at least one service request item or the at least one attribute, by parsing a statement included in the service request; and

identifying a plurality of keywords based on the at least one service request item or the at least one attribute,

wherein the identifying of the at least one intent comprises identifying the at least one intent based on the plurality of keywords.

3. The method of claim 2 , wherein the selecting of the plurality of atomic contracts, each of which is related to the at least one intent, comprises:

mapping the at least one service request item or the at least one attribute to at least one among the plurality of atomic contracts.

4. The method of claim 1 , wherein the at least one attribute comprises at least one of an identifier indicative of a quality of the service, a cost of the service, time spent for the service, or an availability of the service.

5. The method of claim 1 , wherein the generated new contract is added to the blockchain network upon determining a consensus among participants of the blockchain network.

6. The method of claim 1 , wherein the new contract, the whitelist including the list of atomic contracts which can be used with the new contract, and the blacklist including the list of atomic contracts which cannot be used with the new contract are verified by participants of the blockchain network on the blockchain network and added to the blockchain network upon approval by the participants.

7. The method of claim 6 , further comprising:

determining that the smart contract pipeline is available in the blockchain network,

wherein, when the smart contract pipeline is available, executing the smart contract pipeline.

8. The method of claim 1 , wherein the service request comprises at least one of a voice request or a text-based request.

9. An apparatus for managing a service request in a blockchain network, comprising:

at least one processor configured to:

identify at least one intent from a service request received by the apparatus,

identify a plurality of services included in the service request,

categorize the plurality of services based on types of the identified plurality of services, wherein the types are determined based on at least one service request item or at least one attribute,

establish a plurality of hierarchical levels each of which corresponds to the plurality of services based on the categorizing,

select a plurality of atomic contracts by filtering the plurality of atomic contracts with a whitelist and a blacklist, wherein each of the plurality of atomic contracts is a complete contract satisfying the at least one intent and corresponds to each of the plurality of services, and previously generated prior to the service request in connection with each of a plurality of second devices on the blockchain network and is verified in the blockchain network in response to a request similar to the service request, and wherein the whitelist is a list of atomic contracts which can be used with the each of the plurality of atomic contracts and the blacklist is a list of atomic contracts which cannot be used with the each of the plurality of atomic contracts,

determine whether at least one atomic contract, among the plurality of atomic contracts, is unavailable,

select an alternative atomic contract replacing the at least one atomic contract determined to be unavailable, based on the hierarchical level corresponding to a service among the plurality of services which is corresponding to the alternative atomic contract positioned at a same level in the hierarchical level as a service corresponding to the at least one atomic contract determined to be unavailable,

generate a new contract including the plurality of atomic contracts and the alternative atomic contract replacing the at least one atomic contract determined to be unavailable,

determine whether a smart contract pipeline is available in the blockchain network, and

in response to a determination that the smart contract pipeline is not available, deploy the smart contract pipeline in the blockchain network, wherein the smart contract pipeline is deployed by generating the smart contract pipeline including the plurality of atomic contracts and the alternative atomic contract by putting the plurality of atomic contracts and the alternative atomic contract in sequence, parallel or hybrid combinations; and

a transceiver for broadcasting the new contract, the whitelist including a list of atomic contracts which can be used with the new contract, and the blacklist including a list of atomic contracts which cannot be used with the new contract, over the blockchain network.

10. The apparatus of claim 9 ,

wherein the at least one processor is further configured to:

determine the at least one service request item or the at least one attribute, by parsing a statement included in the service request; and

identify a plurality of keywords based on the at least one service request item or the at least one attribute, and

wherein the identifying of the at least one intent comprises identifying the at least one intent based on the plurality of keywords.

11. A non-transitory computer program product comprising a computer readable storage medium having a computer readable program stored therein, the computer readable program, when executed on a first device configured to execute instructions, cause the first device to:

receive, by the first device, a service request;

identify at least one intent from the service request;

identify a plurality of services included in the service request;

categorize the plurality of services based on types of the identified plurality of services, wherein the types are determined based on at least one service request item or at least one attribute;

establish a plurality of hierarchical levels each of which corresponds to the plurality of services based on the categorizing;

select a plurality of atomic contracts by filtering the plurality of atomic contracts with a whitelist and a blacklist, wherein each of the plurality of atomic contracts is a complete contract satisfying the at least one intent and corresponds to each of the plurality of services, and previously generated prior to the service request in connection with each of a plurality of second devices on a blockchain network in response to a request similar to the service request and is verified in the blockchain network, and wherein the whitelist is a list of atomic contracts which can be used with the each of the plurality of atomic contracts and the blacklist is a list of atomic contracts which cannot be used with the each of the plurality of atomic contracts;

determine whether at least one atomic contract, among the plurality of atomic contracts, is unavailable;

select an alternative atomic contract replacing the at least one atomic contract determined to be unavailable, based on the hierarchical level corresponding to a service among the plurality of services which is corresponding to the alternative atomic contract positioned at a same level in the hierarchical level as a service corresponding to the at least one atomic contract determined to be unavailable;

generate a new contract including the plurality of atomic contracts and the alternative atomic contract replacing the at least one atomic contract determined to be unavailable;

broadcast the new contract the whitelist including a list of atomic contracts which can be used with the new contract and the blacklist including a list of atomic contracts which cannot be used with the new contract, over the blockchain network;

generate a new contract including the plurality of atomic contracts and the alternative atomic contract replacing the at least one atomic contract determined to be unavailable;

determine whether a smart contract pipeline is available in the blockchain network; and

in response to a determination that the smart contract pipeline is not available, deploy the smart contract pipeline in the blockchain network, wherein the smart contract pipeline is deployed by generating the smart contract pipeline including the plurality of atomic contracts and the alternative atomic contract by putting the plurality of atomic contracts and the alternative atomic contract in sequence, parallel or hybrid combinations.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 19, 2018
From: SHARMA, ABHISHEK; CHOUDHURY, MAINAK; MULLICK, VIKALP
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 046914/0111 →
Priority Claims (2)
IN 201741033389 · Sep 20, 2017 · national
IN 201741033389 · Aug 30, 2018 · national
Continuity (1)
Related Publication 20190087446A1 · Mar 21, 2019