# US 2022/0292346 A1 · System and method for intelligent service intermediation

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

- Number: US 2022/0292346 A1
- Document ID: US20220292346A1
- Status: Published application
- Kind: A1
- Application number: 17/408,450
- Filed: 2021-08-22
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Rockspoon, Inc.
- Applicants: RockSpoon, Inc.
- Inventors: Nagib Georges Mimassi
- Web page: https://patentgrep.com/patent/US20220292346A1

## CPC

- G06F 40/216: using statistical methods
- G06N 3/08: Learning methods
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/247: Thesauruses; Synonyms
- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method for intelligent service intermediation comprising a service intermediation server, which stores advanced global machine and deep learning models for natural language understanding, intent analysis, and constructing a central artificial intelligence that may be used to function as one intelligent service intermediary serving many parties, each acting in one or more roles, simultaneously, and a plurality of service edge devices which store local versions of the global machine and deep learning models and which use local data to train the local model. Service intermediation server has global state information associated with all services and edge devices it connects with and may use the global state information to generate predictions and optimizations in the form of service actions in order to intermediate actions between and among services and service participants. Service actions may be executed via service edge devices by a virtual assistant representing the central artificial intelligence.

## Claims

### Claim 1

A system for intelligent service intermediation, comprising:
one or more service edge devices comprising at least a plurality of programming instructions stored in a memory of, and operating on at least one processor of, a computing device, wherein the plurality of programming instructions, when operating on the at least one processor, causes the computing device to:
receive updated local machine and deep learning global model parameters;
apply the updated local machine and deep learning global model parameters to the local models stored in the service edge device;
receive local data from service edge device sensors;
feed the received local data as input into one or more of the updated local machine and deep learning models to generate output actions responsive to a service edge device user query;
execute output actions and set up processes necessary for fulfillment of the service edge device user query;
generate a voice or text message relayed by a virtual assistant indicating that the service edge device user query has been received, understood, and an action responsive to the user query has been initialized or completed;
train and update local machine and deep learning models using the received local data;
upload trained and updated local model parameters to a service intermediary server; and
execute service actions received from a service intermediary server; and
a plurality of service intermediary servers arranged as a federated network in which each service intermediary server of the plurality of service intermediary servers is linked to, and configured to share information with, each of the other service intermediary servers, and wherein each service intermediary server comprises a plurality of programming instructions stored in a memory of, and operating on at least one processor of, a computing device, wherein the plurality of programming instructions, when operating on the at least one processor, causes the computing device to:
select a subset of service edge devices to which to upload trained and updated local model parameters, wherein at least one of the service edge devices selected is subscribed to a different service intermediary server from the service intermediary server performing the selection;
aggregate the received updated local model parameters from the subset of service edge devices and compute the average value of the local model parameters;
update the local machine and deep learning global models using the computed average values of the local model parameters as new global model parameters;
send the updated local machine and deep learning global models to the one or more service edge devices;
receive and store global data from service edge devices and external sources;
feed the global data into the local machine and deep learning global models to generate as output a service action; and
send the service action to one or more service edge devices for execution
wherein the local machine and deep learning global models comprise a graph-based neural network.

### Claim 2 (depends on 1)

The system of claim 1[,] wherein the local machine and deep learning models comprise a natural language understanding model.

### Claim 3 (depends on 1)

The system of claim 1[,] wherein the local machine and deep learning models determine context-sensitive intent and sentiment when generating output actions.

### Claim at position 4

4-5. (canceled)

### Claim 6 (depends on 1)

The system of claim 1, further comprising a discriminator comprising a plurality of programming instructions stored in a memory of, and operating on at least one processor of, the computing device of each service edge device, wherein the plurality of programming instructions, when operating on the at least one processor, causes the computing device to:
request global and external data from one of the plurality of service intermediary servers; and
determine which service edge device functions and processes may be executed using only local data, determine which functions and processes can begin while global and external data are being retrieved, and determine which functions and processes cannot begin until global and external data are received.

### Claim 7 (depends on 6)

The system of claim 6 further comprising context-sensitive business rules stored in the memory of each service edge device, wherein the context-sensitive business rules may be used by the discriminator when determining when to request and wait for global and external data from the service intermediary server.

### Claim 8 (depends on 1)

The system of claim 1 further comprising a service intermediator comprising a plurality of programming instructions stored in a memory of, and operating on at least one processor of, a computing device, wherein the plurality of programming instructions, when operating on the at least one processor, cause the computing device to:
select a subset of service edge devices to comprise an awareness layer wherein each of the service edge devices in the awareness layer are configured to recognize one another and share data with one another;
coordinate distribution of service actions among service edge devices within the awareness layer;
receive requests for global and external data; and
forward global and external data to the service edge devices in the awareness layer.

### Claim 9

A method for intelligent service intermediation, comprising the steps of:
receiving updated local machine and deep learning global model parameters;
applying the updated local machine and deep learning global model parameters to the local models stored in the service edge device;
receiving local data from service edge device sensors;
feeding the received local data as input into one or more of the updated local machine and deep learning models to generate output actions responsive to a service edge device user query;
executing output actions and set up processes necessary for fulfillment of the service edge device user query;
generating a voice or text message relayed by a virtual assistant indicating that the service edge device user query has been received, understood, and an action responsive to the user query has been initialized or completed;
training and updating local machine and deep learning models using the received local data;
uploading trained and updated local model parameters to a plurality of service intermediary servers arranged as a federated network in which each service intermediary server of the plurality of intermediary servers is linked to, and configured to share information with, each of the other service intermediary servers; and
executing service actions received from a service intermediary server;
selecting, using a service intermediary server of the plurality of service intermediary servers, a subset of service edge devices to which to upload trained and updated local model parameters, wherein at least one of the service edge devices selected is subscribed to a different service intermediary server from the service intermediary server performing the selection;
aggregating the received updated local model parameters from the subset of service edge devices and compute the average value of the local model parameters;
updating the local machine and deep learning global models using the computed average values of the local model parameters as new global model parameters;
sending the updated local machine and deep learning global models to the one or more service edge devices;
receiving and storing global data from service edge devices and external sources;
feeding the global data into the local machine and deep learning global models to generate as output a service action; and
sending the service action to one or more service edge devices for execution,
wherein the local machine and deep learning global models comprise a graph-based neural network.

### Claim 10 (depends on 9)

The method of claim 9, wherein the local machine and deep learning models comprise a natural language understanding model.

### Claim 11 (depends on 9)

The method of claim 9[,] wherein the local machine and deep learning models determine context-sensitive intent and sentiment when generating output actions.

### Claim at position 11

12-13. (canceled)

### Claim 14 (depends on 9)

The method of claim 9[,] further comprising the steps of:
requesting, by one of the service edge devices, global and external data from one of the plurality of service intermediary servers; and
determining which service edge device functions and processes may be executed using only local data, determining which functions and processes can begin while global and external data are being retrieved, and determining which functions and processes cannot begin until global and external data are received.

### Claim 15 (depends on 14)

The method of claim 14[,] further comprising context-sensitive business rules stored in the memory of the service edge device, wherein the context-sensitive business rules may be used by the discriminator when determining when to request and wait for global and external data from the service intermediary server.

### Claim 16 (depends on 9)

The method of claim 9[,] further comprising the steps of:
selecting a subset of service edge devices to comprise an awareness layer wherein each of the service edge devices in the awareness layer are configured to recognize one another and share data with one another;
coordinating distribution of service actions among service edge devices within the awareness layer;
receiving requests for global and external data; and
forwarding global and external data to the service edge devices in the awareness layer.
