# US 2021/0241134 A1 · Identifying message thread state

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

- Number: US 2021/0241134 A1
- Document ID: US20210241134A1
- Status: Published application
- Kind: A1
- Application number: 16/779,050
- Filed: 2020-01-31
- Published: 2021-08-05
- Earliest claimed: 2020-01-31
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Noah William Burbank; Narek Asadorian
- Web page: https://patentgrep.com/patent/US20210241134A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06Q 10/10: Office automation; Time management
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/24568: {Data stream processing; Continuous queries}
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A communications system may utilize the machine learning model in association with the finite state machine to determine whether a new message (e.g., email) corresponds to a state transition for the message thread. As such, the model may be trained on a corpus of message thread data, and may be configured to identify one of a plurality of message thread states of the finite state machine in accordance with the training. As various messages are exchanged between various users, the thread state of the corresponding message thread may be updated using the finite state machine and the machine learning model. The updates to the thread state may trigger various automated actions as well as indications to one or more users of the system.

## Claims

### Claim 1

A method for data processing, comprising:
detecting, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
identifying, from a datastore storing a plurality of message threads, a message thread associated with the first user identifier and the second user identifier, the message thread representing a plurality of messages transmitted between the first user and the second user, the message thread associated with a first thread state from a finite state machine;
processing the new message and the message thread using a machine learning model, the machine learning model configured to identify a message thread state from the finite state machine;
identifying a second thread state from the finite state machine based at least in part on processing of the new message and the message thread by the machine learning model, the first thread state, or a combination thereof; and
storing the second thread state in association with the message thread including the new message.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
identifying that the second thread state is an open state based at least in part on identifying that the new message comprises a request in accordance with the processing of the new message using the machine learning model.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
detecting, using the data stream connection, that a second new message is transmitted by the first user to the second user; and
identifying a third thread state from the finite state machine based at least in part on identifying that the second new message comprises a response to the request in accordance with processing of the second new message and the message thread by the machine learning model.

### Claim 4 (depends on 3)

The method of claim 3, wherein the third thread state is delivered based at least in part on the response to the request.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
activating an indication at a client device associated with the first user based at least in part on identifying the second thread state.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying an action from a predefined set of actions based at least in part on identifying the second thread state.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
transmitting an indication of the identified action to a client device associated with the first user.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
monitoring a time period that the message thread state is associated with the second thread state.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
activating an indication at a client device associated with the first user based at least in part on the time period reaching a threshold associated with the second thread state.

### Claim 10 (depends on 1)

The method of claim 1, wherein identifying a second thread state from the finite state machine comprises:
identifying that the second thread state is one of a start state, an open state, a delivered state, and an acknowledged state.

### Claim 11 (depends on 1)

The method of claim 1, wherein the new message corresponds to an email, a text message, a social media post, a push notification, a chat service message, a transcribed audio chat message, or a combination thereof.

### Claim 12 (depends on 1)

The method of claim 1, wherein the datastore storing the plurality of message threads stores the message thread state of each of the plurality of message threads, a time period corresponding to the message thread state, or a combination thereof.

### Claim 13 (depends on 1)

The method of claim 1, wherein each of the plurality of message threads is generated based on identifying, based on processing of a first message of each of the plurality of message threads, that the first message has an open state.

### Claim 14

An apparatus for data processing, comprising:
a processor,
memory coupled with the processor; and
instructions stored in the memory and executable by the processor to cause the apparatus to:
detect, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
identify, from a datastore storing a plurality of message threads, a message thread associated with the first user identifier and the second user identifier, the message thread representing a plurality of messages transmitted between the first user and the second user, the message thread associated with a first thread state from a finite state machine;
process the new message and the message thread using a machine learning model, the machine learning model configured to identify a message thread state from the finite state machine;
identify a second thread state from the finite state machine based at least in part on processing of the new message and the message thread by the machine learning model, the first thread state, or a combination thereof; and
store the second thread state in association with the message thread including the new message.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the instructions are further executable by the processor to cause the apparatus to:
identify that the second thread state is an open state based at least in part on identifying that the new message comprises a request in accordance with the processing of the new message using the machine learning model.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the instructions are further executable by the processor to cause the apparatus to:
detect, using the data stream connection, that a second new message is transmitted by the first user to the second user; and
identify a third thread state from the finite state machine based at least in part on identifying that the second new message comprises a response to the request in accordance with processing of the second new message and the message thread by the machine learning model.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the third thread state is delivered based at least in part on the response to the request.

### Claim 18

A non-transitory computer-readable medium storing code for data processing, the code comprising instructions executable by a processor to:
detect, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
identify, from a datastore storing a plurality of message threads, a message thread associated with the first user identifier and the second user identifier, the message thread representing a plurality of messages transmitted between the first user and the second user, the message thread associated with a first thread state from a finite state machine;
process the new message and the message thread using a machine learning model, the machine learning model configured to identify a message thread state from the finite state machine;
identify a second thread state from the finite state machine based at least in part on processing of the new message and the message thread by the machine learning model, the first thread state, or a combination thereof; and
store the second thread state in association with the message thread including the new message.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the instructions are further executable to:
identify that the second thread state is an open state based at least in part on identifying that the new message comprises a request in accordance with the processing of the new message using the machine learning model.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions are further executable to:
detect, using the data stream connection, that a second new message is transmitted by the first user to the second user; and
identify a third thread state from the finite state machine based at least in part on identifying that the second new message comprises a response to the request in accordance with processing of the second new message and the message thread by the machine learning model.
