# US 8,677,377 B2 · Method and apparatus for building an intelligent automated assistant

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

- Number: US 8,677,377 B2
- Document ID: US8677377B2
- Status: Granted
- Kind: B2
- Application number: 11/518,292
- Filed: 2006-09-08
- Published: 2007-05-03
- Granted: 2014-03-18
- Earliest claimed: 2005-09-08
- Assignees: Apple Inc.
- Applicants: Adam Cheyer; Didier Guzzoni
- Inventors: Adam Cheyer; Didier Guzzoni
- Web page: https://patentgrep.com/patent/US8677377B2

## CPC

- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F 9/54: Interprogram communication
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G09B 21/00: Teaching, or communicating with, the blind, deaf or mute (audible presentation of material to be studied G09B5/04; devices or methods for replacing direct visual or auditory perception by another kind of perception A61F9/08, A61F11/04; audible indication of meter readings or of colour G01D7/12; watches for blind persons G04B25/02; speech analysis, speech recognition G10L; sound-recording or reproducing, per se G11B)
- G09B 23/28: for medicine
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09B: EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS (devices for psychotechnics or for testing reaction times A61B5/16; games, sports, amusements A63; projectors, projector screens G03B)

## Abstract

A method and apparatus are provided for building an intelligent automated assistant. Embodiments of the present invention rely on the concept of “active ontologies” (e.g., execution environments constructed in an ontology-like manner) to build and run applications for use by intelligent automated assistants. In one specific embodiment, a method for building an automated assistant includes interfacing a service-oriented architecture that includes a plurality of remote services to an active ontology, where the active ontology includes at least one active processing element that models a domain. At least one of the remote services is then registered for use in the domain.

## Claims

### Claim 1

A method for building an automated assistant, the method comprising:
interfacing a service-oriented architecture comprising a plurality of services to an execution environment comprising an active ontology, wherein the active ontology models a domain and comprises a logical arrangement of a plurality of active processing elements, wherein each active processing element is configured to receive at least one fact relating to the modeled domain and to perform at least one action responsive to at least one received fact; and
registering at least one of the plurality of services for use in the domain, by specifying at least one of:
one or more active processing elements that the at least one of the plurality of services can accept; and
one or more active processing elements that the at least one of the plurality of services cannot accept;
wherein:
at least one of said interfacing and said registering is performed using a processor; and
the active ontology filters requests for services to the at least one of the plurality of services in accordance with the one or more active processing elements specified by the at least one of the plurality of services.

### Claim 2 (depends on 1)

The method of claim 1, wherein each active processing element represents at least one of: an object in the domain and a task to be accomplished in the domain.

### Claim 3 (depends on 1)

The method of claim 1, wherein at least two of the active processing elements communicate through message passing.

### Claim 4 (depends on 1)

The method of claim 1, wherein each active processing element is configured for at least one of: service registration, language recognition, activity recognition, time recognition and task automation.

### Claim 5 (depends on 1)

The method of claim 1, wherein the service-oriented architecture is a Web Services architecture.

### Claim 6 (depends on 1)

The method of claim 1, wherein the service-oriented architecture is interfaced to the active ontology via a service broker.

### Claim 7 (depends on 6)

The method of claim 6, wherein the service broker is configured for at least one of: remote service selection, task delegation, query issuance, update issuance and service request monitoring.

### Claim 8 (depends on 7)

The method of claim 7, wherein the service broker selects remote services for registration based on meta-data relating to the remote services.

### Claim 9 (depends on 1)

The method of claim 1, wherein the at least one of the plurality of services is invoked by the automated assistant to accomplish one or more tasks.

### Claim 10 (depends on 1)

The method of claim 1, wherein at least one received fact relates to at least one event collected from a user's environment.

### Claim 11 (depends on 1)

The method of claim 1, wherein at least a subset of the services are remote services.

### Claim 12 (depends on 1)

The method of claim 1, wherein at least one of the active processing elements is configured to send at least one fact relating to the modeled domain to at least one other active processing element.

### Claim 13 (depends on 1)

The method of claim 1, wherein at least one of the active processing elements is configured to receive at least one fact relating to the modeled domain from at least one other active processing element.

### Claim 14

A computer readable storage medium containing an executable program for building an automated assistant, where the program is configured to cause a processor to perform a method comprising:
interfacing a service-oriented architecture comprising a plurality of services to an execution environment comprising an active ontology, wherein the active ontology models a domain and comprises a logical arrangement of a plurality of active processing elements, wherein each active processing element is configured to receive at least one fact relating to the modeled domain and to perform at least one action responsive to at least one received fact; and
registering at least one of the plurality of services for use in the domain, by specifying at least one of:
one or more active processing elements that the at least one of the plurality of services can accept; and
one or more active processing elements that the at least one of the plurality of services cannot accept;
wherein the active ontology filters requests for services to the at least one of the plurality of services in accordance with the one or more active processing elements specified by the at least one of the plurality of services.

### Claim 15 (depends on 14)

The computer readable storage medium of claim 14, wherein each active processing element represents at least one of: an object in the domain and a task to be accomplished in the domain.

### Claim 16 (depends on 14)

The computer readable storage medium of claim 14, wherein at least two of the active processing elements communicate through message passing.

### Claim 17 (depends on 14)

The computer readable storage medium of claim 14, wherein each active processing element is configured for at least one of: service registration, language recognition, activity recognition, time recognition and task automation.

### Claim 18 (depends on 14)

The computer readable storage medium of claim 14, wherein the service-oriented architecture is a Web Services architecture.

### Claim 19 (depends on 14)

The computer readable storage medium of claim 14, wherein the service-oriented architecture is interfaced to the active ontology via a service broker.

### Claim 20 (depends on 19)

The computer readable storage medium of claim 19, wherein the service broker is configured for at least one of: service selection, task delegation, query issuance, update issuance and service request monitoring.

### Claim 21 (depends on 20)

The computer readable storage medium of claim 20, wherein the service broker selects services for registration based on meta-data relating to the services.

### Claim 22 (depends on 14)

The computer readable storage medium of claim 14, wherein the at least one of the plurality of services is invoked by the automated assistant to accomplish one or more tasks.

### Claim 23 (depends on 14)

The computer readable storage medium of claim 14, wherein at least one received fact relates to at least one event collected from a user's environment.

### Claim 24 (depends on 14)

The computer readable storage medium of claim 14, wherein at least a subset of the services are remote services.

### Claim 25 (depends on 14)

The computer readable storage medium of claim 14, wherein at least one of the active processing elements is configured to send at least one fact relating to the modeled domain to at least one other active processing element.

### Claim 26 (depends on 14)

The computer readable storage medium of claim 14, wherein at least one of the active processing elements is configured to receive at least one fact relating to the modeled domain from at least one other active processing element.

### Claim 27

A system for registering services for use in a domain, said system comprising:
an execution environment comprising an active ontology modeling the domain, the active ontology comprising a logical arrangement of a plurality of active processing elements, wherein each active processing element is configured to receive at least one fact relating to the modeled domain and to perform at least one action responsive to at least one received fact; and
a processor configured as a service broker for interfacing the at least one active ontology to a service-oriented architecture comprising a plurality of services;
wherein a service registers with the at least one active ontology by specifying at least one of:
one or more active processing elements that the service can accept; and
one or more active processing elements that the service cannot accept
and wherein the active ontology filters requests for services to the at least one of the plurality of services in accordance with the one or more active processing elements specified by the at least one of the plurality of services.

### Claim 28 (depends on 27)

The system of claim 27, wherein the service-oriented architecture is a Web Services architecture.

### Claim 29 (depends on 27)

The system of claim 27, wherein the service broker selects services for registration based on meta-data relating to the services.

### Claim 30 (depends on 27)

The system of claim 27, wherein at least one received fact relates to at least one event collected from a user's environment.

### Claim 31 (depends on 27)

The system of claim 27, wherein at least a subset of the services are remote services.

### Claim 32 (depends on 27)

The system of claim 27, wherein at least one of the active processing elements is configured to send at least one fact relating to the modeled domain to at least one other active processing element.

### Claim 33 (depends on 27)

The system of claim 27, wherein at least one of the active processing elements is configured to receive at least one fact relating to the modeled domain from at least one other active processing element.
