Device control using gaze information

Using gaze information to activate digital assistants on electronic devices addresses the inefficiencies of traditional control methods, enabling faster and more efficient device control while conserving energy and improving user interaction.

JP2024164043AActive Publication Date: 2024-11-26APPLE INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024127947
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-09-28
Filing Date
2024-08-02
Publication Date
2024-11-26
Estimated Expiration
2039-08-30

AI Technical Summary

Technical Problem

Existing methods for controlling electronic devices, such as key presses and voice input, are cumbersome, time-consuming, and often require the user to be within arm's reach, wasting time and energy, especially in battery-operated devices and noisy environments.

Method used

The use of gaze information to activate digital assistants on electronic devices, allowing control through camera sensors without prior activation, reducing the need for tactile or verbal input and enabling control from a distance.

Benefits of technology

This method provides faster, more efficient control of electronic devices, conserves battery power, and enhances user interaction in various environments, including those with noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024164043000001_ABST
    Figure 2024164043000001_ABST
Patent Text Reader

Abstract

To provide an electronic device, a method to be executed by the electronic device, and a program which use gaze information to transition a state of an external device.SOLUTION: The method to be executed by the electronic device includes a camera sensor for measuring gaze information, a step of determining whether the gaze information satisfies a set of gaze criteria or not, and a step of providing a visual indicator. When the sensor acquires first gaze information and it is determined that the first gaze information satisfies a set of one or more gaze criteria, a visual indicator indicating that the set of one or more gaze criteria is satisfied is provided.SELECTED DRAWING: Figure 9A
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Patent Application No. 62 / 739,087, entitled "DEVICE CONTROL USING GAZE INFORMATION," filed on September 28, 2018, the entire contents of which are incorporated herein by reference. [Technical field]

[0002] The present disclosure relates generally to computer user interfaces, and more particularly to techniques for controlling electronic devices using gaze information. [Background technology]

[0003] Users often provide inputs, such as key presses and voice input, to control electronic devices. For example, a user may activate a button on a device or speak a trigger phrase to start an application on the device. Such inputs often require the user to be within reach or within range of a microphone.

[0004] Intelligent automated assistants (or digital assistants) can provide a useful interface between human users and electronic devices. Such assistants can enable users to interact with devices or systems using natural language in spoken and / or textual form. For example, a user can provide speech input including a user request to a digital assistant running on an electronic device. The digital assistant can interpret the user's intent from the speech input, actuate the user's intent into a task, and perform the task. In some systems, performing a task in this manner can be constrained in the way the task is recognized. However, in some cases, a user is limited to a specific set of commands, and the user may not be able to easily instruct a digital assistant to perform a task using natural language speech input. Moreover, in many cases, digital assistants are not able to adapt based on previous user behavior, similarly lacking desirable optimization of the user experience. Summary of the Invention

[0005] However, some techniques for controlling electronic devices are generally cumbersome and inefficient. For example, some existing techniques use complex and time-consuming user interfaces that may involve multiple key presses or keystrokes. In another example, some existing techniques require the user to be within arm's length to activate a button on the device. Existing techniques take longer than necessary, wasting the user's time and the device's energy. The latter problem is particularly acute in battery-operated devices.

[0006] Thus, the present techniques provide electronic devices with faster and more efficient methods and interfaces for controlling the electronic device. Such methods and interfaces, optionally, complement or replace other methods for controlling the electronic device. Such methods and interfaces reduce the cognitive burden on the user and create a more efficient human-machine interface. In the case of battery-operated computing devices, such methods and interfaces conserve power and increase the time between battery charges. Such techniques also enable users to more efficiently interact with the electronic device in environments where the user is not within reach of the electronic device and / or where the user is in a noisy environment (e.g., including noise based on audio being generated by the electronic device).

[0007] According to some embodiments, a method is provided, the method being executed on an electronic device, the method including: acquiring first gaze information using one or more camera sensors while a digital assistant of the electronic device is not activated; activating a digital assistant of the electronic device in accordance with a determination that the first gaze information satisfies a set of one or more activation criteria; and providing an indication that the set of one or more activation criteria has been met.

[0008] According to some embodiments, a non-transitory computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for acquiring first gaze information using one or more camera sensors while a digital assistant of the electronic device is not activated, activating the digital assistant of the electronic device according to a determination that the first gaze information satisfies a set of one or more activation criteria, and providing an indication that the set of one or more activation criteria is satisfied.

[0009] According to some embodiments, a temporary computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for acquiring first gaze information using one or more camera sensors while a digital assistant of the electronic device is not activated, activating the digital assistant of the electronic device according to a determination that the first gaze information satisfies a set of one or more activation criteria, and providing an indication that the set of one or more activation criteria is satisfied.

[0010] According to some embodiments, an electronic device is provided, the electronic device comprising one or more processors and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for acquiring first gaze information using one or more camera sensors while a digital assistant of the electronic device is not activated, instructions for activating the digital assistant of the electronic device according to a determination that the first gaze information satisfies a set of one or more activation criteria, and instructions for providing an indication that the set of one or more activation criteria is satisfied.

[0011] According to some embodiments, an electronic device is provided, comprising: means for acquiring first gaze information using one or more camera sensors while a digital assistant of the electronic device is not activated; and means for activating the digital assistant of the electronic device according to a determination that the first gaze information satisfies a set of one or more activation criteria and providing an indication that the set of one or more activation criteria has been met.

[0012] According to some embodiments, a method is provided, the method being executed in an electronic device, the method including receiving a voiced user input request to execute a first command while a first external device is in a first state, acquiring first gaze information using one or more camera sensors, and, pursuant to determining using the first gaze information that a set of one or more gaze criteria are satisfied for the first external device, transmitting an instruction to transition the first external device from the first state to a second state based on the first command.

[0013] According to some embodiments, a non-transitory computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for receiving a voice user input request to execute a first command while a first external device is in a first state, instructions for acquiring first gaze information using one or more camera sensors, and instructions for transmitting an instruction to transition the first external device from the first state to a second state based on the first command pursuant to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device.

[0014] According to some embodiments, a temporary computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for receiving a voice user input request to execute a first command while a first external device is in a first state, instructions for acquiring first gaze information using one or more camera sensors, and instructions for transmitting an instruction to transition the first external device from the first state to a second state based on the first command pursuant to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device.

[0015] According to some embodiments, an electronic device is provided, comprising one or more processors and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for receiving a voice user input request to execute a first command while a first external device is in a first state, instructions for acquiring first gaze information using one or more camera sensors, and instructions for transmitting instructions to transition the first external device from the first state to a second state based on the first command pursuant to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device.

[0016] According to some embodiments, an electronic device is provided that includes means for receiving a voice user input request to execute a first command while a first external device is in a first state, acquiring first gaze information using one or more camera sensors, and means for transmitting an instruction to transition the first external device from the first state to a second state based on the first command pursuant to a determination using the first gaze information that a set of one or more gaze criteria are met for the first external device.

[0017] According to some embodiments, a method is provided, the method being performed on an electronic device, the method including: receiving a voice request for user input; updating a value of a characteristic of an indicator to a first value corresponding to the first user in accordance with a determination that the voice request for user input corresponds to a first user; updating a value of the characteristic of the indicator to a second value corresponding to the second user, different from the first value in accordance with a determination that the voice request for user input corresponds to a second user different from the first user; and responding to the voice request for user input with an indicator including the updated value of the characteristic.

[0018] According to some embodiments, a non-transitory computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for receiving a voice-based user input request, updating a value of a characteristic of an indicator to a first value corresponding to the first user in accordance with a determination that the voice-based user input request corresponds to a first user, updating a value of the characteristic of the indicator to a second value corresponding to the second user, different from the first value, in accordance with a determination that the voice-based user input request corresponds to a second user different from the first user, and responding to the voice-based user input request with an indicator including the updated value of the characteristic.

[0019] According to some embodiments, a temporary computer-readable storage medium is provided. The medium stores one or more programs configured to be executed by one or more processors of an electronic device. The one or more programs include instructions for receiving a voice-based user input request, updating a value of a characteristic of an indicator to a first value corresponding to the first user in accordance with a determination that the voice-based user input request corresponds to a first user, updating a value of the characteristic of the indicator to a second value corresponding to the second user, different from the first value, in accordance with a determination that the voice-based user input request corresponds to a second user different from the first user, and responding to the voice-based user input request with an indicator including the updated value of the characteristic.

[0020] According to some embodiments, an electronic device is provided, the electronic device comprising one or more processors and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for receiving a vocal user input request, updating a value of a characteristic of an indicator to a first value corresponding to the first user in accordance with a determination that the vocal user input request corresponds to a first user, updating a value of the characteristic of the indicator to a second value corresponding to the second user, different from the first value in accordance with a determination that the vocal user input request corresponds to a second user different from the first user, and responding to the vocal user input request with an indicator including the updated value of the characteristic.

[0021] According to some embodiments, an electronic device is provided that includes means for receiving a vocal user input request, means for updating a value of a characteristic of an indicator to a first value corresponding to the first user in accordance with a determination that the vocal user input request corresponds to a first user, means for updating a value of a characteristic of the indicator to a second value different from the first value in accordance with a determination that the vocal user input request corresponds to a second user different from the first user, and means for responding to the vocal user input request with an indicator, the indicator including the updated value of the characteristic.

[0022] Executable instructions to perform these functions are optionally contained in a non-transitory computer-readable storage medium or other computer program product configured for execution by one or more processors. Executable instructions to perform these functions are optionally contained in a transitory computer-readable storage medium or other computer program product configured for execution by one or more processors.

[0023] Thus, the device is provided with faster and more efficient methods and interfaces for controlling electronic devices, thereby increasing the effectiveness, efficiency, and user satisfaction of such devices. Such methods and interfaces may complement or replace other methods for controlling electronic devices. [Brief description of the drawings]

[0024] For a better understanding of the various described embodiments, reference should be made to the following Detailed Description in conjunction with the following drawings, in which like reference numerals refer to corresponding parts throughout:

[0025] [Figure 1A] 1 is a block diagram illustrating a portable multifunction device having a touch-sensitive display in accordance with some embodiments.

[0026] [Figure 1B] FIG. 2 is a block diagram illustrating example components for event processing according to some embodiments.

[0027] [Figure 1C] FIG. 1 is a block diagram illustrating a system and environment for implementing a digital assistant according to some embodiments.

[0028] [Diagram 2] FIG. 1 illustrates a portable multifunction device having a touch screen in accordance with some embodiments.

[0029] [Diagram 3] 1 is a block diagram of an exemplary multifunction device having a display and a touch-sensitive surface in accordance with some embodiments.

[0030] [Figure 4A] 1 illustrates an exemplary user interface for a menu of applications on a portable multifunction device in accordance with some embodiments.

[0031] [Figure 4B] 1 illustrates an exemplary user interface for a multifunction device having a touch-sensitive surface separate from a display in accordance with some embodiments.

[0032] [Figure 5A] FIG. 1 illustrates a personal electronic device according to some embodiments.

[0033] [Figure 5B] FIG. 1 is a block diagram illustrating a personal electronic device according to some embodiments.

[0034] [Figure 6A] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6B] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6C] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6D] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6E] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6F] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6G] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6H] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6I] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6J]1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6K] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6L] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6M] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6N] 1 illustrates an example technique for activating a digital assistant using gaze information. [Figure 6O] 1 illustrates an example technique for activating a digital assistant using gaze information.

[0035] [Figure 7A] FIG. 1 is a flow diagram illustrating a method for using gaze information to activate a digital assistant. [Figure 7B] FIG. 1 is a flow diagram illustrating a method for using gaze information to activate a digital assistant.

[0036] [Figure 8A] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8B] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8C] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8D] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8E] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8F] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8G] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8H] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8I] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8J] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8K] 1 illustrates an example technique for using gaze information to provide context to commands. [Figure 8L] 1 illustrates an example technique for using gaze information to provide context to commands.

[0037] [Figure 9A] FIG. 11 is a flow diagram illustrating a method for using gaze information to provide context to commands. [Figure 9B] FIG. 11 is a flow diagram illustrating a method for using gaze information to provide context to commands.

[0038] [Figure 10A] 1 illustrates an exemplary technique for providing indications that distinguish between different speakers. [Figure 10B] 1 illustrates an exemplary technique for providing indications that distinguish between different speakers. [Figure 10C] 1 illustrates an exemplary technique for providing indications that distinguish between different speakers. [Figure 10D] 1 illustrates an exemplary technique for providing indications that distinguish between different speakers.

[0039] [Figure 11A] FIG. 1 is a flow diagram illustrating a method for providing indications that distinguish between different speakers. [Figure 11B] FIG. 1 is a flow diagram illustrating a method for providing indications that distinguish between different speakers. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0040] The following description sets forth example methods, parameters, etc., however, it should be recognized that such description is not intended as a limitation on the scope of the present disclosure, but rather is provided as a description of example embodiments.

[0041] There is a need for electronic devices that provide efficient methods and interfaces for controlling electronic devices. For example, eliminating or reducing the need for a user to provide tactile or verbal input to activate a digital assistant allows the user to control the electronic device more effectively. In another example, identifying an external device via the user's gaze eliminates or reduces the need to provide context and complex, time-consuming user input to identify such a device. Such techniques can reduce the cognitive burden on a user controlling an electronic device, thereby increasing productivity. Furthermore, such techniques can reduce processor and battery power that would otherwise be wasted on redundant user input.

[0042] Below, FIGS. 1A-1C, 2, 3, 4A-4B, and 5A-5B provide a description of an exemplary device for performing the technique for controlling an electronic device. FIGS. 6A-6O show exemplary user interfaces for activating a digital assistant using gaze information. FIGS. 7A-7B are flow diagrams illustrating a method for activating a digital assistant using gaze information, according to some embodiments. The user interfaces of FIGS. 6A-6O are used to illustrate the processes described below, including the processes of FIGS. 7A-7B. FIGS. 8A-8L show exemplary user interfaces for providing context to a command using gaze information. FIGS. 9A-9B are flow diagrams illustrating a method for providing context to a command using gaze information, according to some embodiments. The user interfaces of FIGS. 8A-8L are used to illustrate the processes described below, including the processes of FIGS. 9A-9B. FIGS. 10A-10D show exemplary user interfaces for providing instructions to distinguish between different speakers. 11A-11B are flow diagrams illustrating a method for providing instructions to distinguish between different speakers, according to some embodiments. The user interfaces of FIGS. 10A-10D are used to illustrate the processes described below, including the processes of FIGS. 11A-11B.

[0043] In the following description, terms such as "first" and "second" are used to describe various elements, but these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first touch can be called a second touch, and a second touch can be called a first touch, without departing from the scope of various embodiments described. Although a first touch and a second touch are both touches, they are not the same touch.

[0044] The terminology used in the description of the various embodiments described herein is for the purpose of describing particular embodiments only and is not intended to be limiting. When used in the description of the various embodiments described and in the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Also, as used herein, the term "and / or" should be understood to refer to and include any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms "includes," "including," "comprises," and / or "comprising," as used herein, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0045] The term "if" is interpreted, optionally, depending on the context, to mean "when" or "upon," or "in response to determining" or "in response to detecting." Similarly, the phrase "if it is determined" or "if [a stated condition or event] is detected" is interpreted, optionally, depending on the context, to mean "upon determining" or "in response to determining," or "upon detecting [the stated condition or event]" or "in response to detecting [the stated condition or event]."

[0046] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions, such as PDA and / or music player functions. Exemplary embodiments of portable multifunction devices include, but are not limited to, iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, Calif. Optionally, other portable electronic devices, such as laptops or tablet computers having a touch-sensitive surface (e.g., a touchscreen display and / or a touchpad), are also used. It should also be understood that in some embodiments, the device is not a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touchscreen display and / or a touchpad).

[0047] In the following discussion, electronic devices are described that include a display and a touch-sensitive surface, however, it should be understood that the electronic device optionally includes one or more other physical user-interface devices, such as a physical keyboard, a mouse, and / or a joystick.

[0048] The device typically supports a variety of applications, such as one or more of drawing applications, presentation applications, word processing applications, website creation applications, disc authoring applications, spreadsheet applications, gaming applications, telephony applications, video conferencing applications, email applications, instant messaging applications, training support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music player applications, and / or digital video player applications.

[0049] The various applications running on the device optionally use at least one common physical user-interface device, such as a touch-sensitive surface. One or more features of the touch-sensitive surface and corresponding information displayed on the device are optionally adjusted and / or changed for each application and / or within each application. In this manner, the common physical architecture of the device (such as the touch-sensitive surface) optionally supports a variety of applications, including user interfaces that are intuitive and transparent to the user.

[0050] Attention is now directed to embodiments of portable devices with touch-sensitive displays. FIG. 1A is a block diagram illustrating a portable multifunction device 100 having a touch-sensitive display system 112, according to some embodiments. Touch-sensitive display 112 may be conveniently referred to as a "touch screen" and may also be known or referred to as a "touch-sensitive display system." Device 100 includes memory 102 (optionally including one or more computer-readable storage media), memory controller 122, one or more processing units (CPUs) 120, peripherals interface 118, RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, input / output (I / O) subsystem 106, other input control devices 116, and external port 124. Device 100 optionally includes one or more optical sensors 164. Device 100 optionally includes one or more contact intensity sensors 165 that detect the intensity of a contact on device 100 (e.g., a touch-sensitive surface, such as touch-sensitive display system 112 of device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touchpad 355 of device 300). These components optionally communicate over one or more communication buses or signal lines 103.

[0051] As used herein and in the claims, the term “intensity” of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or a proxy for the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values ​​including at least four distinct values, and more typically including hundreds (e.g., at least 256) distinct values. The intensity of a contact is optionally determined (or measured) using various techniques and various sensors or combinations of sensors. For example, one or more force sensors under or adjacent to the touch-sensitive surface are optionally used to measure the force at various points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., weighted averaged) to determine an estimated force of the contact. Similarly, a pressure-sensitive tip of a stylus is optionally used to determine the pressure of the stylus on the touch-sensitive surface. Alternatively, the size and / or change in the contact area detected on the touch-sensitive surface, the capacitance and / or change in the capacitance of the touch-sensitive surface proximate the contact, and / or the resistance and / or change in the capacitance of the touch-sensitive surface proximate the contact, are optionally used as a surrogate for the force or pressure of the contact on the touch-sensitive surface. In some implementations, the surrogate measure of the force or pressure of the contact is used directly to determine whether an intensity threshold is exceeded (e.g., the intensity threshold is described in units that correspond to the surrogate measure). In some implementations, the surrogate measure of the contact force or pressure is converted to an estimate of the force or pressure, and the estimate of the force or pressure is used to determine whether an intensity threshold is exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). Using the intensity of contact as an attribute of user input may enable a user to access additional device functionality that may not otherwise be accessible to a user on devices of reduced size with limited real estate, to display affordances (e.g., on a touch-sensitive display) and / or to receive user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical controls such as knobs or buttons).

[0052] As used herein and in the claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, that will be detected by a user with the user's sense of touch. For example, in a situation where a device or a component of a device is in contact with a user's touch-sensitive surface (e.g., the fingers, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation corresponding to a perceived change in a physical characteristic of the device or a component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "down-click" or "up-click" of a physical actuator button. In some cases, a user feels a tactile sensation such as a "down-click" or "up-click" even when there is no movement of a physical actuator button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's action. As another example, movement of a touch-sensitive surface is optionally interpreted or sensed by a user as "roughness" of the touch-sensitive surface, even when there is no change in the smoothness of the touch-sensitive surface. Such user interpretation of touch depends on the user's personal sensory perception, but there are many sensory perceptions of touch that are common to a majority of users. Thus, when a tactile output is described as corresponding to a particular sensory perception of a user (e.g., an "up click," a "down click," "roughness"), unless otherwise noted, the generated tactile output corresponds to a physical displacement of the device, or a component of a device, that produces the described sensory perception for a typical (or average) user.

[0053] It is understood that device 100 is only one example of a portable multifunction device, and that device 100 optionally has more or fewer components than those shown, optionally combines two or more components, or optionally has a different configuration or arrangement of its components. The various components shown in FIG. 1A are implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing integrated circuits and / or application specific integrated circuits.

[0054] Memory 102 optionally includes high-speed random access memory, and optionally also includes non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. Memory controller 122 optionally controls access to memory 102 by other components of device 100.

[0055] The peripherals interface 118 may be used to couple input and output peripherals of the device to the CPU 120 and memory 102. The one or more processors 120 operate or execute various software programs and / or instruction sets stored in the memory 102 to perform various functions of the device 100 and process data. In some embodiments, the peripherals interface 118, the CPU 120, and the memory controller 122 are optionally implemented on a single chip, such as the chip 104. In some other embodiments, they are optionally implemented on separate chips.

[0056] The radio frequency (RF) circuitry 108 transmits and receives RF signals, also referred to as electromagnetic signals. The RF circuitry 108 converts electrical signals to electromagnetic signals or electromagnetic signals to electrical signals and communicates with communication networks and other communication devices via electromagnetic signals. The RF circuitry 108 optionally includes well-known circuits for performing these functions, including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chipset, a subscriber identity module (SIM) card, memory, etc. The RF circuitry 108 optionally communicates with networks, such as the Internet, also referred to as the World Wide Web (WWW), an intranet, and / or wireless networks, such as cellular telephone networks, wireless local area networks (LANs) and / or metropolitan area networks (MANs), and with other devices, by wireless communication. RF circuitry 108 optionally includes well known circuitry for detecting near field Communication (NFC) fields, such as by short-range radios. Wireless communication optionally includes, but is not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), high-speed downlink packet access (HSDPA), high-speed uplink packet access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual-Cell HSPA (DC-HSPA), Long Term Evolution (LDO), and other standard cellular technologies.Wireless technology includes, but is not limited to, wireless technology such as wireless LAN, wireless technology such as wireless technology with a cellular network (WAN), wireless technology such as wireless technology with a cellular network (WAN-CDMA), wireless technology such as wireless technology with a cellular network (WAN-SWAN ... The present invention may use any of a number of communications standards, protocols, and technologies, including Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (XMPP), Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS), and / or Short Message Service (SMS), or any other suitable communications protocol, including communications protocols not yet developed as of the filing date of this application.

[0057] The audio circuit 110, the speaker 111, and the microphone 113 provide an audio interface between a user and the device 100. The audio circuit 110 receives audio data from the peripherals interface 118, converts the audio data into an electrical signal, and transmits the electrical signal to the speaker 111. The speaker 111 converts the electrical signal into human audible sound waves. The audio circuit 110 also receives the electrical signal converted from the sound waves by the microphone 113. The audio circuit 110 converts the electrical signal into audio data and transmits the audio data to the peripherals interface 118 for processing. The audio data is optionally retrieved from and / or transmitted to the memory 102 and / or the RF circuit 108 by the peripherals interface 118. In some embodiments, the audio circuit 110 also includes a headset jack (e.g., 212 in FIG. 2). The headset jack provides an interface between audio circuitry 110 and a detachable audio input / output peripheral such as an output-only headphone or a headset with both an output (e.g., one-ear or binaural headphones) and an input (e.g., a microphone).

[0058] The I / O subsystem 106 couples input / output peripherals on the device 100, such as the touch screen 112 and other input control devices 116, to a peripheral interface 118. The I / O subsystem 106 optionally includes a display controller 156, a light sensor controller 158, a depth camera controller 169, an intensity sensor controller 159, a haptic feedback controller 161, and one or more input controllers 160 for other input or control devices. The one or more input controllers 160 receive / send electrical signals from / to the other input control devices 116. The other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slider switches, joysticks, click wheels, etc. In some alternative embodiments, the input controllers 160 are optionally coupled to any (or none) of a keyboard, an infrared port, a USB port, and a pointer device such as a mouse. The one or more buttons (e.g., 208 in FIG. 2) optionally include up / down buttons for volume control of speaker 111 and / or microphone 113. The one or more buttons optionally include a push button (e.g., 206 in FIG. 2).

[0059] A quick press of a push button optionally unlocks the touch screen 112 or optionally initiates a process of unlocking the device using a gesture on the touch screen, as described in U.S. Patent Application Serial No. 11 / 322,549, filed December 23, 2005, "Unlocking a Device by Performing Gestures on an Unlock Image," U.S. Patent No. 7,657,849, which is incorporated herein by reference in its entirety. A longer press of a push button (e.g., 206) optionally turns power on or off to the device 100. The functionality of one or more of the buttons is optionally customizable by the user. The touch screen 112 is used to implement virtual or soft buttons and one or more soft keyboards.

[0060] Touch-sensitive display 112 provides an input and output interface between the device and a user. Display controller 156 receives and / or transmits electrical signals from touchscreen 112. Touchscreen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, animation, and any combination thereof (collectively "graphics"). In some embodiments, some or all of the visual output optionally corresponds to user interface objects.

[0061] Touchscreen 112 has a touch-sensitive surface, sensor, or set of sensors that accepts input from a user based on haptic and / or tactile contact. Touchscreen 112 and display controller 156 (along with any associated modules and / or instruction sets in memory 102) detects contacts (and any movement or breaking of contact) on touchscreen 112 and translates the detected contacts into interactions with user interface objects (e.g., one or more soft keys, icons, web pages, or images) displayed on touchscreen 112. In an exemplary embodiment, the point of contact between touchscreen 112 and the user corresponds to the user's finger.

[0062] Touchscreen 112 optionally uses LCD (Liquid Crystal Display), LPD (Light Emitting Polymer Display), or LED (Light Emitting Diode) technology, although other display technologies are used in other embodiments. Touchscreen 112 and display controller 156 optionally detect contact and any movement or interruption thereof using any of a number of now known or later developed touch sensing technologies, including, but not limited to, capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements that determine one or more points of contact with touchscreen 112. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as that found in the iPhone® and iPod Touch® from Apple Inc. of Cupertino, Calif.

[0063] The touch-sensitive display in some embodiments of touchscreen 112 is optionally similar to a multi-touch-sensing touchpad as described in U.S. Patent Nos. 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman), and / or U.S. Patent Publication No. 2002 / 0015024 (A1), each of which is incorporated by reference in its entirety. However, whereas touchscreen 112 displays visual output from device 100, a touch-sensitive touchpad does not provide visual output.

[0064] Some embodiments of touch screen 112 include touch-sensitive displays as described in the following applications: (1) U.S. Patent Application No. 11 / 381,313, filed May 2, 2006, entitled "Multipoint Touch Surface Controller"; (2) U.S. Patent Application No. 10 / 840,862, filed May 6, 2004, entitled "Multipoint Touchscreen"; (3) U.S. Patent Application No. 10 / 903,964, filed July 30, 2004, entitled "Gestures For Touch Sensitive Input Devices"; (4) U.S. Patent Application No. 11 / 048,264, filed January 31, 2005, entitled "Gestures For Touch Sensitive Input Devices"; (5) U.S. Patent Application No. 11 / 038,590, filed January 18, 2005, entitled "Mode-Based Graphical User Interfaces For Touch Sensitive Input No. 11 / 228,758, filed Sep. 16, 2005, entitled "Virtual Input Device Placement On A Touch Screen User Interface," (7) U.S. application Ser. No. 11 / 228,700, filed Sep. 16, 2005, entitled "Operation Of A Computer With A Touch Screen Interface," (8) U.S. application Ser. No. 11 / 228,737, filed Sep. 16, 2005, entitled "Activating Virtual Keys Of A Touch-Screen Virtual Keyboard," and (9) U.S. application Ser. No. 11 / 367,749, filed Mar. 3, 2006, entitled "Multi-Functional Hand-Held Device," all of which are incorporated herein by reference in their entirety.

[0065] The touch screen 112 optionally has a video resolution of greater than 100 dpi. In some embodiments, the touch screen has a video resolution of approximately 160 dpi. A user optionally contacts the touch screen 112 using any suitable object or appendage, such as a stylus, finger, etc. In some embodiments, the user interface is designed to operate primarily using finger-based contacts and gestures, which may not be as precise as stylus-based input due to the larger contact area of ​​a finger on the touch screen. In some embodiments, the device converts the rough finger input into precise pointer / cursor positions or commands to perform the actions desired by the user.

[0066] In some embodiments, in addition to a touchscreen, device 100 optionally includes a touchpad for activating or deactivating certain functions. In some embodiments, the touchpad is a touch-sensitive area of ​​the device that, unlike the touchscreen, does not display visual output. The touchpad is optionally a touch-sensitive surface separate from touchscreen 112 or an extension of the touch-sensitive surface formed by the touchscreen.

[0067] Device 100 also includes a power system 162 that provides power to the various components. Power system 162 optionally includes a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, power failure detection circuitry, power converters or inverters, power status indicators (e.g., light emitting diodes (LEDs)), and any other components associated with the generation, management, and distribution of power within a portable device.

[0068] Device 100 also optionally includes one or more light sensors 164. FIG. 1A shows a light sensor coupled to light sensor controller 158 in I / O subsystem 106. Light sensor 164 optionally includes a charge-coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) phototransistor. Light sensor 164 receives light from the environment projected through one or more lenses and converts the light into data representing an image. Light sensor 164 optionally works in conjunction with imaging module 143 (also called a camera module) to capture still or video images. In some embodiments, the light sensor is located on the back side of device 100 opposite touchscreen display 112 on the front side of the device, so that the touchscreen display can be used as a viewfinder for still and / or video capture. In some embodiments, the light sensor is located on the front side of the device such that an image of the user is optionally obtained for a video conference while the user views other video conference participants on the touchscreen display. In some embodiments, the position of the light sensor 164 can be changed by the user (e.g., by rotating the lens and sensor within the device housing), such that a single light sensor 164 is used for both video conferencing and still and / or video capture, along with a touchscreen display.

[0069] Device 100 also optionally includes one or more depth camera sensors 175. FIG. 1A shows a depth camera sensor coupled to depth camera controller 169 in I / O subsystem 106. Depth camera sensor 175 receives data from the environment to create a three-dimensional model of an object (e.g., a face) in a scene from a viewpoint (e.g., the depth camera sensor). In some embodiments, in conjunction with imaging module 143 (also called camera module), depth camera sensor 175 is optionally used to determine a depth map of various portions of an image captured by imaging module 143. In some embodiments, a depth camera sensor is disposed on the front of device 100 to obtain an image of a user with depth information for a video conference and to capture a selfie image with depth map data while the user views other video conference participants on a touch screen display. In some embodiments, depth camera sensor 175 is disposed on the back of the device, or on the back and front of device 100. In some embodiments, the position of the depth camera sensor 175 can be changed by the user (e.g., by rotating the lens and sensor within the device housing) such that the depth camera sensor 175 is used for both video conferencing and still and / or video capture in conjunction with a touchscreen display.

[0070] In some embodiments, a depth map (e.g., a depth map image) contains information (e.g., values) regarding the distance of objects in a scene from a viewpoint (e.g., a camera, light sensor, depth camera sensor). In one embodiment of a depth map, each depth pixel defines a position in the Z axis of the viewpoint where its corresponding two-dimensional pixel is located. In some embodiments, a depth map is composed of pixels, each pixel defined by a value (e.g., 0-255). For example, a value of "0" represents a pixel located furthest in a "3D" scene, and a value of "255" represents a pixel located closest to the viewpoint (e.g., a camera, light sensor, depth camera sensor) in the "3D" scene. In other embodiments, a depth map represents a distance between objects in a scene and the plane of the viewpoint. In some embodiments, a depth map contains information regarding the relative depth of various features of an object of interest as seen by a depth camera (e.g., the relative depth of the eyes, nose, mouth, and ears on a user's face). In some embodiments, the depth map contains information that allows the device to determine the contour in the z-direction of the object of interest.

[0071] Device 100 also optionally includes one or more contact intensity sensors 165. FIG. 1A shows a contact intensity sensor coupled to intensity sensor controller 159 in I / O subsystem 106. Contact intensity sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other intensity sensors (e.g., sensors used to measure the force (or pressure) of a contact on a touch-sensitive surface). Contact intensity sensor 165 receives contact intensity information (e.g., pressure information, or a proxy for pressure information) from the environment. In some embodiments, at least one contact intensity sensor is juxtaposed with or proximate to a touch-sensitive surface (e.g., touch-sensitive display system 112). In some embodiments, at least one contact intensity sensor is located on the back of device 100, opposite touchscreen display 112 located on the front of device 100.

[0072] Device 100 also optionally includes one or more proximity sensors 166. FIG. 1A shows proximity sensor 166 coupled to peripherals interface 118. Alternatively, proximity sensor 166 is optionally coupled to input controller 160 in I / O subsystem 106. Proximity sensor 166 optionally functions as described in U.S. patent applications Ser. No. 11 / 241,839, “Proximity Detector In Handheld Device,” Ser. No. 11 / 240,788, “Proximity Detector In Handheld Device,” Ser. No. 11 / 620,702, “Using Ambient Light Sensor To Augment Proximity Sensor Output,” Ser. No. 11 / 586,862, “Automated Response To And Sensing Of User Activity In Portable Devices,” and Ser. No. 11 / 638,251, “Methods And Systems For Automatic Configuration Of Peripherals,” all of which are incorporated herein by reference in their entireties. In some embodiments, when the multifunction device is placed near a user's ear (eg, when the user is making a phone call), the proximity sensor turns off and disables touchscreen 112.

[0073] Device 100 also optionally includes one or more tactile output generators 167. FIG. 1A shows a tactile output generator coupled to haptic feedback controller 161 in I / O subsystem 106. Tactile output generator 167 optionally includes one or more electroacoustic devices, such as speakers or other audio components, and / or electromechanical devices that convert energy into linear motion, such as motors, solenoids, electroactive polymers, piezoelectric actuators, electrostatic actuators, or other tactile output generating components (e.g., components that convert electrical signals into tactile output on the device). Contact intensity sensor 165 receives tactile feedback generation commands from haptic feedback module 133 and generates a tactile output on device 100 that can be sensed by a user of device 100. In some embodiments, at least one tactile output generator is juxtaposed with or proximate to a touch-sensitive surface (e.g., touch-sensitive display system 112) and generates a tactile output, optionally by moving the touch-sensitive surface vertically (e.g., in / out of the surface of device 100) or horizontally (e.g., back and forth in the same plane as the surface of device 100). In some embodiments, the at least one tactile output generator sensor is located on the back of device 100, opposite touchscreen display 112, which is located on the front of device 100.

[0074] Device 100 also optionally includes one or more accelerometers 168. FIG. 1A shows accelerometer 168 coupled to peripherals interface 118. Alternatively, accelerometer 168 is optionally coupled to input controller 160 in I / O subsystem 106. Accelerometer 168 optionally functions as described in U.S. Patent Publication No. 20050190059, “Acceleration-based Theft Detection System for Portable Electronic Devices,” and U.S. Patent Publication No. 20060017692, “Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer,” both of which are incorporated herein by reference in their entireties. In some embodiments, information is displayed on the touchscreen display in portrait or landscape view based on an analysis of data received from the one or more accelerometers. In addition to accelerometer 168, device 100 optionally includes a magnetometer and a GPS (or GLONASS or other global navigation system) receiver for obtaining information regarding the location and orientation (e.g., vertical or horizontal) of device 100.

[0075] In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a touch / motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a Global Positioning System (GPS) module (or instruction set) 135, and applications (or instruction sets) 136. Additionally, in some embodiments, memory 102 (FIG. 1A) or 370 (FIG. 3) stores device / global internal state 157, as shown in FIGS. 1A and 3. Device / global internal state 157 includes one or more of an active application state indicating which applications, if any, are currently active, a display state indicating which applications, views, or other information are occupying various regions of touchscreen display 112, a sensor state including information obtained from the device's various sensors and input control devices 116, and location information regarding the location and / or orientation of the device.

[0076] Operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers that control and manage general system tasks (e.g., memory management, storage control, power management, etc.) and facilitate communication between various hardware and software components.

[0077] The communications module 128 facilitates communication with other devices via one or more external ports 124 and also includes various software components for processing data received by the RF circuitry 108 and / or the external ports 124. The external ports 124 (e.g., Universal Serial Bus (USB), FIREWIRE, etc.) are adapted for direct coupling to other devices or indirect coupling via a network (e.g., Internet, wireless LAN, etc.). In some embodiments, the external ports are multi-pin (e.g., 30-pin) connectors that are the same as or similar to and / or compatible with the 30-pin connector used on iPod® (a trademark of Apple Inc.) devices.

[0078] Contact / motion module 130, optionally in conjunction with display controller 156, detects contact with touch screen 112 and other touch-sensing devices (e.g., a touchpad or physical click wheel). Contact / motion module 130 includes various software components for performing various operations related to detecting contact, such as determining whether contact has occurred (e.g., detecting a finger-down event), determining the strength of the contact (e.g., the force or pressure of the contact, or a surrogate for the force or pressure of the contact), determining whether there is movement of the contact and tracking the movement across the touch-sensitive surface (e.g., detecting one or more events of dragging a finger), and determining whether the contact has stopped (e.g., detecting a finger-up event or an interruption of the contact). Contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of the contact, as represented by the series of contact data, optionally includes determining the speed (magnitude), velocity (magnitude and direction), and / or acceleration (change in magnitude and / or direction) of the contact. These actions are, optionally, applied to a single contact (e.g., one finger contact) or multiple simultaneous contacts (e.g., "multi-touch" / multiple finger contacts). In some embodiments, contact / motion module 130 and display controller 156 detect contacts on a touchpad.

[0079] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an action has been performed by a user (e.g., to determine whether a user has “clicked” on an icon). In some embodiments, at least a subset of the intensity thresholds are determined according to software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of a particular physical actuator, but can be adjusted without modifying the physical hardware of the device 100). For example, the mouse “click” threshold of a trackpad or touchscreen display can be set to any of a wide range of predefined thresholds without modifying the trackpad or touchscreen display hardware. Additionally, in some implementations, a user of the device is provided with a software setting to adjust one or more of the sets of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by adjusting multiple intensity thresholds at once via a system-level click “intensity” parameter).

[0080] Contact / motion module 130 optionally detects gesture input by a user. Different gestures on a touch-sensitive surface have different contact patterns (e.g., different movements, timing, and / or strength of detected contacts). Thus, gestures are optionally detected by detecting a particular contact pattern. For example, detecting a finger tap gesture includes detecting a finger down event, followed by detecting a finger up (lift off) event at the same location (or substantially the same location) as the finger down event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger down event, followed by one or more finger drag events, followed by detecting a finger up (lift off) event.

[0081] Graphics module 132 includes various known software components that render and display graphics on touchscreen 112 or other display, including components that vary the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual characteristics) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including, but not limited to, characters, web pages, icons (such as user interface objects including soft keys), digital images, video, animations, and the like.

[0082] In some embodiments, graphics module 132 stores data representing graphics to be used. Each graphic is optionally assigned a corresponding code. Graphics module 132 receives one or more codes specifying a graphic to be displayed, such as from an application, along with coordinate data and other graphic characteristic data as needed, and then generates screen image data for output to display controller 156.

[0083] The tactile feedback module 133 includes various software components for generating instructions used by the tactile output generator 167 to generate tactile outputs at one or more locations on the device 100 in response to a user's interaction with the device 100.

[0084] Text input module 134 is optionally a component of graphics module 132 and provides a soft keyboard for entering text in various applications (e.g., contacts 137, email 140, IM 141, browser 147, and any other application requiring text input).

[0085] The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to the phone 138 for use in location-based dialing, to the camera 143 as photo / video metadata, and to applications that provide location-based services, such as a weather widget, a local yellow page widget, and a map / navigation widget).

[0086] Application 136 optionally includes the following modules (or sets of instructions), or a subset or superset thereof: ● a contacts module 137 (sometimes called an address book or contact list); ● Telephone module 138, ● Videoconferencing module 139, ● an email client module 140; ● Instant messaging (IM) module 141, ● Training support module 142, A camera module 143 for still images and / or video; ● Image management module 144, ●Video player module, ●Music player module, ● Browser module 147, ● Calendar module 148, ● A widget module 149, optionally including one or more of a weather widget 149-1, a stock price widget 149-2, a calculator widget 149-3, an alarm clock widget 149-4, a dictionary widget 149-5, and other widgets obtained by the user, as well as user-created widgets 149-6; A widget creator module 150 for creating user-created widgets 149-6; ● Search module 151, A video and music player module 152 that integrates a video player module and a music player module; ● Memo module 153, Map module 154, and / or ●Online video module 155.

[0087] Examples of other applications 136 optionally stored in memory 102 include other word processing applications, other image editing applications, drawing applications, presentation applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice duplication.

[0088] The contacts module 137, in conjunction with the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, and the text input module 134, is optionally used to manage an address book or contact list (e.g., stored in the memory 102 or in the application internal state 192 of the contacts module 137 in memory 370). These include adding a name to an address book, removing a name or names from an address book, associating a phone number or numbers, email address or addresses, physical address or addresses, or other information with a name, associating an image with a name, categorizing and sorting names, providing phone numbers or email addresses to initiate and / or facilitate communication by phone 138, videoconferencing module 139, email 140, or IM 141, and the like.

[0089] Telephone module 138, in conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, is optionally used to enter character sequences corresponding to telephone numbers, access one or more telephone numbers in contacts module 137, modify entered telephone numbers, dial respective telephone numbers, place calls, and disconnect and hang up when a call is completed. As previously mentioned, wireless communication optionally uses any of a number of communication standards, protocols, and technologies.

[0090] Video conferencing module 139 includes executable instructions to cooperate with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, light sensor 164, light sensor controller 158, contact / motion module 130, graphics module 132, text input module 134, contact module 137, and telephone module 138 to initiate, conduct, and end a video conference between a user and one or more other participants in accordance with instructions from the user.

[0091] The email client module 140, in conjunction with the RF circuitry 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, and the text input module 134, contains executable instructions for composing, sending, receiving, and managing emails in response to user instructions. The email client module 140, in conjunction with the image management module 144, greatly facilitates the creation and sending of emails that include still or video images captured by the camera module 143.

[0092] Instant messaging module 141 includes executable instructions in cooperation with RF circuitry 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134 for entering character sequences corresponding to instant messages, modifying previously entered characters, sending respective instant messages (e.g., using Short Message Service (SMS) or Multimedia Message Service (MMS) protocols for telephony-based instant messaging, or XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, sent and / or received instant messages optionally include graphics, photos, audio files, video files, and / or other attachments as supported by MMS and / or Enhanced Messaging Service (EMS). As used herein, "instant messaging" refers to both telephony-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

[0093] The training support module 142 includes executable instructions to cooperate with the RF circuitry 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154, and the music player module to create workouts (e.g., having time, distance, and / or calorie burn goals), communicate with training sensors (sports devices), receive training sensor data, calibrate sensors used to monitor the workouts, select and play music for the workouts, and display, store, and transmit the workout data.

[0094] Camera module 143, in conjunction with touch screen 112, display controller 156, light sensor 164, light sensor controller 158, contact / motion module 130, graphics module 132, and image management module 144, contains executable instructions for capturing and storing still images or video (including video streams) in memory 102, modifying characteristics of a still image or video, or deleting a still image or video from memory 102.

[0095] Image management module 144, in conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, and camera module 143, contains executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slide show or album), and storing still and / or video images.

[0096] Browser module 147, in conjunction with RF circuitry 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, contains executable instructions for browsing the Internet in accordance with a user's instructions, including retrieving, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages.

[0097] The calendar module 148 includes executable instructions to cooperate with the RF circuitry 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the email client module 140, and the browser module 147 to create, display, modify, and store calendars and data associated with the calendars (e.g., calendar items, to-do lists, etc.) according to user instructions.

[0098] Widget module 149, in conjunction with RF circuitry 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and browser module 147, optionally provides mini-applications (e.g., weather widget 149-1, stock price widget 149-2, calculator widget 149-3, alarm clock widget 149-4, and dictionary widget 149-5) downloaded and used by a user, or mini-applications (e.g., user-created widget 149-6) created by a user. In some embodiments, a widget includes a Hypertext Markup Language (HTML) file, a Cascading Style Sheets (CSS) file, and a JavaScript file. In some embodiments, a widget includes an Extensible Markup Language (XML) file and a JavaScript file (e.g., Yahoo! Widget).

[0099] The widget creator module 150, in conjunction with the RF circuitry 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, and the browser module 147, is optionally used by a user to create a widget (e.g., turn a user-specified portion of a web page into a widget).

[0100] The search module 151 includes executable instructions for operating in conjunction with the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, and the text input module 134 to search for text, music, sound, images, video, and / or other files in the memory 102 that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with a user's instructions.

[0101] Video and music player module 152 includes executable instructions that cooperate with touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147 to enable a user to download and play pre-recorded music and other sound files stored in one or more file formats, such as MP3 or AAC files, as well as executable instructions for displaying, presenting, or otherwise playing videos (e.g., on touchscreen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (a trademark of Apple Inc.).

[0102] The notes module 153 includes executable instructions for cooperating with the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, and the text input module 134 to create and manage notes, to-do lists, and the like as directed by a user.

[0103] Map module 154, in conjunction with RF circuitry 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, GPS module 135, and browser module 147, is used to receive, display, modify, and store maps and data associated with the maps (e.g., driving directions, data regarding businesses and other points of interest at or near a particular location, and other location-based data), optionally in accordance with a user's instructions.

[0104] Online video module 155, in conjunction with touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, text input module 134, email client module 140, and browser module 147, includes instructions that enable a user to access, browse for, receive (e.g., by streaming and / or downloading), play (e.g., on the touchscreen or on an external display connected via external port 124), send emails with links to the particular online videos, and otherwise manage the online videos in one or more file formats, such as H.264. In some embodiments, instant messaging module 141 is used to send links to the particular online videos, rather than email client module 140. For additional description of online video applications, see U.S. Provisional Patent Application No. 60 / 936,562, entitled "Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos," filed June 20, 2007, and U.S. Patent Application No. 11 / 968,067, entitled "Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos," filed December 31, 2007, the contents of which are incorporated by reference in their entireties.

[0105] Each of the above-identified modules and applications corresponds to a set of executable instructions that perform one or more of the functions previously described and methods described herein (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus, in various embodiments, various subsets of these modules are optionally combined or otherwise reconfigured. For example, a video player module is optionally combined with a music player module into a single module (e.g., video and music player module 152 of FIG. 1A). In some embodiments, memory 102 optionally stores a subset of the above-identified modules and data structures. Additionally, memory 102 optionally stores additional modules and data structures not described above.

[0106] In some embodiments, device 100 is a device in which operation of a predefined set of functions on the device is performed exclusively via a touchscreen and / or touchpad. Using the touchscreen and / or touchpad as the primary input control device for operation of device 100 optionally reduces the number of physical input control devices (push buttons, dials, etc.) on device 100.

[0107] The set of predefined functions performed solely through the touchscreen and / or touchpad optionally includes navigation between user interfaces. In some embodiments, the touchpad, when touched by a user, navigates device 100 to a main, home, or root menu from any user interface displayed on device 100. In such embodiments, a "menu button" is implemented using the touchpad. In some other embodiments, the menu button is a physical push button or other physical input control device rather than a touchpad.

[0108] 1B is a block diagram illustrating example components for event processing, according to some embodiments. In some embodiments, memory 102 (FIG. 1A) or 370 (FIG. 3) includes event sorter 170 (e.g., within operating system 126) and a respective application 136-1 (e.g., any of applications 137-151, 155, 380-390 discussed above).

[0109] Event sorter 170 receives the event information and determines application 136-1 and application view 191 of application 136-1 to which to deliver the event information. Event sorter 170 includes an event monitor 171 and an event dispatcher module 174. In some embodiments, application 136-1 includes application internal state 192 that indicates the current application view that is displayed on touch-sensitive display 112 when the application is active or running. In some embodiments, device / global internal state 157 is used by event sorter 170 to determine which application(s) is currently active, and application internal state 192 is used by event sorter 170 to determine application view 191 to which the event information is delivered.

[0110] In some embodiments, application internal state 192 includes additional information such as one or more of resume information to be used when application 136-1 resumes execution, user interface state information indicating information being displayed or ready to be displayed by application 136-1, state cues that allow a user to return to a previous state or view of application 136-1, and redo / undo cues for previous actions taken by the user.

[0111] Event monitor 171 receives event information from peripherals interface 118. The event information includes information about a sub-event (e.g., a user touch as part of a multi-touch gesture on touch-sensitive display 112). Peripherals interface 118 communicates information received from I / O subsystem 106 or from sensors such as proximity sensor 166, accelerometer(s) 168, and / or microphone 113 (via audio circuitry 110). Information that peripherals interface 118 receives from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

[0112] In some embodiments, event monitor 171 sends requests to peripherals interface 118 at predetermined intervals. In response, peripherals interface 118 transmits event information. In other embodiments, peripherals interface 118 transmits event information only when there is a significant event (e.g., receipt of an input above a predetermined noise threshold and / or for a predetermined duration).

[0113] In some embodiments, event sorter 170 also includes a hit view determination module 172 and / or an active event recognizer determination module 173.

[0114] Hit view determination module 172 provides software procedures that determine where a sub-event occurred within one or more views when touch-sensitive display 112 displays more than one view. A view consists of the controls and other elements that a user can see on the display.

[0115] Another aspect of a user interface associated with an application is the set of views, sometimes referred to herein as application views or user interface windows, in which information is displayed and touch-based gestures occur. The application view (of the respective application) in which the touch is detected optionally corresponds to a programmatic level within the programmatic or view hierarchy of the application. For example, the lowest level view in which the touch is detected is optionally referred to as a hit view, and the set of events that are recognized as suitable inputs is optionally determined based at least in part on the hit view of the initial touch that initiates the touch gesture.

[0116] Hit view determination module 172 receives information related to sub-events of a touch-based gesture. When an application has multiple views organized in a hierarchical manner, hit view determination module 172 identifies the hit view as the lowest view in the hierarchy that should process the sub-events. In most situations, the hit view is the lowest level view in which an initiating sub-event occurs (e.g., the first sub-event in a sub-event sequence that forms an event or potential event). Once a hit view is identified by hit view determination module 172, the hit view typically receives all sub-events related to the same touch or input source as the touch or input source identified as the hit view.

[0117] Active event recognizer determination module 173 determines which view or views in the view hierarchy should receive the particular sequence of sub-events. In some embodiments, active event recognizer determination module 173 determines that only the hit view should receive the particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that contain the physical location of the sub-event are actively participating views, and therefore all actively participating views should receive the particular sequence of sub-events. In other embodiments, even if the touch sub-event is entirely confined to the area associated with one particular view, views higher in the hierarchy still remain actively participating views.

[0118] Event dispatcher module 174 sends out the event information to an event recognizer, such as event recognizer 180. In embodiments that include active event recognizer determination module 173, event dispatcher module 174 transmits the event information to the event recognizer determined by active event recognizer determination module 173. In some embodiments, event dispatcher module 174 stores event information obtained by each event receiver 182 in an event queue.

[0119] In some embodiments, operating system 126 includes event sorter 170. Alternatively, application 136-1 includes event sorter 170. In yet other embodiments, event sorter 170 is a stand-alone module or is part of another module stored in memory 102, such as contact / motion module 130.

[0120] In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each including instructions for handling touch events that occur within a respective view of the application's user interface. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, each application view 191 includes multiple event recognizers 180. In other embodiments, one or more of event recognizers 180 are part of a separate module, such as a user interface kit or a higher-level object from which application 136-1 inherits methods and other attributes. In some embodiments, each event handler 190 includes one or more of data updaters 176, object updaters 177, GUI updaters 178, and / or event data 179 received from event sorter 170. Event handlers 190 optionally utilize or call data updaters 176, object updaters 177, or GUI updaters 178 to update application internal state 192. Alternatively, one or more of the application views 191 include one or more respective event handlers 190. Also, in some embodiments, one or more of the data updater 176, the object updater 177, and the GUI updater 178 are included in each application view 191.

[0121] Each event recognizer 180 receives event information (e.g., event data 179) from event sorter 170 and identifies an event from the event information. Event recognizer 180 includes an event receiver 182 and an event comparator 184. In some embodiments, event recognizer 180 also includes at least a subset of metadata 183 and event transmission instructions 188 (optionally including sub-event transmission instructions).

[0122] Event receiver 182 receives event information from event sorter 170. The event information includes information about a sub-event, e.g., a touch or a movement of a touch. Depending on the sub-event, the event information also includes additional information, such as the position of the sub-event. When the sub-event involves a movement of a touch, the event information optionally also includes the speed and direction of the sub-event. In some embodiments, the event includes a rotation of the device from one orientation to another (e.g., from portrait to landscape or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device's attitude).

[0123] The event comparator 184 compares the event information to predefined event or sub-event definitions and determines the event or sub-event or determines or updates the state of the event or sub-event based on the comparison. In some embodiments, the event comparator 184 includes an event definition 186. The event definition 186 includes definitions of events (e.g., a sequence of predefined sub-events), such as event 1 (187-1) and event 2 (187-2). In some embodiments, sub-events within an event (187) include, for example, touch start, touch end, touch move, touch cancel, and multiple touches. In one example, the definition for event 1 (187-1) is a double tap on a displayed object. The double tap includes, for example, a first touch on a displayed object for a given phase (touch start), a first lift off (touch end) for a given phase, a second touch on a displayed object for a given phase (touch start), and a second lift off (touch end) for a given phase. In another example, a definition of event 2 (187-2) is a drag on a displayed object. A drag includes, for example, a touch (or contact) on a displayed object to a predetermined stage, a movement of the touch across the touch-sensitive display 112, and a lift-off of the touch (end of the touch). In some embodiments, the event also includes information regarding one or more associated event handlers 190.

[0124] In some embodiments, event definition 187 includes a definition of the event for each user interface object. In some embodiments, event comparator 184 performs a hit test to determine which user interface object is associated with the sub-event. For example, when a touch is detected on touch-sensitive display 112 in an application view in which three user interface objects are displayed on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a respective event handler 190, event comparator 184 uses the results of the hit test to determine which event handler 190 to activate. For example, event comparator 184 selects the event handler associated with the sub-event and object that triggers the hit test.

[0125] In some embodiments, each event 187 definition also includes a delay action that delays transmission of the event information until it is determined whether the sequence of sub-events corresponds to the event type of the event recognizer.

[0126] If the respective event recognizer 180 determines that the sequence of sub-events does not match any of the events in the event definition 186, the respective event recognizer 180 enters an event disabled, event failed, or event finished state and thereafter ignores subsequent sub-events of the touch-based gesture. In this situation, any other event recognizers that remain active for the hit view continue to track and process sub-events of the ongoing touch gesture.

[0127] In some embodiments, each event recognizer 180 includes metadata 183 having configurable properties, flags, and / or lists that indicate to actively participating event recognizers how the event transmission system should perform sub-event transmission. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate how event recognizers interact with each other or are enabled to interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate whether sub-events are transmitted to various levels in a view or programmatic hierarchy.

[0128] In some embodiments, each event recognizer 180 activates an event handler 190 associated with an event when one or more particular sub-events of the event are recognized. In some embodiments, each event recognizer 180 transmits event information associated with the event to the event handler 190. Activating the event handler 190 is separate from sending (and postponing sending) the sub-events to the respective hit view. In some embodiments, the event recognizer 180 sets a flag associated with the recognized event, and the event handler 190 associated with the flag catches the flag and performs a predefined process.

[0129] In some embodiments, the event transmission instructions 188 include sub-event transmission instructions that transmit event information about a sub-event without activating an event handler. Instead, the sub-event transmission instructions transmit the event information to an event handler associated with a set of sub-events or to an actively participating view. The event handler associated with the set of sub-events or the actively participating view receives the event information and performs a predetermined process.

[0130] In some embodiments, data updater 176 creates and updates data used by application 136-1. For example, data updater 176 updates phone numbers used by contacts module 137 or stores video files used by a video player module. In some embodiments, object updater 177 creates and updates objects used by application 136-1. For example, object updater 177 creates new user interface objects or updates the positions of user interface objects. GUI updater 178 updates the GUI. For example, GUI updater 178 prepares display information and sends the display information to graphics module 132 for display on the touch-sensitive display.

[0131] In some embodiments, event handler(s) 190 includes or has access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of a respective application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.

[0132] It should be understood that the foregoing description of event processing of a user's touch on a touch-sensitive display also applies to other forms of user input for operating multifunction device 100 with an input device, not all of which are initiated on a touch screen. For example, mouse movements and mouse button presses, contact movements such as tapping, dragging, scrolling on a touchpad, optionally coordinated with single or multiple presses or holds of a keyboard, pen stylus input, device movement, verbal commands, detected eye movements, biometric input, and / or any combination thereof, are optionally utilized as inputs corresponding to sub-events that define a recognized event.

[0133] FIG. 1C illustrates a block diagram of a system 2100 according to various embodiments. In some embodiments, the system 2100 implements a digital assistant. The terms “digital assistant”, “virtual assistant”, “intelligent automated assistant”, or “automated digital assistant” refer to any information processing system that infers user intent by interpreting natural language input in spoken and / or textual form and performs actions based on the inferred user intent. For example, to act on the inferred user intent, the system performs one or more of: identifying a task flow having steps and parameters designed to realize the inferred user intent, inputting specific requirements from the inferred user intent into the task flow, executing the task flow by calling a program, method, service, API, or the like, and generating an output response to the user in an audible (e.g., spoken) and / or visual form.

[0134] Specifically, the digital assistant can accept user requests, at least in part, in the form of natural language commands, requests, opinions, discourse, and / or queries. Typically, a user request seeks either an informational answer or the performance of a task by the digital assistant. A satisfactory response to a user request includes providing the requested informational answer, performing the requested task, or a combination of the two. For example, a user asks the digital assistant a question such as "Where am I right now?" Based on the user's current location, the digital assistant responds, "You are in Central Park near the West Gate." The user also requests the performance of a task, such as, for example, "Please invite my friends to my girlfriend's birthday party next week." In response, the digital assistant can respond in the affirmative to the request by stating, "Yes, right now," and then send suitable calendar invitations on behalf of the user to each of the user's friends listed in the user's electronic address book. During the performance of a requested task, the digital assistant may interact with the user in a continuous conversation involving multiple information exchanges over time. There are many other ways to interact with a digital assistant to request information or to perform various tasks. In addition to providing verbal responses and taking programmed actions, digital assistants also provide responses in other visual or audio formats, such as text, alerts, music, videos, animations, etc.

[0135] As shown in FIG. 1C, in some embodiments, the digital assistant is implemented according to a client-server model. The digital assistant includes a client-side portion 2102 (hereinafter, "DA client 2102") that runs on the user device 104 and a server-side portion 2106 (hereinafter, "DA server 2106") that runs on a server system 2108. The DA client 2102 communicates with the DA server 2106 through one or more networks 2110. The DA client 2102 provides client-side functionality, such as user-responsive input and output processing and communication with the DA server 2106. The DA server 2106 provides server-side functionality to any number of DA clients 2102, each resident on each user device 2104.

[0136] In some embodiments, the DA server 2106 includes a client-facing I / O interface 2112, one or more processing modules 2114, data and models 2116, and an I / O interface 2118 to external services. The client-facing I / O interface 2112 facilitates client-facing input and output processing of the DA server 2106. The one or more processing modules 2114 utilize the data and models 2116 to process speech input and determine user intent based on natural language input. Furthermore, the one or more processing modules 2114 perform task execution based on the inferred user intent. In some embodiments, the DA server 2106 communicates with external services 120 through a network(s) 2110 to complete a task or obtain information. The I / O interface 2118 to external services facilitates such communication.

[0137] The user device 2104 can be any suitable electronic device. In some embodiments, the user device 2104 is a portable multifunction device (e.g., device 100 described above with reference to FIG. 1A), a multifunction device, or a portable multifunction device (e.g., devices 600, 800, 1000). A portable multifunction device is, for example, a mobile phone that also includes other functions, such as PDA and / or music player functions. Specific examples of portable multifunction devices include the Apple Watch®, iPhone®, iPod Touch®, and iPad® devices by Apple Inc. (Cupertino, California). Other examples of portable multifunction devices include, but are not limited to, earphones / headphones, speakers, and laptop or tablet computers. Furthermore, in some embodiments, the user device 2104 is a non-portable multifunction device. Specifically, the user device 2104 is a desktop computer, a game console, a speaker, a television, or a television set-top box. In some examples, the user device 2104 includes a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). Additionally, the user device 2104 optionally includes one or more other physical user interface devices, such as a physical keyboard, a mouse, and / or a joystick. Various examples of electronic devices, such as multifunction devices, are described in more detail below.

[0138] Examples of the communication network(s) 2110 include a local area network (LAN) and a wide area network (WAN), such as the Internet. The communication network(s) 2110 may be implemented using any known network protocol, including various wired or wireless protocols, such as, for example, Ethernet, Universal Serial Bus (USB), FIREWIRE, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wi-Fi, voice over Internet Protocol (VoIP), Wi-MAX, or any other suitable communication protocol.

[0139] The server system 2108 may be implemented on one or more stand-alone data processing devices or a distributed computer network. In some embodiments, the server system 2108 also employs various virtual devices and / or the services of third party service providers (e.g., third party cloud service providers) to provide the underlying computing and / or infrastructure resources of the server system 2108.

[0140] In some embodiments, the user device 2104 communicates with the DA server 2106 via the second user device 2122. The second user device 2122 is similar or identical to the user device 2104. The user device 2104 is configured to be communicatively coupled to the second user device 2122 via a direct communication connection, such as Bluetooth, NFC, BTLE, or via a wired or wireless network, such as a local Wi-Fi network. In some embodiments, the second user device 2122 is configured to act as a proxy between the user device 2104 and the DA server 2106. For example, the DA client 2102 of the user device 2104 is configured to send information (e.g., a user request received at the user device 2104) to the DA server 2106 via the second user device 2122. The DA server 2106 processes the information and returns relevant data (e.g., data content responsive to the user request) to the user device 2104 via the second user device 2122.

[0141] In some embodiments, the user device 2104 is configured to reduce the amount of information transmitted from the user device 2104 by communicating an abbreviated request for data to the second user device 2122. The second user device 2122 is configured to determine supplemental information to add to the abbreviated request to generate a full request to transmit to the DA server 2106. This system architecture can advantageously allow a user device 2104 (e.g., a watch or similar small electronic device) with limited communication capabilities and / or limited battery power to access services provided by the DA server 2106 by using a second user device 2122 (e.g., a mobile phone, laptop computer, tablet computer, etc.) with higher communication capabilities and / or battery power as a proxy to the DA server 2106. Although only two user devices 2104 and 2122 are shown in FIG. 1C, it should be understood that the system 2100 includes any number and type of user devices configured to communicate with the DA server system 2106 in this proxy configuration in some embodiments.

[0142] The digital assistant shown in FIG. 1C includes both a client-side portion (e.g., DA client 2102) and a server-side portion (e.g., DA server 2106), although in some examples, the functionality of the digital assistant is implemented as an independent application installed on a user device. Furthermore, the allocation of functionality between the client and server portions of the digital assistant may vary depending on the implementation. For example, in some embodiments, the DA client is a thin client that provides only user-facing input and output processing functionality and relegates all other functions of the digital assistant to a back-end server.

[0143] FIG. 2 illustrates portable multifunction device 100 having touch screen 112, according to some embodiments. The touch screen optionally displays one or more graphics in user interface (UI) 200. In this embodiment, as well as other embodiments described below, a user may select one or more of the graphics by performing a gesture on the graphics, for example, using one or more fingers 202 (not drawn to scale) or one or more styluses 203 (not drawn to scale). In some embodiments, selection of one or more graphics is performed when the user breaks contact with the one or more graphics. In some embodiments, the gesture optionally includes one or more taps, one or more swipes (left to right, right to left, upwards and / or downwards), and / or rolling (right to left, left to right, upwards and / or downwards) of a finger in contact with device 100. In some implementations or situations, accidental contact with a graphic does not select that graphic: for example, optionally, a swipe gesture sweeping over an application icon does not select the corresponding application if the gesture corresponding to selection is a tap.

[0144] Device 100 optionally also includes one or more physical buttons, such as a “home” button or menu button 204. As previously mentioned, menu button 204 is optionally used to navigate to any application 136 within a set of applications executing on device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key within a GUI displayed on touch screen 112.

[0145] In some embodiments, device 100 includes touch screen 112, menu button 204, push button 206 for powering the device on / off and locking the device, volume control button 208, subscriber identity module (SIM) card slot 210, headset jack 212, and external port 124 for docking / charging. Push button 206 is optionally used to power the device on / off by pressing and holding the button down for a predefined time interval, to lock the device by pressing and releasing the button before the predefined time interval has elapsed, and / or to unlock the device or initiate an unlocking process. In an alternative embodiment, device 100 also accepts verbal input via microphone 113 to activate or deactivate some functions. Device 100 also optionally includes one or more contact intensity sensors 165 for detecting the intensity of a contact on touch screen 112 and / or one or more tactile output generators 167 for generating a tactile output to a user of device 100.

[0146] FIG. 3 is a block diagram of an exemplary multifunction device having a display and a touch-sensitive surface, according to some embodiments. Device 300 need not be portable. In some embodiments, device 300 is a laptop computer, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a child's learning toy), a gaming system, or a control device (e.g., a home or commercial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more network or other communication interfaces 360, memory 370, and one or more communication buses 320 that interconnect these components. Communication bus 320 optionally includes circuitry (sometimes referred to as a chipset) that interconnects and controls communication between system components. Device 300 includes input / output (I / O) interface 330, including display 340, which is typically a touchscreen display. I / O interface 330 also optionally includes a keyboard and / or mouse (or other pointing device) 350 and a touchpad 355, a tactile output generator 357 (e.g., similar to tactile output generator 167 described above with reference to FIG. 1A) for generating tactile output on device 300, and sensors 359 (e.g., light, acceleration, proximity, touch sensing, and / or contact intensity sensors similar to contact intensity sensor 165 described above with reference to FIG. 1A). Memory 370 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices, and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 370 optionally includes one or more storage devices located remotely from CPU(s) 310.In some embodiments, memory 370 stores programs, modules, and data structures similar to, or a subset of, programs, modules, and data structures stored in memory 102 of portable multifunction device 100 (FIG. 1A). Additionally, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores drawing module 380, presentation module 382, ​​word processing module 384, website creation module 386, disk authoring module 388, and / or spreadsheet module 390, whereas memory 102 of portable multifunction device 100 (FIG. 1A) optionally does not store these modules.

[0147] Each of the above-identified elements of FIG. 3 is optionally stored in one or more of the memory devices mentioned above. Each of the above-identified modules corresponds to an instruction set that performs the functions described above. The above-identified modules or programs (e.g., instruction sets) need not be implemented as separate software programs, procedures, or modules, and thus in various embodiments, various subsets of these modules are optionally combined or otherwise reconfigured. In some embodiments, memory 370 optionally stores a subset of the above-identified modules and data structures. Additionally, memory 370 optionally stores additional modules and data structures not described above.

[0148] Attention is now optionally directed to embodiments of user interfaces implemented, for example, on portable multifunction device 100.

[0149] 4A shows an exemplary user interface for a menu of applications on portable multifunction device 100, according to some embodiments. A similar user interface is optionally implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof: ● signal strength indicator(s) 402 for wireless communication(s), such as cellular and Wi-Fi signals; ●Time 404, ●Bluetooth indicator 405, ● Battery status indicator 406, Tray 408 with icons of frequently used applications, such as: ○ An icon 416 for the phone module 138, labeled “Phone”, optionally including an indicator 414 of the number of missed calls or voicemail messages; ○ An icon 418 of the email client module 140, labeled “Mail”, optionally including an indicator 410 of the number of unread emails; ○ An icon 420 for the Browser module 147, labeled "Browser"; and ○ An icon 422 for the video and music player module 152, also called the iPod (trademark of Apple Inc.) module 152, labeled "iPod"; and ● Icons of other applications, such as: ○ Icon 424 of IM module 141, labeled "Messages"; ○ Icon 426 of the Calendar module 148, labeled "Calendar", ○ Icon 428 of the image management module 144, labeled "Photos"; ○ An icon 430 of the camera module 143, labeled “camera”; ○ Icon 432 of the online video module 155, labeled "Online Video"; ○ Icon 434 of Stocks widget 149-2, labeled "Stock Prices"; ○ Icon 436 of the map module 154, labeled "Map"; ○ Icon 438 of weather widget 149-1, labeled "Weather"; ○ Icon 440 of alarm clock widget 149-4, labeled "Clock"; ○ Icon 442 of Training Support Module 142, labeled "Training Support"; ○ An icon 444 of the Notes module 153, labeled "Notes"; and ○ A settings application or module icon 446 labeled “Settings,” which provides access to settings for the device 100 and its various applications 136 .

[0150] 4A are merely exemplary. For example, icon 422 of video and music player module 152 is labeled "Music" or "Music Player," although other labels are optionally used for the various application icons. In some embodiments, the label of each application icon includes the name of the application that corresponds to the respective application icon. In some embodiments, the label of a particular application icon is different from the name of the application that corresponds to that particular application icon.

[0151] 4B shows an example user interface on a device (e.g., device 300 of FIG. 3) that has a touch-sensitive surface 451 (e.g., tablet or touchpad 355 of FIG. 3) that is separate from display 450 (e.g., touchscreen display 112). Device 300 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 359) that detect the intensity of a contact on touch-sensitive surface 451 and / or one or more tactile output generators 357 that generate a tactile output to a user of device 300.

[0152] Although some of the following examples are given with reference to input on touch screen display 112 (wherein the touch-sensitive surface and display are combined), in some embodiments the device detects input on a touch-sensitive surface that is separate from the display, as shown in FIG. 4B. In some embodiments, the touch-sensitive surface (e.g., 451 in FIG. 4B) has a primary axis (e.g., 452 in FIG. 4B) that corresponds to a primary axis (e.g., 453 in FIG. 4B) on the display (e.g., 450). According to these embodiments, the device detects contact with touch-sensitive surface 451 (e.g., 460 and 462 in FIG. 4B) at locations that correspond to respective locations on the display (e.g., in FIG. 4B, 460 corresponds to 468 and 462 corresponds to 470). In this manner, user input (e.g., contacts 460 and 462 and their movements) detected by the device on the touch-sensitive surface (e.g., 451 in FIG. 4B) is used by the device to operate a user interface on the display (e.g., 450 in FIG. 4B) of the multifunction device when the touch-sensitive surface is separate from the display. It is to be understood that similar methods are optionally used for the other user interfaces described herein.

[0153] In addition, while the following examples are given primarily with reference to finger input (e.g., finger contact, finger tap gesture, finger swipe gesture), it should be understood that in some embodiments, one or more of the finger inputs are replaced with input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of a contact) followed by movement of a cursor along the path of the swipe (e.g., instead of moving the contact). As another example, a tap gesture is optionally replaced by a mouse click (e.g., instead of detecting a contact and then stopping detection of the contact) while the cursor is located over the location of the tap gesture. Similarly, it should be understood that when multiple user inputs are detected simultaneously, multiple computer mice are optionally used simultaneously, or mice and finger contacts are optionally used simultaneously.

[0154] FIG. 5A illustrates an exemplary personal electronic device 500. Device 500 includes a body 502. In some embodiments, device 500 can include some or all of the features described with respect to devices 100 and 300 (e.g., FIGS. 1A-4B). In some embodiments, device 500 has a touch-sensitive display screen 504, hereafter touch screen 504. Alternatively, or in addition to touch screen 504, device 500 has a display and a touch-sensitive surface. Similar to devices 100 and 300, in some embodiments, touch screen 504 (or touch-sensitive surface) optionally includes one or more intensity sensors that detect the intensity of a contact (e.g., a touch) being applied. The one or more intensity sensors of touch screen 504 (or touch-sensitive surface) can provide output data representative of the intensity of the touch. A user interface of device 500 can respond to touch(s) based on their intensity, meaning that touches of different intensities can invoke different user interface actions on device 500.

[0155] For exemplary techniques for detecting and processing touch intensity, see, for example, related applications International Patent Application No. PCT / US2013 / 040061, filed May 8, 2013, entitled "Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application," published as International Patent Application No. WO / 2013 / 169849, and International Patent Application No. PCT / US2013 / 069483, filed November 11, 2013, published as International Patent Application No. WO / 2014 / 105276, entitled "Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships," each of which is incorporated herein by reference in its entirety.

[0156] In some embodiments, device 500 has one or more input mechanisms 506 and 508. Input mechanisms 506 and 508, if included, can be physical. Examples of physical input mechanisms include push buttons and rotatable mechanisms. In some embodiments, device 500 has one or more attachment mechanisms. Such attachment mechanisms, if included, can allow device 500 to be attached to, for example, hats, eyewear, earrings, necklaces, shirts, jackets, bracelets, watch bands, chains, pants, belts, shoes, wallets, backpacks, etc. These attachment mechanisms allow a user to wear device 500.

[0157] FIG. 5B illustrates an exemplary personal electronic device 500. In some embodiments, the device 500 can include some or all of the components described with respect to FIGS. 1A, 1B, and 3. The device 500 has a bus 512 that operably couples an I / O section 514 to one or more computer processors 516 and a memory 518. The I / O section 514 can be connected to a display 504, which can have a touch-sensing component 522 and, optionally, an intensity sensor 524 (e.g., a contact intensity sensor). In addition, the I / O section 514 can be connected to a communication unit 530 that receives application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular, and / or other wireless communication techniques. The device 500 can include input mechanisms 506 and / or 508. The input mechanism 506 is optionally, for example, a rotatable input device or a depressible and rotatable input device. In some examples, the input mechanism 508 is optionally a button.

[0158] In some examples, the input mechanism 508 is optionally a microphone. The personal electronic device 500 optionally includes various sensors, such as a GPS sensor 532, an accelerometer 534, an orientation sensor 540 (e.g., a compass), a gyroscope 536, a motion sensor 538, and / or combinations thereof, all of which may be operatively connected to the I / O section 514.

[0159] The memory 518 of the personal electronic device 500 can include one or more non-transitory computer-readable storage media for storing computer-executable instructions that, when executed by one or more computer processors 516, can, for example, cause the computer processors to perform the techniques described below, including processes 700, 900, and 1100 (FIGS. 7A-7B, 9A-9B, and 11A-11B). A computer-readable storage medium can be any medium that can tangibly contain or store computer-executable instructions for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments, the storage medium is a transient computer-readable storage medium. In some embodiments, the storage medium is a non-transitory computer-readable storage medium. A non-transitory computer-readable storage medium can include, but is not limited to, magnetic, optical, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD, or Blu-ray technology, and resident solid-state memory such as flash, solid-state drives, etc. Personal electronic device 500 is not limited to the components and configuration of FIG. 5B and may include other or additional components in multiple configurations.

[0160] The term "affordance" as used herein optionally refers to a user-interactive graphical user interface object displayed on a display screen of device 100, 300, and / or 500 (FIGS. 1A, 3, and 5A-5B). For example, images (e.g., icons), buttons, and text (e.g., hyperlinks) each, optionally, constitute an affordance.

[0161] The term "focus selector" as used herein refers to an input element that indicates the current portion of the user interface with which the user is interacting. In some implementations involving a cursor or other position marker, the cursor acts as the "focus selector," such that when an input (e.g., a press input) is detected on a touch-sensitive surface (e.g., touchpad 355 of FIG. 3 or touch-sensitive surface 451 of FIG. 4B) while the cursor is positioned over a particular user interface element (e.g., a button, window, slider, or other user interface element), the particular user interface element is adjusted according to the detected input. In some implementations involving a touchscreen display (e.g., touch-sensitive display system 112 of FIG. 1A or touchscreen 112 of FIG. 4A) that allows direct interaction with user interface elements on the touchscreen display, a detected contact on the touchscreen acts as the "focus selector," such that when an input (e.g., a press input by contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touchscreen display, the particular user interface element is adjusted according to the detected input. In some implementations, focus is moved from one region of the user interface to another region of the user interface without a corresponding cursor movement or contact movement on the touchscreen display (e.g., by using a tab key or arrow keys to move focus from one button to another), and in these implementations the focus selector moves to follow the movement of focus between various regions of the user interface. Regardless of the specific form the focus selector takes, the focus selector is generally a user interface element (or contact on a touchscreen display) that is controlled by the user to communicate the user's intended interaction with the user interface (e.g., by indicating to the device which element of the user interface the user intends to interact with).For example, while a press input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a respective button indicates that the user intends to activate the respective button (and not other user interface elements shown on the device's display).

[0162] As used herein and in the claims, the term "characteristic intensity" of a contact refers to a characteristic of that contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on a plurality of intensity samples. The characteristic intensity is optionally based on a predefined number of intensity samples, i.e., a set of intensity samples collected during a predefined time (e.g., 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10 seconds) associated with a predefined event (e.g., after detecting a contact, before detecting a lift-off of the contact, before or after detecting the start of movement of the contact, before detecting an end of the contact, before or after detecting an increase in the intensity of the contact, and / or before or after detecting a decrease in the intensity of the contact). The characteristic intensity of a contact is optionally based on one or more of a maximum intensity of the contact, a mean value of the intensity of the contact, an average value of the intensity of the contact, a top 10 percentile value of the intensity of the contact, a half maximum intensity value of the contact, a 90 percent maximum intensity value of the contact, etc. In some embodiments, the duration of the contact is used in determining the characteristic intensity (e.g., when the characteristic intensity is an average of the intensity of the contact over time). In some embodiments, the characteristic intensity is compared to a set of one or more intensity thresholds to determine whether an action is performed by the user. For example, the set of one or more intensity thresholds optionally includes a first intensity threshold and a second intensity threshold. In this example, a contact having a characteristic intensity that does not exceed the first threshold results in a first action, a contact having a characteristic intensity that exceeds the first intensity threshold but not the second intensity threshold results in a second action, and a contact having a characteristic intensity that exceeds the second threshold results in a third action. In some embodiments, the comparison between the characteristic intensity and the one or more thresholds is not used to determine whether the first action or the second action should be performed, but rather is used to determine whether one or more actions should be performed (e.g., whether to perform the respective action or to forgo performing the respective action).

[0163] In some embodiments, a portion of the gesture is identified for purposes of determining the characteristic intensity. For example, the touch-sensitive surface optionally receives successive swipe contacts that transition from a start position to an end position where the intensity of the contact increases. In this example, the characteristic intensity of the contact at the end position is optionally based on only a portion of the successive swipe contacts (e.g., only the portion of the swipe contact at the end position) rather than the entire swipe contact. In some embodiments, a smoothing algorithm is optionally applied to the intensity of the swipe contact prior to determining the characteristic intensity of the contact. For example, the smoothing algorithm optionally includes one or more of an unweighted moving average smoothing algorithm, a triangular smoothing algorithm, a median filter smoothing algorithm, and / or an exponential smoothing algorithm. In some circumstances, these smoothing algorithms eliminate narrow spikes or dips in the swipe contact intensity for purposes of determining the characteristic intensity.

[0164] The intensity of a contact on the touch-sensitive surface is optionally characterized against one or more intensity thresholds, such as a contact-detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device performs an action normally associated with clicking a physical mouse button or trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device performs an action different from an action normally associated with clicking a physical mouse button or trackpad. In some embodiments, when a contact is detected having a characteristic intensity below the light press intensity threshold (e.g., and above a nominal contact-detection intensity threshold below which the contact is not detected), the device follows the movement of the contact on the touch-sensitive surface and moves the focus selector without performing an action associated with the light press intensity threshold or the deep press intensity threshold. In general, unless otherwise specified, these intensity thresholds are consistent among various sets of values ​​for a user interface.

[0165] An increase in the characteristic intensity of a contact from an intensity below the light press intensity threshold to an intensity between the light press intensity threshold and the deep press intensity threshold may be referred to as inputting a "light press." An increase in the characteristic intensity of a contact from an intensity below the deep press intensity threshold to an intensity above the deep press intensity threshold may be referred to as inputting a "deep press." An increase in the characteristic intensity of a contact from an intensity below the contact detection intensity threshold to an intensity between the contact detection intensity threshold and the light press intensity threshold may be referred to as detecting a contact on the touch surface. A decrease in the characteristic intensity of a contact from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold may be referred to as detecting a lift-off of the contact from the touch surface. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.

[0166] In some embodiments described herein, one or more actions are performed in response to detecting a gesture including a respective press input or in response to detecting a respective press input performed by a respective contact (or contacts), where the respective press input is detected based at least in part on detecting an increase in intensity of the contact (or contacts) above a press input intensity threshold. In some embodiments, the respective actions are performed in response to detecting an increase in intensity of the respective contact above a press input intensity threshold (e.g., a "downstroke" of the respective press input). In some embodiments, the press input includes an increase in intensity of the respective contact above a press input intensity threshold followed by a decrease in intensity of the respective contact below the press input intensity threshold, where the respective actions are performed in response to detecting a subsequent decrease in intensity of the respective contact below the press input threshold (e.g., an "upstroke" of the respective press input).

[0167] In some embodiments, the device employs intensity hysteresis to avoid accidental inputs, sometimes referred to as "jitter," and the device defines or selects a hysteresis intensity threshold that has a predefined relationship to the press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units below the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable percentage of the press input intensity threshold). Thus, in some embodiments, the press input includes an increase in the intensity of the respective contact above the press input intensity threshold, followed by a decrease in the intensity of the contact below a hysteresis intensity threshold corresponding to the press input intensity threshold, and a respective action is performed in response to detecting a subsequent decrease in the intensity of the respective contact below the hysteresis intensity threshold (e.g., an "upstroke" of a respective press input). Similarly, in some embodiments, a press input is detected only when the device detects an increase in the intensity of the contact from an intensity below the hysteresis intensity threshold to an intensity above the press input intensity threshold, and optionally a subsequent decrease in the intensity of the contact to an intensity below the hysteresis intensity, and a respective action is performed in response to detecting the press input (e.g., an increase in the intensity of the contact or a decrease in the intensity of the contact, as the case may be).

[0168] For ease of explanation, descriptions of operations performed in response to a press input associated with a press input intensity threshold, or a gesture including a press input, are optionally triggered in response to detecting any of an increase in the intensity of a contact above the press input intensity threshold, an increase in the intensity of a contact from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, a decrease in the intensity of a contact below the press input intensity threshold, and / or a decrease in the intensity of a contact below a hysteresis intensity threshold corresponding to the press input intensity threshold. Further, in examples where an operation is described as being performed in response to detecting a decrease in the intensity of a contact below a press input intensity threshold, the operation is optionally performed in response to detecting a decrease in the intensity of a contact below a hysteresis intensity threshold corresponding to and lower than the press input intensity threshold.

[0169] Attention is now directed to embodiments of user interfaces (“UI”) and associated processes implemented on an electronic device, such as portable multifunction device 100, device 300, or device 500.

[0170] 6A-6O show example user interfaces for activating and interacting with a digital assistant using glance and voice commands, according to some embodiments. These figures are used to illustrate the processes described below, including the processes of FIGS. 7A-7B.

[0171] 6A-6D show a user 620 activating an exemplary digital assistant on an electronic device 600 by glancing at the electronic device 600. Once the digital assistant is activated, the user 620 turns on a table lamp by speaking commands 624A-624B to the digital assistant.

[0172] FIG. 6A shows the digital assistant on the electronic device 600 in an inactive state indicated by the display 602 being off. In some embodiments, the digital assistant is in an inactive state when the electronic device 600 does not detect the user's gaze, i.e., the user 620 is looking at the electronic device 600. In some embodiments, the digital assistant is in an inactive state before the electronic device 600 detects a button press (or other activation command) and / or before another device (e.g., a watch 630) receives an activation command and sends an activation instruction to the electronic device. The user 620 can glance at the electronic device 600 to trigger activation of the digital assistant when gaze information based on the user's 620 gaze meets a set of one or more activation criteria. The electronic device 600 acquires gaze information of the user's 620 gaze, optionally using one or more camera sensors installed on the external device 616A and / or integrated into the electronic device 600, such as the camera 616B. The camera sensor 616A may be wirelessly or wired connected to the electronic device 600. The one or more camera sensors include an infrared camera sensor and / or a visible light sensor that measures gaze information once a gaze is detected. The gaze information optionally includes one or more of the location of the user's head position, a quiescence or duration of the gaze, a direction of the gaze, a field of view 606 of the gaze, and whether an object (e.g., the electronic device 600 or an external device such as a table lamp 618) is within the field of view 606 of the gaze.

[0173] The electronic device 600 determines whether the gaze information obtained from the one or more camera sensors 616A-616B meets one or more sets of activation criteria. In other words, the electronic device 600 determines whether the user 620 intended to look at the electronic device 600 to activate the digital assistant. The set of one or more activation criteria optionally includes a direction criterion that is met when the user's gaze is directed toward the electronic device 600. The set of one or more activation criteria also optionally includes a stationary time criterion that is met when the electronic device 600 detects a stationary time or duration of gaze in the direction of the electronic device 600 that exceeds a non-zero predetermined time (e.g., several seconds). If the stationary time or duration of gaze is less than a threshold time, this may indicate that the user does not intend to trigger the digital assistant. Thus, a stationary time less than the threshold time does not meet the activation criteria, and the digital assistant is not activated.

[0174] The set of one or more activation criteria also optionally includes a field of view criterion. As shown in FIG. 6A, the user 620 is not looking at the electronic device 600, and the electronic device 600 determines that the device 600 is not within the field of view 606 of the user 620. As described further below, the field of view criterion is met when the electronic device 600 is determined to be within the field of view 606 of the user 620, but is not met when the electronic device 600 is determined to be not within the field of view 600 of the user 620. By using the field of view 606 to determine whether the user 602 is looking at the target electronic device (e.g., the device 600), a high gaze detection rate is achieved because a gaze can be detected within the field of view when the user is not looking directly at the target electronic device but is still attempting to identify (or activate) the target electronic device.

[0175] The field of view 606 is a range of degrees above and below the user's line of sight 612, as indicated by the threshold offset angle 604. In some embodiments, the field of view criterion is met when the electronic device 600 is directly within the line of sight 612 of the user 620, i.e., the determined offset degree is zero. In some embodiments, the field of view criterion is met when the determined offset angle 622 of the gaze is less than the threshold offset angle 604 (e.g., the maximum allowable deviation from the line of sight 612 of the user 620 looking directly at the electronic device, as shown in FIG. 6B). The determined offset angle 622 (in this example) and the threshold offset angle 604 are greater than zero degrees (e.g., 30 degrees). The determined offset angle 622 is calculated based on the angle formed between the line of sight 612 from the gaze of the user 620 (e.g., where the user is actually looking) and a calculated line of sight 608 from the user 620 to the electronic device 600 (e.g., the ideal path for the user to look directly at the electronic device 600). When the offset angle 622 is greater than the threshold offset angle 604, as shown in FIG. 6A, the field of view criterion is not met because the electronic device 600 is outside the field of view 606, and as a result, the digital assistant remains deactivated. In some embodiments, if the electronic device 600 is determined to be located more than a non-zero threshold degree (e.g., more than 30 degrees) outside the field of view 606 of the user 620, the electronic device 600 is not within the user's gaze and the digital assistant is not activated. In some embodiments, the line of sight 612 is measured based on the user's head position. In some embodiments, the user's head position is based on the tilt or rotation (e.g., yaw, pitch, and / or roll) of the user's head.

[0176] In FIG. 6A, the digital assistant on the electronic device 600 is not activated because the gaze information obtained from the camera sensors (e.g., 616A, 61B) does not meet a set of one or more activation criteria, as described above. The electronic device 600 determines that the user 620 is not looking at the electronic device 600 if the quiescence time of the user's 620 gaze is less than a threshold quiescence time or the electronic device 600 is not within the field of view of the user 620. In some embodiments, the field of view criterion is not met when the determined offset angle 622 between the user's line of sight 612 and the calculated line of sight 608 is greater than the threshold offset angle 604. If the digital assistant is not activated and the gaze information does not meet a set of one or more activation criteria, the electronic device 600 refrains from activating the digital assistant. When the digital assistant is not activated, the electronic device 600 optionally does not turn on one or more of the microphone or speaker, does not record audio, and / or does not enable processing of recorded audio for the purpose of executing spoken commands (e.g., the electronic device 600 can still process audio to detect trigger words, but does not process audio for the execution of commands other than activation). In some embodiments, the electronic device 600 does not provide any indication using a visual or audio indicator when the digital assistant is not activated (e.g., the state of the electronic device 600 remains unchanged). In some embodiments, the electronic device 600 remains in the same inactive state that it was in prior to the determination that the gaze information did not meet one or more sets of activation criteria.

[0177] In FIG. 6A, the user 620 begins speaking the portion 624A of the command 624A-624B "Turn on the table lamp" "Turn..." before the digital assistant is activated. In some embodiments, as discussed further below, if the digital assistant is not subsequently activated (e.g., within a set (non-zero) duration), the portion 624A of the command 624A-624B is not processed, canceled, and / or ignored by the digital assistant. In some embodiments, as discussed further below, if the digital assistant is activated (e.g., by the user 620 looking at the electronic device 600 and meeting one or more sets of activation criteria) before completing the command 624A-624B (or within a set duration), the portion 624A of the command 624A-624B received by the electronic device 600 is processed before the digital assistant is activated.

[0178] 6B, a user 620 is looking at the electronic device 600, and the electronic device 600 determines that the electronic device 600 is within the field of view 606 of the user 620. Gaze information obtained from the camera sensors (e.g., 616A, 616B) meets a set of one or more activation criteria.

[0179] In FIG. 6C, the electronic device 600 determines that gaze information obtained from a camera sensor (e.g., 616A, 616B) meets a set of one or more activation criteria and, in response, activates the digital assistant. Activating the digital assistant optionally includes one or more of turning on a microphone or speaker, recording audio, and enabling processing of the recorded audio for the purpose of executing spoken commands (rather than simply detecting a trigger phrase). The electronic device 600 optionally provides an indication (e.g., via indicators 610A, 610B, or 610C) that a set of one or more activation criteria has been met and / or that the digital assistant has been activated. The indicator is optionally a visual indication 610A, an audio indication 610B, a confirmation spoken by the digital assistant 610C, or any combination of different indicators. Providing the visual indication 610A optionally includes one or more of turning on the display 602 of the electronic device 600, turning on an LED of the electronic device 600, displaying a light, light pattern, or visual output on the display 602 of the electronic device 600 of a particular color (e.g., blue or a color other than a default color when the digital assistant is not activated). In some embodiments, the visual indicator 610A indicating that the digital assistant is activated is different from the visual indicator 610A indicating when the digital assistant has executed a command or is in an inactive state. For example, the electronic device displays a first color of the visual indicator 610A in response to one or more sets of activation conditions being met, a second color of the visual indicator 610A in response to the digital assistant being activated, a third color of the visual indicator 610A in response to a determination that the digital assistant has executed a command, and / or a fourth color of the visual indicator 610A in response to changing the digital assistant to not be activated.The audio prompt 610B optionally includes one or more of playing a sound, phrase, word, or tone. In some embodiments, the audio prompt 610B indicating that the digital assistant is activated (or that one or more sets of activation criteria have been met) is different from the audio prompt 610B indicating when the digital assistant executes a command (e.g., 624A) or is in an inactive state. The digital assistant optionally provides a digital assistant voice confirmation 610C (e.g., "How can I help you?") indicating that the digital assistant is activated or that one or more sets of activation criteria have been met. In some examples, as described in more detail with respect to FIGS. 10A-10D, the electronic device outputs the audio confirmation using a particular voice (e.g., an accent, a male or female voice) based on the detected user.

[0180] In FIG. 6C, following the electronic device activating the digital assistant and providing instructions using the display 602, the electronic device detects that the user 620 has completed speaking the remaining portion 624B "...on the table lamp" of the command 624C "Turn on the table lamp." In some embodiments, the electronic device 600 detects that the user 620 speaks the entire command 624C "turn on the table lamp" after the digital assistant is activated. Optionally, the electronic device 600 provides instructions 610C pursuant to a determination that a set of one or more activation criteria was met before the electronic device 600 began receiving the commands 624A-624B, and the electronic device 600 does not provide instructions 610C pursuant to a determination that a set of one or more activation criteria was met after (but not before) the electronic device 600 began receiving the commands 624A-624B.

[0181] In some embodiments, the electronic device 600 generates an audio output at a first volume, such as playing music, before receiving the remaining portion 624B of the commands 624A-624B. In some embodiments, in response to the electronic device 600 receiving the first portion 624A of the commands 624A-624B, the electronic device 600 reduces the first volume of the audio output to a second volume, such as ducking, that is lower than the first volume. The second volume is optionally based on a distance between the user 620 and the electronic device 600. The first volume of the audio output is reduced to reduce interference from background noise and to allow the electronic device 600 to better detect words. In some embodiments, the first volume is reduced in response to a determination that a set of one or more activation criteria is met. In some embodiments, the amount of volume reduction is based on the distance between the user 620 and the electronic device 600 when the first portion 624A (but not the second portion 624B) of the command 624A-624B is received. The electronic device 600 determines the distance between the user 620 and the electronic device 600 using an external camera sensor 616A and / or a camera sensor 616B on the electronic device 600. In some embodiments, the electronic device 600 variably reduces the volume of the audio output by muting or lowering the volume of the audio output while detecting that the user 620 is speaking. The electronic device 600 returns the volume of the audio output to the first volume after detecting the end of the command 624B. The volume change is not based on the content of the request. In some embodiments, even if the electronic device 600 detects that the user 620 speaks the first part 624A of the command 624A-624B before activating the digital assistant, the digital assistant can still process the command (including 624A) if a set of one or more execution criteria is met. When a set of one or more execution criteria is met, the digital assistant executes the command based on the content of the request. The set of one or more execution criteria optionally includes one or more of a command completion criterion, an enablement criterion, and an activation criterion.The command completion criteria are met when the electronic device 600 detects the end of a received voice command (e.g., a voiced user input request). The end of the command 624A-24B is determined by the electronic device 600 detecting a pause in the received voice (i.e., no user voice is received) that exceeds a non-zero predetermined period. In some embodiments, the command completion criteria are not met if the detected pause is less than a non-zero predetermined period (e.g., the user has not completed speaking the command). The enablement criteria are met when the electronic device 600 determines that the received command is actionable (e.g., the device has the authority and / or capability to execute the command). In some examples, if the command is to access information from an account and the electronic device has not received authorization to access the account, the command is not actionable because the device does not have the authority to access the account. In some examples, the enablement criteria are not met when the electronic device 600 cannot process the received request into a command that the digital assistant can execute or send (e.g., the command is to "turn on the TV" but there is no TV in the room where the corresponding instruction can be sent). The activation criteria are met when the digital assistant is activated.

[0182] FIG. 6D shows that the digital assistant executes a command if a set of one or more execution criteria is met while the digital assistant is activated. If the digital assistant successfully processes the command and determines that the execution criteria are met, the digital assistant sends an instruction to change the state of the appropriate device. In this example, an instruction is sent to table lamp 618 (an external device) to turn on. In some embodiments, the determination of which external device to function is made according to the description of FIGS. 8A-8C, as described in more detail below. After the digital assistant executes the command, the electronic device 600 optionally provides an indicator (e.g., indicators 610A, 610B, 610C) that indicates whether the command 624A-624B was successfully executed. In some embodiments, the indicator is a visual indicator 610A that displays a particular color of light (e.g., blue, or a color other than the default color when the digital assistant is not activated) or a light pattern to indicate that the digital assistant executed the command 624A-624B. In some embodiments, the indicator is an audio indicator 610B that plays a sound, phrase, word, or tone. In some embodiments, as described with respect to Figures 10A-10D, the indicator is a confirmation 610C spoken by the digital assistant that can be spoken in a particular voice (e.g., accent, male, or female voice) when the digital assistant executes the command 624A-624B. In some embodiments, the user 620 can customize the visual indicator, audio indicator, or digital assistant indicator to include values ​​for characteristics associated with the user's profile (e.g., username, particular user preferences for light colors, patterns, sounds, voices, accents), as described below with respect to Figures 10A-10D. For example, in Figure 6D, the digital assistant can provide the confirmation, "Jack, the table lamp has been turned on."The name of the user 620 is obtained from the user profile of the user 620, which the user 620 provided during registration, and is determined as described below with respect to Figures 10A-10D. The registration process is described in more detail below with respect to Figures 10A-10D and method 1100. The digital assistant can use settings from the profile of the user 620 to further customize the indicator to reflect which user (e.g., Jack) spoke the command.

[0183] If one or more sets of execution criteria are not met, the electronic device 600 refrains from executing the command based on the content of the command. In some embodiments, if the enablement criteria are not met, the one or more sets of execution criteria are not met. If the enablement criteria are not met, the electronic device 600 optionally generates a head shake prompt as shown in FIG. 6O to indicate that the command cannot be executed because the digital assistant was unable to process the command, lacks authorization, or is incapable of executing the command. The head shake prompt in FIG. 6O includes a light or light pattern 602A on a first side of the display 602 of the electronic device 600 (as shown in 6O-A), followed by a light pattern 602B on a second side of the display 602 (as shown in 6O-B), followed by a light pattern 602A on a first side of the display 602 (as shown in 6O-C), which simulates a person shaking their head (head shake). In some embodiments, a particular indicator (e.g., a light pattern, color, or a particular sound) is generated by electronic device 600 when the execution criteria are not met. The particular indicator may correspond to a particular error code that indicates why the digital assistant was unable to execute the command (e.g., a blue light indicates the command was not understood, purple indicates lack of authorization). In some embodiments, the indicator generated when the digital assistant cannot execute the command is different from the indicator generated when the digital assistant is able to execute the command.

[0184] 6E-6G show another embodiment in which a user 620 activates a digital assistant on a wearable or mobile electronic device 630. In FIG. 6E, the digital assistant on the electronic device 630 is activated when the electronic device 630 detects a user input or a gesture such as lifting the wrist. In some embodiments, the user 620 may also optionally activate the digital assistant on the electronic device 630 by pressing a button, rotating a crown, or providing a voice user input. Once the digital assistant is activated, the electronic device 630 optionally provides a visual indicator 610A (e.g., a light), an audio indicator 610B (e.g., a sound, tone, word), or an audio confirmation 610C of the digital assistant to indicate that the digital assistant has been activated or that one or more sets of activation criteria have been met. Various types of indicators are described above with respect to FIG. 6B.

[0185] In FIG. 6F, the electronic device 630 detects a spoken command from the user 620, including the command 624C "Turn on the table lamp." After receiving the spoken command, the digital assistant determines whether one or more sets of execution criteria (e.g., enablement criteria, command completion criteria, activation criteria) are met. As described above, if one or more execution criteria are met, the digital assistant executes the command based on the content of the voice input request. As shown in FIG. 6F, the electronic device optionally also determines whether the user's gaze meets one or more sets of gaze criteria to identify an external device to act on. The one or more sets of gaze criteria are described in more detail below.

[0186] 6G shows that the electronic device 630 provides an indicator (e.g., 610A, 610B, 610C) that the command was successfully executed in turning the table lamp on from an off state. Indicators that display that the command was successfully executed are described above with respect to FIG. 6E.

[0187] 6H-6J show cases where the set of one or more execution criteria is not met and the digital assistant does not execute the command associated with the spoken command 624A-624B because the user 620 breaks gaze while speaking the command 642A-624B. The set of one or more execution criteria includes a continuous gaze criterion that is met when the electronic device 600 determines that the second gaze information (e.g., acquired by the electronic device 600 using one or more camera sensors 616A, 616B (while the user 620 speaks)) indicates that the user 620 did not break gaze toward the electronic device 600 for more than a threshold duration between activation of the digital assistant and completion of the spoken command 624A-624B. In some embodiments, the threshold duration is zero, which means that the user cannot break gaze while speaking. In some embodiments, the threshold duration is a non-zero duration, which allows the user to temporarily look away without canceling the command.

[0188] In FIG. 6H-6I, the user 602 utters the command 624A-624B "Turn on the table lamp" while the electronic device 600 is activated and breaks gaze on the electronic device 600. As shown in FIG. 6H, while the electronic device 600 receives the first part 624A of the command 624A-624B "turn...", the electronic device 600 determines that the user 620 is looking at the electronic device. In FIG. 6I, the electronic device 600 detects the break in the user's gaze when the user 620 turns 180 degrees away from the electronic device 600 before completing the remaining part 624B of the command 624A-624B "...on the table lamp". The user's gaze is broken from the electronic device 600 when the electronic device 600 determines that the user's gaze does not meet the viewing criteria for more than a non-zero threshold duration (e.g., 3 seconds).

[0189] FIG. 6J shows that the electronic device 600 refrains from executing the command 624A-624B "turn on that light" even if one or more sets of activation criteria are met (e.g., FIG. 6H). As a result, the table lamp 618 remains off because the digital assistant has not sent an instruction to turn it on. The electronic device 600 optionally generates an indicator (e.g., 610A, 610B, 610C) indicating that the command has not been executed. In some embodiments, the indicator may be a visual indicator 610A (e.g., a colored light or light pattern), an audio indicator 610B (e.g., a sound, speech, or a particular voice), or a digital audio confirmation 620C, as described above. The indicators provided by the electronic device 600 when the commands 624A-624B are not executed (e.g., 610A, 610B, 610C) are optionally different from the indicators provided by the electronic device 600 when the commands 624A-624B are executed successfully (e.g., 610A, 610B, 610C).

[0190] 6K-6N show that even if the electronic device 600 detects that the user 620 breaks gaze on the electronic device 600 while the electronic device is receiving commands 624D-624F (when the electronic device 600 is activated), the continuous gaze criterion is still met if the break in gaze is less than a threshold duration. FIG. 6K shows that the electronic device 600 is activating a digital assistant and is receiving a portion 624D "turn..." of the commands 624D-624F "turn on the table lamp" from the user 620. In FIG. 6L, the electronic device 600 continues to receive a second portion 624E "...on the..." of the commands 624D-624F from the user 620, but the electronic device 600 detects a break in the user's gaze when the user looks away from the electronic device 600.

[0191] In FIG. 6M, the electronic device 600 detects that the user 620 has returned gaze to the electronic device 600 within a threshold duration (e.g., 3 seconds). The electronic device continues to receive the last portion 624F of the commands 624D-624F, "...table lamp." Because the gaze break is less than the threshold duration, the continuous gaze criterion is still met. In FIG. 6N, once the continuous gaze criterion is met, the digital assistant executes the commands 624D-624F, "Turn on the table lamp," and provides an instruction (e.g., a visual 610A instruction, an audio 610B instruction, and a digital assistant confirmation 610C instruction) when the table lamp 618 is turned on.

[0192] 7A-7B are flow diagrams illustrating a method 700 for using an electronic device according to some embodiments. The method 700 is performed on an electronic device (e.g., 100, 300, 500, 600, 630, 800, 1000). Some operations of the method 700 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0193] As described below, method 700 provides an intuitive way to activate a digital assistant on an electronic device by glancing at the electronic device. This method reduces the cognitive burden on the user when providing user input (e.g., speech input or touch input via button press) to activate the digital assistant. In some situations, a user may not be able to effectively use voice activation (e.g., if the room is noisy) or provide tactile user input (e.g., pressing a button). Thus, being able to activate a digital assistant by looking at the electronic device allows a user to interact with the digital assistant using a more efficient user-to-device interface.

[0194] While the digital assistant of the electronic device (e.g., 600) is not activated (702), the electronic device (e.g., 600) acquires first gaze information (e.g., of a user 620) using one or more camera sensors (e.g., cameras 616A, 616B) (704). For example, the one or more camera sensors are infrared camera sensor(s) and / or visible light sensor(s). For example, the one or more camera sensors are external to the electronic device (e.g., 600), such as by being wirelessly connected to the electronic device.

[0195] Pursuant to a determination (706) that the first gaze information meets one or more set of activation criteria (e.g., the angle of the gaze is less than a threshold degree relative to the line of sight, the gaze is in a particular direction, the duration of the gaze is equal to or greater than a predetermined period of time) (e.g., while the digital assistant is not activated), the electronic device (e.g., 600) activates (708) the digital assistant of the electronic device (e.g., 600) (e.g., by turning on the microphone and enabling processing of recorded audio).

[0196] Using gaze detection to activate the digital assistant when one or more sets of activation criteria are met provides the user with a more efficient user interface for activating the digital assistant, especially in contexts where the user cannot press a button or use voice control because the room is noisy. Providing an improved user interface for activating the digital assistant that does not require tactile user input (e.g., a button press) or voice input improves the usability of the digital assistant and makes the user interface of the digital assistant interface more efficient. In addition, using gaze detection reduces the number of user inputs required to activate the digital assistant and execute commands, improving the usability of the electronic device.

[0197] In some embodiments, the set of one or more activation criteria includes a field of view criterion that is met when the determined offset angle (e.g., 622) is less than a threshold offset angle (e.g., 604) (e.g., a non-zero degree value that is the maximum allowable deviation from a user looking directly at the device), where the determined offset angle (e.g., 622) is the angle formed between a line of sight (e.g., 612) of the user's (e.g., 620) gaze (e.g., determined from the gaze information) and a calculated line of sight (e.g., 608) from the user (e.g., 620) to the electronic device (e.g., 600).

[0198] Using the visual field criterion as the activation criterion allows the user's gaze to be detected even if the user (e.g., 620) does not look directly at the electronic device (e.g., 600). As long as the electronic device (e.g., 600) is within the visual field (e.g., 606) of the user's gaze, the user's gaze satisfies the activation criterion and the digital assistant can be activated. Using the visual field criterion allows the digital assistant to be more successfully activated via gaze, thereby improving the usability of the digital assistant and making gaze detection more efficient (e.g., the digital assistant has a higher activation rate because the electronic device (e.g., 600) does not have to be within the direct line of sight (e.g., 612) of the user (e.g., 620).

[0199] In some embodiments, if it is determined that the electronic device (e.g., 600) is located beyond the threshold degree (e.g., outside the field of view of the gaze 606), the electronic device (e.g., 600) is not within the user's gaze and the digital assistant is not activated. In some embodiments, when the electronic device (e.g., 600) is within the field of view of the gaze (e.g., 606) by being within the threshold degree, the digital assistant is activated.

[0200] In some embodiments, the line of sight (e.g., 612) of a user's (e.g., 620) gaze is based on the head position of the user (e.g., 620). In some examples, the user's head position can be affected by tilt or rotation (e.g., yaw, pitch, and roll of the user's head).

[0201] In some embodiments, the set of one or more activation criteria includes a rest time criterion that is met when the rest time (e.g., duration) of the gaze determined from the first gaze information exceeds a threshold time (e.g., a non-zero threshold time). In some examples, if the rest time of the gaze is less than the threshold time, the digital assistant is not activated.

[0202] Further, in accordance with determining (706) that the first gaze information satisfies the set of one or more activation criteria, the electronic device (e.g., 600) provides (710) an indication that the set of one or more activation criteria has been met and / or that a digital assistant of the electronic device is transitioning or transitioning to activation.

[0203] Feedback is provided to the user regarding the current state of the digital assistant by providing an indication (e.g., 610A, 610B, 610C) that a set of one or more activation criteria has been met and the digital assistant is activated. The indication (e.g., 610A, 610B, 610C) can be a visual confirmation, an audio confirmation, or an audio confirmation of the digital assistant, providing customizable feedback for various contexts. For example, in a context where a sound indicator cannot be heard (e.g., a noisy room), providing visual feedback (e.g., 610A) allows the user (e.g., 620) to know whether the digital assistant is activated and can process commands. Providing customized feedback of the digital device's status improves the usability of the digital assistant, making the user-to-device interface more efficient, for example, by informing the user (e.g., 620) when the digital assistant is available (e.g., activated) and when it is unavailable (e.g., inactive) to process commands (e.g., the user (e.g., 620) does not issue commands when the digital assistant is not active). Additionally, feedback of the digital assistant's state can enable a user (e.g., 620) to use the digital assistant more efficiently.

[0204] In some embodiments, the indication (712) is a visual indication (e.g., 610A) (such as the electronic device 600 turning on a display, LED, or light on the electronic device 600) that the digital assistant is activated. In some embodiments, the indication (714) is an audio indication (e.g., 610B) (such as the electronic device 600 playing a sound through a speaker on the electronic device 600) to indicate that the digital assistant is now activated.

[0205] In some embodiments, following a determination (716) that the first gaze information (e.g., while the digital assistant is not activated) does not satisfy one or more set of activation criteria (e.g., the electronic device (e.g., 600) is not within the user's field of view (e.g., 606), the gaze is in the wrong direction, the duration of the gaze is shorter than a predetermined period), the electronic device (e.g., 600) refrains from activating the digital assistant. In some embodiments, refraining from activating the digital assistant includes leaving the digital assistant inactive or the electronic device (e.g., 600) not enabling the microphone or processing the recorded audio. In some examples, if the first set of gaze information does not satisfy one or more set of activation criteria, the electronic device (e.g., 600) also refrains from providing an indicator (e.g., 610A, 610B, 610C) that one or more set of activation criteria have been met.

[0206] In some embodiments, the electronic device (e.g., 600) receives a voiced user input request to execute a command (e.g., 624A-624B, 624C) (718). In response to the electronic device (e.g., 600) receiving a voiced user input request to execute a command (e.g., 624A-624B, 624C) (720), (or in accordance with the digital assistant's interpretation of the command (e.g., 624A-624B, 624C)) and in accordance with a determination that one or more sets of execution criteria (e.g., enablement criteria, command completion criteria, activation criteria) are met, the electronic device (e.g., 600) executes the command (e.g., 624A-624B, 624C) based on the content of the voiced user input request (722). In some embodiments, in response to receiving a voice input request and in response to a failure to interpret a command (e.g., 624A-624B, 624C), the electronic device (e.g., 600) refrains from executing the command (e.g., 624A-624B, 624C), and the electronic device (e.g., 600) provides an indication (e.g., 610A, 610B, 610C) (e.g., displaying a visual indication, such as a head shake indication) that the command (e.g., 624A-624B, 624C) was not interpreted. Thus, the electronic device (e.g., 600) provides an indication (e.g., 610A, 610B, 610C) if the digital assistant does not understand the voice input. In some embodiments, if the digital assistant is not activated, the digital assistant refrains from executing the received command (e.g., 624A-624B, 624C).

[0207] In some embodiments, in response to the electronic device (e.g., 600) receiving a voiced user input request to execute a command (e.g., 624A-624B, 624C) and in accordance with a determination that one or more sets of execution criteria (e.g., enablement criteria, command completion criteria, activation criteria) are not met, the electronic device (e.g., 600) provides a head shake instruction. The head shake instruction includes the electronic device (e.g., 600) displaying a first light pattern on a first side of a display (e.g., 602) of the electronic device (e.g., 600). Following displaying the first light pattern, the electronic device (e.g., 600) displays a second light pattern on a second side of the display (e.g., 602) of the electronic device (e.g., 600). Following displaying the second light pattern, the electronic device (e.g., 600) displays the first light pattern on the first side of the display (e.g., 602) of the electronic device (e.g., 600).

[0208] Providing a visual indication (e.g., 610A) that one or more sets of execution criteria are not met (e.g., a head shake indication (e.g., 602A-602B)) provides feedback to the user that the command issued by the user cannot be processed. Providing customizable indications, such as a head shake indication (e.g., 602A-602B) that indicate when a command (e.g., 624A-624B, 624C) will not be processed, improves the usability of the digital assistant and makes the user-device interface more efficient by informing the user (e.g., 602) that the command (e.g., 624A-624B, 624C) will not be executed. Additionally, customized indications (e.g., 610A, 610B, 610C) corresponding to error codes provide improved feedback to the user that communicates why the command (e.g., 624A-624B, 624C) was not executed, thereby making the user-device interface more efficient.

[0209] In some embodiments, the set of one or more execution criteria includes a completion criterion that is met when the electronic device (e.g., 600) detects the end of the received voice command (e.g., the end of a voice-based user input request, a pause in voice that exceeds a predetermined period of time). In some examples, the set of one or more execution criteria includes an enablement criterion that is met when the electronic device (e.g., 600) determines that the received command is enablement (e.g., the digital assistant has the authority and / or capability to execute the command).

[0210] In some embodiments, the electronic device (e.g., 600) begins receiving a voice-based user input request while the digital assistant is not activated. In some examples, the digital assistant is inactive because the gaze information has not yet satisfied a set of one or more activation conditions. This may occur, for example, when the user (e.g., 620) begins uttering a command (e.g., 624A-624B, 624C) before looking at the digital assistant. In some examples, the first gaze information satisfies a set of one or more activation criteria, and in response, the digital assistant is activated before the electronic device (e.g., 600) has finished receiving a voice-based user input request to execute the command.

[0211] The ability to receive a voice user input request before the digital assistant is activated allows a user (e.g., 602) to begin speaking even if the user (e.g., 602) has not yet activated the digital assistant. Detecting a voice user input request when a set of activation conditions has not yet been met improves the operability of the digital assistant and makes the device-user interface more efficient because activations and commands (e.g., 624A-624B, 624C) do not have to be performed in sequence.

[0212] In some embodiments, in response to the electronic device (e.g., 600) receiving a voice-based user input request to execute a command (e.g., 124C) and in accordance with a determination that a set of one or more execution criteria is not met (e.g., various criteria that must be met for the electronic device (e.g., 600) to execute a command (e.g., 624A-624B, 624C)), the electronic device (e.g., 600) refrains from executing the command (e.g., 624A-624B, 624C) based on the content of the voice-based user input request (724), the set of one or more execution criteria including a continuous gaze criterion that is met when the electronic device (e.g., 600) determines that second gaze information (e.g., acquired by the electronic device using one or more camera sensors) indicates that the user (e.g., 602) does not break gaze toward the electronic device (e.g., 600) for more than a threshold duration (e.g., a non-zero duration) between activation of the digital assistant and completion of the voice-based user input request. In some examples, the digital assistant does not execute a command (e.g., 624A-624B, 624C) because the user (e.g., 602) breaks gaze on the device (e.g., the user (e.g., 602) looks away before the command is completed, the user (e.g., 602) looks away for more than one second at a time). In some examples, the threshold duration is 0 seconds. In some examples, the threshold duration is a non-zero duration (e.g., 0.5 seconds).

[0213] In some embodiments, the electronic device (e.g., 600) generates an audio output (e.g., the electronic device (e.g., 600) is playing music), and the audio output is generated at a first volume before receiving the request for vocal user input. In response to starting to receive the request for vocal user input, the electronic device (e.g., 600) reduces the volume of the audio output to a second volume lower than the first volume, where the second volume is based on a distance between a user (e.g., a user providing the request for vocal user input) and the electronic device (e.g., 600). In some examples, the electronic device (e.g., 600) uses an external sensor (e.g., 616A) or a sensor (e.g., 616B) on the electronic device (e.g., 600) to determine the distance between the user (e.g., 602) and the electronic device (e.g., 600) and determines whether to mute or reduce the volume of music (e.g., variably lower the audio output to a head-down position) while the user (e.g., 602) is speaking. In some embodiments, the electronic device may change the volume back to the first volume after detecting the end of the command (e.g., 624C). In some embodiments, the volume change is not based on the content of the request.

[0214] By reducing the audio output volume or muting the audio output when the electronic device receives a voice user input request, the voice user input request can be more easily processed, and the command (e.g., 624C) derived from the voice user input request is more likely to be understood by the electronic device because environmental noise is reduced. By removing environmental noise or sounds that may interfere with the command (e.g., 624C) processed by the digital assistant, the digital assistant is more easily operated, and by increasing the accuracy of executing the correct command, the user-device interface is more efficient, thereby improving the user experience because the user (e.g., 602) does not need to repeat the command again when the digital assistant cannot process the command (e.g., 624C).

[0215] It should be noted that the details of the processes described above with respect to method 700 (e.g., FIGS. 7A-7B) are also applicable in an analogous manner to the methods described below. For example, method 700 may include one or more of the features of the various methods described below with reference to the processes of FIGS. 9A, 9B, 11A, and 11B. For the sake of brevity, these details will not be repeated below.

[0216] It should be understood that the particular order in which operations are described in the following Figures 9A-9B and 11A-11B is exemplary and is not intended to indicate that the described order is the only order in which operations may be performed. Those skilled in the art will recognize various ways to rearrange the order of operations described herein, as well as the exclusion of certain operations. For the sake of brevity, those details will not be repeated here. Additionally, it should be noted that aspects of the methods and processes described throughout this description may be integrated with one another.

[0217] 8A-8L show example user interfaces for an electronic device to use gaze information to determine a context for executing a command after a digital assistant is activated (e.g., a device to which the command is directed), according to some embodiments. The techniques shown in FIGS. 8A-8L optionally work in conjunction with or include the techniques shown in FIGS. 6A-6O, which disclose how a user can activate a digital assistant by looking at an electronic device and issuing a command. Thus, the techniques described below include one or more of the characteristics of the various techniques described above with reference to FIGS. 6A-6O and method 700. The user interfaces in these figures are used to illustrate the processes described below, including the processes in FIGS. 9A, 9B.

[0218] 8A-8C show an electronic device 800 receiving a voiced user input request from a user 820 to execute a first command 824A-824B when a digital assistant of the electronic device 800 is activated. The digital assistant is activated based on a trigger word, a gaze (e.g., as described above with respect to FIGS. 6A-6O), a button press, a wrist lift while the user is wearing a wearable electronic device (e.g., a watch) (FIGS. 6E-6G), and / or detection of an external device (e.g., a phone) pointed at the electronic device 800. The electronic device (e.g., 800) optionally provides a visual or audio indication 810A-810B to indicate that the digital assistant is activated.

[0219] In FIG. 8A, a user 820 is standing in a room with a table lamp 818 and a floor lamp 814. The digital assistant of the electronic device 800 is activated based on the electronic device 800 determining that a set of one or more activation criteria are met as described above with respect to method 700 (e.g., the device 800 determines that the user 820 is looking at the device 800). When the digital assistant is activated, the electronic device detects the user 820 uttering a portion 824A of a full command 824A-824B, "turn...". In some embodiments, the full command 824A-824B is applicable to multiple external devices (e.g., table lamp 818, floor lamp 814) that may be present in the room. In some embodiments, the user's commands 824A-824B do not include sufficient detail for the digital assistant to determine which external device (e.g., table lamp 818, floor lamp 814) the command 824A-824B is directed to. Thus, the electronic device 800 cannot determine whether "the light" refers to the table lamp 818 or the floor lamp 814 based solely on the commands 824A-824B.

[0220] In FIG. 8B, the user 820 completes the remaining portion 824B "...on that light" of the command 824A-824B "turn on that light" while indicating which external device (e.g., light) he wants to act on by looking at the table lamp 818. The electronic device receives gaze information based on the user's gaze while the user 820 is speaking and uses it to determine that the table lamp 818 is the targeted device when the user's gaze meets a set of one or more gaze criteria. The electronic device 800 obtains information about the user's gaze via one or more camera sensors that may be located on the external device 816A and / or integrated into the electronic device 800 at the camera 816B. The camera 816A is wirelessly connected to the electronic device 600, but may alternatively be wired. The one or more camera sensors include an infrared camera sensor and / or a visible light sensor, and measure the gaze information as soon as a gaze is detected. The gaze information optionally includes one or more of the user's head position, gaze dwell time or duration, gaze direction, field of view of the gaze 806, gaze direction, and whether an object (e.g., electronic device 800 or an external device (e.g., lamps 814, 818) is within the field of view of the gaze 806 (e.g., an external device is within a threshold offset angle 804 from the user's line of sight 812).

[0221] In some embodiments, the electronic device 800 determines that a set of one or more gaze criteria is met when a direction criterion, a stationary time criterion, and / or a viewing field criterion are met. The set of one or more gaze criteria optionally includes a direction criterion that is met when the gaze is directed toward the table lamp 818.

[0222] The set of one or more gaze criteria includes a stillness time criterion that is met when the electronic device 800 detects a stillness or duration of gaze in the direction of the table lamp 818 for more than a non-zero predetermined period (e.g., 2 seconds, a threshold time). In some examples, the electronic device 800 utilizes the stillness time to determine whether the user 820 is looking at the table lamp 818 to determine which external object to act on (e.g., to send a command). If the stillness or duration of gaze is too short or less than the threshold time, this indicates that the user does not intend the particular external device (e.g., the table lamp 818) to be the device targeted by the commands 824A-824B. In some embodiments, a stillness time less than the threshold time does not meet the gaze criterion, and as a result, the commands 824A-824B are not sent to the particular external device identified by the electronic device 800. In some embodiments, a stillness time less than the threshold time results in the electronic device 800 not identifying any external device.

[0223] The set of one or more gaze criteria optionally includes a field of view criterion. The field of view criterion is met for a particular external device when the external device, such as a table lamp 818, is determined to be within the field of view 806 of the user 820. The table lamp 818 is determined to be within the field of view 806 of the user 820 when the table lamp 818 is within a threshold offset angle 804 from the user's line of sight 812. Using the field of view to determine whether the user is looking at the target external device (e.g., table lamp 818, floor lamp 814), increases the gaze detection rate because the gaze can be detected within the field of view even when the user is not looking directly at the target device. In some embodiments, the field of view criterion is met for the table lamp 818 when the table lamp 818 is directly within the line of sight 812 of the user 820. In some embodiments, the field of view criterion is met for a particular external device when the determined offset angle of the gaze is less than a threshold offset angle 804 for the external device (e.g., a maximum allowable deviation from the line of sight 812 of the user 820 looking directly at the table lamp 818). The threshold offset angle 804 is greater than zero degrees (e.g., 30 degrees). The determined offset angle is calculated based on the angle formed between the line of sight 812 from the gaze of the user 820 and the calculated line of sight from the user 820 to the electronic device 800. In the example of FIG. 8B, the user 820 is looking directly at the table lamp 818. In some implementations, when the table lamp 818 is within the field of view of the gaze by being within a threshold degree from the user's direct line of sight, the field of view criterion is met for the table lamp 818, and the electronic device 800 optionally sends a command to the table lamp 818. When the offset angle is greater than the threshold offset angle 804, the field of view criterion is not met, and as a result, the digital assistant does not send a command to the table lamp 818, which is outside the field of view 806 of the user 820. In some embodiments, if the table lamp 818 is determined to be located outside the field of view 808 of the user 820 by more than a threshold degree, the table lamp 818 is determined to not be within the user's gaze and the electronic device 800 does not send commands to the table lamp 818.In some embodiments, the line of sight 812 is measured based on the user's head position. In some embodiments, the user's head position is based on the tilt or rotation (e.g., yaw, pitch, and / or roll) of the user's head. Aspects of these techniques are illustrated and described in further detail above with respect to Figures 6B-6C.

[0224] The electronic device 800 optionally provides an indication (e.g., indicators 810A, 810B, 810C) when a set of one or more gaze criteria is met for the table lamp 818. The indication optionally indicates that a command 824A-824B from the received voice user input request is associated with or directed to the table lamp 818. The indication may be a visual 810A indicator or an audio 810B indicator indicating that the digital assistant has identified the table lamp 818 based on the user's gaze. In some embodiments, the indicator is a visual indicator 810A that displays a particular color of light (e.g., blue or a color other than the default color when the table lamp 818 is identified) or a light pattern to indicate that the digital assistant has identified the table lamp 818 based on the user's gaze. In some embodiments, the indicator is an audio indicator 810B that plays a sound, word, sound, tone, or speaks in a particular voice (e.g., an accent, male, or female voice) when the digital assistant has identified the table lamp 818. In some embodiments, the digital assistant provides a voice confirmation ("Turn on the table lamp") indicating that the electronic device 800 has identified an external device to act on (e.g., turn on).

[0225] In FIG. 8C, when the electronic device determines that a set of one or more gaze criteria is met for the table lamp 818, the digital assistant sends an instruction to act on the command. For example, the electronic device determines that the command is to perform a "turn on" function, and that the function should be directed to a particular device (the table lamp 818). Thus, the electronic device sends an instruction (e.g., to the table lamp 818, or to another device that controls the table lamp 818) to turn the table light from an off state to an on state. In some embodiments, the digital assistant sends an instruction to change a task as a result of the external device transitioning from a first state to a second state. For example, the digital assistant may send an instruction to the external device (e.g., a computer or a phone) to transition from a first state to a second state when the external device changes songs, transition from performing one task to performing another task (e.g., from playing music to providing the weather), or transition from an inactive state to an active state and vice versa.

[0226] As shown in FIG. 8C, when there are multiple external devices (e.g., table lamp 818, floor lamp 814) in a room (or accessible by electronic device 800), electronic device 800 can distinguish between the multiple external devices and send commands only to the intended external device (e.g., table lamp 818, floor lamp 814). Electronic device 800 identifies the intended external device (e.g., table lamp 818, floor lamp 814) by determining whether a set of one or more gaze criteria is met for the particular external device (e.g., table lamp 818, floor lamp 814). In other words, electronic device 800 uses gaze information to determine which external device (e.g., table lamp 818, floor lamp 814) the user is looking at when a set of one or more gaze criteria is met. In some embodiments, when the electronic device 800 sends a command (e.g., "turn on") to the identified first external device (table lamp 818), the second external device in the room (floor lamp 814) is not affected because it is not an external device identified by the gaze information. The floor lamp 814 (second external device) may be in an on or off state. For example, in FIG. 8C, a command is sent to the table lamp 818 to turn on the table lamp 818, but no command is sent to the floor lamp 814, which remains off (floor lamp 814 was previously in an off state). Thus, the sent command does not change the state of the floor lamp 814. In some embodiments, when the user 820 glances at the floor lamp 814 but not the table lamp 818, a set of one or more gaze criteria is met by the floor lamp 814 but not the table lamp 818. Thus, the digital assistant sends commands to floor lamp 814 while table lamp 818 remains unaffected (e.g., table lamp 818 remains on if it was previously on, and remains off if it was previously off).

[0227] When the digital assistant sends a command to the corresponding external device, the electronic device 800 optionally provides an indicator (e.g., indicators 810A, 810B, 810C) indicating that the table lamp 818 has transitioned from a first state to a second state. In some embodiments, the indicator is a visual indicator 810A that displays a light or light pattern of a particular color (e.g., a color other than blue or a default color) to indicate that the table lamp 818 has been turned on from an off state as a result of receiving the command. In some embodiments, the indicator is an audio indicator 810B that is a sound, one or more words, or a tone. In some embodiments, the indicator is an audio confirmation 810C from the digital assistant, such as "Ok, Jack, the table lamp is on." The user can customize the indicator to include characteristics associated with the user's profile that the user 820 provided during registration (e.g., username, light color, pattern, sound, voice, particular user preferences for accent). The registration process is described in more detail below in connection with FIGS. 10A-10D and method 1100. The digital assistant customizes the indicator to reflect which user (e.g., Jack) has been recognized, as described below with respect to FIGS. 10A-10D and method 1100. In some embodiments, electronic device 800 provides an indicator (e.g., 810A, 810B, 810C) when the digital assistant successfully sends a command to table lamp 818, regardless of whether table lamp 818 is actually turned on. In some embodiments, electronic device 800 provides an indicator (e.g., 810A, 810B, 810C) in response to determining that table lamp 818 has been turned on. Optionally, electronic device 800 provides a different indicator (e.g., 810A, 810B, 810C) when table lamp 818 fails to execute the "turn on" command and remains off.In some embodiments, the electronic device 800 may provide different indicators (eg, 810A, 810B, 810C) to indicate a particular error code when a command 824A-824B fails to execute.

[0228] The indicators (e.g., 810A, 810B, 810C) are optionally domain (e.g., music) specific. In some embodiments, the electronic device 800 determines that the command refers to an action in a particular domain (e.g., a "Love that song" command in the music domain). Following a determination that the command is a first domain (e.g., music), the indication is a first type of indication (e.g., a particular set of sound or light indicators). Following a determination that the command is a second domain (e.g., email) different from the first domain, the indication is a second type of indication (e.g., a different set of sound or light indicators) different from the first type of indication. Having different indicators (e.g., 810A, 810B, 810C) for different domains allows a user to easily recognize when a command was successfully executed and when a command failed to execute.

[0229] FIG. 8D shows that when the digital assistant sends a command to turn on the table lamp 818, the user 820 can further change the settings of the external device (e.g., the brightness of the lamp) by providing an input to a second external device (e.g., by rotating the crown 832 of the watch 830 worn by the user 820). The watch 830 does not have access to contextual information about which external device to control. Instead, the user simply uses the crown 832 of the watch 830 as an extended input mechanism to control the lamp. The watch 830 detects the user input and sends an indication of the user input to the electronic device 800. The electronic device 800 receives the indication of the user input and determines that the table lamp 818 is the intended external device (e.g., the table lamp 818, the floor lamp 814) that should receive the command. In FIG. 8D, the user 820 rotates the crown 842 to increase the brightness of the table lamp 818 to brightness 80. In some examples, the electronic device 800 determines that the table lamp 818 is the intended external device based on the recency with which the electronic device 800 has sent a command to the table lamp 818 based on the actions of the user 820. In some embodiments, the electronic device 800 sends a command (based on user input at the watch 830) to the most recent device (e.g., the table lamp 818) that the electronic device 800 has commanded. For example, if the electronic device 800 has just commanded a computer to play music, the user turning the crown 842 on the watch 840 will cause the electronic device 800 to send a command to the computer to increase (or decrease) the volume of the computer. In some embodiments, the electronic device 800 is paired with the table lamp 818. In some embodiments, the electronic device 800 detects that the user 820 is wearing the watch 840 while the watch 840 is paired with the electronic device 800. In some embodiments, the watch 840 is (also) paired with the table lamp 818.When the electronic device 800 sends a command to the table lamp 818, the electronic device 800 provides an indicator (e.g., 810A, 810B, 810C) that indicates that the command was sent successfully. In some embodiments, the electronic device 800 provides a different indicator (e.g., 810A, 810B, 810C) that indicates that the command was not sent successfully to the table lamp 818.

[0230] FIG. 8E shows the electronic device 800 receiving an additional instruction of user input from the watch 830 to dim the light of the table lamp 818 to a lower brightness corresponding to the amount of rotation of the crown 832 by the user 820. In response to receiving the instruction of input from the watch 830, the electronic device 800 sends an instruction to the table lamp 818 to dim the light from brightness 80 to a reduced brightness of 20 based on the recency of the command to turn on the table lamp 818. In some embodiments, the user 820 uses the watch 830 to directly control the table lamp 818 when it is turned on, without having to provide an additional command to the digital assistant. When the electronic device 800 sends the command to the table lamp 818, the electronic device 800 provides an indicator (e.g., 810A, 810B, 810C) indicating that the command was sent successfully. In some embodiments, the electronic device 800 provides different indicators (eg, 810A, 810B, 810C) to indicate that a command was not successfully sent to the table lamp 818.

[0231] In some embodiments, as shown in FIGS. 8F-8H, when there are multiple external devices (e.g., floor lamp 814, table lamp 818) in the room, electronic device 800 uses the user's gaze information to identify a particular external device as the intended external device based on the user's gaze. Electronic device 800 identifies the intended external device by determining whether a set of one or more gaze criteria is met for a particular external device based on the gaze information. If the set of one or more gaze criteria is not met for any external device, electronic device 800 refrains from sending the command because electronic device 800 cannot determine the external device from the gaze information. As a result, the external devices in the room remain in their original state.

[0232] 8F shows that the electronic device 800 detects gaze information of the user 820, and pursuant to a determination that a set of one or more activation criteria is met (e.g., as described above with respect to FIGS. 6A-6D), the electronic device activates the digital assistant. The electronic device may optionally provide a visual indicator 810A (e.g., turning on the display 802), an audio indicator 810B, or a digital audio confirmation 810C to indicate that the digital assistant has been activated.

[0233] 8G shows a table lamp 818 that is initially on and a floor lamp 814 that is initially off. The electronic device 800 detects that the user 820 utters a second command 824C of "Turn on the light". However, the user 820 does not see the floor lamp 814, which is the intended external device of the command 826C. The electronic device 800 acquires second gaze information via one or more camera sensors 816A that may be located on the external device and / or integrated into the electronic device 800 with a camera 816B. The second gaze information optionally includes one or more of the user's head position, gaze dwell time or duration, gaze direction, field of view 806 of the gaze, gaze direction, and whether the floor lamp 814 is within the field of view 806 of the gaze.

[0234] In FIG. 8H, the electronic device 800 determines that the second gaze information obtained from the one or more camera sensors 816 does not satisfy a set of one or more gaze criteria. As described above, the set of one or more gaze criteria optionally includes a direction criterion that is satisfied for the floor lamp 814 when the gaze is directed in the direction of the floor lamp 814. The set of one or more gaze criteria optionally includes a stationary time criterion that is satisfied for the floor lamp 814 when the electronic device 800 detects a stationary time or duration of the gaze in the direction of the floor lamp 814 that exceeds a predetermined period (e.g., a non-zero threshold, 2 seconds). The set of one or more gaze criteria optionally includes a field of view criterion. The field of view criterion is satisfied for the floor lamp 814 when the floor lamp 814 is determined to be within the field of view 808 of the user 820. 8G-8H show that floor lamp 814 and table lamp 818 are not determined to be within the field of view 808 of user 820 because the determined offset angle is greater than a threshold offset angle from the line of sight 812 of user 820. The threshold offset angle 804 is greater than zero degrees (e.g., 30 degrees). If a set of one or more gaze criteria is not met, the electronic device 800 cannot determine which external device (floor lamp 814, table lamp 818) the user 820 intends to act on (e.g., turn on) because one or more of the duration criterion, the stillness time criterion, and / or the field of view criterion are not met for any external device.

[0235] 8H illustrates that the electronic device 800 refrains from sending a "turn that light on" command to transition the external device, floor lamp 814 or table lamp 818, from a first state (e.g., off) to a second state (e.g., on) because a set of one or more gaze criteria was not met for any external device. As a result, floor lamp 814 remains off and table lamp 818 remains off, which were the initial states of the external devices before electronic device 800 detected user 820 uttering command 824C. For example, table lamp 818 remains in its on state because no command has been sent to table lamp 818 to change its initial on state.

[0236] Based on the gaze information of the user 820, the electronic device 800 optionally generates a specific indicator (e.g., 810A, 810B, 810C) (e.g., a series of lights such as a head shake indication (e.g., FIG. 6O or a sound)) indicating that the electronic device 800 did not send the command because it could not identify the floor lamp 814 (or any other device) as the intended external device. In some embodiments, the specific indicator (e.g., a pattern of lights, colors, or a specific sound) may correspond to a specific error code for why the digital assistant could not determine the external device associated with the command 824C. The indicator generated when the digital assistant cannot send the command is optionally different from the indicator generated when the digital assistant can send the command. In some embodiments, if the digital assistant does not send the command associated with the command 824C, no indicator is generated.

[0237] FIG. 8I illustrates another embodiment in which multiple external devices (e.g., floor lamp 814 and table lamp 818) are present in a room and paired with electronic device 800. In this example, the digital assistant is activated by a glance from user 820. In other examples, the digital assistant is activated by a word, glance, or button press, as described above. As shown in FIG. 8I, table lamp 818 is already in an on state and floor lamp 814 is in an off state before the user in FIGS. 8J-8L speaks commands 824A-824B.

[0238] In FIG. 8J, electronic device 800 detects user 820 uttering portion 824A "Turn..." of second command 824A-B "turn on that light" while detecting that user 820 is looking at floor lamp 814. In FIG. 8J, electronic device 800 acquires second gaze information based on the user glancing at floor lamp 814 via one or more camera sensors 816A, which may be located on an external device and / or integrated into electronic device 800 at camera 816B. The second gaze information optionally includes one or more of the user's head position, gaze dwell time or duration, gaze direction, gaze field of view, gaze direction, and whether floor lamp 814 is within the gaze field of view based on the offset angle.

[0239] The electronic device 800 determines whether the second gaze information obtained from the one or more camera sensors 816A-816B satisfies a set of one or more gaze criteria. When the set of one or more gaze criteria is satisfied with respect to the floor lamp 814, the electronic device 800 can determine that the user 820 intends to apply the second command 824A-824B to the floor lamp 814. As described above, the set of one or more gaze criteria optionally includes a direction criterion that is satisfied with respect to the floor lamp 814 when the gaze is directed in the direction of the floor lamp 814. The set of one or more gaze criteria optionally includes a stationary time criterion that is satisfied when the electronic device 800 detects a stationary time or duration of the gaze in the direction of the floor lamp 814 that exceeds a non-zero predetermined time (e.g., 2 seconds). The set of one or more gaze criteria optionally includes a field of view criterion. The field of view criterion is satisfied when the external device, the floor lamp 814, is determined to be within the field of view 808 of the user 820. A floor lamp 814 is determined to be within the field of view 808 of a user 820 when the floor lamp 814 is within a threshold offset angle 804 from the user's line of sight 812. In some embodiments, the field of view criterion is met when the floor lamp 814 is directly within the line of sight 812 of the user 820, as shown in FIG. 8J. In some embodiments, the field of view criterion is met when a determined offset angle of the gaze is less than a threshold offset angle (e.g., a maximum allowable deviation from the line of sight 812 of the user 820 looking directly at the floor lamp 814). The threshold offset angle 804 is optionally greater than 0 degrees (e.g., 30 degrees). The determined offset angle is calculated based on an angle formed between the line of sight 812 from the gaze of the user 820 and a calculated line of sight 808 from the user 820 to the electronic device 800. In some examples, the field of view criterion is met for a floor lamp 814 when the floor lamp 814 is within a threshold degree from the user's direct line of sight 812, thereby being within the field of view of the gaze.

[0240] In some embodiments, as shown in FIG. 8K, the user 820 breaks his gaze on the floor lamp 814 while uttering the remaining portion 824B of the second command 824A-824B. FIG. 8K shows the electronic device 800 detects that the user 820 breaks line of sight on the floor lamp 814 while uttering the second portion 824B of the second command 824A-824B by looking away from the floor lamp 814. In some embodiments, when the electronic device 800 has already determined that the floor lamp 814 is the intended external device before the user 820 looks away, a set of one or more gaze criteria are still met even if the user 820 breaks his gaze before completing the second command 824A-824B. In some embodiments, if the electronic device 800 detects that the user 820 returns his or her gaze to the floor lamp 814 within a threshold duration before completing commands 824A-824B (e.g., Figures 6E-6G), the electronic device 800 still identifies the floor lamp 814 as an external device.

[0241] When a set of one or more gaze criteria is met, the electronic device sends a command to the floor lamp 814, thereby transitioning the floor lamp 814 from an OFF state to an ON state, as shown in FIG. 8L. Because the table lamp 818 does not meet one or more sets of gaze criteria, the table lamp 818 remains in its previous ON state, and thus the electronic device does not send a command to change the state of the table lamp 818. In some embodiments, if the command 824C received by the electronic device 800 is directed to the floor lamp 814 and determines that it includes "turn off that light," when a set of one or more gaze criteria is met for the floor lamp 814, the electronic device 800 sends a command to turn the floor lamp 814 off, while the table lamp 818, which was already in the ON state, remains in the ON state.

[0242] FIG. 8L illustrates that when the electronic device 800 sends a command to the floor lamp 814, the electronic device 800 optionally provides an indicator (e.g., indicators 810A, 810B, 810C) indicating that the floor lamp 814 has transitioned from an off state to an on state. In some embodiments, the indicator is a visual indicator 810A that displays a light or light pattern of a particular color (e.g., a color other than blue or a default color) to indicate that the table lamp 818 has been turned on from an off state as a result of receiving the command. In some embodiments, the indicator is an audio indicator 810B that plays a sound, one or more words, or a tone. In some embodiments, the digital assistant speaks a confirmation 810C. In some embodiments, the user 820 can customize the audio and visual indicators to include characteristics associated with the user's user profile (e.g., username, particular user preferences for light color, pattern, sound, voice, accent). In FIG. 8K, the digital assistant provides an audio indicator that reads, "Jack, your floor lamp is now on." The audio indicator provides a confirmation that the command has been executed. The voice indicator also includes the name of the user 820, which the user 820 provided during registration, obtained from the user profile of the user 820. The registration process is described in detail below with respect to FIGS. 10A-10D. The digital assistant can utilize settings from the profile of the user 820 to further customize the indicator to reflect which user (e.g., Jack) spoke the command. In some embodiments, the electronic device 800 provides an indicator when the electronic device successfully sends a "turn on" command to the floor lamp 814, regardless of whether the floor lamp 814 is actually on. Optionally, the electronic device 800 provides a different indicator when the floor lamp 814 fails to execute the "turn on" command and remains off. In some embodiments, the indicator when the command 824C is executed unsuccessfully includes different indicators with different error codes.

[0243] 9A-9B are flow diagrams illustrating a method 900 of using an electronic device, according to some embodiments. The method 900 is performed in an electronic device having a display device (e.g., 100, 300, 500, 600, 640, 800, 1000). Some operations of the method 900 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0244] As described below, the method 900 provides an intuitive way for a user (e.g., 820) to provide context for a voice user input request to a digital assistant on an electronic device (e.g., 800) by glancing at an external device (e.g., 814, 818) on which the voice user input request is intended to act. This method reduces the cognitive burden on the user (e.g., 820) in providing a voice user input request to a digital assistant (e.g., having to remember to mention the external device in the command). Thus, the digital assistant can determine the external device (e.g., 814, 818) for a command by monitoring the user's gaze (e.g., 820).

[0245] While the first external device (e.g., 818) is in a first state (e.g., the first external device (e.g., 818) is on or off, the first external device (e.g., 818) is playing a particular media item) (902), the electronic device (e.g., 800) receives a user input request (e.g., user speech input) to execute a first command (e.g., 824A-824B) (e.g., transition the external device to a second state and tell the digital assistant to "turn on that light") (904). In some embodiments, the electronic device receives a voice-based user input request (904) while the digital assistant on the electronic device (e.g., 800) is active (e.g., based on a trigger word, gaze, and / or button press).

[0246] While the first external device (e.g., 818) is in a first state (902), the electronic device obtains first gaze information (906) from a camera(s) external to the electronic device (e.g., 800), such as wirelessly connected to the electronic device (e.g., 800) or to a portion of the electronic device (e.g., 800), using one or more camera sensors (e.g., 816A, 816B) (e.g., infrared camera sensor(s), visible light sensor(s)) (e.g., the electronic device (e.g., 800) detects gaze information directed at the first external device (e.g., 818). In some examples, the electronic device (e.g., 800) uses the first gaze information to determine whether a set of one or more gaze criteria are met for the particular external device.

[0247] In response to determining (908) that a set of one or more gaze criteria is met for a first external device (e.g., 818) (e.g., an appliance such as a lamp, television, or computer) using the first gaze information (and optionally in response to the electronic device (e.g., 800) receiving a voice-based user input request), the electronic device (e.g., 800) sends (910) an instruction (e.g., to the first external device (e.g., 818)) that transitions the first external device (e.g., 818) from a first state to a second state based on the first command (e.g., the digital assistant performs an action on the external device (e.g., 818) by transitioning the external device (e.g., 818) from an on state to an off state or from an off state to an on state).

[0248] Using gaze detection to determine which external device (e.g., 814, 818) is associated with a command (e.g., 824A-824B) when a set of one or more gaze criteria is met provides a more efficient user interface for the user to provide context to the digital assistant by simply looking at the external device (e.g., 814, 818) without having to answer follow-up questions from the digital assistant to clarify which external device (e.g., 814, 818) is intended. By giving the digital assistant an improved user interface to provide context to the command (e.g., 824A-824B) without the digital assistant having to interact with the user to obtain more information, the user interface of the digital assistant interface becomes more efficient. In addition, using gaze detection reduces the number of inputs required to activate the digital assistant to execute a command (e.g., 824A-824B), thereby improving the usability of the digital assistant.

[0249] In some embodiments, pursuant to a determination that a set of one or more gaze criteria are met (e.g., angle, duration, and direction of gaze) with respect to the first external device (e.g., 818), the electronic device (e.g., 800) provides (912) an indication (e.g., 810A, 810B, 810c) (e.g., a visual or audio indication) that the set of one or more gaze criteria are met (e.g., indicating that a first command (e.g., 824A-824B) is associated with the first external device (e.g., 818).

[0250] A set of one or more gaze criteria is met and an indication is provided that the digital assistant successfully sent the command to the external device (e.g., 800), thereby providing feedback to the user as to whether the command (e.g., 824A-824B) was executed. The indication (e.g., 810A, 810B, 810C) can be a visual confirmation, an audio confirmation, or an audio confirmation of the digital assistant, providing customizable feedback for various contexts. For example, in a context where sound cannot be heard (e.g., a noisy room), providing visual feedback allows the user to know whether the digital assistant sent the command (e.g., 824C). Providing customized feedback of the state of the digital device improves the usability of the digital assistant, and by notifying the user when the digital assistant successfully sent the command to the external device, the user-device interface becomes more efficient (e.g., the user does not have to repeat a command because they are not sure whether the command was executed by the digital assistant). Furthermore, feedback of the state of the digital assistant allows the user to use the device quickly and efficiently.

[0251] In some embodiments, the instructions (e.g., 810A, 810B, 810C) (e.g., visual or audio instructions) are domain specific (914) (e.g., music domain, weather domain, messaging domain). In some examples, the electronic device (e.g., 800) determines that the command (e.g., 824C) is domain specific. Pursuant to a determination that the command (e.g., 824C) is a first domain, the instructions (e.g., 810A, 810B, 810C) are a first type of instruction. Pursuant to a determination that the command (e.g., 824C) is a second domain different from the first domain, the instructions (e.g., 810A, 810B, 810C) are a second type of instruction different from the first type of instruction.

[0252] By providing domain-specific indications, the digital assistant quickly notifies the user (e.g., 820) whether the digital assistant was able to successfully send the command (e.g., 824C) instruction. By associating a specific visual, audio, or digital audio indicator with a specific domain, the user is quickly provided with an improved user interface that allows the user to quickly determine if further action needs to be taken if the command (e.g., 824C) was not successfully executed. For example, if a user quickly says "love that song," the user (e.g., 820) can quickly know that the song has been added to the favorites list by the specific tone associated with the command, without the user having to confirm. This quickly reduces the cognitive burden on the user, as the association of a specific action with a successful tone in a specific domain provides immediate confirmation that the task has been performed. Furthermore, feedback of the digital assistant's state allows the user (e.g., 820) to use the digital assistant more quickly and efficiently.

[0253] In some embodiments, an electronic device (eg, 800) is paired (916) with a first external device (eg, 814, 818) (eg, a paired lamp, a television, a computer, a phone, or a watch).

[0254] In some embodiments, following a determination using the first gaze information that a set of one or more gaze criteria is not met for the first electronic device (e.g., 814, 818) (e.g., the user breaks the gaze, the user does not look at the external device for a threshold time), the electronic device (e.g., 800) refrains from sending an instruction to transition the first external device (e.g., 818) from the first state to the second state. In some examples, the digital assistant does not execute a command (e.g., 824C) when a set of one or more gaze criteria is not met.

[0255] In some embodiments, the set of one or more activation criteria includes a line of sight criterion that is met when the determined offset angle (e.g., 810) is less than a threshold offset angle (e.g., 804) (e.g., maximum allowable deviation from a user looking directly at the device, a non-zero threshold offset angle, the threshold offset angle being greater than zero degrees), where the determined offset angle (e.g., 810) is an angle formed between a line of sight (e.g., 812) of the user's gaze (e.g., determined from gaze information) and a calculated line of sight (e.g., 808) from the user (e.g., 820) to the electronic device (e.g., 818). In some examples, if the first external device (e.g., 818) is determined to be located more than a threshold degree (e.g., outside the field of view (e.g., 806) of the gaze), then the first external device (e.g., 818) is not within the user's line of sight and no command is sent to the first external device (e.g., 818). In some examples, when the first external device (e.g., 818) is within the field of view of gaze (e.g., 806) by being within a threshold degree, the digital assistant sends a command to the first external device (e.g., 818).

[0256] Using the field of view criterion as the gaze criterion allows the user's gaze to be detected without the user having to look directly at the external device (e.g., 818). Instead, as long as the external device (e.g., 818) is within the field of view of the user's gaze, the user's gaze satisfies the gaze criterion, thereby allowing the electronic device (e.g., 800) to determine which external device (e.g., 814, 818) is intended. Using the field of view criterion allows the external device (e.g., 818) to be determined without requiring further interaction with the user, thereby improving the usability of the digital assistant and making gaze detection by the electronic device (e.g., 800) more efficient (e.g., the external device (e.g., 818) is more easily identified because it does not need to be within the direct line of sight of the user (e.g., 820).

[0257] In some embodiments, the gaze line of sight (e.g., 812) of a user (e.g., 820) is based on the head position of the user (e.g., 820) (e.g., the same user from whom the voice user input request was received). In some examples, the user's head position may be affected by the tilt or rotation (e.g., yaw, pitch, and roll) of the user's head. In some examples, head position tracking is used to determine whether a first external device (e.g., 818) is within the field of view (e.g., 806).

[0258] In some embodiments, the set of one or more gaze criteria includes a stillness time criterion that is met for the first external device (e.g., 818) when a stillness time (e.g., duration) of a gaze determined from the first gaze information exceeds a threshold time (e.g., a non-zero time). In some examples, when a stillness time of a gaze of the user (e.g., 820) is less than the threshold time.

[0259] In some embodiments, following the electronic device (e.g., 8000) sending a command (e.g., to the first external device (e.g., 818)) to transition the first external device (e.g., 818) from the first state to the second state, the electronic device (e.g., 800) provides an indication (e.g., 810A, 810B, 810C) (e.g., audio or visual) that the first external device (e.g., 818) is in the second state (e.g., the electronic device (e.g., 800) provides a visual indication (e.g., 810A) that the first external device (e.g., 818) has been turned on). In some examples, the electronic device (e.g., 800) provides a different indication (e.g., 810A, 810B, 810C) when the command (e.g., 824C) could not be executed (e.g., the first external device (e.g., 818) is still in the first state).

[0260] In some embodiments, pursuant to determining using the first gaze information that the first external device (e.g., 818) is in a first state, the second external device is in a third state, and a set of one or more gaze criteria is met for the second external device (e.g., an appliance such as a lamp, television, or computer) (and, optionally, in response to receiving a voice-based user input request), the electronic device (e.g., 800) sends an instruction (e.g., to the first external device (e.g., 818)) to transition the second external device (e.g., 814) from the third state to a fourth state based on the first command (e.g., 824C) (e.g., the electronic device (e.g., 800) performs an action on the second external device (e.g., 814) by transitioning the second external device from an on state to an off state or from an off state to an on state).

[0261] Upon determining using the first gaze information (and optionally upon receiving a voice-based user input request) that a set of one or more gaze criteria is not met for a second external device (e.g., 814) (e.g., an appliance such as a lamp, a television, or a computer), the electronic device (e.g., 800) refrains from sending (e.g., to the first external device) an instruction to transition the second external device (e.g., 814) from a third state to a fourth state based on the first command (e.g., 824C) (e.g., the electronic device (e.g., 800) refrains from performing an action on the second external device, such as by refraining from transitioning the second external device from an on state to an off state or from an off state to an on state).

[0262] In some embodiments, while the first external device (e.g., 818) is in the second state (e.g., the first external device 9, e.g., 818) can also be in the first state) and the second external device (e.g., 814) is in the third state (918), the electronic device (e.g., 800) receives (920) a second user input request (e.g., user speech input) including a second command (e.g., 826C).

[0263] The electronic device (e.g., 800) uses one or more camera sensors (e.g., 816A, 816B) to obtain second gaze information (922) (e.g., to tell the digital assistant to turn on "the" light and transition a second external device (e.g., 814) to a second state).

[0264] Following a determination using the second gaze information that a set of one or more gaze criteria is met for the second external device (e.g., 814) (e.g., the second gaze identifies the second external device (e.g., 814) by satisfying the gaze criteria, such as the gaze angle being within a threshold degree range, the gaze being in a particular direction, and the duration being equal to or greater than a predetermined time), the electronic device (e.g., 800) transmits an instruction (924) to transition the second external device (e.g., 814) from the third state to the fourth state (e.g., change the state of the second external device (e.g., 814), i.e., turn on the floor lamp) based on the second command (e.g., 824C). Meanwhile, the first external device (e.g., 818) remains in the second state (e.g., the table lamp remains on without the state of the first external device being changed).

[0265] In some embodiments, while the second external device (e.g., 814) is in the third state and pursuant to a determination using the second gaze information that a set of one or more gaze criteria is not met for the second external device (e.g., 814) (e.g., the second external device is not identified), the electronic device (e.g., 800) refrains from sending an instruction to transition the second external device (e.g., 814) from the third state to the fourth state (e.g., the second external device (e.g., 814) remains in the same state as before).

[0266] In some embodiments, following sending (e.g., to the second external device (e.g., 814)) an instruction to transition the second external device (e.g., 814) from the third state to the fourth state, the electronic device (e.g., 800) provides an indication (e.g., 810A, 810B, 810C) (e.g., a visual or audio indication) indicating that the second external device (e.g., 814) is in the fourth state (e.g., providing a visual (e.g., 810A) indication or an audio (e.g., 810B) indication indicating that the state of the second external device (e.g., 814) has changed). In some examples, the electronic device (e.g., 800) provides a different indication (e.g., 810A, 810B, 810C) when the second command (e.g., 824C) could not be executed (e.g., the second external device (e.g., 813) is still in the third state).

[0267] In some embodiments, following sending (e.g., to the first external device (e.g., 818)) a command to transition the first external device (e.g., 818) from a first state to a second state, the electronic device (e.g., 800) receives from a third external device (e.g., a watch or phone) an indication of an input (e.g., the rotation of a crown (e.g., 832) on the third external device) received by the third external device (e.g., 830). The electronic device (e.g., 800) sends a second command to the first external device (e.g., 818) based on the recency with which the electronic device (e.g., 800) commanded the first external device (e.g., 818) a third command to transition the first external device (e.g., 818) (e.g., dim the brightness of the light of a table lamp after the table lamp is turned on). In some embodiments, the third external device (e.g., 830) does not know which external device (e.g., 814, 818) the third external device (e.g., 840) is interacting with. The third external device (e.g., 830) only receives input and sends user input to the electronic device (e.g., 800) and is the device that the electronic device (e.g., 800) knows to which external device (e.g., 814, 818) to send a command (e.g., dim the lights).

[0268] A third external device (e.g., 830) is used to further control the proximate external device (e.g., 818) to which the electronic device (e.g., 800) sent commands, thereby providing the user (e.g., 820) with an additional user interface with further control of the external device (e.g., 818).

[0269] Providing the user (e.g., 820) with additional user interfaces and mechanisms to control the device without the need to go through the digital assistant provides a more efficient user interface and reduces the number of interactions with the digital assistant required to execute a command. Rather than needing to interact with the digital assistant to process the additional command, the user (e.g., 820) can simply use the external device (e.g., 830) to provide precise input that may be difficult to describe in words. Receiving additional user input based on input received from a third external device (e.g., 840) improves the usability of the digital assistant and makes the user interface for controlling the external device (e.g., 818) more efficient since additional commands are not required.

[0270] It should be noted that the process details described above with respect to method 900 (e.g., Figures 9A-9B) are also applicable in a similar manner to the methods described below / above. For example, method 900 optionally includes one or more of the characteristics of the various methods described above with respect to method 700 and below with respect to method 1100. For example, method 900 may include one or more of the characteristics of the various methods described above and below with reference to the processes of Figures 7A, 7B, 11A, 11B. For the sake of brevity, these details will not be repeated below.

[0271] It should be understood that the particular order in which the operations are described in the following Figures 7A-7B and 11A-11B is exemplary and is not intended to indicate that the described order is the only order in which those operations may be performed. Those skilled in the art will recognize various ways to rearrange the order of the operations described herein as well as the exclusion of certain operations. For the sake of brevity, those details will not be repeated here. Additionally, it should be noted that aspects of the methods and processes described throughout this description may be integrated with one another.

[0272] 10A-10D show example user interfaces for providing different indicators that indicate the digital assistant recognizes different users (e.g., 1020, 1030) uttering commands in a room at the time the digital assistant is activated, according to some embodiments. The digital assistant is activated based on a trigger word, a gaze as described above with respect to method 700, a button press, a wrist lift while the user is wearing a wearable electronic device (e.g., a watch) (e.g., FIGS. 6E-6G), and / or a user pointing an external device (e.g., a phone) over electronic device 1000. In some examples, in response to determining that a user (e.g., 1020, 1030) is looking at electronic device 1000 (e.g., in accordance with determining that one or more sets of activation criteria are met using gaze information, as described above), electronic device 1000 activates the digital assistant and receives commands when the digital assistant is launched. 10A-10D also optionally include aspects of method 900 and techniques described with respect to FIGS. 8A-8L, which show an electronic device using a user's gaze to determine a particular external object (e.g., table lamp 1018, floor lamp) associated with a command. The techniques in these figures are used to illustrate processes described below, including the processes of FIGS. 11A-11B.

[0273] As shown in FIGS. 10A-10D, users Jane 1030 and Jack 1020 are in the same room as electronic device 1000. In FIG. 10A, a digital assistant of the electronic device is activated, such as by using aspects of the techniques described above. Electronic device 1000 receives spoken commands (e.g., 1024A, 1024B) from one or more users (e.g., Jane 1030 and Jack 1020) to control various external devices in the room, such as a floor lamp 1014 or a table lamp 1018. In response to electronic device 1000 receiving the commands (e.g., 1024A, 1024B), electronic device 1000 determines a user identity (e.g., 1020, 1030) of the particular user who spoke the command (e.g., 1024A, 1024B). In some embodiments, an external device (e.g., external camera 1016A, phone, or integrated camera 1016B) determines a user identification corresponding to the command and transmits the user identification to electronic device 1000. In some embodiments, electronic device 1000 obtains information about the speaking user using an external or internal device (e.g., external camera 1016A, phone, or integrated camera 1016B). In some embodiments, electronic device 1000 uses the obtained information to perform face recognition, voice recognition, or calculate the distance to the speaking user to determine the user identification.

[0274] In some embodiments, before the electronic device activates the digital assistant, the users of Jane 1030 and Jack 1020 have registered user profiles, which are optionally stored in the electronic device 1000. In some embodiments, the user profiles are stored on a server and accessible by the electronic device 1000. The user profiles include settings and preferences (e.g., type of accent of the digital assistant's voice, gender of the digital assistant's voice, tone of the indicator, color of the LED light) that the electronic device can use to customize the indicators 1010A, 1010B, 1010C used by the electronic device to indicate whether the digital assistant is activated or whether commands 1024A, 1024B have been executed successfully or unsuccessfully. For example, a user can customize the digital indicator settings by providing values ​​for each characteristic of the indicator. In some examples, the indicator characteristics include type (e.g., visual, audio, voice confirmation, or any combination of type), light color for the visual indicator, tone of the audio indicator, and customization for the digital voice (e.g., language, accent and gender type). The user profile also optionally stores information about the user provided by users Jane 1030 and Jack 1020 during registration with the users' consent, such as the user's name, birth date, gender, and / or address. User profile settings and preferences may be updated at any time. The techniques for user registration on electronic device 1000 described herein may be used in combination with methods 700 and 900, above, with reference to the processes of Figures 7A, 7B, 9A, and 9B. For brevity, these details will not be repeated here.

[0275] In FIG. 10A, the electronic device 1000 receives a command 1024A from Jane 1030 to "turn on the table lamp" when the digital assistant is activated. When the electronic device 100 receives the command 1024A spoken by Jane 1030 (or after receiving the command 1024A spoken by Jane 1030), the electronic device 1000 determines that the speaker is Jane 1030. For example, the device 1000 uses the external camera 1016B, the integrated camera 1016B, and / or the microphone to determine that the received command 1024A comes from the direction in which Jane 1030 is sitting. Thus, the electronic device 1000 displays a light pattern 1010D (e.g., three light dots) on the display 1002 at a position corresponding to the direction in which Jane 1030 is sitting. In some embodiments, the electronic device 1000 displays an animated light pattern 1010D on the display 1002, where the light pattern is animated to point in the direction where Jane 1030 is sitting.

[0276] In FIG. 10A, when the digital assistant determines that the speaker of command 1024A is Jane 1030, the electronic device 1000 updates the value of the characteristic (e.g., light color, specific sound, word, or unique digital assistant voice) of the indicator (e.g., visual 1010A, audio 1010B, or digital assistant confirmation 1010C) to a value corresponding to Jane 1030 (e.g., purple light, two-tone tone, Jane's name, British accent, female voice). In some embodiments, the value of the characteristic is a value obtained from Jane's user profile. For example, the electronic device sets the color of the light pattern 1010D (e.g., three light dots) on the display 1002 to a color corresponding to Jane 1030 (e.g., purple). As a result, the electronic device 1000 indicates to Jane 1030 and Jack 1020 that the device 1000 recognized the speaker as Jane 1030 and that one or more of Jane's 1030 preferences will be used.

[0277] In contrast, in FIG. 10C, when the digital assistant determines that the speaker of the command 1024B is Jack 1020, a different user than Jane 1030, the electronic device 1000 updates the indicator (e.g., visual indicator or audio indicator) characteristic (e.g., light color, sound, or digital assistant voice) value to a value corresponding to Jack 1020 (e.g., blue light, one tone tone, Jack's name, Australian accent, male voice), and the value of the characteristic associated with Jack 1020 is different from the value of the characteristic associated with Jane 1030. For example, the electronic device sets the color of the light pattern 1010E (e.g., three light dots) on the display 1002 to a color corresponding to Jack 1020 (e.g., blue). As a result, the electronic device 1000 indicates to Jane 1030 and Jack 1020 that the device 1000 recognizes the speaker as Jack 1020 and that one or more of Jack 1020's preferences will be used.

[0278] In some embodiments, Jack 1020 and Jane 1030 may have the same characteristic values ​​associated with each person. For example, Jack 1020 and Jane 1030 may both select an American, female digital assistant voice. In some embodiments, the indicator characteristic values ​​associated with each user are unique. For example, Jane 1030 and Jack 1020 may have different light colors (e.g., Jane's is purple while Jack's is blue) and different sounds (e.g., a two-tone sound versus a one-tone sound) associated with each user.

[0279] 10B, after the electronic device 1000 identifies that Jane 1030 has uttered the command 1024A, the electronic device 1000 determines whether a set of one or more performance criteria are met, as described above with respect to method 900. The set of one or more performance criteria includes one or more of a completion criteria, an enablement criteria, and an activation criteria. If the set of one or more performance criteria is met, the electronic device 1000 performs an action, such as sending a command to turn on the floor lamp 1014.

[0280] When the electronic device 1000 executes the command 1024A, the electronic device 1000 optionally provides an indicator (e.g., indicators 1010A, 1010B, 1010C) using Jane's 1030 preferences to indicate that the command was executed successfully. The types of indicators (e.g., visual confirmation, audio confirmation, and digital audio confirmation) and their characteristics are described above with respect to methods 700 and 900. In FIG. 10B, the electronic device 1000 determines that the speaker is Jane 1030 and based on that determination, provides a confirmation using a female digital assistant voice confirmation with an American accent: "Jane, the floor lamp has been turned on." The name "Jane" is obtained from Jane's 1030 user profile provided by Jane 1030 during registration. The electronic device 1000 uses a female American accent based on previous preferences stored as part of Jane's 1030 user profile. The purple light pattern may be displayed as a visual indicator on the electronic device 1000 to indicate that the digital assistant has processed Jane's command 1024A. The tone associated with Jane 1030 may also be played as an audio indicator on the electronic device 1000 to indicate that the digital assistant has processed Jane's command 1024A. As a result, both Jane 1030 and Jack 1020 recognize that Jane has been identified as the speaker.

[0281] Similarly, FIG. 10C shows Jack 1020 uttering the command 1024B "Turn on the floor lamp." The electronic device 1000 determines, for example, using the external camera 1016A, the integrated camera 1016B, and / or a microphone, that the speaker is Jack 1020 and determines that the command 1024B is coming from the direction where Jack 1030 is sitting. In response, the electronic device 1000 displays a light pattern 1010E (e.g., three light dots) on the display 1002 in a position that corresponds to the direction where Jack 1020 is standing. In some embodiments, the electronic device 1000 displays an animated light pattern 1010E on the display 1002, where the light pattern is animated to point in the direction where Jack 1020 is standing. For example, the electronic device sets the color of the light pattern 1010E (e.g., three light dots) on the display 1002 to a color (e.g., blue) that corresponds to Jack 1020. As a result, the electronic device 1000 indicates to Jane 1030 and Jack 1020 that the device 1000 recognizes the speaker as Jack 1020 and that one or more of Jack's 1020 preferences will be used.

[0282] 10D, after electronic device 1000 determines that jack 1020 has uttered command 1024B, electronic device 1000 determines whether a set of one or more performance criteria are met, as described above with respect to method 900. The set of one or more performance criteria includes one or more of a completion criteria, an enablement criteria, and an activation criteria. If the set of one or more performance criteria is met, electronic device 1000 performs an action, such as sending a command to turn on floor lamp 1014.

[0283] When electronic device 1000 executes command 1024B, electronic device 1000 optionally provides an indicator (e.g., indicators 1010A, 1010B, 1010C) using Jack 1020's preferences to indicate that the command was executed successfully. The types of indicators (e.g., visual confirmation, audio confirmation, and digital audio confirmation) and their characteristics are described above with respect to methods 700 and 900. In FIG. 10D, electronic device 1000 determines that the speaker is Jack 1020 and, based on that determination, provides the confirmation "Jack, the table lamp is turned on" using a male digital assistant voice with an Australian accent. The name "Jack" is obtained from Jack's 1030 user profile that Jack 1020 provided during registration. Electronic device 1000 uses a male Australian accent based on previous preferences stored as part of Jack's 1020 user profile. A blue light pattern may be displayed as a visual indicator on electronic device 1000 to indicate that the digital assistant has processed jack command 1024B. The electronic device optionally plays a custom tone associated with jack 1020 as an audio indicator to indicate that the digital assistant has processed jack command 1024B.

[0284] 11A-11B are flow diagrams illustrating a method 1100 of using an electronic device, according to some embodiments. The method 1100 is performed in an electronic device (e.g., 100, 300, 500, 600, 640, 800, 1000). Some operations of the method 1100 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0285] As described below, method 1100 provides an intuitive way for the digital assistant to indicate recognition of different users (e.g., 1020, 1030) by providing a unique indicator for each person. This method reduces the cognitive burden on the users (e.g., 1020, 1030) when multiple users are uttering commands in a room because the user can see that the digital assistant has processed a particular user's command. Thus, the digital assistant can provide instant feedback to indicate which user's command has been processed.

[0286] After the digital assistant on the electronic device (e.g., 1000) is activated based on a trigger word, gaze, and / or button press, the electronic device 1000 receives a voice-based user input request (e.g., 1024A, 1024B) (1106). In some embodiments, in response to receiving the voice-based user input request (e.g., 1024A, 1024B), the electronic device (e.g., 1000) determines a user identity (e.g., a particular user (e.g., 1020, 1030)) corresponding to the voice-based user input request (e.g., 1024A, 1024B). In some embodiments, a remote device (e.g., camera 1016) determines a user identity corresponding to the voice-based user input request (e.g., 1024A, 1024B), and the electronic device (e.g., 1000) receives the result of the determination.

[0287] In some embodiments, before the electronic device (e.g., 1000) receives the voice-based user input request (e.g., 1024A, 1024B), the electronic device (e.g., 1000) receives (1102) registration information (e.g., user profile information). In some embodiments, the electronic device (e.g., 1000) uses the registration information to associate (1104) a first value of a characteristic (e.g., light, sound, digital assistant voice) of an indicator (e.g., 1010A, 1010B) of the electronic device (e.g., 1000) with a first user (e.g., 1020) (and not with a second user) and to associate a second value of the characteristic of the indicator of the electronic device (e.g., 1000) with a second user (e.g., 1030) (and not with the second user). In some embodiments, during the registration process, the electronic device (e.g., 1000) receives the user's name and then associates the name with the user's (e.g., 1020, 1030) voice. In some embodiments, during the registration process, the electronic device (e.g., 1000) associates a visual indicator color (e.g., LED color) with the user (e.g., 1020, 1030).

[0288] By associating the values ​​of the characteristics of the indicators (e.g., 1010A, 1010B, 1010C) with the preferences in the user's user profile, the digital assistant can provide feedback to confirm that the digital assistant has identified the particular user (e.g., 1020, 1030) issuing the command. Providing customized feedback to confirm to the user (e.g., 1020, 1030) improves the usability of the digital assistant, and providing the indicators (e.g., 1010A, 1010B, 1010C) to the user (e.g., 1020, 1030) with confirmation using the user's (e.g., 1020, 1030) preferences makes the user-device interface more efficient (e.g., the user (e.g., 1020, 1030) knows that the digital assistant has processed the user's command (1024A, 1024B)). This reduces the cognitive burden on the user (e.g., 1020, 1030) by providing immediate confirmation that the task has been performed by associating a success indicator with a particular user's settings, and reduces confusion when there are multiple users speaking simultaneously or other speakers in the background. Additionally, feedback of the digital assistant's state allows the user (e.g., 1020, 1030) to use the digital assistant more quickly and efficiently.

[0289] The electronic device receives (1106) a voice request for user input.

[0290] In some embodiments, the verbal user input requests (e.g., 1024A, 1024B) are user spoken input (e.g., utterances, commands), and the updating (1108) of the value of the property (e.g., light, sound, digital assistant voice) is not based on the transcribed content of the verbal user input requests (e.g., 1024A, 1024B) (e.g., the value of the property is not based on what the user said, but rather on the user's identity).

[0291] In response to determining that the voice user input request corresponds to a first user (e.g., 1020) (and, optionally, in response to receiving the voice user input request), the electronic device (e.g., 1000) updates (1110) a value of a characteristic (e.g., light color, sound, digital assistant voice) of an indicator (e.g., 1010A, 1010B, 1010C) (e.g., a visual indicator, an audio indicator, or a digital assistant voice confirmation) to a first value corresponding to the first user (e.g., 1020) (e.g., the characteristic value is associated with the identity of the first user).

[0292] In response to determining that the voice user input request corresponds to a second user (e.g., 1030) different from the first user (and, optionally, in response to receiving the voice user input request), the electronic device (1000) updates (1112) a value of a characteristic (e.g., light color, sound, digital assistant voice) of an indicator (e.g., 1010A, 1010B, 1010C) (e.g., a visual indicator, an audio indicator, or a voice confirmation of a digital assistant) to a second value corresponding to the second user (e.g., 1030) (e.g., the value of the characteristic is associated with an identity of the second user), the second value being different from the first value.

[0293] The electronic device (e.g., 1000) responds (1114) to the voice-based user input request (e.g., 1024A, 1024B) using an indicator (e.g., 1010A, 1010B, 1010C) (e.g., the electronic device (e.g., 1000) displays a light and plays a sound using a particular digital assistant voice or using the user's name in the response). The indicator (e.g., 1010A, 1010B, 1010C) includes an updated value of the characteristic (e.g., light color, sound, or digital assistant voice).

[0294] In some embodiments, an electronic device (e.g., 1000) that responds to a vocal user input request (e.g., 1024A, 1024B) using an indicator (e.g., 1010A, 1010B, 1010C) includes an electronic device (e.g., 1000) that displays (1116) a visual indicator (e.g., 1010A) (e.g., a light) using a value of a characteristic (e.g., light color, position of displayed light) corresponding to the user associated with the vocal user input request (e.g., 1024A, 1024B).

[0295] In some embodiments, an electronic device (e.g., 1000) that responds to an audio user input request (e.g., 1024A, 1024B) with an indicator includes an electronic device (e.g., 1000) that provides (1118) an audio indicator (e.g., 1010B) (e.g., voice, sound) using a characteristic value (the characteristic value can be an accent, gender, pitch, voice, sound, or a particular digital assistant voice, such as an American female digital assistant voice) that corresponds to a user (e.g., 1020, 1030) associated with the audio user input request (e.g., 1024A, 1024B). In some embodiments, the user selected an American female digital assistant voice in the digital assistant voice settings shown in the user's user profile (e.g., 1020, 1030).

[0296] In some embodiments, the indicator is a visual indicator (e.g., 1010A), and in response to the electronic device (e.g., 1000) receiving a voice user input request (e.g., 1024A, 1024B) and prior to determining that the voice user input request (e.g., 1024A, 1024B) corresponds to a particular user (e.g., 1020, 1030), the electronic device (e.g., 1000) displays a visual indicator (e.g., 1010A) having a default value (e.g., a white light) of the characteristic (e.g., displaying a first light color when the digital assistant is activated). In some embodiments, the default value of the characteristic is different from the first value and the second value.

[0297] In some embodiments, the characteristic of the voice indicator (e.g., 1010B) (e.g., the digital assistant uses a word to provide confirmation) is a term (e.g., the word, the name) that corresponds to the user associated with (e.g., providing) the voice user input request (e.g., 1024A, 1024B).

[0298] Using the user's name (e.g., 1020, 1030) in the digital assistant's voice confirmation indicator (e.g., 1010C) allows the digital assistant to provide feedback to confirm that the digital assistant has identified the specific user (e.g., 1020, 1030) issuing the command. Providing customized feedback to confirm the user (e.g., 1020, 1030) improves the usability of the digital assistant and makes the user-device interface more efficient (e.g., a specific user (e.g., 1020, 1030) knows that the digital assistant has processed the user's command (e.g., 1024A, 1024B)). This reduces the cognitive burden on the user (e.g., 1020, 1030) by providing immediate confirmation that the task has been performed, and reduces confusion when there are multiple users (e.g., 1020, 1030) speaking at the same time or other speakers in the background). Additionally, feedback of the digital assistant's state may enable a user (e.g., 1020, 1030) to use the digital assistant more quickly and efficiently.

[0299] In some embodiments, the electronic device (e.g., 1000) determines a user associated with a vocal user input request based on one or more of voice recognition, facial recognition, and a direction of the vocal user input request.

[0300] The above has been described with reference to specific embodiments for purposes of illustration. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. The embodiments have been chosen and described in order to best explain the principles of the technology and their practical applications. In order to enable others skilled in the art to best utilize the technology and various embodiments with various modifications as suited to the specific applications intended.

[0301] Although the present disclosure and examples have been fully described with reference to the accompanying drawings, it should be noted that various changes and modifications will become apparent to those skilled in the art, and such changes and modifications are to be understood as being included within the scope of the present disclosure and examples, as defined by the claims.

[0302] As mentioned above, one aspect of the present technology is to collect and use data available from various sources to better achieve control of a user's electronic device. The present disclosure contemplates that in some examples, this collected data may include personal information data that uniquely identifies a particular person or that can be used to contact or locate a particular person. Such personal information data may include demographic data, location-based data, phone numbers, email addresses, Twitter IDs, home addresses, data or records regarding the user's health or fitness level (e.g., vital sign measurements, medication information, exercise information), birth date, or any other identifying or personal information.

[0303] This disclosure recognizes that the use of such personal information data in the present technology may be for the benefit of the user. For example, personal information data may be used to personalize device interactions. Thus, the use of such personal information data may allow the user to control the electronic device more easily. Additionally, other uses of personal information data that benefit the user are also contemplated by this disclosure. For example, health and fitness data may be used to provide insight into the user's overall wellness, or may be used as proactive feedback to individuals using the technology to pursue wellness goals.

[0304] This disclosure contemplates that entities involved in the collection, analysis, disclosure, transfer, storage, or other use of such personal information data adhere to robust privacy policies and / or practices. Specifically, such entities should implement and consistently use privacy policies and practices that are generally recognized as meeting or exceeding industry or government requirements for keeping personal information data confidential and secure. Such policies should be easily accessible by users and should be updated as data collection and / or use changes. Personal information from users should be collected for the entity's lawful and legitimate use and should not be shared or sold except for those lawful uses. Furthermore, such collection / sharing should be conducted after informing and obtaining consent from the user. Furthermore, such entities should consider taking all necessary measures to protect and secure access to such personal information data and ensure that others having access to that personal information data adhere to their privacy policies and procedures. Furthermore, such entities may subject themselves to third-party assessments to attest to their adherence to widely accepted privacy policies and practices. Furthermore, policies and practices should be adapted to the specific types of personal information data being collected and / or accessed, and should conform to applicable laws and standards, including jurisdiction-specific considerations. For example, in the United States, collection or access of certain health data may be governed by federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA), while health data in other countries may be subject to other regulations and policies and should be addressed accordingly. Therefore, different privacy practices should be maintained for different types of personal data in each country.

[0305] Notwithstanding the foregoing, the present disclosure also contemplates embodiments in which a user selectively blocks use of or access to personal information data. That is, the present disclosure contemplates that hardware and / or software elements may be provided to prevent or block access to such personal information data. For example, in the case of digital assistants, user gaze, and user profiles, the technology may be configured to allow a user to choose to "opt in" or "opt out" of participating in the collection of personal information data during registration for the service or at any time thereafter. In another example, a user may choose not to provide personal information. In yet another example, a user may choose to limit the period of time that personal information is maintained or to completely prohibit the development of a baseline profile. In addition to providing "opt-in" and "opt-out" options, the present disclosure contemplates providing notifications regarding access or use of personal information. For example, a user may be notified upon download of an app (e.g., a digital assistant app) that accesses the user's personal information data, and then again immediately before the personal information data is accessed by the app.

[0306] Further, it is the intent of this disclosure that personal information data should be managed and processed in a manner that minimizes the risk of unintended or unauthorized access or use. Risk can be minimized by limiting the collection of data and deleting it when it is no longer needed. Furthermore, where applicable, de-identification of data can be used to protect user privacy in certain health-related applications. De-identification can be facilitated by removing certain identifiers (e.g., date of birth, etc.) where appropriate, controlling the amount or specificity of data stored (e.g., collecting location data at a city level rather than an address level), controlling how data is stored (e.g., aggregating data across users), and / or other methods.

[0307] Thus, while this disclosure broadly encompasses the use of personal information data to implement one or more of the various disclosed embodiments, this disclosure also contemplates that the various embodiments may be implemented without requiring access to such personal information data. That is, the various embodiments of the technology are not rendered inoperable by the absence of all or a portion of such personal information data. For example, a user may interact with an electronic device based on non-personal information data or a minimal amount of personal information.

Claims

1. 1. A method comprising: In electronic devices, While the digital assistant of the electronic device is not activated, acquiring first gaze information using one or more camera sensors; In response to a determination that the first gaze information satisfies a set of one or more activation criteria, activating the digital assistant on the electronic device; and providing an indication that the set of one or more activation criteria has been met; and A method comprising:

2. In response to a determination that the first gaze information does not satisfy the set of one or more activation criteria, Withholding activation of the digital assistant; and The method of claim 1 further comprising:

3. receiving a voice user input request to execute a command; in response to receiving the voiced user input request to execute the command, executing the command based on the content of the voice user input request in response to a determination that a set of one or more execution criteria is satisfied; and The method of claim 1 or 2, further comprising:

4. The method of claim 3 , wherein the electronic device begins receiving the voice user input request while the digital assistant is not activated.

5. generating an audio output, the audio output being generated at a first volume prior to receiving the audio user input request; In response to initiating receipt of the voice user input request, reducing a volume of the audio output to a second volume that is less than the first volume, the second volume being based on a distance between a user and the electronic device; The method of claim 3 or 4, further comprising:

6. in response to receiving the voice user input request to execute the command, The set of one or more execution criteria, including a continuous gaze criterion, is met when the electronic device determines that the second gaze information indicates that the user does not break gaze toward the electronic device for more than a threshold duration between activation of the digital assistant and termination of the voice user input request, in accordance with a determination that the set of one or more execution criteria is not met; The method of claim 3 , further comprising:

7. in response to receiving the voice user input request to execute the command, pursuant to a determination that the set of one or more performance criteria has not been met, a head shake indication, displaying a first light pattern on a first side of a display of the electronic device; subsequent to displaying the first light pattern, displaying a second light pattern on a second side of the display of the electronic device; subsequent to displaying the second light pattern, displaying the first light pattern on the first side of the display of the electronic device; The method of claim 3 , further comprising providing the head shake indication comprising:

8. The method of claim 1 , wherein the indication is a visual indication that the digital assistant is activated.

9. The method of claim 1 , wherein the indication is a voice indication indicating that the digital assistant is activated.

10. The set of one or more activation criteria includes a field of view criterion that is met when a determined offset angle is less than a threshold offset angle, the determined offset angle being: The user's gaze and a calculated line of sight from the user to the electronic device; and 10. The method according to claim 1, wherein the angle is formed between

11. The method of claim 10 , wherein the line of sight of the user is based on a head position of the user.

12. 12. The method of claim 1, wherein the set of one or more activation criteria includes a stillness time criterion that is met when a stillness time of the gaze determined from the first gaze information exceeds a threshold time.

13. 13. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs including instructions for performing the method of any one of claims 1 to 12.

14. one or more processors; a memory storing one or more programs configured to be executed by the one or more processors; 13. An electronic device comprising: a computer-implemented program for executing a program on a computer-implemented device;

15. 13. An electronic device comprising means for carrying out the method according to any one of the preceding claims.

16. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs comprising: While the digital assistant of the electronic device is not activated, instructions for acquiring first gaze information using one or more camera sensors; In response to a determination that the first gaze information satisfies a set of one or more activation criteria, instructions for activating the digital assistant on the electronic device; and providing an indication that the set of one or more activation criteria has been met.

17. one or more processors; and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprising: While the digital assistant of the electronic device is not activated, instructions for acquiring first gaze information using one or more camera sensors; In response to a determination that the first gaze information satisfies a set of one or more activation criteria, instructions for activating the digital assistant on the electronic device; and providing an indication that the set of one or more activation criteria has been met.

18. While the digital assistant of the electronic device is not activated, means for acquiring first gaze information using one or more camera sensors; In response to a determination that the first gaze information satisfies a set of one or more activation criteria, activating the digital assistant on the electronic device; means for providing an indication that the set of one or more activation criteria has been met; An electronic device comprising:

19. 1. A method comprising: In electronic devices, While the first external device is in the first state, Receiving a voiced user input request to execute a first command; acquiring first gaze information using one or more camera sensors; in response to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device; Transmitting an instruction to transition the first external device from the first state to a second state based on the first command; A method comprising:

20. in response to a determination that the set of one or more gaze criteria is not met for a first external device using the first gaze information, refraining from sending the command to transition the first external device from the first state to the second state; 20. The method of claim 19, further comprising:

21. The set of one or more gaze criteria includes a visual field criterion that is met when a determined offset angle is less than a threshold offset angle, the determined offset angle being: The user's gaze and 21. The method of claim 19 or 20, wherein the angle is formed between a calculated line of sight from the user to the first external device.

22. The method of claim 21 , wherein the line of sight of the user is based on a head position of the user.

23. 23. The method of claim 19, wherein the set of one or more gaze criteria includes a stillness time criterion that is met for the first external device when a stillness time of the gaze determined from the first gaze information exceeds a threshold time.

24. in response to determining that the set of one or more gaze criteria have been satisfied for the first external device, providing an indication that the set of one or more gaze criteria have been satisfied.

24. The method of any one of claims 19 to 23, further comprising:

25. providing an indication that the first external device is in the second state following transmitting the command to transition the first external device from the first state to the second state; 25. The method of any one of claims 19 to 24, further comprising:

26. The method of claim 24 or 25, wherein the instructions are domain specific.

27. 27. The method of any one of claims 19 to 26, wherein an electronic device is paired with the first external device.

28. while the first external device is in the first state and the second external device is in a third state; in response to determining, using the first gaze information, that the set of one or more gaze criteria is satisfied for the second external device; transmitting an instruction to transition the second external device from the third state to a fourth state based on the first command; in response to determining, using the first gaze information, that the set of one or more gaze criteria is not met for the second external device; refraining from transmitting an instruction to transition the second external device from the third state to the fourth state based on the first command; 28. The method of any one of claims 19 to 27, further comprising:

29. while the first external device is in the second state and the second external device is in a third state; receiving a second user input request including a second command; acquiring second gaze information using one or more camera sensors; in response to determining, using the second gaze information, that the set of one or more gaze criteria is satisfied for the second external device; transmitting an instruction to transition the second external device from the third state to a fourth state while the first external device remains in the second state based on the second command; 29. The method of any one of claims 19 to 28, further comprising:

30. while the second external device is in the third state; in response to determining that the set of one or more gaze criteria is not met for the second external device using the second gaze information, refraining from sending the command to transition the second external device from the third state to the fourth state; 30. The method of claim 29, further comprising:

31. subsequent to transmitting the command to transition the second external device from the third state to the fourth state, providing an indication that the second external device is in the fourth state.

31. The method of any one of claims 28 to 30, further comprising:

32. following said transmitting said command to transition said first external device from said first state to said second state; receiving from the third external device an indication of an input received by the third external device; sending a second command to the first external device based on the recency of the electronic device's command to the first external device; 32. The method of any one of claims 19 to 31, further comprising:

33. A non-transitory computer readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs including instructions for performing the method of any one of claims 19 to 32.

34. one or more processors; and a memory storing one or more programs configured to be executed by said one or more processors, said one or more programs comprising instructions for carrying out the method of any one of claims 19 to 32.

2. An electronic device comprising:

35. Means for carrying out the method according to any one of claims 19 to 32. An electronic device comprising:

36. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs comprising: While the first external device is in the first state, instructions for receiving a voiced user input request to execute a first command; instructions for acquiring first gaze information using one or more camera sensors; in response to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device; and transmitting instructions to transition the first external device from the first state to a second state based on the first command.

37. one or more processors; and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprising: While the first external device is in the first state, instructions for receiving a voiced user input request to execute a first command; instructions for acquiring first gaze information using one or more camera sensors; in response to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device; and transmitting an instruction to transition the first external device from the first state to a second state based on the first command.

38. While the first external device is in the first state, receiving a voiced user input request to execute a first command; means for acquiring first gaze information using one or more camera sensors; in response to determining, using the first gaze information, that a set of one or more gaze criteria are satisfied for the first external device; means for transmitting an instruction to cause the first external device to transition from the first state to a second state based on the first command; 2. An electronic device comprising:

39. 1. A method comprising: In electronic devices, Receiving a voice user input request; updating a value of a characteristic of an indicator to a first value corresponding to the first user in response to determining that the verbal user input request corresponds to a first user; updating the value of the characteristic of the indicator to a second value corresponding to the second user, different from the first value, in response to a determination that the voice user input request corresponds to a second user different from the first user; responding to the verbal user prompt with the indicator including the updated value of the characteristic; A method comprising:

40. 40. The method of claim 39, wherein the verbal user input request is user spoken input, and updating the value of the property is not based on the content of the verbal user input request.

41. the indicator is a visual indicator; In response to receiving the vocal user input request and prior to the determination that the vocal user input request corresponds to a particular user, displaying the visual indicator with a default value for the characteristic, the default value being different from the first value and the second value.

41. The method of claim 39 or 40, further comprising:

42. receiving enrollment information prior to receiving the voice user input request; and using the enrollment information to associate the first value of the characteristic with the first user and the second value of the characteristic with the second user; 42. The method of any one of claims 39 to 41, further comprising:

43. determining a user associated with the vocal user input request based on one or more of voice recognition, facial recognition, and a direction of the vocal user input request; 43. The method of any one of claims 39 to 42, further comprising:

44. 44. The method of claim 39, wherein responding to the verbal user input request with the indicator comprises displaying a visual indicator using the value of the characteristic corresponding to the user associated with the verbal user input request.

45. 45. The method of claim 39, wherein responding to the verbal user input request with the indicator comprises providing an audio indicator using the value of the characteristic corresponding to the user associated with the verbal user input request.

46. 46. ​​The method of claim 45, wherein the characteristic of the audio indicator is a user-responsive term associated with the audio user input request.

47. A non-transitory computer readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs including instructions for performing the method of any one of claims 39 to 46.

48. one or more processors; and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any one of claims 39 to 46.

49. Means for carrying out the method according to any one of claims 39 to 46 An electronic device comprising:

50. A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the one or more programs comprising: instructions for receiving a voice request for user input; instructions for updating a value of a characteristic of an indicator to a first value corresponding to the first user in response to a determination that the verbal user input request corresponds to a first user; instructions for updating, in response to a determination that the voice user input request corresponds to a second user different from the first user, the value of the characteristic of the indicator to a second value corresponding to the second user, the second value being different from the first value; and instructions for responding to the verbal user input request with the indicator, the indicator including the updated value of the characteristic.

51. one or more processors; and a memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprising: instructions for receiving a voice user input request; instructions for updating a value of a characteristic of an indicator to a first value corresponding to the first user in response to a determination that the verbal user input request corresponds to a first user; instructions for updating, in response to a determination that the voice user input request corresponds to a second user different from the first user, the value of the characteristic of the indicator to a second value corresponding to the second user, the second value being different from the first value; and instructions for responding to the verbal user input request with the indicator, the indicator including the updated value of the characteristic.

52. means for receiving a voice user input request; means for updating a value of a characteristic of an indicator to a first value corresponding to the first user in response to determining that the voice user input request corresponds to a first user; means for updating, in response to a determination that the voice user input request corresponds to a second user different from the first user, the value of the characteristic of the indicator to a second value corresponding to the second user, the second value being different from the first value; means for responding to the verbal user input request with the indicator, the indicator including the updated value of the characteristic; An electronic device comprising:

Citation Information

Patent Citations

  • Input device

    JP1997081309A

  • Audio input from the user

    JP2015514254A

  • Sustained Eye Gaze for Determining Intent to Interact

    US20130304479A1