User interface for translation

The system addresses inefficient translation techniques by automatically detecting and translating spoken audio, reducing user input and conserving power, thus enhancing translation efficiency and user satisfaction.

JP2026185879APending Publication Date: 2026-11-27APPLE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026081692
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2026-01-15
Filing Date
2026-05-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing translation techniques on electronic devices are cumbersome and inefficient, requiring multiple key presses or keystrokes, wasting user time and device energy, particularly in battery-operated devices.

Method used

A method and system that automatically detects spoken audio and translates conversational utterances without additional user input, simultaneously displaying a conversational transcript, using audio and display components to enhance translation efficiency.

Benefits of technology

Faster and more efficient translation methods reduce cognitive burden, improve user satisfaction, and conserve power in battery-operated devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185879000001_ABST
    Figure 2026185879000001_ABST
Patent Text Reader

Abstract

This disclosure relates to a user interface for audio processing, which generally includes detecting audio, translating speech, and outputting audio. [Solution] This technology provides an electronic device having a faster and more efficient method and interface for managing translation. Such a method and interface optionally complements or replaces other methods for managing translation. Such a method and interface reduces the cognitive burden on the user and creates a more efficient human-machine interface. In the case of battery-operated computing devices, such a method and interface saves power and increases the interval between battery charges.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to computer user interfaces, and more specifically to techniques for managing translations.

Background Art

[0002] Computer systems are used to translate text from one language to another language, thereby allowing individuals who do not understand the particular language in which a document is written to have access to a translated version of the document.

Summary of the Invention

[0003] However, some techniques for managing translations using electronic devices are generally cumbersome and inefficient. For example, some existing techniques use a complex and time-consuming user interface, which may include multiple key presses or keystrokes. Existing techniques require more time than necessary, wasting user time and device energy. This latter consideration is particularly important in battery-operated devices.

[0004] Accordingly, the present technique provides electronic devices with faster and more efficient methods and interfaces for managing translations. Such methods and interfaces optionally complement or replace other methods for managing translations. Such methods and interfaces reduce the cognitive burden on a user and produce a more efficient human-machine interface. For battery-operated computing devices, such methods and interfaces conserve power and increase the time between battery charge cycles.

[0005] The method is described below. The method is performed in a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components. The method includes detecting one or more sets of inputs via one or more input devices to enable translation mode while not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, and operating in translation mode in response to detecting one or more sets of inputs to enable translation mode, wherein operating in translation mode includes detecting conversational utterances of two or more conversation participants via one or more audio devices, which include a first utterance in a first language and a second utterance in a second language different from the first language, without requiring additional user input, outputting an audio translation of the first utterance and / or an audio translation of the second utterance via one or more audio devices, and simultaneously displaying a conversational transcript via one or more display generation components, which includes a transcription of the first and second utterances of the conversation of two or more conversation participants, while outputting the audio translation of the conversation.

[0006] This document describes non-temporary computer-readable storage media. A non-temporary computer-readable storage medium stores one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display-generating components, wherein one or more programs include instructions to automatically detect spoken audio via one or more audio devices and output a translation of the detected spoken audio, while not operating in translation mode, and to detect one or more sets of inputs via one or more input devices to enable translation mode, and to operate in translation mode in response to detecting one or more sets of inputs to enable translation mode, wherein operating in translation mode includes detecting conversational utterances of two or more conversation participants via one or more audio devices, including a first utterance in a first language and a second utterance in a second language different from the first language, without requiring additional user input, outputting an audio translation of the first utterance and / or an audio translation of the second utterance via one or more audio devices, and displaying a conversational transcript via one or more display-generating components, while simultaneously outputting the audio translation of the conversation, including a transcription of the first and second utterances of the conversation of two or more conversation participants.

[0007] This document describes temporary computer-readable storage media. A temporary computer-readable storage medium stores one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display-generating components, wherein one or more programs include instructions to automatically detect spoken audio via one or more audio devices and output a translation of the detected spoken audio, and to detect a set of one or more inputs via one or more input devices to enable translation mode, and to operate in translation mode in response to detecting a set of one or more inputs to enable translation mode, without requiring additional user input, by detecting conversational utterances of two or more conversation participants via one or more audio devices, including a first utterance in a first language and a second utterance in a second language different from the first language, by outputting an audio translation of the first utterance and / or an audio translation of the second utterance via one or more audio devices, and by displaying a conversational transcript via one or more display-generating components, while simultaneously outputting the audio translation of the conversation and displaying a conversational transcript including a transcription of the first and second utterances of the conversation of two or more conversation participants.

[0008] This explains computer systems. The computer system is configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, and comprises one or more processors and memory for storing one or more programs configured to be executed by one or more processors, wherein one or more programs include instructions to automatically detect spoken audio via one or more audio devices and output a translation of the detected spoken audio while not operating in translation mode, and to detect a set of one or more inputs via one or more input devices to enable translation mode, and to operate in translation mode in response to detecting a set of one or more inputs to enable translation mode, and operating in translation mode includes detecting conversational utterances of two or more conversation participants via one or more audio devices, including a first utterance in a first language and a second utterance in a second language different from the first language, without requiring additional user input, outputting an audio translation of the first utterance and / or an audio translation of the second utterance via one or more audio devices, and displaying a conversational transcript via one or more display generation components, simultaneously with outputting the audio translation of the conversation and displaying a conversational transcript including a transcription of the first and second utterances of the conversation of two or more conversation participants.

[0009] A computer system is described below. The computer system is configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, and includes means for detecting one or more sets of inputs to enable translation mode via one or more input devices while not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, and means for operating in translation mode in response to detecting one or more sets of inputs to enable translation mode, which, without requiring additional user input, includes means for detecting conversational utterances of two or more conversation participants via one or more audio devices, including first utterances in a first language and second utterances in a second language different from the first language, means for outputting audio translations of the first utterances and / or audio translations of the second utterances via one or more audio devices, and means for displaying a conversational transcript via one or more display generation components, which simultaneously outputs an audio translation of the conversation and displays a conversational transcript including transcriptions of the first and second utterances of the conversation of two or more conversation participants.

[0010] This describes a computer program product. The computer program product stores one or more programs configured to run by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, and the one or more programs include instructions to automatically detect spoken audio via one or more audio devices and output a translation of the detected spoken audio, and to detect one or more sets of inputs via one or more input devices to enable translation mode, and to operate in translation mode in response to detecting one or more sets of inputs to enable translation mode, without requiring additional user input, and operating in translation mode includes detecting conversational utterances of two or more conversation participants via one or more audio devices, including a first utterance in a first language and a second utterance in a second language different from the first language, outputting an audio translation of the first utterance and / or an audio translation of the second utterance via one or more audio devices, and displaying a conversational transcript via one or more display generation components, while simultaneously outputting the audio translation of the conversation and displaying a conversational transcript including transcriptions of the first and second utterances of the conversation of two or more conversation participants.

[0011] The method is described below. The method is performed in a computer system communicating with one or more audio devices. The method includes receiving an input audio stream containing utterances, performing speech processing on the input audio stream, including performing speech recognition while receiving the input audio stream containing utterances to generate text based on the utterances in the input audio stream, determining a location in the text where punctuation is to be inserted, the location being not the end of a sentence, inserting punctuation at the determined location in the text, and, before detecting the end of a sentence, initiating output of spoken audio of the first part of the text preceding the inserted punctuation via one or more audio devices, based on the punctuation inserted at the determined location in the text.

[0012] This document describes a non-temporary computer-readable storage medium. The non-temporary computer-readable storage medium stores one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, the one or more programs receiving an input audio stream containing utterances, performing speech processing on the input audio stream including performing speech recognition while receiving the input audio stream containing utterances, and including instructions to determine a location in the text where punctuation is inserted, the location being not the end of a sentence, to insert punctuation at the determined location in the text, and, before detecting the end of a sentence, to initiate output of spoken audio of the first part of the text prior to the inserted punctuation via one or more audio devices based on the punctuation inserted at the determined location in the text.

[0013] This document describes a temporary computer-readable storage medium. The temporary computer-readable storage medium stores one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, the one or more programs receiving an input audio stream containing utterances, performing speech processing on the input audio stream including performing speech recognition while receiving the input audio stream containing utterances, generating text based on the utterances in the input audio stream, and instructions to determine a location in the text where punctuation is to be inserted, the location being not the end of a sentence, to insert punctuation at the determined location in the text, and, before detecting the end of a sentence, to initiate output of spoken audio of a first portion of the text prior to the inserted punctuation via one or more audio devices based on the punctuation inserted at the determined location in the text.

[0014] A computer system is described. The computer system is configured to communicate with one or more audio devices and comprises one or more processors and memory for storing one or more programs configured to be executed by one or more processors, the one or more programs including receiving an input audio stream containing utterances, performing speech processing on the input audio stream including speech recognition and generating text based on the utterances in the input audio stream, and instructions to determine a location in the text where punctuation is inserted, the location being not the end of a sentence, insert punctuation at the determined location in the text, and, before detecting the end of a sentence, start outputting spoken audio of a first part of the text before the inserted punctuation via one or more audio devices based on the punctuation inserted at the determined location in the text.

[0015] A computer system is described below. The computer system is configured to communicate with one or more audio devices and includes means for receiving an input audio stream containing utterances, and means for performing speech processing on the input audio stream, which includes performing speech recognition while receiving the input audio stream containing utterances and generating text based on the utterances in the input audio stream, determining a location in the text where punctuation is to be inserted, the location being not the end of a sentence, inserting punctuation at the determined location in the text, and, before detecting the end of a sentence, starting output of spoken audio of a first portion of the text prior to the inserted punctuation via one or more audio devices based on the punctuation inserted at the determined location in the text.

[0016] This describes a computer program product. The computer program product stores one or more programs configured to run by one or more processors of a computer system communicating with one or more audio devices, and the one or more programs include instructions to receive an input audio stream containing utterances, perform speech processing on the input audio stream including performing speech recognition while receiving the input audio stream containing utterances and generating text based on the utterances in the input audio stream, determine a location in the text where punctuation is to be inserted, the location is not the end of a sentence, insert punctuation at the determined location in the text, and, before detecting the end of a sentence, start outputting spoken audio of the first part of the text before the inserted punctuation via one or more audio devices based on the punctuation inserted at the determined location in the text.

[0017] The executable instructions that perform these functions are optionally contained within a non-temporary computer-readable storage medium or other computer program product configured to be executed by one or more processors.

[0018] Therefore, devices are provided with faster and more efficient methods and interfaces for managing translations, thereby increasing the effectiveness, efficiency, and user satisfaction of such devices. Such methods and interfaces can complement or replace other methods for managing translations.

[0019] To better understand the various embodiments described, the following “Modes for Carrying Out the Invention” should be referenced in conjunction with the following drawings, and similar reference numbers throughout the following drawings refer to the corresponding parts. [Brief explanation of the drawing]

[0020] [Figure 1A] This is a block diagram showing a portable multifunctional device with a touch-sensitive display, according to several embodiments.

[0021] [Figure 1B] This is a block diagram showing exemplary components for event handling according to several embodiments.

[0022] [Figure 2] Several embodiments of a portable multifunctional device having a touchscreen are shown.

[0023] [Figure 3A] This is a block diagram of an exemplary multifunctional device comprising a display and a touch-sensitive surface, according to several embodiments.

[0024] [Figure 3B] illustrates use of an application programming interface (API) for performing an action. [Figure 3C] illustrates use of an application programming interface (API) for performing an action. [Figure 3D] illustrates use of an application programming interface (API) for performing an action. [Figure 3E] illustrates use of an application programming interface (API) for performing an action. [Figure 3F] illustrates use of an application programming interface (API) for performing an action. [Figure 3G] illustrates use of an application programming interface (API) for performing an action.

[0025] [Figure 4A] illustrates exemplary user interfaces for an application menu on a portable multifunction device, according to some embodiments.

[0026] [Figure 4B] illustrates exemplary user interfaces for a multifunction device with a touch-sensitive surface separate from a display, according to some embodiments.

[0027] [Figure 5A] illustrates a personal electronic device, according to some embodiments.

[0028] [Figure 5B] is a block diagram illustrating a personal electronic device, according to some embodiments.

[0029] [Figure 6A] illustrates exemplary user interfaces for managing translations, according to some embodiments. [Figure 6B] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6C] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6D] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6E] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6F] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6G] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6H] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6I] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6J] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6K] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6L] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6M] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6N] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6O] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6P] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6Q] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6R] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6S] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6T] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6U] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6V] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6W] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6X] This document presents exemplary user interfaces for managing translations, based on several embodiments. [Figure 6Y] This document presents exemplary user interfaces for managing translations, based on several embodiments.

[0030] [Figure 7] This flowchart illustrates a method for managing translations according to several embodiments.

[0031] [Figure 8] This is a flowchart illustrating methods for outputting audio according to several embodiments. [Modes for carrying out the invention]

[0032] The following description includes exemplary methods, parameters, etc. However, it should be noted that such descriptions are not intended to limit the scope of this disclosure, but rather are provided as descriptions of exemplary embodiments.

[0033] There is a need for electronic devices that provide efficient methods and interfaces for managing translations. For example, it is advantageous to have access to both audio and visual versions of translated text or audio. Such technology can reduce the cognitive burden on users accessing translations, thereby improving productivity. Furthermore, such technology can reduce the processor and battery power that would normally be wasted on redundant user input.

[0034] In the following, Figures 1A-1B, 2, 3A-3G, 4A-4B, and 5A-5B provide a description of exemplary devices for performing techniques for managing translations. Figures 6A-6Y show exemplary user interfaces for managing translations in several embodiments. Figure 7 is a flowchart showing a method for managing translations in several embodiments. Figure 8 is a flowchart showing a method for outputting audio in several embodiments. The user interfaces in Figures 6A-6Y are used to illustrate the processes described below, including the processes in Figures 7 and 8.

[0035] The processes described below enhance the usability of the device and streamline the user-device interface by various techniques, including providing users with improved visual feedback, reducing the number of inputs required to perform actions, offering additional control options without cluttering the user interface with additionally displayed controls, performing actions without requiring further user input when a set of conditions is met, and / or other techniques. These techniques also reduce power consumption and improve the device's battery life by enabling users to use the device more quickly and efficiently.

[0036] Furthermore, in any method described herein that is conditional on one or more conditions being met in one or more steps, it should be understood that the method described can be repeated in multiple iterations such that all the conditions that the steps of the method are conditional on are met in different iterations of the method. For example, if a method requires that a first step be performed if a condition is met, and a second step be performed if the condition is not met, a person skilled in the art will understand that the steps described in the claim are repeated in an unspecified order until the conditions are met and then not met. Thus, a method described in one or more steps that depends on one or more conditions being met can be rewritten as a method that is repeated until each of the conditions described in the method is met. However, this is not required for a claim of a system or computer-readable medium that includes instructions that perform a conditional action based on the satisfaction of the corresponding one or more conditions, and thus can determine whether a contingency has been met without explicitly repeating the steps of the method until all the conditions that the steps of the method are conditional on are met. Those skilled in the art will also understand that, as with a method having conditional steps, a system or computer-readable storage medium may repeat the steps of the method as many times as necessary to ensure that all of the conditional steps have been performed.

[0037] In the following description, terms such as “first,” “second,” etc., are used to describe various elements, but these elements should not be limited by these terms. In some embodiments, these terms are used to distinguish one element from another. For example, without departing from the scope of the various embodiments described, the first touch may be called the second touch, and similarly, the second touch may be called the first touch. In some embodiments, the first touch and the second touch are two distinct references to the same touch. In some embodiments, both the first touch and the second touch are touches, but they are not the same touch.

[0038] As used herein, the phrase "one or more of A and / or B" is to be interpreted as including, but not limited to, individual A without B, individual B without A, and combinations of A and B, and all combinations of A and B. The phrase "one or more of A, B, and / or C" is to be interpreted as including, but not limited to, A without B and C individually, B without A and C individually, C without A and B individually, and any combination of A, B, and / or C (for example, A and B without C, A and C without B, B and C without A, and / or A, B, and C). Additionally, as used herein, the phrases "selected from the group consisting of A, B, C and combinations thereof" and "at least one of A, B, and C" shall be interpreted as having the same meaning as the phrase "one or more of A, B, and / or C" as defined above. As used herein, the phrases "at least one of A, B, or C" and "one or more of A, B, or C" shall be interpreted as having the same meaning as the phrase "one or more of A, B, and / or C" as defined above. As used herein, the phrase "a combination including all of A, B, and C" shall be interpreted as including all combinations of the enumerated elements (for example, a combination of A, B, and C).

[0039] The terminology used in the descriptions of the various embodiments described herein is intended solely to describe specific embodiments and is not intended to be limiting. In the descriptions of the various embodiments and the accompanying claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless otherwise explicitly stated in the context. Furthermore, it should be understood that, as used herein, the term “and / or” refers to and includes any and all possible combinations of one or more of the enumerated items relating to the invention. It will be further understood that, as used herein, the terms “includes,” “comprises,” and / or “comprising,” specify the presence of the described features, integers, steps, actions, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, actions, elements, components, and / or groups thereof.

[0040] The phrase "if" may optionally be interpreted, depending on the context, as meaning "when" or "upon," or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined" or "if [a stated condition or event] is detected" may optionally be interpreted, depending on the context, as meaning "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]."

[0041] Embodiments of electronic devices, user interfaces for such devices, and related processes for using such devices are described. In some embodiments, the device is a portable communication device, such as a mobile phone, which also includes other functions such as PDA functionality and / or music player functionality. Exemplary embodiments of portable multifunction devices include, but are not limited to, the iPhone®, iPod Touch®, and iPad® devices from Apple Inc., Cupertino, California. Optionally, other portable electronic devices such as laptop computers or tablet computers having a touch-sensitive surface (e.g., a touchscreen display and / or touchpad) are also used. It should also be understood that in some embodiments, the device is not a portable communication device but a desktop computer having a touch-sensitive surface (e.g., a touchscreen display and / or touchpad). In some embodiments, the electronic device is a computer system communicating (for example, via wireless communication or wired communication) with a display generating component (e.g., a display device such as a head-mounted display (HMD) display, projector, or touch-sensitive display, or other devices or components that present visual content to the user that is visible on or within the display generating component itself, or generated from the display generating component and visible elsewhere). The display generating component is configured to provide a visual output such as a display via a CRT display, a display via an LED display, or a display via image projection. In some embodiments, the display generating component is integrated with the computer system. In some embodiments, the display generating component is separate from the computer system.When used herein, "display" content includes displaying content (e.g., video data rendered or decoded by the display controller 156) by transmitting data (e.g., image data or video data) via a wired or wireless connection to an integrated or external display generation component in order to visually generate the content.

[0042] The following discussion describes electronic devices including displays and touch-sensitive surfaces. However, it should be understood that electronic devices optionally include one or more other physical user interface devices such as physical keyboards, mice, and / or joysticks.

[0043] The device typically supports a variety of applications, including drawing applications, presentation applications, word processing applications, website creation applications, disk authoring applications, spreadsheet applications, game applications, telephone 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.

[0044] Various applications running on this device optionally utilize at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface, as well as the corresponding information displayed on the device, are optionally adjusted and / or modified on an application-by-application basis and / or within individual applications. In this way, the device's common physical architecture (such as the touch-sensitive surface) optionally supports a variety of applications with intuitive and transparent user interfaces for the user.

[0045] Here, we turn our attention to embodiments of portable devices having a touch-sensitive display. Figure 1A is a block diagram of a portable multifunction device 100 having a touch-sensitive display system 112 according to several embodiments. The touch-sensitive display 112 may be referred to for convenience as a “touchscreen” and may be known or referred to as a “touch-sensitive display system”. Device 100 includes a memory 102 (optionally including one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral interface 118, an RF circuit 108, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, other input control devices 116, and an external port 124. Device 100 optionally includes one or more optical sensors 164. Device 100 optionally includes one or more contact intensity sensors 165 (e.g., touch-sensitive surfaces such as the touch-sensitive display system 112 of Device 100) for detecting the intensity of contact on Device 100. Device 100 optionally includes one or more tactile output generators 167 that generate tactile output on Device 100 (for example, on a touch-sensitive surface such as the touch-sensitive display system 112 of Device 100 or the touchpad 355 of Device 300). These components optionally communicate via one or more communication buses or signal lines 103.

[0046] As used herein and in the claims, the term “strength” of contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of contact on the touch-sensitive surface (e.g., finger contact), or a proxy for the force or pressure of contact on the touch-sensitive surface. The strength of contact has a range of values, including at least four distinct values, and more typically, including several hundred (e.g., at least 256) distinct values. The strength of contact is optionally determined (or measured) using various methods and various sensors or combinations of sensors. For example, one or more force sensors below 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 the estimated force of contact. Similarly, the 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 modification of the contact area detected on the touch-sensing surface, the capacitance and / or modification of the touch-sensing surface adjacent to the contact, and / or the resistance and / or modification of the touch-sensing surface adjacent to the contact may optionally be used as a substitute for the force or pressure of the contact on the touch-sensing surface. In some implementations, the substitute measurement of the contact force or pressure is used directly to determine whether or not an intensity threshold is exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurement). In some implementations, the substitute measurement of the contact force or pressure is converted into an estimate of the force or pressure, and this estimate is used to determine whether or not an intensity threshold is exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). By using the intensity of contact as an attribute of user input, it becomes possible for users to access additional device functions that may otherwise be inaccessible (e.g., on a touch-sensitive display) and / or receive user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical control such as a knob or button) on reduced-size devices where the implementation area for displaying affordances is limited.

[0047] As used herein and in the claims, the term “tactile output” means a physical displacement of the device relative to its previous position, 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, which will be detected by the user through the user’s sense of touch. For example, in a situation where the device or a component of the device is in contact with the touch-sensitive surface of the user (e.g., the user’s fingers, palm, or other part of their 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 the physical properties 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) may be optionally interpreted by the user as a “down-click” or “up-click” of a physical actuator button. In some cases, the user may feel a tactile sensation such as a “down-click” or “up-click” even when there is no movement of a physical actuator button associated with a touch-sensitive surface that has been physically pressed (e.g., displaced) by the user’s action. In another embodiment, movement of a touch-sensitive surface may be optionally interpreted or perceived by the user as "roughness" of the touch-sensitive surface, even if there is no change in the smoothness of the touch-sensitive surface. Such user interpretations of touch depend on the user's personal sensory perception, but there are many touch sensory perceptions common to the majority of users. Therefore, when a tactile output is described as corresponding to a user's specific sensory perception (e.g., "up-click," "down-click," "roughness"), unless otherwise stated, the generated tactile output corresponds to the physical displacement of the device or its components that produce the described sensory perception of a typical (or average) user.

[0048] It should be understood that device 100 is merely an example of a portable multifunction device, and that device 100 may optionally have more or fewer components than those shown, may optionally be a combination of two or more components, or may optionally have different configurations or arrangements of those components. The various components shown in Figure 1A are implemented as hardware, software, or a combination of both hardware and software, including one or more signal processing circuits and / or application-specific integrated circuits.

[0049] Memory 102 optionally includes high-speed random-access memory and optionally 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.

[0050] The peripheral interface 118 can be used to connect the device's input and output peripherals to the CPU 120 and memory 102. One or more processors 120 operate or execute various software programs (such as computer programs (including instructions)) and / or instruction sets stored in memory 102 to realize various functions for device 100 and process data. In some embodiments, the peripheral interface 118, CPU 120, and memory controller 122 are optionally implemented on a single chip, such as chip 104. In some other embodiments, they are optionally implemented on separate chips.

[0051] The RF (radio frequency) circuit 108 transmits and receives RF signals, also known as electromagnetic signals. The RF circuit 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 circuit 108 optionally includes well-known circuits for performing these functions, which include, but are not limited to, antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, CODEC chipsets, subscriber identity module (SIM) cards, and memory. The RF circuit 108 optionally communicates wirelessly with networks such as the Internet, also known as the World Wide Web (WWW), intranets, and / or wireless networks such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs), as well as with other devices. The RF circuit 108 optionally includes a well-known circuit for detecting a near-field communication (NFC) field using a short-range communication radio. Wireless communication is not limited to this, but optionally includes 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-HSPADA), and long-term evolution.Evolution (LTE), Near Field Communication (NFC), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Bluetooth Low Energy (BTLE), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, and / or IEEE 802.11ac), Voice over Internet Protocol (VoIP), Wi-MAX, Email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), Instant messaging (e.g., Extensible Messaging and Presence Protocol) Using any of several communication standards, protocols, and technologies, including the XMPP protocol, the Session Initiation Protocol for Instant Messaging and Presence Leveraging Extensions (SIMPLE), the Instant Messaging and Presence Service (IMPS), and / or the Short Message Service (SMS), or any other suitable communication protocol, including a communication protocol not yet developed as of the filing date of this specification.

[0052] The audio circuit 110, speaker 111, and microphone 113 provide an audio interface between the user and the device 100. The audio circuit 110 receives audio data from the peripheral interface 118, converts this audio data into an electrical signal, and transmits this 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 this audio data to the peripheral interface 118 for processing. The audio data is optionally retrieved from and / or transmitted to the memory 102 and / or RF circuit 108 by the peripheral interface 118. In some embodiments, the audio circuit 110 also includes a headset jack (e.g., 212 in Figure 2). The headset jack provides an interface between the audio circuit 110 and detachable audio input / output peripherals such as output-only headphones or headsets that have both output (e.g., headphones for one or both ears) and input (e.g., a microphone).

[0053] The I / O subsystem 106 connects input / output peripherals on device 100, such as the touchscreen 112 and other input control devices 116, to the peripheral interface 118. The I / O subsystem 106 optionally includes a display controller 156, an optical 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. One or more input controllers 160 receive electrical signals from / transmit electrical signals to other input control devices 116. The other input control devices 116 optionally include physical buttons (e.g., push buttons, rocker buttons), dials, slider switches, joysticks, click wheels, etc. In some embodiments, one or more input controllers 160 are optionally connected to (or not connected to) one of the following: a keyboard, an infrared port, a USB port, and a pointer device such as a mouse. One or more buttons (e.g., 208 in Figure 2) optionally include up / down buttons for volume control of speaker 111 and / or microphone 113. One or more buttons optionally include push buttons (e.g., 206 in Figure 2). In some embodiments, the electronic device is a computer system communicating with one or more input devices (e.g., via wireless communication over wired communication). In some embodiments, one or more input devices include a touch-sensitive surface (e.g., a trackpad as part of a touch-sensitive display). In some embodiments, one or more input devices include one or more camera sensors (e.g., one or more optical sensors 164 and / or one or more depth camera sensors 175), for example, to track user gestures as input (e.g., hand gestures and / or air gestures). In some embodiments, one or more input devices are integrated with the computer system. In some embodiments, one or more input devices are separate from the computer system.In some embodiments, an air gesture is a gesture detected without the user touching (or independently of) an input element that is part of the device, and is based on detected movement of a part of the user's body in the air, including movement of the user's body relative to an absolute reference (e.g., the angle of the user's arm relative to the ground, or the distance of the user's hand relative to the ground), movement of the user's body relative to another part of the user's body (e.g., movement of the user's hand relative to the user's shoulder, movement of the user's other hand relative to one hand, and / or movement of the user's fingers relative to another finger or part of the user's hand), and / or absolute movement of a part of the user's body (e.g., a tap gesture involving movement of the hand in a predetermined pose by a predetermined amount and / or speed, or a shake gesture involving rotation of a part of the user's body by a predetermined speed or amount).

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

[0055] The touch-sensitive display 112 provides input and output interfaces between the device and the user. The display controller 156 receives electrical signals from and / or transmits electrical signals to the touchscreen 112. The touchscreen 112 displays visual output to the user. This visual output optionally includes graphics, text, icons, videos, and any combination thereof (collectively, “graphics”). In some embodiments, some or all of the visual output optionally corresponds to user interface objects.

[0056] The touchscreen 112 has a touch-sensing surface, sensor, or set of sensors that accept user input based on touch and / or tactile contact. The touchscreen 112 and the display controller 156 (together with any associated modules and / or instruction sets in memory 102) detect contact (and any movement or interruption of contact) on the touchscreen 112 and translate the detected contact into interaction with user interface objects displayed on the touchscreen 112 (e.g., one or more soft keys, icons, web pages, or images). In an exemplary embodiment, the point of contact between the touchscreen 112 and the user corresponds to the user's finger.

[0057] The touchscreen 112 optionally uses LCD (liquid crystal display) technology, LPD (polymer light-emitting display) technology, or LED (light-emitting diode) technology, but other display technologies may also be used in other embodiments. The touchscreen 112 and the display controller 156 optionally, but not limited to, use any of a number of currently known or future-developed touch sensing technologies, including capacitive, resistive, infrared, and surface acoustic technologies, as well as other proximity sensor arrays or other elements that determine one or more points of contact with the touchscreen 112, to detect contact and any movement or interruption thereof. In exemplary embodiments, projected mutual capacitive sensing technology is used, such as that found in the iPhone® and iPod Touch® from Apple Inc. of Cupertino, California.

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

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

[0060] The touchscreen 112 optionally has a video resolution greater than 100 dpi. In some embodiments, the touchscreen has a video resolution of approximately 160 dpi. The user optionally touches the touchscreen 112 using any suitable object or attachment such as a stylus or finger. In some embodiments, the user interface is designed to operate primarily using finger-based touch and gestures, which may be less precise than stylus-based input due to the larger contact area of ​​the finger on the touchscreen. In some embodiments, the device translates coarse finger input into a precise pointer / cursor position or command to perform an action desired by the user.

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

[0062] Device 100 also includes a power system 162 that supplies power to various components. The power system 162 optionally includes a power management system, one or more power sources (e.g., battery, alternating current (AC)), a recharge system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light-emitting diode (LED)), and any other components associated with generating, managing, and distributing power within the portable device.

[0063] Device 100 also optionally includes a secure element 163 for securely storing information. In some embodiments, the secure element 163 is a hardware component (e.g., a secure microcontroller chip) configured to securely store data or algorithms. In some embodiments, the secure element 163 provides (e.g., releases) secure information (e.g., payment information (e.g., account numbers and / or transaction-specific dynamic security codes), identification information (e.g., state-approved digital identification credentials), and / or authentication information (e.g., data generated by using a cryptographic engine and / or performing asymmetric cryptographic operations)). In some embodiments, the secure element 163 provides (or releases) secure information in response to the device 100 receiving authorization such as user authentication (e.g., fingerprint authentication, passcode authentication, or, optionally, detecting a double press of a hardware button while the device 100 is continuously present on the user's wrist after the device 100 has been unlocked by providing authentication credentials to the device 100, the continuous presence of the device 100 on the user's wrist is determined by periodically checking that the device is in contact with the user's skin). For example, the device 100 detects a fingerprint with its fingerprint sensor (e.g., a fingerprint sensor integrated into a button). The device 100 determines whether the detected fingerprint matches a registered fingerprint. In accordance with the determination that the fingerprint matches a registered fingerprint, the secure element 163 provides (e.g., releases) secure information. In accordance with the determination that the fingerprint does not match a registered fingerprint, the secure element 163 ceases providing (e.g., releasing) secure information.

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

[0065] Device 100 also optionally includes one or more depth camera sensors 175. Figure 1A shows a depth camera sensor coupled to a depth camera controller 169 in the I / O subsystem 106. The depth camera sensor 175 receives data from the environment to create a three-dimensional model of an object in the scene (e.g., a face) from a viewpoint (e.g., the depth camera sensor). In some embodiments, in conjunction with an imaging module 143 (also called a camera module), the depth camera sensor 175 is optionally used to determine the depth map of different parts of an image captured by the imaging module 143. In some embodiments, the depth camera sensor is positioned on the front of Device 100 to optionally acquire an image of the user with depth information for video conferencing while the user is viewing other video conferencing participants on a touchscreen display, and also to capture a selfie image with depth map data. In some embodiments, the depth camera sensor 175 is positioned on the back of the device, or on both the back and front of Device 100. In some embodiments, the position of the depth camera sensor 175 can be changed by the user (for example, by rotating the lens and sensor within the device housing), so that the depth camera sensor 175, together with the touchscreen display, can be used for both video conferencing and the acquisition of still and / or video images.

[0066] Device 100 also optionally includes one or more contact intensity sensors 165. Figure 1A shows a contact intensity sensor coupled to an intensity sensor controller 159 in the I / O subsystem 106. The contact intensity sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electric force sensors, pressure-power sensors, optical force sensors, capacitive touch-sensing surfaces, or other intensity sensors (e.g., sensors used to measure the force (or pressure) of contact on a touch-sensing surface). The 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 positioned juxtaposed with or adjacent to a touch-sensing surface (e.g., a touch-sensing display system 112). In some embodiments, at least one contact intensity sensor is located on the back of Device 100, opposite the touchscreen display 112 located on the front of Device 100.

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

[0068] Device 100 also optionally includes one or more tactile output generators 167. Figure 1A shows a tactile output generator coupled to a tactile feedback controller 161 in the I / O subsystem 106. The tactile output generator 167 optionally includes one or more electroacoustic devices such as a speaker or other audio component, and / or electromechanical devices that convert energy into linear motion, such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component that converts an electrical signal into a tactile output on the device). The contact intensity sensor 165 receives a tactile feedback generation command from the tactile feedback module 133 and generates a tactile output on device 100 that can be sensed by the user of device 100. In some embodiments, at least one tactile output generator is positioned alongside or adjacent to a touch-sensing surface (e.g., a touch-sensing display system 112) and optionally generates a tactile output by moving the touch-sensing surface vertically (e.g., inward / outward from the surface of device 100) or horizontally (e.g., forward / backward in the same plane as the surface of device 100). In some embodiments, at least one tactile output generator sensor is located on the back of device 100, opposite the touchscreen display 112 located on the front of device 100.

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

[0070] In some embodiments, the software components stored in memory 102 include an operating system 126, a bio-module 109, a communication module (or instruction set) 128, a contact / mobility 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, an authentication module 105, and an application (or instruction set) 136. Furthermore, in some embodiments, memory 102 (Figure 1A) or 370 (Figure 3A) stores a device / global internal state 157, as shown in Figures 1A and 3A. The device / global internal state 157 includes one or more of the following: an active application state indicating which application is active, if there is an application currently active; a display state indicating which applications, views, or other information occupy different areas of the touchscreen display 112; a sensor state including information obtained from various sensors and input control devices 116 of the device; and location information relating to the device's location and / or orientation.

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

[0072] The communication 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 circuit 108 and / or the external ports 124. The external ports 124 (e.g., Universal Serial Bus (USB), FireWire®, etc.) are adapted to connect directly to other devices or indirectly via a network (e.g., the Internet, Wi-Fi, etc.). In some embodiments, the external ports are multi-pin (e.g., 30-pin) connectors that are the same as and / or compatible with the 30-pin connector used on iPod® (a trademark of Apple Inc.) devices.

[0073] The biomodule 109 optionally stores information about one or more registered biometric features (e.g., fingerprint feature information, facial recognition feature information, eye and / or iris feature information) for use in verifying whether the received biometric information matches any of the registered biometric features. In some embodiments, the information stored for one or more registered biometric features includes data that allows for a comparison between the stored information and the received biometric information, without containing enough information to reproduce the registered biometric features. In some embodiments, the biomodule 109 stores information about registered biometric features in association with a user account of the device 100. In some embodiments, the biomodule 109 compares the received biometric information with the registered biometric features to determine whether the received biometric information matches any of the registered biometric features.

[0074] The contact / motion module 130 optionally detects contact with the touchscreen 112 and other touch-sensitive devices (e.g., a touchpad or physical click wheel) (in cooperation with the display controller 156). The contact / motion module 130 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger down event), determining the intensity of the contact (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of contact and tracking movement across the touch-sensitive surface (e.g., detecting one or more events of a finger dragging), and determining whether contact has been terminated (e.g., detecting a finger up event or interruption of contact). The contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of the contact point, represented by a 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 point. These actions can be optionally applied to a single contact (e.g., a single finger contact) or multiple simultaneous contacts (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 130 and the display controller 156 detect contact on the touchpad.

[0075] 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 (for example, to determine whether a user has "clicked" on an icon). In some embodiments, at least a subset of the intensity thresholds is determined according to software parameters (for example, the intensity thresholds can be adjusted without modifying the physical hardware of device 100, rather than being determined by the activation threshold of a particular physical actuator). For example, the mouse "click" threshold for a trackpad or touchscreen display can be set to one of a range of default thresholds without modifying the trackpad or touchscreen display hardware. In addition, some implementations provide the user of the device with software settings to adjust one or more of the set of intensity thresholds (for example, by adjusting individual intensity thresholds and / or by adjusting multiple intensity thresholds at once using a system-level click "intensity" parameter).

[0076] The contact / motion module 130 optionally detects gesture input from the user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motion, timing, and / or intensity of the detected contact). Therefore, gestures are optionally detected by detecting a specific contact pattern. For example, detecting a finger tap gesture involves detecting a finger down event, followed by a finger up (lift-off) event at the same position (or substantially the same position) as the finger down event (e.g., the position of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface involves detecting a finger down event, followed by one or more finger drag events, and then a finger up (lift-off) event.

[0077] The graphics module 132 includes various known software components for rendering and displaying graphics on the touchscreen 112 or other display, including components that modify the visual effects of the displayed graphics (e.g., brightness, transparency, saturation, contrast, or other visual properties). In this specification, the term “graphics” includes, but is not limited to, any object that can be displayed to the user, including text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc.

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

[0079] The haptic feedback module 133 includes various software components for generating commands used by a tactile output generator(s) 167, and generates tactile outputs at one or more locations on the device 100 in response to the user's interaction with the device 100.

[0080] The text input module 134 is optionally a component of the graphics module 132 and provides a soft keyboard for entering text in various applications (e.g., the contact module 137, the email client module 140, the IM module 141, the browser module 147, and any other applications that require text input).

[0081] The GPS module 135 determines the device's location and provides this information for use in various applications (for example, to the phone module 138 for use in location-based dialing, to the camera module 143 as picture / video metadata, and to applications that provide location-based services such as weather widgets, local yellow pages widgets, and map / navigation widgets).

[0082] The authentication module 105 determines whether it is permitted to perform the requested action (for example, an action requested by an application among applications 136). In some embodiments, the authentication module 105 receives data to perform an action that optionally requires authentication. The authentication module 105 determines whether it is permitted to perform the action based on a set of factors, including the lock status of device 100, the location of device 100, whether a security delay has elapsed, whether the received biometric information matches registered biometric characteristics, and / or other factors. If the authentication module 105 determines that it is permitted to perform the action, it triggers the execution of the action.

[0083] Application 136 optionally includes the following modules (or instruction sets) or subsets or supersets thereof: ● Contact module 137 (sometimes called the address book or contact list), ●Telephone module 138, ●Video conferencing module 139, ● Email client module 140, ● Instant messaging (IM) module 141, ●Training support module 142, ● Camera module 143 for still images and / or video images, ●Image management module 144, ●Video player module, ● Music player module, ● Browser module 147, ● Calendar module 148, ●Optionally, a widget module 149 may include one or more of the following: weather widget 149-1, stock price widget 149-2, calculator widget 149-3, alarm clock widget 149-4, dictionary widget 149-5, other widgets obtained by the user, and user-created widgets 149-6. ●Widget creator module 150 for creating user-created widget 149-6, ●Search module 151, ●Video and music player module 152, which integrates a video player module and a music player module. ●Memo Module 153, ● Map module 154 and / or, ● Online video module 155.

[0084] Examples of other applications 136 that may be 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, speech recognition, and speech duplication.

[0085] Together with the touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, the contact module 137 is optionally used to manage an address book or contact list (stored, for example, in the application internal state 192 of the contact module 137 in memory 102 or memory 370), which includes adding names(s) to the address book, deleting names(s) from the address book, associating telephone numbers(s) to names, email addresses(s) to names, addresses(s) to names, or other information, associating images to names, categorizing and sorting names, and providing telephone numbers or email addresses to initiate and / or facilitate communication by the telephone module 138, video conferencing module 139, email client module 140, or IM module 141.

[0086] The telephone module 138 works in conjunction with the RF circuit 108, audio circuit 110, speaker 111, microphone 113, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134 to optionally input character sequences corresponding to telephone numbers, access one or more telephone numbers in the contact module 137, modify entered telephone numbers, dial individual telephone numbers, make calls, and disconnect and terminate calls at the end of a call. As previously mentioned, wireless communication may optionally use any of several communication standards, protocols, and technologies.

[0087] The video conferencing module 139 works in conjunction with the RF circuit 108, audio circuit 110, speaker 111, microphone 113, touchscreen 112, display controller 156, optical sensor 164, optical sensor controller 158, contact / motion module 130, graphics module 132, text input module 134, contact module 137, and telephone module 138 to include executable commands for starting, running, and ending video conferences between the user and one or more other participants in accordance with the user's commands.

[0088] The email client module 140, in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, includes executable commands for creating, sending, receiving, and managing emails in response to user commands. In conjunction with the image management module 144, the email client module 140 makes it extremely easy to create and send emails containing still or video images captured by the camera module 143.

[0089] The instant messaging module 141, in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, includes executable commands for inputting character sequences corresponding to instant messages, modifying previously entered characters, sending individual instant messages (e.g., using Short Message Service (SMS) or Multimedia Message Service (MMS) protocols for telephone-based instant messaging, or XMPP, SIMPLE, or IMPS for internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and / or received instant messages optionally include graphics, photographs, audio files, video files, and / or other attachments, such as those supported by MMS and / or Enhanced Messaging Service (EMS). In this specification, “instant messaging” refers to both telephone-based messaging (e.g., messages sent using SMS or MMS) and internet-based messaging (e.g., messages sent using XMPP, SIMPLE, or IMPS).

[0090] In conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, GPS module 135, map module 154, and music player module, the training support module 142 includes executable commands, which create training (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 training, select and play music for training, and display, store, and transmit training data.

[0091] The camera module 143 works in conjunction with the touchscreen 112, display controller 156, optical sensor(s) 164, optical sensor controller 158, contact / motion module 130, graphics module 132, and image management module 144 to include executable commands for capturing still images or videos (including video streams) and storing them in memory 102, modifying the characteristics of still images or videos, or deleting still images or videos from memory 102.

[0092] The image management module 144 works in conjunction with the touchscreen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and camera module 143 to include executable commands for arranging, modifying (e.g., editing), or otherwise manipulating still and / or video images, labeling, deleting, presenting (e.g., in a digital slideshow or album), and storing them.

[0093] The browser module 147, in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, includes executable commands for browsing the internet according to user commands, including searching, linking, receiving, and displaying web pages or parts thereof, as well as attachments and other files linked to web pages.

[0094] The calendar module 148 works in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, email client module 140, and browser module 147 to include executable commands for creating, displaying, modifying, and storing a calendar and data associated with the calendar (e.g., calendar entries, to-do lists, etc.) in accordance with user commands.

[0095] The widget module 149 works in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, and browser module 147 to optionally download and use 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) or mini-applications created by the user (e.g., user-created widget 149-6). In some embodiments, the widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript® file. In some embodiments, the widget includes an XML (Extensible Markup Language) file and a JavaScript® file (e.g., a Yahoo!® widget).

[0096] The widget creator module 150 works in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, and browser module 147 to be used by the user to optionally create widgets (for example, to turn a user-specified portion of a web page into a widget).

[0097] The search module 151 works in conjunction with the touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134 to include executable commands for searching for text, music, sounds, images, videos, and / or other files in memory 102 that match one or more search criteria (e.g., one or more user-specified search terms) according to user commands.

[0098] The video and music player module 152 works in conjunction with the touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, and browser module 147 to include executable commands that allow the user to download and play recorded music and other sound files stored in one or more file formats such as MP3 or AAC files, as well as executable commands for displaying, presenting, or otherwise playing video (for example, on the touchscreen 112 or on an external display connected via the external port 124). In some embodiments, the device 100 optionally includes the functionality of an MP3 player such as an iPod (a trademark of Apple Inc.).

[0099] The memo module 153 works in conjunction with the touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134 to include executable commands for creating and managing memos, to-do lists, etc., according to user commands.

[0100] The map module 154 works in conjunction with the RF circuit 108, touchscreen 112, display controller 156, contact / motion module 130, graphics module 132, text input module 134, GPS module 135, and browser module 147 to optionally receive, display, modify, and store maps and map-related data (e.g., driving directions, data on shops and other points of interest at a specific location or nearby, and other location-based data) in accordance with user commands.

[0101] The online video module 155, in conjunction with the touchscreen 112, display controller 156, touch / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, includes instructions that enable the user to access a specific online video, browse a specific online video, receive it (e.g., by streaming and / or downloading), play it (e.g., on the touchscreen or on an external display connected via external port 124), send an email with a link to a specific online video, and perform other management of online videos in one or more file formats such as H.264. In some embodiments, an instant messaging module 141 is used instead of the email client module 140 to send a link to a specific online video. Further descriptions of online video applications can be found in U.S. Provisional Patent Application No. 60 / 936,562, “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, “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” filed December 31, 2007, the entirety of which is incorporated herein by reference.

[0102] Each of the modules and applications identified above corresponds to a set of executable instructions that perform one or more of the functions described above and the methods described in this application (e.g., the computer methods and other information processing methods described herein). These modules (e.g., instruction sets) do not need to be implemented as separate software programs (e.g., computer programs containing instructions), procedures, or modules, and therefore 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 to form a single module (e.g., the video and music player module 152 in Figure 1A). In some embodiments, memory 102 optionally stores subsets of the modules and data structures identified above. Furthermore, memory 102 optionally stores additional modules and data structures not described above.

[0103] In some embodiments, device 100 is a device in which the operation of a default set of functions in the device is performed solely via a touchscreen and / or touchpad. By using a touchscreen and / or touchpad as the primary input control device for device 100 to operate, the number of physical input control devices (push buttons, dials, etc.) on device 100 is optionally reduced.

[0104] A default set of functions, performed only through the touchscreen and / or touchpad, optionally includes navigation between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates the device 100 from any user interface displayed on the device 100 to a main menu, home menu, or root menu. 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.

[0105] Figure 1B is a block diagram showing exemplary components for event processing according to several embodiments. In some embodiments, memory 102 (Figure 1A) or 370 (Figure 3A) includes an event sorting unit 170 (e.g., within the operating system 126) and individual applications 136-1 (e.g., any of the aforementioned applications 137-151, 155, 380-390).

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

[0107] In some embodiments, the application internal state 192 includes additional information such as resume information to be used when the application 136-1 resumes execution, user interface state information that indicates or is ready to display information displayed by the application 136-1, a state queue that allows the user to return to a previous state or view of the application 136-1, and one or more redo / undo queues of previous actions performed by the user.

[0108] The event monitor 171 receives event information from the peripheral interface 118. The event information includes information about sub-events (for example, user touch as part of a multi-touch gesture on the touch-sensitive display 112). The peripheral interface 118 transmits information received from the I / O subsystem 106, or from sensors such as the proximity sensor 166, one or more accelerometers 168, and / or the microphone 113 (via the audio circuit 110). The information received by the peripheral interface 118 from the I / O subsystem 106 includes information from the touch-sensitive display 112 or the touch-sensitive surface.

[0109] In some embodiments, the event monitor 171 sends requests to the peripheral interface 118 at predetermined intervals. In response, the peripheral interface 118 transmits event information. In other embodiments, the peripheral interface 118 transmits event information only when there is a significant event (e.g., reception of input exceeding a predetermined noise threshold and / or exceeding a predetermined duration).

[0110] In some embodiments, the event sorting unit 170 also includes a hit view determination module 172 and / or an active event recognition unit determination module 173.

[0111] The hit view determination module 172 provides a software procedure for determining where in one or more views a sub-event occurred when the touch-sensitive display 112 is displaying two or more views. A view consists of control devices and other elements that the user can see on the display.

[0112] Another aspect of the user interface associated with an application is a 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 an individual application) in which a touch is detected optionally corresponds to the program level within the application's program hierarchy or view hierarchy. For example, the lowest-level view in which a touch is detected optionally refers to a hit view, and the set of events recognized as appropriate input is optionally determined at least in part based on the hit view of the initial touch that initiates a touch gesture.

[0113] The hit view determination module 172 receives information related to sub-events of touch-based gestures. When an application has multiple views arranged in a hierarchy, the hit view determination module 172 identifies the hit view as the lowest-level view in the hierarchy from which sub-events should be processed. In most situations, the hit view is the lowest-level view from which the initiating sub-event (e.g., the first sub-event in a sequence of sub-events that form an event or potential event) occurs. Once a hit view is identified by the hit view determination module 172, the hit view typically receives all sub-events related to the same touch or input source identified as the hit view.

[0114] The active event recognition determination module 173 determines which view(s) in the view hierarchy should receive a particular sequence of sub-events. In some embodiments, the active event recognition determination module 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, the active event recognition determination module 173 determines that all views, including the physical location of the sub-event, are actively involved views, and therefore all actively involved views should receive a particular sequence of sub-events. In other embodiments, even if the touch sub-event is entirely confined to an area associated with one particular view, higher-level views in the hierarchy still remain actively involved views.

[0115] The event dispatcher module 174 dispatches event information to an event recognition unit (e.g., an event recognition unit 180). In embodiments including an active event recognition unit determination module 173, the event dispatcher module 174 distributes the event information to the event recognition unit determined by the active event recognition unit determination module 173. In some embodiments, the event dispatcher module 174 stores event information retrieved by individual event receiving units 182 in an event queue.

[0116] In some embodiments, the operating system 126 includes an event sorting unit 170. Alternatively, application 136-1 includes an event sorting unit 170. In yet another embodiment, the event sorting unit 170 is a standalone module or part of another module stored in memory 102, such as a contact / motion module 130.

[0117] In some embodiments, application 136-1 includes a plurality of event processing units 190 and one or more application views 191, each containing instructions for handling touch events occurring within a separate view of the application's user interface. Each application view 191 of application 136-1 includes one or more event recognition units 180. Typically, a separate application view 191 includes a plurality of event recognition units 180. In other embodiments, one or more of the event recognition units 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 properties. In some embodiments, a separate event processing unit 190 includes one or more event data 179 received from a data update unit 176, an object update unit 177, a GUI update unit 178, and / or an event sorting unit 170. The event processing unit 190 optionally uses or calls the data update unit 176, the object update unit 177, or the GUI update unit 178 to update the application's internal state 192. Alternatively, one or more application views 191 include one or more event processing units 190. In some embodiments, one or more of the data update unit 176, object update unit 177, and GUI update unit 178 are included in individual application views 191.

[0118] Each individual event recognition unit 180 receives event information (e.g., event data 179) from the event sorting unit 170 and identifies events from the event information. The event recognition unit 180 includes an event receiving unit 182 and an event comparison unit 184. In some embodiments, the event recognition unit 180 also includes at least a subset of metadata 183 and event distribution commands 188 (optionally including sub-event distribution commands).

[0119] The event receiving unit 182 receives event information from the event sorting unit 170. The event information includes information about sub-events, such as touches or the movement of touches. Depending on the sub-event, the event information also includes additional information such as the location of the sub-event. When the sub-event involves the movement of a touch, the event information also optionally includes the speed and direction of the sub-event. In some embodiments, an 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 device's current orientation (also called the device's orientation).

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

[0121] In some embodiments, the event definition 186 includes event definitions for individual user interface objects. In some embodiments, the event comparison unit 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view where three user interface objects are displayed on the touch-sensitive display 112, when a touch is detected on the touch-sensitive display 112, the event comparison unit 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 an individual event processing unit 190, the event comparison unit uses the results of the hit test to determine which event processing unit 190 should be activated. For example, the event comparison unit 184 selects the sub-event and the event processing unit associated with the object that triggers the hit test.

[0122] In some embodiments, the definition of an individual event 187 also includes a delay action that delays the delivery of event information until it is determined whether the sequence of sub-events corresponds to the event type of the event recognition unit.

[0123] If an individual event recognition unit 180 determines that a series of sub-events does not match any of the events in the event definition 186, the individual event recognition unit 180 enters an event impossible, event failed, or event terminated state, and thereafter disregards subsequent sub-events of the touch-based gesture. In this situation, if there are other event recognition units that remain active for the hit view, those event recognition units continue to track and process the sub-events of the ongoing touch-based gesture.

[0124] In some embodiments, an individual event recognition unit 180 includes metadata 183 having configurable properties, flags, and / or lists that indicate to the actively involved event recognition unit how the event distribution system should perform sub-event distribution. In some embodiments, the metadata 183 includes configurable properties, flags, and / or lists that indicate how the event recognition units interact with each other, or how they can interact with each other. In some embodiments, the metadata 183 includes configurable properties, flags, and / or lists that indicate how sub-events are distributed to various levels in the view hierarchy or program hierarchy.

[0125] In some embodiments, an individual event recognition unit 180 activates an event processing unit 190 associated with an event when one or more specific sub-events of an event are recognized. In some embodiments, the individual event recognition unit 180 delivers event information associated with the event to the event processing unit 190. Activating the event processing unit 190 is separate from sending (and delaying the sending of) sub-events to individual hit views. In some embodiments, the event recognition unit 180 sets a flag associated with the recognized event, and the event processing unit 190 associated with that flag captures the flag and executes a default process.

[0126] In some embodiments, the event distribution command 188 includes a sub-event distribution command that distributes event information about a sub-event without activating an event processing unit. Instead, the sub-event distribution command distributes event information to an event processing unit associated with a set of sub-events, or to an actively involved view. The event processing unit associated with the set of sub-events or the actively involved view receives the event information and executes a predetermined process.

[0127] In some embodiments, the data update unit 176 creates and updates data used in application 136-1. For example, the data update unit 176 updates telephone numbers used in contact module 137 or stores video files used in video player module. In some embodiments, the object update unit 177 creates and updates objects used in application 136-1. For example, the object update unit 177 creates new user interface objects or updates the positions of user interface objects. The GUI update unit 178 updates the GUI. For example, the GUI update unit 178 prepares display information and sends it to graphics module 132 for display on touch-sensitive display.

[0128] In some embodiments, the event processing unit(s) 190 includes or has access to a data update unit 176, an object update unit 177, and a GUI update unit 178. In some embodiments, the data update unit 176, the object update unit 177, and the GUI update unit 178 are contained in a single module of an individual application 136-1 or application view 191. In other embodiments, they are contained in two or more software modules.

[0129] The foregoing description regarding the handling of user touch events on a touch-sensitive display also applies to other forms of user input for operating the multifunction device 100 using input devices, but it should be understood that not all of these begin on the touchscreen. For example, mouse movement and mouse button presses, touch movements such as taps, drags, and scrolls on a touchpad, pen stylus input, device movement, verbal commands, detected eye movements, biometric input, and / or any combination thereof may be optionally used as inputs corresponding to sub-events that define the events to be recognized.

[0130] Figure 2 shows a portable multifunctional device 100 having a touchscreen 112 according to several embodiments. The touchscreen optionally displays one or more graphics within a user interface (UI) 200. In this embodiment, and in other embodiments described below, the user can select one or more of the graphics by performing gestures on the graphics using, for example, one or more fingers 202 (not shown in the figure to an exact scale) or one or more styluses 203 (not shown in the figure to an exact scale). In some embodiments, the selection of one or more graphics occurs when the user interrupts contact with that one or more graphics. In some embodiments, the gesture optionally includes one or more taps, one or more swipes (from left to right, right to left, upward and / or downward) and / or rolling (from right to left, left to right, upward and / or downward) with a finger in contact with the device 100. In some implementations or situations, accidental contact with a graphic does not constitute a selection of that graphic. For example, if the gesture corresponding to selection is a tap, a swipe gesture sweeping over an application icon does not arbitrarily select the corresponding application.

[0131] Device 100 also optionally includes one or more physical buttons, such as a "Home" button or a menu button 204. As previously mentioned, the menu button 204 is optionally used to navigate to any application 136 within the set of applications running on device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touchscreen 112.

[0132] In some embodiments, device 100 includes a touchscreen 112, a menu button 204, a push button 206 for turning the device on / off and locking the device, one or more volume buttons 208, a subscriber identification module (SIM) card slot 210, a headset jack 212, and an external port 124 for docking / charging. The push button 206 is optionally used to turn the device on / off by pressing and holding the button for a predetermined period of time, to lock the device by pressing and releasing the button before a predetermined period of time has elapsed, and / or to unlock the device or initiate an unlocking process. In alternative embodiments, device 100 also accepts verbal input via a microphone 113 to activate or deactivate certain functions. Device 100 also optionally includes one or more contact intensity sensors 165 for detecting the intensity of contact on the touchscreen 112, and / or one or more tactile output generators 167 for generating tactile output to the user of device 100.

[0133] Figure 3A is a block diagram of an exemplary multifunctional device having a display and a touch-sensitive surface, according to several embodiments. Device 300 does not have to be portable. In some embodiments, device 300 is a laptop computer, desktop computer, tablet computer, multimedia player device, navigation device, educational device (such as a children's learning toy), game system, or 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. The communication buses 320 optionally include circuitry (sometimes referred to as a chipset) that interconnects and controls communication between system components. Device 300 includes an input / output (I / O) interface 330, which includes a display 340, and the display 340 is typically a touchscreen display. The 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 that generates tactile output on device 300 (for example, similar to the tactile output generator(s) 167 described above with reference to Figure 1A), and a sensor 359 (for example, light, acceleration, proximity, touch sensing, and / or a contact intensity sensor similar to the contact intensity sensor(s) 165 described above with reference to Figure 1A). The 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. The memory 370 optionally includes one or more storage devices located remotely from the CPU(s) 310.In some embodiments, memory 370 stores programs, modules, and data structures similar to, or subsets thereof, that are stored in memory 102 of the portable multifunction device 100 (Figure 1A). Furthermore, memory 370 optionally stores additional programs, modules, and data structures that are not present in memory 102 of the portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, ​​a word processing module 384, a website creation module 386, a disk authoring module 388, and / or a spreadsheet module 390, whereas memory 102 of the portable multifunction device 100 (Figure 1A) optionally does not store these modules.

[0134] Each of the elements identified above in Figure 3A is optionally stored in one or more of the memory devices described above. Each of the modules identified above corresponds to an instruction set that performs the function described above. The modules or computer programs (e.g., instruction sets or instructions) identified above do not need to be implemented as separate software programs (e.g., computer programs (including instructions)), procedures, or modules, and therefore in various embodiments, various subsets of these modules are optionally combined or otherwise reconfigured. In some embodiments, memory 370 optionally stores subsets of the modules and data structures identified above. Furthermore, memory 370 optionally stores additional modules and data structures not described above.

[0135] Implementations within the scope of this disclosure can be partially or completely implemented using tangible computer-readable storage media (or multiple tangible computer-readable storage media of one or more types) encoding one or more computer-readable instructions. It should be acknowledged that computer-readable instructions can be organized in any format, including applications, widgets, processes, software, and / or components.

[0136] Implementations within the scope of this disclosure include a computer-readable storage medium that encodes instructions organized as an application (e.g., application 3160) that controls an electronic device (e.g., device 3150) to perform the method of Figure 3B, the method of Figure 3C, and / or one or more other processes and / or methods described herein, when executed by one or more processing units.

[0137] It should be recognized that application 3160 (shown in Figure 3D) may be any preferred type of application, including, for example, a browser application, a plugin, a widget, or an application that functions as an execution environment for other applications, a fitness application, a health application, a digital payment application, a media application, a social network application, a messaging application, and / or a map application. In some embodiments, application 3160 is an application pre-installed on device 3150 at the time of purchase (e.g., a first-party application). In some embodiments, application 3160 is an application provided to device 3150 via an operating system update file (e.g., a first-party or second-party application). In some embodiments, application 3160 is an application provided via an application store. In some embodiments, the application store may be an application store pre-installed on device 3150 at the time of purchase (e.g., a first-party application store). In some embodiments, the application store is a third-party application store (e.g., an application store provided by another application store, downloaded over a network, and / or read from a storage device).

[0138] Referring to Figures 3B and 3F, application 3160 acquires information (e.g., 3010). In some embodiments, in 3010, the information is acquired from at least one hardware component of device 3150. In some embodiments, in 3010, the information is acquired from at least one software module of device 3150. In some embodiments, in 3010, the information is acquired from at least one hardware component outside of device 3150 (e.g., peripheral devices, accessory devices, and / or servers). In some embodiments, the information acquired in 3010 includes location information, time information, notification information, user information, environmental information, electronic device status information, weather information, media information, history information, event information, hardware information, and / or motion information. In some embodiments, in response to and / or after acquiring information in 3010, application 3160 provides the information to a system (e.g., 3020).

[0139] In some embodiments, the system (e.g., 3110 shown in Figure 3E) is an operating system hosted on device 3150. In some embodiments, the system (e.g., 3110 shown in Figure 3E) is an external device (e.g., a server, peripheral device, accessory, and / or personal computing device) that includes an operating system.

[0140] Referring to Figures 3C and 3G, application 3160 acquires information (e.g., 3030). In some embodiments, the information acquired in 3030 includes location information, time information, notification information, user information, environmental information, electronic device status information, weather information, media information, history information, event information, hardware information, and / or motion information. In response to acquiring information in 3030, and / or thereafter, application 3160 performs an action using the information (e.g., 3040). In some embodiments, the action performed in 3040 includes providing notifications based on the information, sending messages based on the information, displaying the information, controlling the user interface of a fitness application based on the information, controlling the user interface of a health application based on the information, controlling the focus mode based on the information, setting reminders based on the information, adding calendar entries based on the information, and / or calling an API of system 3110 based on the information.

[0141] In some embodiments, one or more steps of the method in Figure 3B and / or the method in Figure 3C are performed in response to a trigger. In some embodiments, the trigger includes the detection of an event, a notification received from system 3110, user input, and / or a response to a call to an API provided by system 3110.

[0142] In some embodiments, instructions from application 3160 control device 3150 to perform the method of Figure 3B and / or Figure 3C by calling an application programming interface (API) (e.g., API 3190) provided by system 3110 when executed. In some embodiments, application 3160 performs at least a portion of the method of Figure 3B and / or Figure 3C without calling API 3190.

[0143] In some embodiments, one or more steps of the method in Figure 3B and / or the method in Figure 3C include calling an API (e.g., API 3190) using one or more parameters defined by the API. In some embodiments, one or more parameters include constants, keys, data structures, objects, object classes, variables, data types, pointers, arrays, lists or pointers to functions or methods, and / or other methods that refer to data or other items passed through the API.

[0144] Referring to Figure 3D, device 3150 is shown. In some embodiments, device 3150 is a personal computing device, smartphone, smartwatch, fitness tracker, head-mounted display (HMD) device, media device, shared device, speaker, television, and / or tablet. As shown in Figure 3D, device 3150 includes application 3160 and an operating system (e.g., system 3110 shown in Figure 3E). Application 3160 includes application implementation module 3170 and API calling module 3180. System 3110 includes API 3190 and implementation module 3100. It should be noted that device 3150, application 3160, and / or system 3110, or any combination thereof, may include more, fewer, and / or different components, or combinations thereof, than those shown in Figures 3D and 3E.

[0145] In some embodiments, the application implementation module 3170 includes one or more sets of instructions corresponding to one or more operations performed by the application 3160. For example, if the application 3160 is a messaging application, the application implementation module 3170 may include operations for sending and receiving messages. In some embodiments, the application implementation module 3170 communicates with the API calling module 3180 in order to communicate with the system 3110 via the API 3190 (shown in Figure 3E).

[0146] In some embodiments, API 3190 is a software module (e.g., a set of computer-readable instructions) that provides an interface enabling a different module (e.g., an API calling module 3180) to access and / or use one or more functions, methods, procedures, data structures, classes, and / or other services provided by the implementing module 3100 of system 3110. For example, API calling module 3180 can access features of implementing module 3100 via one or more API calls or invocations (e.g., embodied by function or method calls) exposed by API 3190 (e.g., a software and / or hardware module that can receive, respond to, and / or send API calls), and can pass data and / or control information using one or more parameters via API calls or invocations. In some embodiments, API 3190 enables application 3160 to use services provided by a software development kit (SDK) library. In some embodiments, application 3160 incorporates calls to functions or methods provided by the SDK library and provided by API 3190, or uses data types or objects defined in the SDK library and provided by API 3190. In some embodiments, API calling module 3180 makes API calls via API 3190 to access and use features of the implementing module 3100 specified by API 3190. In such embodiments, the implementing module 3100 may return values ​​to the API calling module 3180 via API 3190 in response to the API calls. The values ​​may report to application 3160 the capabilities or states of hardware components of device 3150, including those related to aspects such as input capability and state, output capability and state, processing capability, power state, storage capacity and state, and / or communication capability.In some embodiments, API3190 is partially implemented by firmware, microcode, or other low-level logic that is partially executed on hardware components.

[0147] In some embodiments, API 3190 enables the developer of API calling module 3180 (which may be a third-party developer) to leverage features provided by the implementation module 3100. In such embodiments, there may be one or more API calling modules (e.g., including API calling module 3180) communicating with the implementation module 3100. In some embodiments, API 3190 enables multiple API calling modules written in different programming languages ​​to communicate with the implementation module 3100 (e.g., API 3190 may include features for translating calls and returns between the implementation module 3100 and the API calling module 3180), but API 3190 is implemented with respect to a specific programming language. In some embodiments, API calling module 3180 calls APIs from different providers, such as a set of APIs from an OS provider, another set of APIs from a plug-in provider, and / or another set of APIs from another provider (e.g., a software library provider) or the creator of another set of APIs.

[0148] Examples of API 3190 include one or more of the following: Pairing API (e.g., for establishing a secure connection with an accessory), Device Discovery API (e.g., for locating nearby devices such as media devices and / or smartphones), Payment API, UIKit API (e.g., for generating a user interface), Location Discovery API, Locator API, Maps API, Health Sensor API, Sensor API, Messaging API, Push Notification API, Streaming API, Collaboration API, Video Conferencing API, Application Store API, Advertising Services API, Web Browser API (e.g., WebKit API), Vehicle API, Networking API, WiFi API, Bluetooth API, NFC API, UWB API, Fitness API, Smart Home API, Contact Transfer API, Photo API, Camera API, and / or Image Processing API. In some embodiments, the Sensor API is an API for accessing data associated with the sensors of device 3150. For example, the Sensor API may provide access to raw sensor data. In another example, the Sensor API may provide data derived (and / or generated) from raw sensor data. In some embodiments, sensor data includes temperature data, image data, video data, audio data, heart rate data, IMU (inertial measurement unit) data, lidar data, location data, GPS data, and / or camera data. In some embodiments, the sensor includes one or more of the following: accelerometer, temperature sensor, infrared sensor, optical sensor, heart rate sensor, barometer, gyroscope, proximity sensor, temperature sensor, and / or biosensor.

[0149] In some embodiments, the implementing module 3100 is a system (e.g., an operating system and / or server system) software module (e.g., a set of computer-readable instructions) constructed to perform actions in response to receiving API calls via API 3190. In some embodiments, the implementing module 3100 is constructed to provide API responses (via API 3190) as a result of processing API calls. For example, the implementing module 3100 and the API calling module 3180 can each be an operating system, a library, a device driver, an API, an application program, or any other module. It should be understood that the implementing module 3100 and the API calling module 3180 can be the same or different types of modules. In some embodiments, the implementing module 3100 is implemented at least in part in firmware, microcode, or hardware logic.

[0150] In some embodiments, the implementation module 3100 returns a value via API 3190 in response to an API call from the API calling module 3180. API 3190 defines the syntax and results of an API call (e.g., how to invoke the API call and what the API call does), but it may not reveal how the implementation module 3100 achieves the functionality specified by the API call. Various API calls are transferred through one or more application programming interfaces between the API calling module 3180 and the implementation module 3100. Transferring an API call can include issuing, initiating, calling, receiving, returning, and / or responding to function calls or messages. In other words, a transfer can describe an action performed by either the API calling module 3180 or the implementation module 3100. In some embodiments, a function call or other call to API 3190 sends and / or receives one or more parameters via a parameter list or other structure.

[0151] In some embodiments, the implementation module 3100 provides two or more APIs, each providing a different view or different aspect of the functionality implemented by the implementation module 3100. For example, one API of the implementation module 3100 may provide a first set of functionality that can be exposed to third-party developers, while another API of the implementation module 3100 may be hidden (e.g., not exposed) and provide a subset of the first set of functionality, as well as another set of functionality not included in the first set of functionality, such as test or debug functions. In some embodiments, the implementation module 3100 calls one or more other components via an underlying API and is therefore both an API calling module and an implementation module. It should be noted that the implementation module 3100 may include additional functionality, methods, classes, data structures, and / or other features that are not specified via API 3190 and are not available to the API calling module 3180. It should also be noted that the API calling module 3180 may reside on the same system as the implementation module 3100, or it may be located remotely and access the implementation module 3100 via a network using API 3190. In some embodiments, the implementation module 3100, API 3190, and / or API calling module 3180 are stored on a machine-readable medium that includes any mechanism for storing information in a machine-readable form (e.g., a computer or other data processing system). For example, the machine-readable medium may include a magnetic disk, an optical disk, random-access memory, read-only memory, and / or a flash memory device.

[0152] An Application Programming Interface (API) is an interface between a first software process and a second software process that specifies a format for communication between the two software processes. A restricted API (e.g., a private API or partner API) is an API accessible to a limited set of software processes (e.g., only software processes within the operating system, or only software processes authorized to access the restricted API). A public API is accessible to a broader set of software processes. Some APIs allow a software process to communicate with or set the state of one or more input devices (e.g., one or more touch sensors, proximity sensors, vision sensors, motion / orientation sensors, pressure sensors, intensity sensors, sound sensors, wireless proximity sensors, biosensors, buttons, switches, rotatable elements, and / or external controllers). Some APIs allow a software process to communicate with and / or set the state of one or more output generating components (e.g., one or more audio output generating components, one or more display generating components, and / or one or more tactile output generating components). Some APIs allow specific functions (e.g., scrolling, handwriting, text entry, image editing, and / or image creation) to be accessed, executed, and / or used by a software process (e.g., generating output for use by a software process based on input from a software process). Some APIs allow content from a software process to be inserted into a template and displayed in a user interface having a layout and / or behavior specified by the template.

[0153] Many software platforms include a set of frameworks that provide core objects and core behaviors that software developers need to build software applications that can be used on the software platform. Software developers use these objects to display content on the screen, interact with that content, and manage interaction with the software platform. Software applications rely on the set of frameworks for their basic behaviors, and the set of frameworks provides many ways for software developers to customize the behavior of the application to suit the specific needs of the software application. Many of these core objects and core behaviors are accessed via APIs. APIs typically specify a format for communication between software processes, including specifying and grouping available variables, functions, and protocols. API calls (sometimes called API requests) are typically sent from a sending software process to a receiving software process as a way to achieve one or more of the following: the sending software process requests information from the receiving software process (e.g., for the sending software process to perform an action), the sending software process provides information to the receiving software process (e.g., for the receiving software process to perform an action), the sending software process requests an action by the receiving software process, or the sending software process provides the receiving software process with information about an action performed by the sending software process. Interaction with a device (for example, using a user interface) may, in some situations, involve the transfer and / or reception of one or more API calls (e.g., multiple API calls) between multiple different software processes (e.g., different parts of an operating system, an application and an operating system, or different applications) via one or more APIs (e.g., multiple different APIs).For example, when an input is detected, the sensor data is frequently processed into one or more input events provided (e.g., via an API) to a receiving software process that makes some determination based on the input event and then sends information (e.g., via an API) to a software process to perform an action based on the determination (e.g., change the device state and / or user interface). The determination and the action performed accordingly may be performed by the same software process, but alternatively, the determination may be performed by a first software process and relayed (e.g., via an API) to a second software process different from the first software process, and the action may be performed by the second software process. Alternatively, the second software process may relay instructions (e.g., via an API) to a third software process different from the first and / or second software processes to perform the action. It should be understood that some or all user interaction with the computer system may involve one or more API calls within the step of interacting with the computer system (e.g., between different software components of the computer system, or between a software component of the computer system and one or more software components of a remote computer system). It should be understood that some or all user interaction with a computer system may involve one or more API calls between steps of interaction with the computer system (for example, between different software components of the computer system, or between a software component of the computer system and one or more software components of a remote computer system).

[0154] In some embodiments, the application may be any preferred type of application, including, for example, a browser application, a plugin, a widget, or an application that functions as an execution environment for other applications, a fitness application, a health application, a digital payment application, a media application, a social network application, a messaging application, and / or a map application.

[0155] In some embodiments, the application is an application pre-installed on the first computer system at the time of purchase (e.g., a first-party application). In some embodiments, the application is an application provided to the first computer system via an operating system update file (e.g., a first-party application). In some embodiments, the application is an application provided through an application store. In some embodiments, the application store is pre-installed on the first computer system (e.g., a first-party application store) at the time of purchase and allows the download of one or more applications. In some embodiments, the application store is a third-party application store (e.g., an application store provided by another device, downloaded over a network, and / or read from a storage device). In some embodiments, the application is a third-party application (e.g., an app provided by an application store, downloaded over a network, and / or read from a storage device). In some embodiments, the application controls the first computer system to perform methods 700 and / or 800 (e.g., Figures 7 and / or 8) by calling an application programming interface (API) provided by a system process using one or more parameters.

[0156] In some embodiments, exemplary APIs provided by the system process include one or more of the following: pairing APIs (e.g., for establishing a secure connection with an accessory), device discovery APIs (e.g., for locating nearby devices such as media devices and / or smartphones), payment APIs, UIKit APIs (e.g., for generating user interfaces), location discovery APIs, locator APIs, map APIs, health sensor APIs, sensor APIs, messaging APIs, push notification APIs, streaming APIs, collaboration APIs, video conferencing APIs, application store APIs, advertising service APIs, web browser APIs (e.g., WebKit APIs), vehicle APIs, networking APIs, WiFi APIs, Bluetooth APIs, NFC APIs, UWB APIs, fitness APIs, smart home APIs, contact transfer APIs, photo APIs, camera APIs, and / or image processing APIs.

[0157] In some embodiments, at least one API is a software module (e.g., a set of computer-readable instructions) that provides an interface enabling a different module (e.g., an API calling module 3180) to access and use one or more functions, methods, procedures, data structures, classes, and / or other services provided by an implementing module of a system process. The API can define one or more parameters that are passed between the API calling module and the implementing module. In some embodiments, API 3190 defines a first API call that may be provided by the API calling module 3180. The implementing module is a system software module (e.g., a set of computer-readable instructions) constructed to perform an operation in response to receiving an API call via the API. In some embodiments, the implementing module is constructed to provide an API response (via the API) as a result of processing an API call. In some embodiments, the implementing module is contained within a device (e.g., 3150) that runs the application. In some embodiments, the implementing module is contained within an electronic device separate from the device that runs the application.

[0158] Next, we optionally turn our attention to an embodiment of a user interface implemented in, for example, a portable multi-functional device 100.

[0159] Figure 4A shows an exemplary user interface of an application menu on a portable multifunction device 100 according to several embodiments. A similar user interface can be optionally implemented on device 300. In some embodiments, the user interface 400 includes the following elements, or subsets or supersets thereof. ●Signal strength indicators (single or multiple) for wireless communication (single or multiple) such as cellular signals and Wi-Fi signals 402, ●Time 404, ●Bluetooth indicator 405, ●Battery status indicator 406, ●Tray 408 containing icons for frequently used applications, as shown below. ○Optionally including an indicator 414 for the number of missed calls or voicemail messages, an icon 416 of the telephone module 138 labeled "Telephone", ○Optionally including an indicator 410 for the number of unread emails, an icon 418 of the email client module 140 labeled "Mail", ○ Icon 420 of browser module 147, labeled "Browser", and ○ Icon 422 for the video and music player module 152, also known as the iPod (trademark of Apple Inc.) module 152, which is labeled "iPod", and ● Icons of other applications, such as the following: ○ Icon 424 of IM module 141, labeled "Message", ○ Icon 426 of calendar module 148, labeled "Calendar", ○ Icon 428 of image management module 144, labeled "Photo" ○ Icon 430 of camera module 143, labeled "Camera" ○ Icon 432 of online video module 155, labeled "online video" ○ Icon 434 of stock price widget 149-2, labeled "Stock Price" ○ Icon 436 of map module 154, labeled "Map" ○ Icon 438 of weather widget 149-1, labeled "Weather" ○ Icon 440 of the alarm clock widget 149-4, labeled "Clock" ○ Icon 442 of training support module 142, labeled "Training Support" ○ Icon 444 of memo module 153, labeled as "Memo", and ○ An icon 446 labeled "Settings," which provides access to the settings of device 100 and its various applications 136, for a settings application or module.

[0160] Please note that the icon labels shown in Figure 4A are for illustrative purposes only. For example, the icon 422 for the video and music player module 152 is labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label for an individual application icon includes the name of the application to which that individual application icon corresponds. In some embodiments, the label for a particular application icon is different from the name of the application to which that particular application icon corresponds.

[0161] Figure 4B shows an exemplary user interface on a device (e.g., device 300, Figure 3A) having a touch-sensitive surface 451 (e.g., a tablet or touchpad 355, Figure 3A) separate from the 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) for detecting the intensity of contact on the touch-sensitive surface 451, and / or one or more tactile output generators 357 for generating tactile output to the user of device 300.

[0162] Some of the following embodiments are given by reference to input on a touchscreen display 112 (a combination of a touch-sensing surface and a display), but in some embodiments, the device detects input on a touch-sensing surface separate from the display, as shown in Figure 4B. In some embodiments, the touch-sensing surface (e.g., touch-sensing surface 451 in Figure 4B) has a principal axis (e.g., 452 in Figure 4B) corresponding to a principal axis (e.g., 453 in Figure 4B) on the display (e.g., display 450). According to these embodiments, the device detects contact with the touch-sensing surface 451 at locations corresponding to each location on the display (e.g., contacts 460 and 462 in Figure 4B) (e.g., in Figure 4B, contact 460 corresponds to 468 and contact 462 corresponds to 470). In this way, when the touch-sensitive surface is separate from the display, user input (e.g., touches 460 and 462, and their movement) detected by the device on the touch-sensitive surface (e.g., touch-sensitive surface 451 in Figure 4B) is used by the device to operate the user interface on the display of the multifunction device (e.g., display 450 in Figure 4B). It should be understood that a similar method may be optionally used for other user interfaces described herein.

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

[0164] Figure 5A shows an exemplary personal electronic device 500. Device 500 includes a body 502. In some embodiments, device 500 may include some or all of the functions described with respect to devices 100 and 300 (e.g., Figures 1A to 4B). In some embodiments, device 500 has a touch-sensitive display screen 504, hereafter referred to as touchscreen 504. Alternatively, or in addition to touchscreen 504, device 500 may have a display and a touch-sensitive surface. Similar to devices 100 and 300, in some embodiments, touchscreen 504 (or touch-sensitive surface) optionally includes one or more intensity sensors that detect the intensity of the applied contact (e.g., touch). One or more intensity sensors on touchscreen 504 (or touch-sensitive surface) may provide output data representing the intensity of the touch. The user interface of device 500 may respond to touches based on their intensity, meaning that touches of different intensity may invoke different user interface behaviors on device 500.

[0165] For example, see, for instance, International Patent Application PCT / US2013 / 040061, “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” filed 8 May 2013, published as International Publication WO / 2013 / 169849, and International Patent Application PCT / US2013 / 069483, “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” filed 11 November 2013, published as International Publication WO / 2014 / 105276.

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

[0167] Figure 5B shows an exemplary personal electronic device 500. In some embodiments, the device 500 may include some or all of the components described with respect to Figures 1A, 1B, and 3A. The device 500 has a bus 512 that operably connects an I / O section 514 to one or more computer processors 516 and memory 518. The I / O section 514 may be connected to a display screen 504, which may 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 may 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 technologies. The device 500 may include input mechanisms 506 and / or 508. The input mechanism 506 may optionally be, for example, a rotatable input device or a pressable and rotatable input device. In some embodiments, the input mechanism 508 is optionally a button.

[0168] In some embodiments, 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, a direction sensor 540 (e.g., a compass), a gyroscope 536, a motion sensor 538, and / or a combination thereof, all of which can be operably connected to the I / O section 514.

[0169] The memory 518 of the personal electronic device 500 may include one or more non-temporary computer-readable storage media for storing computer-executable instructions, which, when executed by one or more computer processors 516, can cause the computer processors to execute techniques described below, including processes 700-800 (e.g., Figures 7-8). The computer-readable storage media may be any medium that can tangibly contain or store computer-executable instructions used by or in connection with an instruction execution system, apparatus, or device. In some examples, the storage medium is a temporary computer-readable storage medium. In some examples, the storage medium is a non-temporary computer-readable storage medium. The non-temporary computer-readable storage medium may include, but is not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage include magnetic disks, CDs, DVDs, or optical disks based on Blu-ray® technology, as well as persistent solid-state memory such as flash and solid-state drives. The personal electronic device 500 is not limited to the components and configurations shown in Figure 5B, and may include other or additional components in multiple configurations.

[0170] As used herein, the term “affordance” optionally refers to user-interactive graphical user interface objects displayed on the display screens of devices 100, 300, and / or 500 (Figures 1A, 3A, and 5A-5B). For example, images (e.g., icons), buttons, and text (e.g., hyperlinks) each optionally constitute an affordance.

[0171] As used herein, the term “focus selector” refers to an input element that indicates the current portion of a user interface with which a user is interacting. In some implementations, including a cursor or other location marker, the cursor functions as a “focus selector” such that when input (e.g., press input) is detected on a touch-sensitive surface (e.g., touchpad 355 in Figure 3A or touch-sensitive surface 451 in Figure 4B) while the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), the particular user interface element adjusts according to the detected input. In some implementations, including a touchscreen display that enables direct interaction with user interface elements on the touchscreen display (e.g., touch-sensitive display system 112 in Figure 1A or touchscreen 112 in Figure 4A), detected contact on the touchscreen acts as a “focus selector” so that when input (e.g., press input by touch) 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 adjusts according to the detected input. In some implementations, focus is moved from one area of ​​the user interface to another without corresponding cursor movement or touch movement on the touchscreen display (for example, by using the tab key or arrow keys to move focus from one button to another), and in these implementations, the focus selector moves in accordance with the movement of focus between different areas of the user interface. Regardless of the specific form the focus selector takes, the focus selector is generally a user interface element (or touch on the touchscreen display) controlled by the user to communicate the user's intended interaction with the user interface (for example, by pointing to the device an element of the user interface through which the user intends to interact).For example, the location of a focus selector (e.g., cursor, touch, or selection box) over an individual button while pressure input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen) indicates that the user intends to activate that individual button (rather than other user interface elements displayed on the device's display).

[0172] As used herein and in the claims, the term “characteristic intensity” of a contact refers to the characteristics of that contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity is optionally based on a set of intensity samples collected over a predetermined period (e.g., 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10 seconds) associated with a predetermined event (e.g., after detection of contact, before detection of lift-off of contact, before or after detection of the start of movement of contact, before detection of the end of contact, before or after detection of an increase in contact intensity, and / or before or after detection of a decrease in contact intensity). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of the contact intensity, the mean value of the contact intensity, the average value of the contact intensity, the top 10 percentile value of the contact intensity, the maximum half value of the contact intensity, the maximum 90 percent value of the contact intensity, and so on. In some embodiments, the duration of contact is used when determining characteristic intensity (for example, when characteristic intensity is the average intensity of contact over time). In some embodiments, characteristic intensity is compared to a set of one or more intensity thresholds to determine whether an action has been 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 embodiment, contact with a characteristic intensity not exceeding the first threshold results in a first action, contact with a characteristic intensity above the first intensity threshold but not exceeding the second intensity threshold results in a second action, and contact with a characteristic intensity above the second threshold results in a third action. In some embodiments, the comparison between characteristic intensity and one or more thresholds is not used to determine whether a first action should be performed or a second action should be performed, but rather to determine whether one or more actions should be performed at all (for example, whether individual actions should be performed or whether individual actions should be withheld).

[0173] In some embodiments, a computer system is in a locked or unlocked state. In the locked state, the computer system is powered on and operational, but is prevented from performing a default set of operations in response to user input. This default set of operations optionally includes navigating between user interfaces, activating or deactivating a default set of functions, and activating or deactivating specific applications. The locked state may be used to prevent unintended or unauthorized use of some functions of the computer system, or activation or deactivation of some functions on the computer system. In some embodiments, in the unlocked state, the computer system is powered on and operational, and is not prevented from performing at least some of the default set of operations that cannot be performed while in the locked state. When a computer system is in the locked state, the computer system is said to be locked. When a computer system is in the unlocked state, the computer is said to be unlocked. In some embodiments, a computer system in the locked state optionally responds to a limited set of user inputs, including inputs corresponding to an attempt to transition the computer system to the unlocked state, or inputs corresponding to turning off the power to the computer system.

[0174] Next, we will focus on embodiments of user interfaces ("UI") and related processes implemented on electronic devices such as portable multifunction device 100, device 300, or device 500.

[0175] Figures 6A to 6Y show exemplary user interfaces for managing translations in several embodiments. These user interfaces are used to illustrate processes described later, including the processes shown in Figures 7 and 8.

[0176] Figure 6A shows Scene 680, which includes user 680A of computer system 600. Computer system 600 includes telephone 600A and earphone 600B. Scene 680 shows two people, user 680A and person 680B, sitting at the same table. User 680A is a user of computer system 600 (e.g., logged into computer system 600 using a user account, owns computer system 600, and / or wears components of computer system 600). Person 680B is not logged into computer system 600, does not own computer system 600, and / or wears components of computer system 600. User 680A has limited ability to speak and understand a first language (e.g., English) and to speak and understand a second language (e.g., Spanish) (e.g., cannot speak and understand). Person 680B speaks and understands a second language (e.g., Spanish) and has limited ability to speak and understand a first language (e.g., English) (e.g., is unable to speak and understand it). As shown throughout Figures 6A–6Y, User 680A and Person 680B do not share a common language, but the computer system 600 facilitates conversation between User 680A and Person 680B. Scene 680 is not part of the displayed user interface but is shown to facilitate understanding of the technology being described. User 680A is wearing earphones 600B that are wirelessly communicating with User 680A's telephone 600A. In some embodiments, the telephone 600A is configured by User 680A to operate the virtual assistant using the first language (e.g., English) so that the virtual assistant outputs responses to commands in the first language. In some embodiments, the telephone 600A is configured to translate between the first language and the second language (for example, based on input from user 680A), such as by downloading language information corresponding to the first language and / or the second language from an online source.The phone 600A is in a locked state, as optionally shown by the display of the lock indicator 604A and the lock screen user interface 604 via the display 602. In some embodiments, the phone 600A remains locked throughout the entire translation process, as shown in Figures 6A to 6Y. In some embodiments, the phone 600A is unlocked throughout the entire translation process.

[0177] As will be described in more detail below, in some embodiments, while the computer system 600 is not in translation mode, the computer system 600 does not output a translation of an utterance (e.g., via the audio speaker and / or via the display). For example, the microphone of the computer system 600 is not enabled to allow the computer system 600 to detect an utterance, and the computer system 600 does not translate the detected utterance and / or the computer system 600 does not output the translated utterance. When the computer system 600 enters translation mode (e.g., in response to detecting a corresponding user request), the computer system 600 automatically detects utterances (e.g., both from user 680A and other persons such as person 680B) and outputs the corresponding translation via one or more of the speaker of the earphone 600B, the speaker of the telephone 600A, and / or the display of the telephone 600A (e.g., without requiring or receiving additional user input). Therefore, the computer system 600 can detect requests to operate in translation mode, and users 680A and person 680B can participate in multilingual conversations without needing to provide external user input to the computer system 600. In some embodiments, utterances are detected using one or more microphones of the earphone 600B and / or one or more microphones of the telephone 600A.

[0178] In Figure 6A, telephone 600A is not operating in translation mode (e.g., translation mode is disabled and / or not enabled). Person 680B speaks (e.g., 660A), but because computer system 600 is not operating in translation mode, computer system 600 does not detect the audio, does not transcribe the audio, and / or outputs a transcription / translation of the utterance. Therefore, in Figure 6B, telephone 600A continues to display the lock screen user interface 604 via display 602. Similarly, because computer system 600 is not operating in translation mode, computer system 600 also does not translate user 680A's utterance and / or output a translation of it.

[0179] In Figure 6B, the computer system 600 detects requests to enable translation mode, such as input 650A directed to the earphone 600B (e.g., touch input and / or air gesture) and / or input 650B directed to the telephone 600A (e.g., button press and / or touch input).

[0180] In Figure 6C, upon detecting a request to enable translation mode (e.g., inputs 650A and / or 650B), the computer system 600 begins operating in translation mode (and remains in translation mode throughout Figures 6C–6Y). In some embodiments, upon detecting a request to enable translation mode (e.g., inputs 650A and / or 650B), the computer system 600 outputs audio 670A indicating the language to which the computer system 600 will translate the utterance detected from a remote person, such as person 680B (e.g., a second language such as Spanish), via the earphone 600B (e.g., one or more of its speakers) (e.g., without outputting audio via one or more of the speakers of the telephone 600A). For example, the computer system 600 outputs audio indicating that the computer system 600 is listening to a Spanish utterance to translate into the first language. In some embodiments, as shown in Figure 6C, upon detecting a request to enable translation mode (e.g., inputs 650A and / or 650B), the computer system 600 displays the conversation transcript user interface 610 via the display 602 (e.g., by replacing the display of the lock screen user interface 604 and optionally continuing to display the lock indicator 604A). For example, the conversation transcript user interface 610 includes an indication 610A that shows a second language to which the utterances will be translated from a remote person, such as person 680B, if the computer system 600 detects utterances in that language from that person.

[0181] In Figure 6D, while the computer system 600 is operating in translation mode, person 680B speaks utterance 660B, as shown in scene 680. For example, person 680B says,

number

[0182] In Figure 6E, upon detection of utterance 660B by the computer system 600, the computer system 600 outputs a translation of utterance 660B. In some embodiments, the computer system 600 outputs an audio translation 670B (in the first language) of utterance 660B via one or more speakers of the earphone 600B and outputs a visual translation 612A as part of the conversation transcript user interface 610. In some embodiments, the computer system 600 displays the text 614A of utterance 660B in the second language (e.g., untranslated) as part of the conversation transcript user interface 610 (e.g., simultaneously with the visual translation 612A). For example, the visual translation 612A and the text 614A are displayed within the same speech bubble positioned on one side (e.g., the left side) of the conversation transcript user interface 610 to indicate that person 680B is the speaker. In some examples, the font size of the text 614A is smaller than the font size of the visual translation 612A. In some embodiments, telephone 600A does not automatically output (translated or untranslated) audio corresponding to utterance 660B upon detection of utterance 660B. Thus, user 680A hears the translation of utterance 660B, and user 680A and / or person 680B see the translation of utterance 660B.

[0183] In Figures 6F to 6H, while the computer system 600 continues to operate in translation mode, user 680A speaks (e.g., utterance 662A) as shown in scene 680 in Figures 6F to 6G. For example, user 680A says (in English) "I'm trying to find a place to have dinner before it gets dark." The computer system 600 detects utterance 662A using one or more microphones on the earphone 600B (and optionally without using the microphone on the telephone 600A). The computer system 600 optionally determines that the detected utterance 662A is from the local speaker (e.g., user 680A) and / or that the detected utterance 662A is in the first language. The computer system 600 translates utterance 662A from the first language (e.g., English) to the second language (e.g., Spanish) (e.g., without requiring further user input). In some embodiments, the computer system 600 translates from a first language based on having previously received its language selection for translation, as described above. In some embodiments, the computer system 600 translates from a first language based on determining that utterance 662A is spoken in a first language. In some embodiments, translating utterance 662A from a first language to a second language includes performing speech recognition to transcribe the utterance audio into text, such as transcribing the utterance audio in a first language into text in a first language. The text in a first language is then translated into text in a second language and subsequently output by the computer system 600 (e.g., 616A and / or 672A). In some embodiments, the computer system 600 translates to a second language based on having previously received its language selection, as described above. In some embodiments, the computer system 600 translates into a second language based on an utterance previously detected in its language (e.g., utterance 660B) (e.g., from a remote person).

[0184] In some embodiments, in order to reduce latency when outputting the translation of utterance 662A, the computer system 600 begins outputting the translation of the detected utterance 662A (for example, via the display 602 and / or via one or more speakers) without waiting for pauses in the utterance 662A and without waiting for the end of sentences in the utterance 662A, as will be described in more detail with respect to Figure 6J.

[0185] In Figures 6G to 6I, when the computer system 600 detects each part of the utterance 662A (for example, accordingly), the computer system 600 translates and outputs individual translations of the individual parts of the utterance 662A, for example, by using markers, as will be described in detail below. In some embodiments, the computer system 600 outputs an audio translation 672A (in a second language) of the utterance 662A via one or more speakers of the telephone 600A and outputs a visual translation 616A as part of the conversation transcript user interface 610. In some embodiments, the computer system 600 displays the text 618A of the utterance 660B in a first language (for example, untranslated) as part of the conversation transcript user interface 610. For example, the visual translation 616A and the text 618A are displayed in the same speech bubble positioned on another side (for example, the right side) of the conversation transcript user interface 610 to indicate that the user 680A is the speaker. In this example, the font size of text 618A is smaller than the font size of the visual translation 616A. In some embodiments, telephone 600A does not output audio corresponding to utterance 662A (e.g., translated or untranslated 672A). Thus, user 680A and / or person 680B hear (with reduced latency) and / or see (with reduced latency) the translation of utterance 662A.

[0186] Figure 6J shows an exemplary procedure for reducing latency when outputting a translation of the detected utterance. In 682A, the computer system 600 has detected the utterance 662A in Figure 6F, and once the utterance is detected, it performs speech recognition to transcribe the utterance audio into transcribed text 682A1, such as transcribing the utterance audio into text in the first language. In some embodiments, the computer system 600 inserts a marker 684A (e.g., a comma) into the transcribed (untranslated) text 682A1 of the utterance 682A. When a marker (e.g., 684A) is inserted into the transcribed text 682A1, the computer system 600 translates the portion of the transcribed text 682A1 up to the inserted marker ("trying to find") and begins outputting the translation (as shown, for example, in Figure 6G) without waiting for a pause in the utterance (e.g., utterance 662A) and without waiting for the end of the sentence in the utterance (e.g., utterance 662A). The remainder of the transcribed text 682A1 (e.g., "a pla...") is retained and becomes part of the next portion of the utterance to be analyzed. For example, in 682B in Figure 6J, the computer system 600 has detected an additional utterance 662A in Figure 6G and is performing speech recognition to transcribe the speech audio into transcribed text 682B1, which includes the remainder of the transcribed text 682A1 after the marker 684A. In some embodiments, the computer system 600 inserts a marker 684B (e.g., a comma) into the transcribed (untranslated) text 682B1 of the utterance 682A. Once the marker (e.g., 684B) is inserted into the transcribed text 682B1, the computer system 600 translates the portion of the transcribed text 682B1 up to the inserted marker ("place for dinner"), and queues the output translation (e.g., as shown in Figure 6H) without waiting for a pause in the utterance (e.g., utterance 662A) and without waiting for the end of the sentence of the utterance (e.g., utterance 662A).The remainder of the transcribed text 682B1 (e.g., "before...") is retained and becomes part of the next portion of the utterance to be analyzed. For example, in 682C in Figure 6J, the computer system 600 has detected an additional utterance 662A in Figure 6H and is performing speech recognition to transcribe the utterance audio into transcribed text 682C1, which includes the remainder of transcribed text 682B1 after the marker 684B (e.g., "before"). The computer system 600 detects the end of the sentence (e.g., a period 684C) and therefore does not insert an additional marker. The computer system 600 translates the portion of transcribed text 682C1 to the end of the sentence ("before it gets dark") and the computer system 600 queues the output translation (e.g., as shown in Figure 6I). Therefore, the computer system 600 outputs a translation of the detected utterance with significantly reduced latency (compared to, for example, waiting for a pause in the utterance or the end of a sentence). In this example, commas (e.g., 684A, 684B) are used as markers, but other markers such as other punctuation marks or text symbols may also be used. In some embodiments, markers (e.g., commas) are inserted not on the basis of grammatical correctness, but on the basis of identifying a location in the utterance where translation / output can begin. In some embodiments, markers are not used for pronunciation and / or intonation purposes when outputting the translation (e.g., via a display and / or via utterances using one or more speakers of the computer system).

[0187] Similarly, instead of inserting markers (e.g., 684A) into transcribed (untranslated) text (e.g., 682A1, 682B1), the computer system 600 can insert markers into translated text (e.g., 682A2, 682B2), as shown in Figure 6J. Thus, once an utterance is detected and transcribed, the transcribed text is translated. The computer system inserts markers (e.g., 686A and / or 686B) into the translated text to indicate that the portion before the marker may be output (e.g., via a display and / or via audio spoken using one or more speakers) and / or may be queued to be output. As shown in Figure 6J, at 682A, the computer system 600 inserts marker 686A and begins outputting the underlined translated text at 682A (e.g., the portion up to the marker). Similarly, at 682B, the computer system 600 inserts marker 686B and begins outputting (or queuing for outputting) the underlined translated text at 682B (e.g., the portion up to the marker). At 682C, the computer system 600 detects the end of a sentence (e.g., based on a period 686C) and outputs (or queues for outputting) the underlined translated text at 686C (e.g., the rest of the sentence). Thus, the computer system 600 outputs the translation of the detected utterance with significantly reduced latency (compared to, for example, waiting for a pause in the utterance or the end of a sentence). In this example, commas (e.g., 686A, 686B) are used as markers, but other markers such as other punctuation marks or text symbols could also be used. In some embodiments, markers (e.g., commas) are inserted not on the basis of grammatical correctness, but on the basis of identifying a location in the utterance where output can begin. In some embodiments, the markers are not used for pronunciation and / or intonation purposes when outputting the translation (for example, via a display and / or via speech using one or more speakers of a computer system).

[0188] In Figures 6K to 6M, when the computer system 600 detects each part of the utterance 660C (for example, accordingly), the computer system 600 translates and outputs individual translations of the individual parts of the utterance 660C, such as by inserting markers, as will be described in more detail below. In some embodiments, the computer system 600 outputs an audio translation 670C (in the first language) of the utterance 660C via one or more speakers of the earphone 600B and outputs a visual translation 612B as part of the conversation transcript user interface 610. In some embodiments, the computer system 600 displays the text 614B of the utterance 660C in the second language (for example, untranslated) as part of the conversation transcript user interface 610. For example, the visual translation 612B and the text 614B are displayed in the same speech bubble positioned to the side (for example, on the left) of the conversation transcript user interface 610 to indicate that person 680B is the speaker. In this example, the font size of text 614B is smaller than the font size of the visual translation 612B. In some embodiments, telephone 600A does not output audio corresponding to utterance 660C (e.g., translated or untranslated 672A). Thus, user 680A hears the translation of utterance 660C (with reduced latency), and user 680A and / or person 680B see the translation of utterance 660C (with reduced latency).

[0189] Figure 6N shows an exemplary procedure for reducing latency when outputting a translation of the detected utterance. In 682D, the computer system 600 has detected the utterance 660C in Figure 6K, and if the utterance audio is detected, it performs speech recognition to transcribe the utterance audio into transcribed text 682D1, such as transcribing the utterance in the second language into text in the second language. In some embodiments, the computer system 600 inserts a marker 684D (e.g., a comma) into the transcribed (untranslated) text 682D1 of the utterance 660C. When a marker (e.g., 684D) is inserted into the transcribed text 682D1, the computer system 600 translates the portion of the transcribed text 682D1 up to the inserted marker ("Hay un buen") and begins outputting the translation (as shown, for example, in Figure 6L) without waiting for a pause in the utterance (e.g., utterance 660C) and without waiting for the end of the sentence in the utterance (e.g., utterance 660C). The remainder of the transcribed text 682D1 (e.g., "restaurante...") is retained and becomes part of the next portion of the utterance to be analyzed. For example, in 682E of Figure 6N, the computer system 600 detects an additional utterance 660C in Figure 6L and performs speech recognition to transcribe the utterance audio into transcribed text 682E1, which includes the remainder of transcribed text 682D1 after the marker 684D (e.g., "restaurante"). The computer system 600 detects the end of the sentence (e.g., a period 684E) and therefore does not insert an additional marker. The computer system 600 translates the portion of transcribed text 682E1 up to the end of the sentence ("restaurante de sandwiches cerca") and queues the translation ("a sandwich restaurant nearby") for output (as shown in Figure 6M, for example). Therefore, the computer system 600 outputs a translation of the detected utterance with significantly reduced latency (compared to, for example, waiting for a pause in the utterance or the end of the sentence).In this example, a comma (e.g., 684D) is used as a marker, but other markers such as other punctuation marks or text symbols can also be used. In some embodiments, markers (e.g., commas) are inserted not on the basis of grammatical correctness, but on the basis of identifying a location in the utterance where translation / output can begin. In some embodiments, markers are not used for pronunciation and / or intonation purposes when outputting the translation (e.g., via a display and / or via utterance using one or more speakers of a computer system).

[0190] Similarly, instead of inserting markers (e.g., 684A) into transcribed (untranslated) text (e.g., 682A1, 682B1), the computer system 600 can insert markers into translated text (e.g., 682A2, 682B2), as shown in Figure 6J. Thus, once an utterance is detected and transcribed, the transcribed text is translated. The computer system inserts markers (e.g., 686A and / or 686B) into the translated text to indicate that the portion before the marker may be output (e.g., via a display and / or via audio spoken using one or more speakers) and / or may be queued to be output. As shown in Figure 6J, at 682A, the computer system 600 inserts marker 686A and begins outputting the underlined translated text at 682A (e.g., the portion up to the marker). Similarly, at 682B, the computer system 600 inserts marker 686B and begins outputting (or queuing for outputting) the underlined translated text at 682B (e.g., the portion up to the marker). At 682C, the computer system 600 detects the end of a sentence (e.g., based on a period 686C) and outputs (or queuing for outputting) the underlined translated text at 686C (e.g., the rest of the sentence). Thus, the computer system 600 outputs the translation of the detected utterance with significantly reduced latency (compared to, for example, waiting for a pause in the utterance or the end of a sentence). In this example, commas (e.g., 686A, 686B) are used as markers, but other markers such as other punctuation marks or text symbols could also be used. In some embodiments, markers (e.g., commas) are inserted not on the basis of being grammatically correct, but on the basis of identifying a location in the utterance where output can begin. In some embodiments, the markers are not used for pronunciation and / or intonation purposes when outputting the translation as an utterance (for example, via the display and / or one or more speakers of a computer system).

[0191] In Figures 6O to 6P, while the computer system 600 is operating in translation mode, user 680A speaks as shown in scene 680 of Figure 6O (e.g., utterance 662B). For example, user 680A says "Great!" (in English). The computer system 600 detects utterance 662B using one or more microphones of the earphone 600B (and optionally without using the microphone of the telephone 600A). The computer system 600 optionally determines that the detected utterance 662B is from the local speaker (e.g., user 680A) and / or that the detected utterance 662A is in a first language. The computer system 600 translates utterance 662B from a first language (e.g., English) to a second language (e.g., Spanish). In some embodiments, the computer system 600 translates from the first language based on having previously received its language selection for translation, as described above. In some embodiments, the computer system 600 translates from the first language based on its determination that the utterance 662B is spoken in the first language. In some embodiments, translating the utterance 662B from the first language to the second language includes performing speech recognition to transcribe the utterance audio into text, such as transcribing the utterance audio into text in the first language. The text in the first language is then translated into text in the second language and output by the computer system 600.

[0192] In Figure 6P, in response to the computer system 600 detecting utterance 662B, the computer system 600 outputs a translation of utterance 662B. In some embodiments, the computer system 600 outputs an audio translation 672B (in a second language) of utterance 662B via one or more speakers of the telephone 600A and outputs a visual translation 616B as part of the conversation transcript user interface 610. In some embodiments, the computer system 600 displays the text 618B of utterance 662B in the first language (e.g., untranslated) as part of the conversation transcript user interface 610. For example, the visual translation 616B and text 618B are displayed in the same speech bubble positioned on one side (e.g., the right side) of the conversation transcript user interface 610 to indicate that user 680A is the speaker. In this example, the font size of text 618B is smaller than the font size of visual translation 616B. Therefore, user 680A and person 680B hear and / or see the translation of utterance 662B. In some embodiments, telephone 600A does not output audio (translated or untranslated) corresponding to utterance 662B.

[0193] In Figure 6P, the computer system 600 detects user input (e.g., 650C). In response to detecting user input, and in accordance with the determination that the user input (e.g., 650C) is directed towards a specific conversational transcription (e.g., a visual translation 612B, text 614B, and / or a corresponding speech bubble) corresponding to a person 680B's utterance (e.g., a tap or swipe on it), the computer system 600 refrains from outputting audio corresponding to the specific utterance (e.g., not outputting audio for the visual translation 612B and text 614B). For example, in response to detecting input 650C, the computer system 600 does not output audio for 612B and / or 614B. In response to detecting user input, and in accordance with the determination that the user input (e.g., 650D and / or 650E) is directed to a separate conversational transcription (e.g., a visual translation 616B, text 618B, and / or a corresponding speech bubble) corresponding to user 680A's utterance (e.g., a tap or swipe), and / or directed to a playback option 610E (e.g., a play button or other graphic) corresponding to user 680A's utterance, the computer system 600 outputs (e.g., re-outputs) audio corresponding to the separate utterance (e.g., 672C) (e.g., outputs audio corresponding to the visual translation 616B), and / or changes the display orientation of the displayed content (e.g., changes from portrait to landscape), as shown in Figure 6Q. In some embodiments, the computer system 600 outputs (e.g., re-outputs) audio of the translation of user 680A's separate utterance using one or more speakers of the telephone 600A and without using the earphone 600B. Therefore, the computer system 600 allows user 680A to cause the computer system 600 to generate (for example, again) an audio output of the translation of user 680A's speech.In some embodiments, upon determination that user input (e.g., 650D and / or 650E) targets a separate conversational transcription corresponding to a user utterance (e.g., a tap or swipe), the phone 600A further transitions to displaying an enlarged version of the separate transcription via the user interface 630 for displaying the enlarged translation, as shown in Figure 6Q. In some embodiments, upon detection of another user input, such as detecting the phone 600A's rotation to sideways, as shown in Figure 6Q, the phone 600A also transitions to displaying an enlarged version of the separate transcription via the user interface 630 for displaying the enlarged translation.

[0194] In Figure 6Q, the computer system 600 displays an enlarged version of the visual translation 616B as part of the user interface 630. The enlarged version of the visual translation 616B displayed as part of the user interface 630 (for example, as in Figures 6Q-6U) is larger (for example, displayed in a larger font size, taller, wider, and / or bolder in comparison) than the visual translation 616B displayed as part of the conversation transcript user interface 610 (for example, as in Figures 6P and 6W-6Y). The enlarged translation displayed as part of the user interface 630 makes it easier for people such as person 680B to see the translation of user 680A's utterances.

[0195] In some embodiments, as will be described in more detail with respect to Figures 6Q to 6V, the computer system 600 displays the translation of user 680A's speech without displaying the translation of the speech of other people, such as person 680B, while the computer system 600 displays the user interface 630 for displaying the augmented translation.

[0196] In Figure 6R, the computer system 600 is operating in translation mode and, while displaying the user interface 630 for displaying the enlarged translation, person 680B speaks the utterance 660D as shown in scene 680. For example, person 680B says,

number

[0197] In Figure 6S, upon detection of utterance 660D by the computer system 600, the computer system 600 outputs a translation of utterance 660D. In some embodiments, the computer system 600 outputs an audio translation 670D (in the first language) of utterance 660D via one or more speakers of the earphone 600B, without outputting a corresponding visual translation on the display of the telephone 600A, as shown in Figure 6S. In some embodiments, upon detection of utterance 660D, the telephone 600A does not automatically output audio (translated or untranslated) corresponding to utterance 660D. Thus, user 680A hears the translation of utterance 660D, while user 680A and / or person 680B can continue to see the translation of utterance 662B (of user 680A).

[0198] In Figure 6T, the computer system 600 detects that the ambient noise is above a threshold level and, accordingly, outputs an indication (e.g., audio 670E) that the ambient noise is too high. In some examples, the computer system 600 uses one or more microphones of the earphone 600B to detect the ambient noise level. In some examples, the computer system 600 uses one or more microphones of the telephone 600A and / or earphone 600B to detect the ambient noise level. For example, the computer system 600 outputs audio 670E (e.g., using one or more speakers of the earphone 600B and not using the speaker of the telephone 600A) instructing user 680A to move telephone 600A closer to person 680B (e.g., to allow the microphone of telephone 600A to better detect the audio of person 680B).

[0199] In Figure 6U, user 680A moves telephone 600A closer to person 680B, thereby allowing one or more microphones on telephone 600A to better detect person 680B's audio (e.g., speech). In Figure 6U, while computer system 600 is operating in translation mode and displaying user interface 630 for displaying augmented translation, user 680A speaks speech 662C as shown in scene 680. For example, user 680A says "Now." (in English). Computer system 600 detects speech 662C using one or more microphones on earphone 600B. In response to detecting speech 662C, computer system 600 translates speech 662C from a first language (e.g., English) to a second language (e.g., Spanish). In some embodiments (for example, when ambient noise exceeds a threshold level, and optionally after user 680A brings telephone 600A closer to person 680B), computer system 600 uses one or more microphones on telephone 600A (for example, without using the microphones on earphone 600B) to detect speech from person 680B, a person not wearing earphone 600B, a person closer to telephone 600A than earphone 600B, and / or a person speaking a second language. In some embodiments (for example, when ambient noise exceeds a threshold level, and optionally after user 680A brings telephone 600A closer to person 680B), computer system 600 uses one or more microphones on earphone 600B (for example, without using the microphone on telephone 600A) to detect utterances by user 680A, utterances by the person wearing earphone 600B, utterances by the person closer to earphone 600B than telephone 600A, and / or utterances by the person speaking the first language.

[0200] In Figure 6V, upon detection of utterance 662C, the computer system 600 outputs a translation of utterance 662C. In some embodiments, the computer system 600 outputs an audio translation 672C (in a second language) of utterance 662C via one or more speakers of the telephone 600A, without outputting the corresponding audio translation via the speaker of the earphone 600B, as shown in Figure 6V. In some embodiments, the telephone 600A does not automatically output audio (translated or untranslated) corresponding to utterance 662C upon detection. In some embodiments, upon detection of utterance 662C, the computer system 600 outputs a corresponding visual translation 616C on the display of the telephone 600A as part of the user interface 630. For example, the visual translation 616C is replaced by the display of visual translation 616B. Therefore, user 680A and / or person 680B hear and see the translation of utterance 662C.

[0201] In some embodiments, as shown in Figures 6Q to 6V, the user interface 630 includes a pause button 630A and / or a speaker button 630B. In some embodiments, selecting the pause button 630A pauses (and / or resumes) the translation (e.g., detected audio utterances and visual translations). In some embodiments, selecting the speaker button 630B causes the telephone 600A to output audio of the translated text (e.g., 616B) currently displayed as part of the user interface 630. In some embodiments, selecting the speaker button 630B causes the telephone 600A to display controls (e.g., a volume slider and / or volume buttons) for controlling the volume of the telephone 600A's audio output. In some embodiments, the speaker button 630B mutes (and / or unmutes) the audio output of future translated utterances. In some embodiments, the user interface 630 includes a translation of user 680A's utterances (e.g., 616B and / or 616C) without including a transcription of the utterances in the original language (e.g., 618B and / or 618C). In some embodiments, the user interface 630 is updated to include a translation of user 680A's utterances without being updated to include a translation of person 680B's utterances.

[0202] In Figure 6V, the telephone 600A detects an input directed to button 630C (e.g., a tap input and / or a press-and-hold input 650F). In response to the detection of an input directed to button 630C, the computer system 600 discontinues displaying the user interface 630 and returns to displaying the conversation transcript user interface 610, as shown in Figure 6W (e.g., landscape) and / or Figure 6X (e.g., portrait). As shown in Figures 6W to 6X, the conversation transcript user interface 610 includes translations of utterances detected while the telephone 600A was displaying the user interface 630, including translations displayed as part of the user interface 630 (e.g., to a second language such as visual translation 616C) and translations not displayed as part of the user interface 630 (e.g., to a first language such as visual translation 612C). In some embodiments, when ambient noise exceeds a threshold level (and optionally after user 680A moves telephone 600A closer to person 680B), the computer system 600 uses one or more microphones of telephone 600A to detect speech from person 680B. In some embodiments, when ambient noise exceeds a threshold level (and optionally after user 680A moves telephone 600A closer to person 680B), the computer system 600 uses one or more microphones of earphone 600B to detect speech from user 680A.

[0203] In Figure 6X, the computer system 600 detects input directed to object 610B (e.g., tap input and / or touch-and-hold input 650G). In response to detecting input directed to object 610B, the computer system 600 updates the conversation transcript user interface 610, as shown in Figure 6Y, to exclude the transcription of person 680B's utterances in the original language (e.g., 618A-618C), while continuing to include the transcription of user 680A's utterances in the original language (e.g., 614A-614C) and the translation of both users' utterances (e.g., 612A-612C and / or 616A-616C). In some embodiments, in response to detecting input directed to object 610B, the computer system 600 replaces object 610B with object 610C and visually updates object 610B, as shown in Figure 6Y.

[0204] In Figure 6Y, while telephone 600A is displaying the conversation transcript user interface 610 without a transcription of person 680B's utterances in the original language (e.g., 614A-614C), telephone 600A detects input (e.g., 650G and / or 650H). In response to the detection of input and the determination that the input (e.g., 650G) is directed to object 610C, the computer system 600 updates the conversation transcript user interface 610 to include a transcription of person 680B's utterances in the original language (e.g., 614A-614C), while continuing to include a transcription of user 680A's utterances in the original language (e.g., 618A-618C) and translations of both users' utterances (e.g., 612A-612C and / or 616A-616C), as shown in Figure 6Y. In response to the detection of input, and in accordance with the determination that the input (e.g., 650H) is directed to the termination object 610G, the computer system 600 exits translation mode and, accordingly, ceases automatically detecting utterances, translating utterances, and / or outputting translated utterances (e.g., audio and / or visually). In some embodiments, in response to the detection of input, and in accordance with the determination that the input (e.g., 650H) is directed to the termination object 610G, the computer system 600 returns to displaying the lock screen user interface 604, as shown in Figure 6A. In some embodiments, in response to the detection of input, and in accordance with the determination that the input (e.g., 650H) is directed to the termination object 610G, the computer system 600 deletes the conversation content (e.g., transcript and / or translated utterances) that was processed while the computer system 600 was in translation mode, thereby providing additional security and privacy.

[0205] Figure 7 is a flowchart illustrating a method for managing translation according to several embodiments. Method 700 includes one or more audio devices (e.g., one or more microphones (e.g., 600A), one or more speakers, one or more earphones with built-in microphones (e.g., 600B), one or more headsets, and / or one or more headphones), one or more input devices (e.g., touch-sensitive surfaces (e.g., touch-sensitive displays such as 602), a mouse, a keyboard, a visual input device (e.g., one or more cameras (e.g., infrared cameras, depth cameras, visible light cameras, and / or gaze-tracking cameras)), a motion sensor (e.g., accelerometers and / or gyroscopes), and / or one or more mechanical input devices (e.g., The operation is performed on a computer system (e.g., 100, 300, 500, and / or 600) (e.g., a smartphone, smartwatch, tablet computer, laptop computer, desktop computer, wearable device, and / or head-mounted device) that communicates with a pressable input mechanism, button, rotatable input mechanism, crown, and / or dial, and one or more display generating components (e.g., one or more displays 602, one or more touchscreen displays, one or more monitors, holographic display systems, transparent displays, and / or head-mounted display systems). Some operations of method 700 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0206] As described below, Method 700 provides an intuitive method for managing translations. The method reduces the cognitive burden on the user to manage translations, thereby creating a more efficient human-machine interface. For battery-powered computing devices, power is saved and battery charging intervals are extended by enabling the user to manage translations and / or participate in conversations faster and more efficiently.

[0207] The devices, methods, and / or computer-readable storage media described below improve the usability of the device, make the user-device interface more efficient (for example, by assisting the user in providing appropriate input when operating / interacting with the device and reducing user errors), and additionally reduce power consumption and / or improve the battery life of the device by enabling the user to use the device more quickly and efficiently. Performing an action when a set of conditions are met without requiring further user input (for example, by automatically translating an utterance and outputting a (e.g., audio and / or visual) translation of the utterance) improves the usability of the device by reducing unnecessary input and / or steps for navigating different user interfaces or sets of controls and reducing energy consumption by the device.

[0208] While not operating in translation mode (e.g., Figure 6B), which automatically detects spoken audio via one or more audio devices and / or outputs a translation of the detected spoken audio (e.g., via one or more audio devices and / or via one or more display generation components), the computer system (e.g., 600) detects a set of one or more inputs (e.g., 650A and / or 650B, user input, touch input, and / or air gestures) via one or more input devices to enable translation mode (702). In some embodiments, while the computer system is not operating in translation mode, the computer system does not automatically translate the detected spoken audio and / or automatically output a translation of the detected spoken audio, as shown in Figures 6A and 6B.

[0209] In response to detecting one or more sets of inputs (e.g., 650A and / or 650B) that enable translation mode, the computer system (e.g., 600) operates in translation mode, which means operating in translation mode without requiring any additional user input (704) (and / or without detection) (e.g., via one or more input devices, without requiring any commands, and / or before detecting the utterances of conversation participants) via one or more audio devices, including first utterances in a first language (e.g., 662A-662C) and second utterances in a second language different from the first language (e.g., 660B-660D) (706), and via one or more audio devices, the first utterances (e.g., 670B-670D) ) to output audio translations of (e.g., in a second language, and / or in a third language different from the first and second languages) and / or audio translations of second utterances (e.g., 672A-672C, in a first language, and / or in a third language different from the first and second languages) (708) and to output audio translations of conversations (e.g., at least a portion thereof) (e.g., 670B-670D and / or The function includes outputting (672A-672C) and simultaneously displaying a conversation transcript (e.g., 610) containing the transcription (e.g., 612A-612C, 614A-614C, 616A-616C, and / or 618A-618C) of the first and second utterances of a conversation between two or more conversation participants (e.g., in text, in a first language, in a second language, in a third language, and / or a combination thereof).

[0210] In some embodiments, upon detecting a set of one or more inputs (e.g., 650A and / or 650B) to enable translation mode (e.g., as part of starting and / or operating in translation mode), the computer system (e.g., 600) outputs an indication (e.g., 670A) of the languages ​​for which the computer system (e.g., 600) provides translation (e.g., Spanish, Chinese, Japanese, Korean, English, and / or German) via one or more audio devices (e.g., earphones worn by the user of the computer system) and / or before outputting the audio translation. In some embodiments, the computer system indicates that a Spanish utterance will be translated by outputting the audio “Listening to Spanish”.

[0211] In some embodiments, outputting an audio translation of a first utterance via one or more audio devices includes outputting an audio translation of the first utterance in a second language (e.g., 672A). In some embodiments, outputting an audio translation of a second utterance via one or more audio devices includes outputting an audio translation of the second utterance in the first language (e.g., 670B). In some embodiments, a computer system translates the first utterance from the first language to the second language and the second utterance from the second language to the first language.

[0212] In some embodiments, a set of one or more inputs (e.g., 650A and / or 650B) that enables translation mode includes (e.g., simultaneously and / or together) a first touch input (e.g., 650A, tap, and / or press) on a first earphone (e.g., 600B worn in the first ear by a user of a computer system) and a second touch input (e.g., tap, and / or press) on a second earphone different from the first earphone (e.g., worn in the second ear by a user of a computer system).

[0213] In some embodiments, a set of one or more inputs (e.g., 650A and / or 650B) for enabling translation mode is detected while the computer system is in lock mode (e.g., as shown by 604A in Figure 6B). In some embodiments, a conversation transcript (e.g., as part of 610) is displayed while the computer system is in lock mode (e.g., as shown by 604A in Figures 6C–6Y). In some embodiments, the computer system displays a lock screen user interface when a set of one or more inputs is received, and in response to detecting a set of one or more inputs, the computer system replaces the lock screen user interface with a conversation transcript user interface (e.g., updating to include a transcript of the conversation as the conversation progresses).

[0214] In some embodiments, while operating in translation mode, the computer system (e.g., 600) detects individual utterances via one or more audio devices. In response to the detection of an individual utterance, the computer system (e.g., 600) outputs a translation of the individual utterance in the individual language (e.g., the first language) (e.g., audio output via one or more audio devices (e.g., via earphones worn by the user of the computer system), and / or visual output via one or more display generation components). In some embodiments, the computer system translates the utterance from the second language to the individual language (e.g., the first language) before outputting the translation of the utterance.

[0215] In some embodiments, individual languages ​​are selected based on the language of a virtual assistant (e.g., a digital voice assistant, an artificial intelligence natural language assistant) running on the computer system (e.g., 600) (e.g., selected to be the same language). In some embodiments, the computer system receives user input and selects a preferred language for the virtual assistant running on the computer system. Then, when conversational translation is requested, the computer system automatically selects a preferred language to use when translating utterances that are not in the preferred language.

[0216] In some embodiments, while operating in translation mode and in response to detecting an individual utterance, the computer system (e.g., 600) outputs a translation of the individual utterance in a second language different from the individual language (e.g., an audio output via one or more audio devices (e.g., via the speaker of the computer system's telephone) and / or a visual output via one or more display generating components) (e.g., 672A) according to the determination that a second set of one or more conditions is met for the individual utterance (e.g., one or more conditions are not met, the utterance is a close-range utterance, the utterance originates from a user wearing earphones that are part of the computer system, the utterance is recognized as an utterance from a person who is a user of the computer system, the utterance originates from a person less than a threshold distance from the computer system, and / or the utterance is in a first language). In some embodiments, the computer system translates the individual utterance from the first language to the second language before outputting the translation of the individual utterance. In some embodiments, outputting translations of individual utterances in a second language includes outputting translations of individual utterances in a second language visually (e.g., via one or more display-generating components) without outputting audio of the translations of individual utterances in a second language (and / or in a first language).

[0217] In some embodiments, outputting translations of individual utterances in individual languages ​​includes outputting translations of individual utterances (e.g., 670B) via a first audio device of a set of one or more audio devices (e.g., 600B, earphones, and / or a headset) without outputting audio translations of individual utterances in individual languages ​​via a second audio device of a set of one or more audio devices (e.g., 600A). In some embodiments, outputting translations of individual utterances in a second language includes outputting translations of individual utterances (e.g., 672A) via a second audio device of a set of one or more audio devices (e.g., 600A and / or a telephone speaker) without outputting audio translations of individual utterances in a second language via a first audio device of a set of one or more audio devices (e.g., 600B). In some embodiments, translations of different languages ​​of different participants in a conversation are output to different speakers.

[0218] In some embodiments, before outputting an audio translation of the first utterance (e.g., in a second language and / or in a third language different from the first and second languages) and an audio translation of the second utterance via one or more audio devices, user input is received via one or more input devices (e.g., while not yet operating in translation mode) to select a second language (e.g., for translating the first utterance into the second language and / or translating the second utterance from the second language).

[0219] In some embodiments, the system automatically selects a second language (for example, based on a detected utterance such as a second utterance, and / or while operating in translation mode) (for example, to translate a first utterance into a second language and / or a second utterance from a second language) without receiving user input to select a second language before outputting an audio translation of a first utterance (for example, a second language and / or a third language different from the first and second languages) and an audio translation of a second utterance via one or more audio devices.

[0220] According to some embodiments, detecting conversational utterances of two or more conversation participants, including first utterances in a first language and second utterances in a second language different from the first language, via one or more audio devices, includes detecting first utterances in the first language via a first microphone (e.g., 600A) and a second microphone (e.g., 600B), and detecting second utterances in the second language via a first microphone (e.g., 600A) and a second microphone (e.g., 600B). In some embodiments, the audio of the conversation participants is detected using the same set of one or more microphones (e.g., two microphones are used to detect the audio of the first participant, and the same two microphones are used to detect the audio of the second participant).

[0221] In some embodiments, while operating in translation mode, the computer system (e.g., 600) detects the level of ambient noise (or, optionally, determines that the participant's audio volume is below a threshold level). In accordance with the determination that the ambient noise level is above the threshold noise level (e.g., accordingly), the computer system (e.g., 600) outputs an indication (e.g., 670E) (e.g., via one or more audio devices and / or via one or more display generating components) that at least a portion of the computer system (e.g., 600A, microphone, and / or telephone) should be brought closer to one of the two or more conversation participants (e.g., 680B). In some embodiments, in accordance with the determination that the ambient noise level is not above the threshold noise level (e.g., accordingly), the computer system ceases outputting the indication that at least a portion of the computer system (e.g., microphone and / or telephone) should be brought closer to one of the two or more conversation participants.

[0222] In some embodiments, displaying a conversation transcript of a conversation between two or more conversation participants (e.g., as part of 610) includes displaying a transcript of a first utterance in a first language (e.g., 618A), a transcript of a first utterance in a second language (e.g., 616A), a transcript of a second utterance in a first language (e.g., 612A), and a transcript of a second utterance in a second language (e.g., 614A) via one or more display generating components (e.g., 602).

[0223] In some embodiments, while operating in translation mode (for example, as shown in Figure 6P), the computer system (e.g., 600) detects user input (e.g., 650D, 650E, touch gestures, and / or air gestures) directed to individual transcriptions of individual utterances in the conversation transcript, where individual transcriptions of individual utterances are the utterances of individual conversation participants of two or more conversation participants. In response to detecting user input (e.g., 650D and / or 650E) directed to individual transcriptions of individual utterances in the conversation transcript, the computer system (e.g., 600) stops displaying the conversation transcripts of two or more conversation participants (as shown in Figure 6Q). In response to detecting user input (e.g., 650D and / or 650E) directed to individual transcriptions of individual utterances within a conversation transcript, the computer system (e.g., 600) displays an expanded transcript user interface (e.g., 630, replacing the conversation transcript with the expanded transcript user interface) via one or more display generation components (e.g., 602) that includes expanded versions (e.g., 616B in Figure 6Q) of individual transcriptions of individual utterances of individual conversation participants. In some embodiments, the conversation transcript is replaced with expanded versions of individual transcriptions of individual utterances of individual conversation participants. In some embodiments, the expanded version of an individual transcription is larger than the individual transcription to which user input is directed and which is displayed as part of the conversation transcript. While displaying the expanded transcript user interface (e.g., 630) that includes expanded versions of individual transcriptions of individual utterances, the computer system (e.g., 600) detects individual audio (e.g., 660D and / or 662C) via one or more audio devices.In response to detecting an individual audio, and in accordance with the determination that the individual audio contains an utterance that satisfies one or more conditions first set (e.g., it is an utterance by a user of the computer system, it is an utterance in a third language different from the first and second languages, and / or it is an utterance in the first language), the computer system (e.g., 600) updates the expanded transcript user interface (e.g., 630) to include a transcription of the utterance that satisfies one or more conditions first set (e.g., an expanded transcription), such as in Figure 6V (e.g., by replacing an expanded version of the individual transcription of the individual utterance with the transcription of the utterance that satisfies one or more conditions first set). Upon determining that an individual audio contains an utterance that satisfies a second set of one or more conditions different from a first set of one or more conditions (e.g., it is an utterance by a person who is not a participant in the conversation, an utterance by a person who is not a user of the computer system, an utterance in a third language different from the first and second languages, and / or an utterance in the second language), the computer system (e.g., 600) ceases updating the augmented transcript user interface to include a transcription (e.g., an augmented transcription) of the utterance that satisfies the second set of one or more conditions, as shown in Figure 6S (e.g., and optionally, continues to display an augmented version of the individual transcription of the individual utterance as part of the augmented transcript user interface).

[0224] In some embodiments, upon detecting user input (e.g., 650D and / or 650E) directed to individual transcriptions of individual utterances within a conversational transcript, the computer system (e.g., 600) outputs audio of the individual transcriptions (e.g., 672C in Figure 6Q) via one or more audio devices. In some embodiments, the audio of the individual transcriptions is output using the speaker of the computer system's telephone, without the use of earphones and / or headphones worn by the user of the computer system.

[0225] In some embodiments, operating in translation mode, while displaying (e.g., as part of 630) an expanded version of an individual transcription of an individual utterance of an individual conversation participant via one or more display generation components (e.g., 602), the computer system (e.g., 600) detects individual audio via one or more audio devices. In response to detecting individual audio and determining that the individual audio contains an utterance that satisfies a first set of one or more conditions (e.g., an utterance by a user of the computer system, an utterance in a third language different from the first and second languages, and / or an utterance in the first language), the computer system (e.g., 600) outputs an audio translation (e.g., 672C translated from the first language to the second language) of the utterance that satisfies the first set of one or more conditions (e.g., 662C). In some embodiments, outputting an audio translation (e.g., in a second language) of an utterance satisfying a first set of one or more conditions via one or more audio devices includes outputting the audio translation via one or more speakers (e.g., one or more speakers integrated into a computer system's telephone) integrated into a device (e.g., 600A) displaying an enlarged version of an individual transcription via one or more display generating components (e.g., 602), as shown in Figure 6V. In some embodiments, outputting an audio translation (e.g., in a second language) of an utterance satisfying a first set of one or more conditions via one or more audio devices does not include outputting the audio translation via a head-mounted speaker.

[0226] In some embodiments, operating in translation mode, while displaying an expanded version of an individual transcription of an individual utterance of an individual conversation participant (e.g., as part of 616B and / or 630 in Figure 6R) via one or more display generation components (e.g., 602), the computer system (e.g., 600) detects individual audio (e.g., 660D) via one or more audio devices. In response to detecting individual audio (e.g., 660D), and according to the determination that the individual audio contains an utterance that satisfies one or more second sets of conditions (e.g., it is a far-field speaker, it is an utterance by a person who is not a conversation participant, it is an utterance by a user of the computer system, it is an utterance by a person who is not a user of the computer system, it is an utterance in a third language different from the first and second languages, and / or it is an utterance in the first language), the computer system (e.g., 600) outputs an audio translation of the utterance that satisfies one or more second sets of conditions (e.g., translated from the second language to the first language, 670D in Figure 6S). In some embodiments, outputting an audio translation (e.g., in a first language) of an utterance (e.g., 660D) that satisfies a second set of one or more conditions via one or more audio devices (e.g., earphones and / or headphones of a computer system) includes outputting the audio translation via one or more head-mounted speakers (e.g., 600B, earphones and / or headphones) of a set of one or more audio devices (e.g., without outputting the audio translation via one or more speakers integrated into a telephone of a computer system).

[0227] In some embodiments, while displaying an enlarged transcript user interface (e.g., 630) which includes enlarged versions of individual transcripts of individual utterances, the computer system (e.g., 600) detects a request (e.g., 650F in Figure 6V) via one or more input devices to display a conversation transcript (e.g., 610). In response to detecting a request to display a conversation transcript, the computer system (e.g., 600) displays the conversation transcript (e.g., as part of 610 in Figures 6W and / or 6Y), including displaying transcripts (e.g., 612C, 614C, standard-size transcripts, and / or enlarged transcripts) of utterances (e.g., 660D) that satisfy a second set of one or more conditions via one or more display generation components (e.g., 602) (e.g., the conversation transcript includes transcripts of utterances from two or more participants, but the enlarged transcript user interface excludes transcripts of utterances from at least one of the two or more participants).

[0228] In some embodiments, while operating in translation mode, the computer system (e.g., 600) detects user input (e.g., 650C, touch gestures, and / or air gestures) directed to a second individual transcription of a second individual utterance in the conversation transcript, where the second individual transcription of the second individual utterance is the utterance of a second individual conversation participant (e.g., 680B) different from an individual conversation participant (e.g., 680A) among two or more conversation participants. In response to detecting user input (e.g., 650C) directed to a second individual transcription of a second individual utterance in the conversation transcript, the computer system (e.g., 600) discontinues displaying the enlarged transcript user interface (e.g., continues to display the conversation transcript user interface 610 in Figure 6P).

[0229] In some embodiments, operating in translation mode, while displaying a conversation transcript (e.g., 610), the computer system (e.g., 600) detects individual audio (e.g., 662B) via one or more audio devices. In response to detecting individual audio, and according to the determination that the individual audio contains utterances that satisfy one or more first sets of conditions (e.g., utterances by a person not participating in the conversation, utterances by a user of the computer system (e.g., 680A), utterances in a third language different from the first and second languages, and / or utterances in the first language), the computer system (e.g., 600) refrains from outputting an audio translation of the utterances that satisfy one or more first sets of conditions (e.g., optionally, not outputting audio translation 672B, as indicated by the dashed line in audio translation 672B).

[0230] In some embodiments, operating in translation mode, while displaying a conversation transcript (e.g., 610), the computer system (e.g., 600) detects individual audio (e.g., 660C) via one or more audio devices. In response to detecting individual audio and determining that the individual audio contains utterances that satisfy one or more second sets of conditions (e.g., utterances from a far-field speaker, utterances in a third language different from the first and second languages, and / or utterances in the second language), the computer system (e.g., 600) outputs an audio translation (e.g., 670C in the first language in Figures 6L-6M) of the utterances that satisfy one or more second sets of conditions via one or more audio devices (e.g., the computer system's earphones 600B and / or headphones).

[0231] In some embodiments, outputting an audio translation of an utterance (e.g., in a first language) that satisfies a second set of one or more conditions via one or more audio devices (e.g., earphones and / or headphones of a computer system) includes outputting an audio translation via one or more head-mounted speakers of a set of one or more audio devices (e.g., 600B, earphones, and / or headphones) (without outputting the audio translation via one or more speakers integrated into a telephone of a computer system, for example).

[0232] In some embodiments, a conversation transcript (e.g., 610) is displayed while the computer system is locked (as shown by, for example, 604A). In some embodiments, displaying a conversation transcript involves replacing the display of the lock screen user interface with the display of the conversation transcript.

[0233] In some embodiments, while operating in translation mode (for example, in Figure 6P), the computer system (e.g., 600) detects user input (e.g., 650D, 650E, touch gestures, and / or air gestures) (e.g., a tap input on the play button next to the transcription of the user's utterance in the near field) corresponding to individual transcriptions of individual utterances in the conversation transcript. In response to detecting user input corresponding to individual transcriptions of individual utterances in the conversation transcript, the computer system outputs an audio translation (e.g., 672C in Figure 6Q of the second language) of the individual utterance (e.g., the audio translation of the individual utterance) via one or more audio devices (e.g., the speaker integrated into the computer system's phone). In some embodiments, the audio translation of the individual utterance is output using the speaker of the computer system's phone without the use of earphones and / or headphones worn by the user of the computer system.

[0234] In some embodiments, outputting an audio translation of an individual utterance (e.g., into a second language) via one or more audio devices includes outputting the audio translation via one or more speakers (e.g., one or more speakers integrated into a computer system's telephone) integrated into a device (e.g., 600A) displaying an individual transcription (e.g., 616B and / or 618B) via one or more display generating components (e.g., 602). In some embodiments, outputting an audio translation of an individual utterance (e.g., into a second language) via one or more audio devices does not include outputting the audio translation via a head-mounted speaker (e.g., 600B).

[0235] It should be noted that the process details described above with respect to Method 700 (for example, Figure 7) are also applicable to similar methods described later. For example, Method 800 optionally includes one or more characteristics of the various methods described above with reference to Method 700. For example, the computer system is the same computer system. In another example, the audio output process of Method 800 is used in the translation process of Method 700. For brevity, these details will not be repeated below.

[0236] Figure 8 is a flowchart illustrating a method for outputting audio according to several embodiments. Method 800 is performed in a computer system (e.g., 100, 300, 500, and / or 600) (e.g., a smartphone, smartwatch, tablet computer, laptop computer, desktop computer, wearable device, and / or head-mounted device) communicating with one or more audio devices (e.g., one or more microphones, one or more speakers, one or more earphones with built-in microphones, one or more headsets, and / or one or more headphones). Some operations of Method 800 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0237] The devices, methods, and / or computer-readable storage media described below improve the usability of the device, make the user-device interface more efficient (e.g., by assisting the user in providing appropriate input when operating / interacting with the device and reducing user errors), and additionally reduce power consumption and / or improve the battery life of the device by enabling the user to use the device more quickly and efficiently. Performing an action when a set of conditions are met (e.g., by initiating audio output) without requiring further user input improves the usability of the device by reducing unnecessary input and / or steps for navigating different user interfaces or sets of controls and reducing energy consumption by the device. Furthermore, initiating audio output (e.g., a translation of a detected utterance) before the end of a sentence is detected reduces output latency.

[0238] As described below, Method 800 provides an intuitive method for outputting audio. This method reduces the cognitive burden on the user to listen to audio, such as during translation, thereby creating a more efficient human-machine interface. For battery-powered computing devices, enabling users to start listening to audio faster and more efficiently saves power and increases the interval between battery charges.

[0239] The computer system (e.g., 600) receives an input audio stream containing utterances (e.g., 662A in Figures 6F-6H and / or 660C in Figures 6K-6L) via one or more audio devices (e.g., one or more microphones, one or more earphones with built-in microphones, one or more headsets and / or one or more headphones) (802). While receiving the input audio stream containing utterances (804), the computer system (e.g., 600) performs speech processing on the input audio stream, including performing speech recognition to generate text (e.g., 682A-682C in Figure 6J and / or 682D-682E in Figure 6N) based on the utterances in the input audio stream (e.g., its transcription and / or its translation). While receiving an input audio stream containing utterances (804), the computer system (e.g., 600) determines locations in the text where punctuation marks (e.g., 684A, 686A, 684B, 686B, 684D, and / or 686D) are to be inserted, and these locations are not at the end of a sentence (808). While receiving an input audio stream containing utterances (804), the computer system (e.g., 600) inserts the punctuation marks at the determined locations in the text (e.g., as shown in Figures 6J and / or 6N) (810). While receiving an input audio stream containing utterances (804), and before detecting the end of a sentence, based on a punctuation mark inserted at a determined location in the text (e.g., depending on determining and / or inserting the location), the computer system (e.g., 600) begins outputting spoken audio (e.g., 672A and / or 670C in Figure 6L) of the first portion of the text prior to the inserted punctuation mark (e.g., the portion of the utterance prior to 684A and / or 686A in Figure 6J, and the portion of the utterance prior to 684D and / or 686D in Figure 6N) (e.g., 672A and / or 670C in Figure 6L) via one or more audio devices (e.g., 600A and / or 600B) (e.g., without outputting spoken audio of the second portion of the text following the inserted punctuation mark) (812).

[0240] In some embodiments, performing speech processing on an input audio stream includes translating the utterances from a first language (e.g., 682A1 in Figure 6J and / or 682D1 in Figure 6N) to a second language different from the first language (e.g., 682A2 in Figure 6J and / or 682D2 in Figure 6N). In some embodiments, the utterances in the audio input stream are in the first language, and the generated text (based on the utterances in the audio input stream) is in the second language.

[0241] In some embodiments, the locations for inserting punctuation are based on locations determined using a first-language transcription (e.g., text) of the utterances in the audio input stream. In some embodiments, the utterances in the audio input stream are in a first language, and a first-language transcription of the utterances is used to determine the locations for inserting punctuation (e.g., into the first-language transcription) (e.g., without using a second-language transcription). In some embodiments, the inserted punctuation is then carried over to a translated transcription in a second language.

[0242] In some embodiments, the locations for inserting punctuation are based on locations determined using a second language transcription (e.g., text) of the utterances in the audio input stream. In some embodiments, the utterances in the audio input stream are in a first language, and a first language transcription of the utterances is used to translate the text into a second language. The second language transcription is then used (e.g., without using the first language transcription) to determine the locations for inserting punctuation (e.g., in the second language transcription).

[0243] In some embodiments, punctuation inserted at determined locations in the text is artificial punctuation (e.g., inserted as a location marker but not for grammatical accuracy). In some embodiments, punctuation inserted at determined locations in the text is grammatically incorrect and / or unnecessary punctuation, but serves to identify the determined location in the text.

[0244] In some embodiments, the punctuation inserted at a determined location in the text is a comma (e.g., grammatically correct or incorrect) (e.g., 684A, 686A, 684B, 686B, 684D, and / or 686D).

[0245] In some embodiments, determining the locations for inserting punctuation in text includes determining the locations for inserting punctuation in text based on the content of the utterance (e.g., based on words, word order, and / or word count).

[0246] In some embodiments, the location for inserting punctuation in the text is determined independently of the duration of pauses between words (e.g., absence of utterances) (e.g., within detected utterances). In some embodiments, the location for inserting punctuation is independent of the rhythm of the user's utterance (e.g., pacing, pitch, and / or volume changes) and / or the duration of pauses between spoken words.

[0247] It should be noted that the details of the process described above with respect to Method 800 (e.g., Figure 8) are also applicable in a similar manner to the methods described above. For example, Method 800 optionally includes one or more characteristics of the various methods described above with reference to Method 700. For example, the computer system is the same computer system. In another example, the audio output process of Method 800 is used in the translation process of Method 700. For brevity, these details will not be repeated here.

[0248] The above is written with reference to specific embodiments for illustrative purposes. However, the above exemplary discussion is not intended to be exhaustive or to limit the invention to the exact forms disclosed. Many modifications and variations are possible in light of the above teachings. Embodiments have been selected and described to best illustrate the principles of the Art and their practical applications. This will enable other persons skilled in the art to best utilize the Art and its various embodiments with various modifications suitable for their intended specific applications.

[0249] While 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 be apparent to those skilled in the art. Such changes and modifications should be understood to fall within the scope of the present disclosure and examples as defined by the claims.

[0250] As described above, one aspect of this technology is to collect and use available data from various sources to improve the delivery to users of translations of speech that may be of interest to them. This disclosure suggests that in some cases, such collected data may include personal information data that uniquely identifies a particular person, or personal information data that can be used to contact a particular person or locate them. Such personal information data may include demographic data, location-based data, telephone numbers, email addresses, social network IDs, home addresses, data or records relating to a user's health or fitness level (e.g., vital signs measurements, medication information, exercise information), birth dates, or any other identifying or personal information.

[0251] This disclosure acknowledges that such use of personal data in this technology may be for the benefit of the user. For example, personal data may be translated into another language.

[0252] This disclosure implies that entities involved in the collection, analysis, disclosure, transmission, storage, or other use of such personal data should adhere to robust privacy policies and / or privacy practices. For example, such entities should consider deleting stored conversation content after a translation session is completed. 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 the strict confidentiality of personal data. Such policies should be readily accessible to users and should be updated as data collection and / or use changes. Personal data from users should be collected for the lawful and legitimate use of the entity and should not be shared or sold for any other purpose. Furthermore, such collection / sharing should be carried out only after informing and obtaining the user's consent. In addition, such entities should consider taking all necessary steps to protect and secure access to such personal data and to ensure that others with access to the personal data adhere to those privacy policies and procedures. Furthermore, such entities may undergo third-party assessments to demonstrate their compliance with widely accepted privacy policies and practices. Moreover, policies and practices should be tailored to the specific types of personal data collected and / or accessed, and to comply with applicable laws and standards, including jurisdiction-specific considerations. For example, in the United States, the collection or access to certain health data may be subject to federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA). Meanwhile, 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 personal data types in each country.

[0253] Notwithstanding the foregoing, the present disclosure also contemplates embodiments in which users selectively block the use of, or access to, personal information data. That is, the present disclosure contemplates that hardware elements and / or software elements may be provided to prevent or block access to such personal information data. In addition to providing "opt in" and "opt out" options, the present disclosure contemplates providing notifications regarding access to or use of personal information. For example, the user may be notified upon download of an application that will access the user's personal information data, and then reminded again just before personal information data is accessed by the application. In another example, the user and / or conversation participant may be notified that the conversation is being translated.

[0254] Furthermore, it is the intention of this disclosure that personal information data should be managed and processed in a manner that minimizes risk of unintended or unauthorized access or use. Risks can be minimized by limiting the collection of data and deleting data once it is no longer needed, such as when a translation session ends. In addition, where applicable in certain health-related applications, data anonymization may be used to protect user privacy. Anonymization may be facilitated where appropriate by removing specific identifiers (e.g., date of birth, etc.), controlling the amount or specificity of data stored (e.g., collecting location data at city level rather than at address level), controlling how data is stored (e.g., aggregating data across users), and / or other methods.

[0255] Therefore, while this disclosure extensively covers the use of personal data to implement one or more different disclosed embodiments, it is also conceivable that these different embodiments could be implemented without requiring access to such personal data. In other words, the different embodiments of the technology would not be rendered inoperable by the absence of all or part of such personal data.

Claims

1. It is a method, In a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, While not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, the system detects one or more sets of inputs via one or more input devices to enable the translation mode, A method comprising: detecting the set of one or more inputs that enable the translation mode, and operating in the translation mode without requiring additional user input; To detect conversational utterances of two or more conversation participants, including a first utterance in a first language and a second utterance in a second language different from the first language, via one or more audio devices, Outputting the audio translation of the first utterance and / or the audio translation of the second utterance via one or more of the aforementioned audio devices, A method comprising outputting an audio translation of the conversation via one or more display generation components, and simultaneously displaying a conversation transcript including transcriptions of the first and second utterances of the conversation of the two or more conversation participants.

2. The method according to claim 1, further comprising the computer system outputting an indication of the language for which it provides translation via one or more audio devices in response to detecting the set of one or more inputs that enable the translation mode.

3. Outputting the audio translation of the first utterance via one or more audio devices includes outputting the audio translation of the first utterance in the second language, The method according to claim 1 or 2, wherein outputting the audio translation of the second utterance via one or more audio devices includes outputting the audio translation of the second utterance in the first language.

4. The method according to any one of claims 1 to 3, wherein the set of one or more inputs that enable the translation mode includes a first touch input in a first earphone and a second touch input in a second earphone different from the first earphone.

5. The set of one or more inputs that enables the translation mode is detected while the computer system is in lock mode. The method according to any one of claims 1 to 4, wherein the conversation transcript is displayed while the computer system is in the locked mode.

6. While operating in the aforementioned translation mode, To detect individual utterances via one or more of the aforementioned audio devices, In response to detecting the individual utterances, The method according to any one of claims 1 to 5, further comprising outputting a translation of the individual utterance in an individual language according to a determination that one or more conditions first set of conditions are met for the individual utterance.

7. The method according to claim 6, wherein the individual languages ​​are selected based on the language of a virtual assistant running on the computer system.

8. While operating in the aforementioned translation mode, in response to detecting the individual utterance, The method according to claim 6 or 7, further comprising outputting a translation of the individual utterance in a second language different from the individual language, based on the determination that one or more second sets of conditions are met for the individual utterance.

9. Outputting the translation of the individual utterance in the individual language includes outputting the translation of the individual utterance via a first audio device of the set of one or more audio devices, without outputting the audio translation of the individual utterance in the individual language via a second audio device of the set of one or more audio devices, The method according to claim 8, wherein outputting the translation of the individual utterance in the second language is performed via the first audio device of the set of one or more audio devices, without outputting the audio translation of the individual utterance in the second language, and outputting the translation of the individual utterance via the second audio device of the set of one or more audio devices.

10. The method according to any one of claims 1 to 9, further comprising receiving user input for selecting the second language via one or more input devices before outputting the audio translation of the first utterance and the audio translation of the second utterance via one or more audio devices.

11. The method according to any one of claims 1 to 9, further comprising automatically selecting the second language without receiving user input for selecting the second language before outputting the audio translation of the first utterance and the audio translation of the second utterance via one or more audio devices.

12. Detecting the conversational utterances of two or more conversation participants, including a first utterance in the first language and a second utterance in a second language different from the first language, via one or more audio devices, is: The first utterance of the first language is detected via the first microphone and the second microphone, The method according to any one of claims 1 to 11, comprising detecting the second utterance of the second language via the first microphone and the second microphone.

13. While operating in the aforementioned translation mode, the level of ambient noise is detected, The method according to any one of claims 1 to 12, further comprising: determining that the level of ambient noise exceeds a threshold noise level; outputting an indication that at least a portion of the computer system should be moved closer to one of the two or more conversation participants.

14. Displaying the transcript of the conversation between the two or more participants in the conversation is, The method according to any one of claims 1 to 13, comprising displaying a transcription of the first utterance in the first language, a transcription of the first utterance in the second language, a transcription of the second utterance in the first language, and a transcription of the second utterance in the second language via one or more display generation components.

15. While operating in the translation mode, the system detects user input directed to individual transcriptions of individual utterances within the conversation transcript, wherein the individual transcriptions of individual utterances are utterances of individual conversation participants of the two or more conversation participants, In response to detecting the user input directed to the individual transcription of the individual utterance in the conversation transcript, To stop displaying the conversation transcripts of the two or more conversation participants, Displaying an enlarged transcript user interface, which includes an enlarged version of the individual transcription of the individual utterance of the individual conversation participant, via one or more of the display generation components, While displaying the enlarged transcript user interface, which includes the enlarged version of the individual transcript of the individual utterance, detecting individual audio via one or more audio devices, In response to detecting the individual audio, In accordance with the determination that the individual audio contains an utterance that satisfies one or more conditions, the expanded transcript user interface is updated to include a transcription of the utterance that satisfies one or more conditions. The method according to any one of claims 1 to 14, further comprising: determining that the individual audio contains an utterance that satisfies a second set of one or more conditions different from the first set of one or more conditions; and ceasing to update the expanded transcript user interface to include a transcription of the utterance that satisfies the second set of one or more conditions.

16. In response to detecting the user input directed to the individual transcription of the individual utterance in the conversation transcript, The method according to claim 15, further comprising outputting the audio of the individual transcriptions via one or more audio devices.

17. Operating in the aforementioned translation mode, and while displaying the augmented version of the individual transcription of the individual utterance of the individual conversation participant via one or more display generation components, detecting individual audio via one or more audio devices, The method according to claim 15 or 16, further comprising: detecting the individual audio and determining that the individual audio contains an utterance that satisfies one or more conditions, and outputting an audio translation of the utterance that satisfies one or more conditions.

18. The method according to claim 17, wherein outputting the audio translation of the utterance satisfying the first set of one or more conditions via one or more audio devices includes outputting the audio translation via one or more speakers integrated into a device displaying an enlarged version of the individual transcription via one or more display generation components.

19. Operating in the aforementioned translation mode, and while displaying the augmented version of the individual transcription of the individual utterance of the individual conversation participant via one or more display generation components, detecting individual audio via one or more audio devices, The method according to any one of claims 15 to 18, further comprising: detecting the individual audio and determining that the individual audio contains an utterance that satisfies one or more conditions, and outputting an audio translation of the utterance that satisfies one or more conditions.

20. The method according to claim 19, wherein outputting the audio translation of the utterance that satisfies the second set of one or more conditions via the one or more audio devices includes outputting the audio translation via one or more head-mounted speakers of the set of one or more audio devices.

21. While displaying the enlarged transcript user interface, which includes the enlarged version of the individual transcript of the individual utterance, the detection of a request to display the conversation transcript via one or more input devices, The method according to any one of claims 15 to 20, further comprising: detecting the request to display the conversation transcript, and displaying the conversation transcript via one or more display generating components, wherein displaying includes displaying a transcription of the utterance that satisfies one or more of the second set of conditions.

22. While operating in the translation mode, the system detects user input directed to a second individual transcription of a second individual utterance in the conversation transcript, wherein the second individual transcription of the second individual utterance is an utterance of a second individual conversation participant who is different from the individual conversation participant among the two or more conversation participants. The method according to any one of claims 15 to 21, further comprising detecting the user input directed to the second individual transcription of the second individual utterance in the conversation transcript, and then discontinuing the display of the expanded transcript user interface.

23. While operating in the aforementioned translation mode and displaying the conversation transcript, the system detects individual audio through one or more audio devices, The method according to any one of claims 1 to 22, further comprising: detecting the individual audio and determining that the individual audio contains an utterance that satisfies one or more conditions, and then ceasing to output an audio translation of the utterance that satisfies one or more conditions.

24. While operating in the aforementioned translation mode and displaying the conversation transcript, the system detects individual audio through one or more audio devices, The method according to any one of claims 1 to 23, further comprising: detecting the individual audio and determining that the individual audio includes an utterance that satisfies one or more conditions second set, and outputting an audio translation of the utterance that satisfies one or more conditions second set via one or more audio devices.

25. The method according to claim 24, wherein outputting the audio translation of the utterance that satisfies the second set of one or more conditions via one or more audio devices includes outputting the audio translation via one or more head-mounted speakers of the set of one or more audio devices.

26. The method according to any one of claims 1 to 25, wherein the conversation transcript is displayed while the computer system is locked.

27. While operating in the aforementioned translation mode, the system detects user input corresponding to individual transcriptions of individual utterances within the conversation transcript, The method according to any one of claims 1 to 26, further comprising detecting the user input corresponding to the individual transcription of the individual utterance in the conversation transcript, and outputting an audio translation of the individual utterance via one or more audio devices.

28. The method according to claim 27, wherein outputting the audio translation of the individual utterance via one or more audio devices includes outputting the audio translation via one or more speakers integrated into a device displaying the individual transcription via one or more display generation components.

29. A non-temporary computer-readable storage medium for storing one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, wherein the one or more programs include instructions for performing the method according to any one of claims 1 to 28.

30. A computer system configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, wherein the computer system is One or more processors, A computer system comprising: a memory for storing one or more programs configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the method according to any one of claims 1 to 28.

31. A computer system configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, A computer system comprising means for performing the method described in any one of claims 1 to 28.

32. A computer program product comprising one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, wherein the one or more programs include instructions for performing the method according to any one of claims 1 to 28.

33. A non-temporary computer-readable storage medium for storing one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, wherein the one or more programs are While not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, it detects one or more sets of inputs via one or more input devices to enable the translation mode, A non-temporary computer-readable storage medium containing instructions that operates in the translation mode in response to the detection of the set of one or more inputs that enable the translation mode, wherein operation in the translation mode does not require additional user input. To detect conversational utterances of two or more conversation participants, including a first utterance in a first language and a second utterance in a second language different from the first language, via one or more audio devices, Outputting the audio translation of the first utterance and / or the audio translation of the second utterance via one or more of the aforementioned audio devices, A non-temporary computer-readable storage medium that includes outputting an audio translation of the conversation via one or more display generation components, and simultaneously displaying a conversation transcript including transcriptions of the first and second utterances of the conversation of the two or more conversation participants.

34. A computer system configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, One or more processors, The system comprises a memory that stores one or more programs configured to be executed by one or more processors, and the one or more programs are While not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, it detects one or more sets of inputs via one or more input devices to enable the translation mode, A computer system including instructions that operates in the translation mode in response to detecting the set of one or more inputs that enable the translation mode, wherein operating in the translation mode does not require additional user input. To detect conversational utterances of two or more conversation participants, including a first utterance in a first language and a second utterance in a second language different from the first language, via one or more audio devices, Outputting the audio translation of the first utterance and / or the audio translation of the second utterance via one or more of the aforementioned audio devices, A computer system comprising outputting an audio translation of the conversation via one or more display generation components, and simultaneously displaying a conversation transcript including transcriptions of the first and second utterances of the conversation of the two or more conversation participants.

35. A computer system configured to communicate with one or more audio devices, one or more input devices, and one or more display generation components, Means for detecting one or more inputs via one or more input devices to enable the translation mode while not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, A computer system comprising means for operating in the translation mode in response to detecting the set of one or more inputs that enable the translation mode, wherein operating in the translation mode does not require additional user input. Means for detecting conversational utterances of two or more conversation participants, including a first utterance in a first language and a second utterance in a second language different from the first language, via one or more audio devices, means for outputting an audio translation of the first utterance and / or the second utterance via one or more audio devices, A computer system comprising: means for outputting an audio translation of the conversation via one or more display generation components, and simultaneously displaying a conversation transcript including transcriptions of the first and second utterances of the conversation of the two or more conversation participants.

36. A computer program product comprising one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, one or more input devices, and one or more display generation components, wherein the one or more programs are While not operating in translation mode, which automatically detects spoken audio via one or more audio devices and outputs a translation of the detected spoken audio, it detects one or more sets of inputs via one or more input devices to enable the translation mode, A computer program product, including instructions, that operates in the translation mode in response to detecting the set of one or more inputs that enable the translation mode, wherein operation in the translation mode does not require additional user input. To detect conversational utterances of two or more conversation participants, including a first utterance in a first language and a second utterance in a second language different from the first language, via one or more audio devices, Outputting the audio translation of the first utterance and / or the audio translation of the second utterance via one or more of the aforementioned audio devices, A computer program product that includes outputting an audio translation of the conversation via one or more display generation components, and simultaneously displaying a conversation transcript including transcriptions of the first and second utterances of the conversation of the two or more conversation participants.

37. It is a method, In a computer system communicating with one or more audio devices, Receiving an input audio stream that includes speech, While receiving the input audio stream which includes speech, Perform speech processing on the input audio stream, which includes performing speech recognition and generating text based on the utterances in the input audio stream. The location for inserting punctuation within the aforementioned text, where the location is not the end of a sentence, is determined. Insert punctuation marks at the determined locations within the text, A method comprising: before detecting the end of a sentence, initiating the output of spoken audio of a first portion of the text preceding the inserted punctuation, via one or more audio devices, based on the punctuation inserted at the determined location in the text.

38. The method according to claim 37, wherein performing speech processing on the input audio stream includes translating the speech from a first language to a second language different from the first language.

39. The method according to claim 37 or 38, wherein the location for inserting the punctuation is based on a location determined using a first language transcription of the utterance in the audio input stream.

40. The method according to any one of claims 37 to 39, wherein the location for inserting the punctuation is based on a location determined using a second language transcription of the utterance in the audio input stream.

41. The method according to any one of claims 37 to 40, wherein the punctuation inserted at the determined location in the text is artificial punctuation.

42. The method according to any one of claims 37 to 41, wherein the punctuation mark inserted at the determined location in the text is a comma.

43. The method according to any one of claims 37 to 42, wherein determining the locations for inserting punctuation marks in the text includes determining the locations for inserting punctuation marks in the text based on the content of the utterance.

44. The method according to any one of claims 37 to 43, wherein the location for inserting punctuation in the text is determined independently of the duration of pauses between words.

45. A non-temporary computer-readable storage medium for storing one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, wherein the one or more programs include instructions for performing the method according to any one of claims 37 to 44.

46. A computer system configured to communicate with one or more audio devices, wherein the computer system is One or more processors, A computer system comprising: a memory for storing one or more programs configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the method according to any one of claims 37 to 44.

47. A computer system configured to communicate with one or more audio devices, A computer system comprising means for performing the method described in any one of claims 37 to 44.

48. A computer program product comprising one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, wherein the one or more programs include instructions for performing the method according to any one of claims 37 to 44.

49. A non-temporary computer-readable storage medium for storing one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, wherein the one or more programs are Receive an input audio stream containing speech, While receiving the input audio stream which includes speech, Perform speech processing on the input audio stream, which includes performing speech recognition and generating text based on the utterances in the input audio stream. The location for inserting punctuation within the aforementioned text, where the location is not the end of a sentence, is determined. Insert punctuation marks at the determined locations within the text, A non-temporary computer-readable storage medium comprising instructions to initiate the output of spoken audio of a first portion of the text preceding the inserted punctuation, via one or more audio devices, based on the punctuation inserted at the determined location in the text, before detecting the end of a sentence.

50. A computer system configured to communicate with one or more audio devices, One or more processors, The system comprises a memory that stores one or more programs configured to be executed by one or more processors, and the one or more programs are Receive an input audio stream containing speech, While receiving the input audio stream which includes speech, Perform speech processing on the input audio stream, which includes performing speech recognition and generating text based on the utterances in the input audio stream. The location for inserting punctuation within the aforementioned text, where the location is not the end of a sentence, is determined. Insert punctuation marks at the determined locations within the text, A computer system including an instruction to initiate, via one or more audio devices, the output of spoken audio of a first portion of the text prior to the inserted punctuation, based on the punctuation inserted at the determined location in the text, before detecting the end of a sentence.

51. A computer system configured to communicate with one or more audio devices, Means for receiving an input audio stream containing speech, While receiving the input audio stream which includes speech, Perform speech processing on the input audio stream, which includes performing speech recognition and generating text based on the utterances in the input audio stream. The location for inserting punctuation within the aforementioned text, where the location is not the end of a sentence, is determined. Insert punctuation marks at the determined locations within the text, A computer system comprising: means for initiating the output of spoken audio of a first portion of the text preceding the inserted punctuation, via one or more audio devices, based on the punctuation inserted at the determined location in the text, before detecting the end of a sentence.

52. A computer program product comprising one or more programs configured to be executed by one or more processors of a computer system communicating with one or more audio devices, wherein the one or more programs are Receive an input audio stream containing speech, While receiving the input audio stream which includes speech, Perform speech processing on the input audio stream, which includes performing speech recognition and generating text based on the utterances in the input audio stream. The location for inserting punctuation within the aforementioned text, where the location is not the end of a sentence, is determined. Insert punctuation marks at the determined locations within the text, A computer program product that includes an instruction to initiate the output of spoken audio of a first portion of the text preceding the inserted punctuation, via one or more audio devices, based on the punctuation inserted at the determined location in the text, before detecting the end of a sentence.