# US 2020/0272485 A1 · Intelligent automated assistant in a messaging environment

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

- Number: US 2020/0272485 A1
- Document ID: US20200272485A1
- Status: Published application
- Kind: A1
- Application number: 15/931,384
- Filed: 2020-05-13
- Published: 2020-08-27
- Earliest claimed: 2015-11-06
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Petr KARASHCHUK; Tomas A. VEGA GALVEZ; Thomas R. GRUBER
- Web page: https://patentgrep.com/patent/US20200272485A1

## CPC

- G06F 9/453: {Help systems}
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 3/04886: by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
- G06F 40/166: Editing, e.g. inserting or deleting
- G06Q 10/107: Computer-aided management of electronic mailing [e-mailing]
- G06Q 10/109: Time management, e.g. calendars, reminders, meetings or time accounting
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- 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/52: specially adapted for the location of the user terminal
- H04W 4/12: Messaging; Mailboxes; Announcements
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 2203/04105: Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
- G06Q 10/40: Business processes related to social networking or social networking services
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G10L 2015/223: {Execution procedure of a spoken command}
- H04L 51/10: Multimedia information
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Systems and processes for operating an intelligent automated assistant in a messaging environment are provided. In one example process, a graphical user interface (GUI) having a plurality of previous messages between a user of the electronic device and the digital assistant can be displayed on a display. The plurality of previous messages can be presented in a conversational view. User input can be received and in response to receiving the user input, the user input can be displayed as a first message in the GUI. A contextual state of the electronic device corresponding to the displayed user input can be stored. The process can cause an action to be performed in accordance with a user intent derived from the user input. A response based on the action can be displayed as a second message in the GUI.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of an electronic device with a display, cause the electronic device to:
display, on the display, a graphical user interface (GUI) having a plurality of previous messages between a user and the digital assistant, the plurality of previous messages presented in a conversational view;
receive a first user input including a media object;
in response to receiving the first user input, display the media object as a first message in the GUI;
receive a second user input including text;
in response to receiving the second user input, display the text as a second message in the GUI;
cause a user intent corresponding to the first user input and the second user input to be determined;
obtain a determination of whether the user intent requires extracting text from the media object; and
in response to obtaining a determination that the user intent requires extracting text from the media object:
extract text from the media object;
perform, using the extracted text, a task in accordance with the user intent; and
display, as a third message in the GUI, a response indicative of the user intent being satisfied.

### Claim 2 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
in accordance with the user intent, populate the extracted text into a text field of an application of the electronic device.

### Claim 3 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the user intent comprises creating, using the media object, a contact entry in a contacts application of the electronic device.

### Claim 4 (depends on 3)

The non-transitory computer-readable storage medium of claim 3, wherein:
the media object is an image depicting contact information of an entity;
the extracted text includes the contact information; and
performing the task in accordance with the user intent further comprises populating a text field of the contact entry with the extracted text, the contact entry associated with the entity.

### Claim 5 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the user intent comprises creating, using the media object, a calendar entry in a calendar application of the electronic device.

### Claim 6 (depends on 5)

The non-transitory computer-readable storage medium of claim 5, wherein:
the media object is an image depicting event information;
the extracted text includes the event information; and
performing the task in accordance with the user intent further comprises populating a text field of the calendar entry with the extracted text.

### Claim 7 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the user intent comprises creating, using the media object, a reminder entry in a reminder application of the electronic device.

### Claim 8 (depends on 7)

The non-transitory computer-readable storage medium of claim 7, wherein:
the media object is an image depicting a reminder task;
the extracted text includes the reminder task; and
performing the task in accordance with the user intent further comprises populating a text field of the reminder entry with the extracted text.

### Claim 9 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the user intent comprises translating text of a first language in the media object to text of a second language.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein:
the media object is an image depicting the text of the first language;
the extracted text includes the text of the first language;
performing the task in accordance with the user intent further comprises obtaining the text of the second language corresponding to the text of the first language; and
the displayed response includes the text of the second language.

### Claim 11 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
in response to obtaining a determination that the user intent does not require extracting text from the media object, obtain a determination of whether the user intent requires performing image recognition on the media object; and
in response to obtaining a determination that the user intent requires performing image recognition on the media object:
cause image recognition on the media object to be performed;
obtain, based on the image recognition, information associated with the media object; and
display, as a fourth message in the GUI, a response indicative of the user intent being satisfied, the response based on the information associated with the media object.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the media object depicts a retail object, and wherein the information associated with the media object includes price information of the retail object.

### Claim 13 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the media object depicts a location, and wherein the information associated with the media object includes the identity of the location.

### Claim 14 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the media object depicts an entity, and wherein the information associated with the media object includes the identity of the entity.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
in response to obtaining a determination that the user intent does not require performing image recognition on the media object, obtain a determination of whether the user intent requires performing audio processing on the media object; and
in response to obtaining a determination that the user intent requires performing audio processing on the media object:
cause audio processing on the media object to be performed;
obtain, based on the audio processing, information associated with the media object; and
display, as a fifth message in the GUI, a response indicative of the user intent being satisfied, the response based on the information associated with the media object.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein causing audio processing on the media object to be performed further comprises:
causing speech-to-text recognition to be performed on the media object to obtain text corresponding to speech in the media object.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the information is obtained using the text corresponding to the speech in the media object.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the text corresponding to the speech in the media object is stored in association with an application of the electronic device in accordance with the user intent.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein causing audio processing on the media object to be performed further comprises:
causing audio recognition to be performed using the media object to obtain text identifying the media object.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the information is obtained using the text identifying the media object.

### Claim 21 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
in response to detecting a user selection of the fifth message in the GUI, cause retail information related to the media object to be displayed.

### Claim 22 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the second user input defines an attribute related to the media object, the attribute not explicitly indicated in the media object, and wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
in response to obtaining a determination that the user intent does not require performing audio processing on the media object, store data that associates the attribute to the media object.

### Claim 23 (depends on 22)

The non-transitory computer-readable storage medium of claim 22, wherein the attribute describes a relationship between the user and the media object.

### Claim 24 (depends on 22)

The non-transitory computer-readable storage medium of claim 22, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
store, based on the attribute, the media object in association with an application of the electronic device.

### Claim 25 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein the one or more programs comprise further instructions, which when executed by the one or more processors of the electronic device, cause the electronic device to:
after displaying the media object as the first message and before receiving the second user input, display, as a sixth message in the GUI, a request for additional information regarding the media object.

### Claim 26 (depends on 1)

The non-transitory computer-readable storage medium of claim 1, wherein causing the user intent to be determined comprises causing a domain among a plurality of domains of an ontology to be determined based on the first user input and the second user input.

### Claim 27

A method for operating a digital assistant, the method comprising:
at an electronic device with a display, one or more processors, and a memory:
displaying, on the display, a graphical user interface (GUI) having a plurality of previous messages between a user and the digital assistant, the plurality of previous messages presented in a conversational view;
receiving a first user input including a media object;
in response to receiving the first user input, displaying the media object as a first message in the GUI;
receiving a second user input including text;
in response to receiving the second user input, displaying the text as a second message in the GUI;
causing a user intent corresponding to the first user input and the second user input to be determined;
obtaining a determination of whether the user intent requires extracting text from the media object; and
in response to obtaining a determination that the user intent requires extracting text from the media object:
extracting text from the media object;
performing, using the extracted text, a task in accordance with the user intent; and
displaying, as a third message in the GUI, a response indicative of the user intent being satisfied.

### Claim 28

An electronic device, comprising:
a display;
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, wherein the one or more programs include instructions for:
displaying, on the display, a graphical user interface (GUI) having a plurality of previous messages between a user and the digital assistant, the plurality of previous messages presented in a conversational view;
receiving a first user input including a media object;
in response to receiving the first user input, displaying the media object as a first message in the GUI;
receiving a second user input including text;
in response to receiving the second user input, displaying the text as a second message in the GUI;
causing a user intent corresponding to the first user input and the second user input to be determined;
obtaining a determination of whether the user intent requires extracting text from the media object; and
in response to obtaining a determination that the user intent requires extracting text from the media object:
extracting text from the media object;
performing, using the extracted text, a task in accordance with the user intent; and
displaying, as a third message in the GUI, a response indicative of the user intent being satisfied.
