# US 2017/0366480 A1 · Internet cloud-hosted natural language interactive messaging system sessionizer

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

- Number: US 2017/0366480 A1
- Document ID: US20170366480A1
- Status: Published application
- Kind: A1
- Application number: 15/462,729
- Filed: 2017-03-17
- Published: 2017-12-21
- Earliest claimed: 2016-06-21
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Akash Sagar
- Web page: https://patentgrep.com/patent/US20170366480A1

## CPC

- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F 40/205: Parsing
- G06F 40/35: Discourse or dialogue representation
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/046: Interoperability with other network applications or services
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided are methods, systems, and computer-program products for providing a bot server to communicate with users using messaging applications. In some implementations, a method, system, and computer-program product for associating a message received by a bot server using a messaging application is provided. For example, a method can include receiving a hypertext transfer protocol (HTTP) post call message from a messaging application server. The method can further include parsing content of the message to identify a keyword. The method can further include identifying an existing session from a plurality of sessions based on a context of the message and the keyword. The method can further include associating information from the HTTP post call message with the existing session. The method can further include generating and sending a response to the HTTP post call message based on the existing session.

## Claims

### Claim 1

A method for associating a message with a session, the method comprising:
receiving, by a bot server associated with a uniform resource identifier (URI), a hypertext transfer protocol (HTTP) post call message, wherein the HTTP post call message is associated with a user and is directed to the URI from a messaging application server;
parsing content of the HTTP post call message to identify a keyword;
identifying an existing session from a plurality of sessions based on a context of the HTTP post call message and the keyword, wherein a session of the plurality of sessions represents an interaction between the user and the bot server;
associating information from the HTTP post call message with the existing session; and
generating a response to the HTTP post call message based on the existing session.

### Claim 2 (depends on 1)

The method of claim 1, wherein the HTTP post call message includes a natural-language interaction.

### Claim 3 (depends on 1)

The method of claim 1, wherein the messaging application server is associated with a FACEBOOK® Messenger application, WHATSAPP® instant messaging software, WECHAT® mobile text and voice messaging communication service, KIK® Messenger instant messaging application, TELEGRAM® Messenger messaging application, or SKYPE MOBILE® video call application, and wherein at least a portion of the content of the HTTP post call message is sent to the messaging application server from a mobile device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the HTTP post call message is received by a connector of the bot server, wherein the connector is an interface between the messaging application server and the bot server, wherein the connector normalizes messages between a plurality of messaging application servers, and wherein normalizing includes formatting the HTTP post call message to a common format.

### Claim 5 (depends on 1)

The method of claim 1, wherein the HTTP post call message is received by a load-balancing component of the bot server, wherein the load-balancing component sends the HTTP post call message to a connector of a plurality of connectors based on a load of the bot server, and wherein the bot server includes the plurality of connectors.

### Claim 6 (depends on 1)

The method of claim 1, wherein the session includes information from a first HTTP post call message from a first bot server and information from a second HTTP post call message from a second bot server.

### Claim 7 (depends on 1)

The method of claim 1, wherein the session includes information from a first HTTP post call message from a first messaging application server and information from a second HTTP post call message from a second messaging application server.

### Claim 8 (depends on 1)

The method of claim 1, wherein identifying the existing session includes determining whether the HTTP post call message is related to the existing session.

### Claim 9 (depends on 1)

The method of claim 1, wherein the HTTP post call message is associated with a conversation between two or more users, and wherein the conversation is facilitated by the messaging application server, wherein the conversation includes a first topic and a second topic, wherein the first topic is associated with a first session, and wherein the second topic is associated with a second session.

### Claim 10 (depends on 9)

The method of claim 9, wherein a user of the two or more users is the bot server.

### Claim 11 (depends on 1)

The method of claim 1, wherein the context includes at least one or more of a time stamp associated with the HTTP post call message, enterprise data, one or more previous messages from a user, a user profile of the user, one or more user preferences of the user, and previous history of one or more interactions between the user and an enterprise associated with the bot server, wherein the previous history includes at least one or more of a past purchase, a past conversation, a past action, a past query, a past application program interface (API) call, a past data request, and a past data search, wherein the conversation is between two or more users, wherein the conversation is facilitated by the messaging application server, wherein the conversation includes at least a portion of the HTTP post call message, and wherein enterprise data includes information obtained by the bot server from a source unrelated to the messaging application server.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
associating information from the response to the HTTP post call message with the existing session.

### Claim 13 (depends on 1)

The method of claim 1, wherein the existing session is the session.

### Claim 14

A system for associating a message with a session, the system comprising:
one or more processors; and
a non-transitory computer-readable medium containing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including:
receive, by a bot server associated with a uniform resource identifier (URI), a hypertext transfer protocol (HTTP) post call message, wherein the HTTP post call message is associated with a user and is directed to the URI from a messaging application server;
parse content of the HTTP post call message to identify a keyword;
identify an existing session from a plurality of sessions based on a context of the HTTP post call message and the keyword, wherein a session of the plurality of sessions represents an interaction between the user and the bot server;
associate information from the HTTP post call message with the existing session; and
generate a response to the HTTP post call message based on the existing session.

### Claim 15 (depends on 14)

The system of claim 14, wherein the messaging application server is associated with a FACEBOOK® Messenger application, WHATSAPP® instant messaging software, WECHAT® mobile text and voice messaging communication service, KIK® Messenger instant messaging application, TELEGRAM® Messenger messaging application, or SKYPE MOBILE® video call application, and wherein at least a portion of the content of the HTTP post call message is sent to the messaging application server from a mobile device.

### Claim 16 (depends on 14)

The system of claim 14, wherein the HTTP post call message is associated with a conversation between two or more users, and wherein the conversation is facilitated by the messaging application server, wherein the conversation includes a first topic and a second topic, wherein the first topic is associated with a first session, and the second topic is associated with a second session, and wherein a user of the two or more users is the bot server.

### Claim 17 (depends on 14)

The system of claim 14, further comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including:
associate information from the response to the HTTP post call message with the existing session.

### Claim 18

A computer-program product tangibly embodied in a non-transitory machine-readable storage medium for associating a message with a session, including instructions that, when executed by the one or more processors, cause the one or more processors to:
receive, by a bot server associated with a uniform resource identifier (URI), a hypertext transfer protocol (HTTP) post call message, wherein the HTTP post call message is associated with a user and is directed to the URI from a messaging application server;
parse content of the HTTP post call message to identify a keyword;
identify an existing session from a plurality of sessions based on a context of the HTTP post call message and the keyword, wherein a session of the plurality of sessions represents an interaction between the user and the bot server;
associate information from the HTTP post call message with the existing session; and
generate a response to the HTTP post call message based on the existing session.

### Claim 19 (depends on 18)

The computer-program product of claim 18, wherein the HTTP post call message is associated with a conversation between two or more users, and wherein the conversation is facilitated by the messaging application server, wherein the conversation includes a first topic and a second topic, wherein the first topic is associated with a first session, wherein the second topic is associated with a second session, and wherein a user of the two or more users is the bot server.

### Claim 20 (depends on 18)

The computer-program product of claim 18, further including instructions that, when executed by the one or more processors, cause the one or more processors to:
associate information from the response to the HTTP post call message with the existing session.
