# US 2023/0306068 A1 · Ranking messages of a conversation graph and displaying social context objects

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

- Number: US 2023/0306068 A1
- Document ID: US20230306068A1
- Status: Published application
- Kind: A1
- Application number: 17/805,970
- Filed: 2022-06-08
- Published: 2023-09-28
- Earliest claimed: 2022-02-09
- Assignees: Twitter, Inc.
- Applicants: Twitter, Inc.
- Inventors: Rishabh Misra; Rohit Jain; Tommy Chong; Vivek Nagubadi
- Web page: https://patentgrep.com/patent/US20230306068A1

## CPC

- G06F 16/9038: Presentation of query results
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 16/9536: Search customisation based on social or collaborative filtering
- G06F 16/9538: Presentation of query results
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- H04L 51/52: for supporting social networking services
- 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

According to an aspect, a method includes receiving, over a network, a conversation view request to retrieve messages from a conversation graph stored on a messaging platform from a first user account, generating a ranked list of messages for at least a portion of the messages from the conversation graph, identifying, from the ranked list of messages, a message authored by a second user account having an indirect relationship to the first user account in an engagement graph, selecting a social context object for the message based on a type of the indirect relationship, and transmitting, over the network, information to display the message and the social context object, the social context object providing information about the type of the indirect relationship.

## Claims

### Claim 1

A method comprising:
receiving, over a network from a first user account, a conversation view request to retrieve messages from a conversation graph stored on a messaging platform;
generating a ranked list of messages for at least a portion of the messages from the conversation graph;
identifying, from the ranked list of messages, a message authored by a second user account, the second user account having an indirect relationship to the first user account in an engagement graph, wherein the engagement graph defines relationships between user accounts of the messaging platform;
selecting a social context object for the message based on a type of the indirect relationship; and
transmitting, over the network, information to display the message and the social context object, the social context object providing information about the type of the indirect relationship.

### Claim 2 (depends on 1)

The method of claim 1, wherein the engagement graph includes a first engagement edge connected to the first user account and an intermediate user account and a second engagement edge connected to the intermediate user account and the second user account, the method further comprising:
determining the type of the indirect relationship based on information about the first engagement edge and information about the second engagement edge.

### Claim 3 (depends on 2)

The method of claim 2, wherein the information about the first engagement edge indicates that the first user account is connected to the intermediate user account in a connection graph of the messaging platform, and the information about the second engagement edge indicates that the intermediate user account has engaged with one or more messages authored by the second user account.

### Claim 4 (depends on 1)

The method of claim 1, wherein the indirect relationship includes a second-order engagement relationship between the first user account and the second user account.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
computing a relationship score for a strength of the indirect relationship; and
determining, in response to the relationship score being greater than a threshold, whether to display the social context object.

### Claim 6 (depends on 5)

The method of claim 5, wherein computing the relationship score includes:
determining a first count of first engagement edges between the first user account and a plurality of intermediate user accounts;
determining a second count of second engagement edges between the plurality of intermediate user accounts and the second user account;
determining a third count of the plurality of intermediate user accounts that are connected to both the first user account and the second user account; and
computing the relationship score based on the first count, the second count, and the third count.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
selecting a value for the threshold based on the type of indirect relationship.

### Claim 8 (depends on 1)

The method of claim 1, wherein the indirect relationship is a first indirect relationship, the method further comprising:
identifying a second indirect relationship between the second user account and the first user account; and
determining that the first indirect relationship has a priority level higher than a priority level of the second indirect relationship based on priority order information,
wherein the social context object is selected based on the type of the first indirect relationship.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating the ranked list of messages includes:
computing an engagement value for each of a plurality of messages of the conversation graph; and
increasing the engagement value in response to a respective message having a user account with an indirect relationship to the first user account in the engagement graph.

### Claim 10

A messaging system comprising:
at least one processor; and
a non-transitory computer-readable medium storing executable instructions that when executed by the at least one processor cause the at least one processor to:
receive, over a network from a first user account, a conversation view request to retrieve messages from a conversation graph stored on a messaging platform;
generate a ranked list of messages for at least a portion of the messages from the conversation graph;
identify, from the ranked list of messages, a message authored by a second user account, the second user account having an indirect relationship to the first user account in an engagement graph, wherein the engagement graph defines relationships between user accounts of the messaging platform;
select a social context object for the message based on a type of the indirect relationship;
transmit, over the network, information to display at least a portion of the ranked list of messages on a client application; and
transmit, over the network, information to display the social context object along with the message on the client application, the social context object providing information about the type of the indirect relationship.

### Claim 11 (depends on 10)

The messaging system of claim 10, wherein the engagement graph includes a first engagement edge connected to the first user account and an intermediate user account and a second engagement edge connected to the intermediate user account and the second user account, wherein the executable instructions include instructions that when executed by the at least one processor cause the at least one processor to:
determine the type of the indirect relationship based on information about the first engagement edge and information about the second engagement edge.

### Claim 12 (depends on 10)

The messaging system of claim 10, wherein the indirect relationship includes a second-order engagement relationship between the first user account and the second user account.

### Claim 13 (depends on 10)

The messaging system of claim 10, wherein the executable instructions include instructions that when executed by the at least one processor cause the at least one processor to:
compute a relationship score for a strength of the indirect relationship; and
determine, in response to the relationship score being greater than a threshold, whether to display the social context object.

### Claim 14 (depends on 13)

The messaging system of claim 13, wherein the executable instructions include instructions that when executed by the at least one processor cause the at least one processor to:
determine a first count of first engagement edges between the first user account and a plurality of intermediate user accounts;
determine a second count of second engagement edges between the plurality of intermediate user accounts and the second user account;
determine a third count of the plurality of intermediate user accounts that are connected to both the first user account and the second user account; and
compute the relationship score based on the first count, the second count, and the third count.

### Claim 15 (depends on 14)

The messaging system of claim 14, wherein the executable instructions include instructions that when executed by the at least one processor cause the at least one processor to:
select a value for the threshold based on the type of the indirect relationship.

### Claim 16 (depends on 10)

The messaging system of claim 10, wherein the indirect relationship is a first indirect relationship, wherein the executable instructions include instructions that when executed by the at least one processor cause the at least one processor to:
identify a second indirect relationship between the second user account and the first user account; and
determine that the first indirect relationship has a priority level higher than a priority level of the second indirect relationship based on priority order information,
wherein the social context object is selected based on the type of the first indirect relationship.

### Claim 17

A non-transitory computer-readable medium storing executable instructions that when executed by at least one processor cause the at least one processor to execute operations, the operations comprising:
receiving, over a network from a first user account, a conversation view request to retrieve messages from a conversation graph stored on a messaging platform;
generating a ranked list of messages for at least a portion of the messages from the conversation graph;
identifying, from the ranked list of messages, a message authored by a second user account, the second user account having an indirect relationship to the first user account in an engagement graph, wherein the engagement graph defines relationships between user accounts of the messaging platform;
selecting a social context object for the message based on a type of the indirect relationship;
transmitting, over the network, information to display at least a portion of the ranked list of messages on a client application; and
transmitting, over the network, information to display the social context object along with the message on the client application, the social context object providing information about the type of the indirect relationship.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise:
computing an engagement value for each of a plurality of messages of the conversation graph; and
increasing the engagement value in response to a respective message having a user account with an indirect relationship to the first user account in the engagement graph.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise:
computing a relationship score for a strength of the indirect relationship; and
determining, in response to the relationship score being greater than a threshold, whether to display the social context object.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the operations further comprise:
determining a first count of first engagement edges between the first user account and a plurality of intermediate user accounts;
determining a second count of second engagement edges between the plurality of intermediate user accounts and the second user account;
determining a third count of the plurality of intermediate user accounts that are connected to both the first user account and the second user account; and
computing the relationship score based on the first count, the second count, and the third count.
