App integration with digital assistants
By receiving natural language user input and recognizing intentions on electronic devices, the problem of integrating digital assistants with third-party applications is solved, a natural language interface is realized, and the functionality and user experience of the user device are improved.
Patent Information
- Application Number
- CN202010814076.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-07-28
- Filing Date
- 2017-05-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2037-07-10
AI Technical Summary
Existing digital assistants cannot effectively integrate with third-party applications stored locally on the user's device and cannot provide a natural language interface, resulting in the inability to meet the diverse needs of users.
By receiving natural language user input on electronic devices, identifying intentions and related parameters, and providing them to relevant software applications, integration with third-party applications is achieved and a natural language interface is provided.
It achieves effective integration of digital assistants and third-party applications, can meet the diverse needs of users, provides a natural language interface, and improves the functionality and user experience of user devices.
Smart Images

Figure CN111913778B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application date of May 26, 2017, application number 201710386931.3 and name “Application Integration with Digital Assistant”. Technical Field
[0002] The present disclosure relates generally to interacting with applications, and more specifically to techniques for application integration with digital assistants. Background Art
[0003] Digital assistants can help users perform various functions on user devices. For example, digital assistants can set alarms, provide weather updates, and perform searches both locally and on the Internet, while providing a natural language interface to the user. However, existing digital assistants are unable to effectively integrate with applications, such as those stored locally on user devices, especially third-party applications. Therefore, existing digital assistants are unable to provide a natural language interface for such applications. Summary of the invention
[0004] An exemplary method is disclosed herein. The exemplary method includes, at an electronic device having one or more processors, receiving natural language user input, and identifying, using the one or more processors, an intent in a set of intents and parameters associated with the intent, wherein the intent and parameters are obtained from the natural language user input. The method also includes identifying a software application associated with an intent in the set of intents and providing the intent and parameters to the software application.
[0005] An exemplary method includes, at one or more electronic devices, each having one or more processors, receiving natural language user input; determining an intent from a set of intents and parameters associated with the intent based on the natural language user input; identifying a software application based on at least one of the intent or the parameters; and providing the intent and parameters to the software application.
[0006] An exemplary method includes, at one or more electronic devices each having one or more processors, receiving natural language user input; based on the natural language user input, identifying an intent from a set of intents and a parameter associated with the intent; and determining whether a task corresponding to the intent can be satisfied based on at least one of the intent or the parameter. The method also includes, based on determining that the task corresponding to the intent can be satisfied, providing the intent and the parameter to a software application associated with the intent, and based on determining that the task corresponding to the intent cannot be satisfied, providing a list of one or more software applications associated with the intent.
[0007] An exemplary method includes, at a first electronic device having one or more processors, receiving natural language user input, wherein the natural language user input indicates an intent from a set of intents; providing the natural language user input to a second electronic device; and receiving an indication from the second electronic device that a software application associated with the intent is not located on the first electronic device. The method also includes, in response to the notification, obtaining a list of applications associated with the intent; displaying the list of applications associated with the intent in a user interface using a touch-sensitive display of the first electronic device; receiving user input indicating a selection of an application from the list of applications; and providing the intent from the set of intents to the application.
[0008] An exemplary non-transitory computer-readable medium is disclosed herein. An exemplary non-transitory computer-readable storage medium stores one or more programs. The one or more programs include instructions that, when executed by one or more processors of an electronic device, cause the electronic device to receive natural language user input; identify, using the one or more processors, an intent in a set of intents and parameters associated with the intent, wherein the intent and parameters are obtained from the natural language user input; identify a software application associated with the intent in the set of intents; and provide the intent and parameters to the software application.
[0009] An exemplary non-transitory computer-readable storage medium stores one or more programs. The one or more programs include instructions that, when executed by one or more processors of one or more electronic devices, cause the one or more electronic devices to receive natural language user input; determine an intent from a set of intents and parameters associated with the intent based on the natural language user input; identify a software application based on at least one of the intent or the parameters; and provide the intent and the parameters to the software application.
[0010] An exemplary non-transitory computer-readable storage medium stores one or more programs. The one or more programs include instructions that, when executed by one or more processors of one or more electronic devices, cause the one or more electronic devices to receive natural language user input; based on the natural language user input, identify an intent in a set of intents and parameters associated with the intent; based on at least one of the intent or the parameters, determine whether a task corresponding to the intent can be satisfied; based on determining that the task corresponding to the intent can be satisfied, provide the intent and the parameters to a software application associated with the intent; and based on determining that the task corresponding to the intent cannot be satisfied, provide a list of one or more software applications associated with the intent.
[0011] An exemplary non-transitory computer-readable storage medium stores one or more programs. The one or more programs include instructions that, when executed by one or more processors of an electronic device, cause the electronic device to receive natural language user input, wherein the natural language user input indicates an intent in a set of intents; provide the natural language user input to a second electronic device; receive an indication from the second electronic device that a software application associated with the intent is not located on the first electronic device; in response to the notification, obtain a list of applications associated with the intent; display the list of applications associated with the intent in a user interface using a touch-sensitive display of the first electronic device; receive user input indicating a selection of an application in the list of applications; and provide the intent in the set of intents to the application.
[0012] The present invention discloses an exemplary electronic device and system. The exemplary electronic device includes: one or more processors; memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for receiving natural language user input; using the one or more processors to identify an intent in a set of intents and parameters associated with the intent, wherein the intent and parameters are obtained from the natural language user input; identifying a software application associated with the intent in the set of intents; and providing the intent and parameters to the software application.
[0013] An exemplary system includes one or more processors of one or more electronic devices; one or more memories of one or more electronic devices; and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, the one or more programs including instructions for receiving natural language user input; determining an intent from a set of intents and parameters associated with the intent based on the natural language user input; identifying a software application based on at least one of the intent or the parameters; and providing the intent and the parameters to the software application.
[0014] An exemplary system includes one or more processors of one or more electronic devices; one or more memories of one or more electronic devices; and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, the one or more programs including instructions for receiving natural language user input; based on the natural language user input, identifying an intent from a set of intents and parameters associated with the intent; based on at least one of the intent or the parameters, determining whether a task corresponding to the intent can be satisfied; based on determining that the task corresponding to the intent can be satisfied, providing the intent and the parameters to a software application associated with the intent; and based on determining that the task corresponding to the intent cannot be satisfied, providing a list of one or more software applications associated with the intent.
[0015] An exemplary electronic device includes one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for receiving natural language user input, wherein the natural language user input indicates an intent from a set of intents; providing the natural language user input to a second electronic device; receiving an indication from the second electronic device that a software application associated with the intent is not located on the first electronic device; obtaining a list of applications associated with the intent in response to the notification; displaying the list of applications associated with the intent in a user interface using a touch-sensitive display of the first electronic device; receiving user input indicating a selection of an application from the list of applications; and providing the intent from the set of intents to the application.
[0016] An exemplary electronic device includes a device for receiving natural language user input; a device for identifying an intent in a set of intents and parameters associated with the intent, wherein the intent and parameters are obtained from the natural language user input; a device for identifying a software application associated with an intent in the set of intents; and a device for providing the intent and parameters to the software application.
[0017] An exemplary system includes a device for receiving natural language user input; a device for determining an intent from a set of intents and parameters associated with the intent based on the natural language user input; a device for identifying a software application based on at least one of the intent or the parameters; and a device for providing the intent and parameters to the software application.
[0018] An exemplary system includes a device for receiving natural language user input; a device for identifying an intent from a set of intents and parameters associated with the intent based on the natural language user input; a device for determining whether a task corresponding to the intent can be satisfied based on at least one of the intent or the parameters; a device for providing the intent and the parameters to a software application associated with the intent based on a determination that the task corresponding to the intent can be satisfied; and a device for providing a list of one or more software applications associated with the intent based on a determination that the task corresponding to the intent cannot be satisfied.
[0019] An exemplary electronic device includes a device for receiving natural language user input, wherein the natural language user input indicates an intent from a set of intents; a device for providing the natural language user input to a second electronic device; a device for receiving an indication from the second electronic device that a software application associated with the intent is not located on the first electronic device; a device for obtaining a list of applications associated with the intent in response to the notification; a device for displaying the list of applications associated with the intent in a user interface using a touch-sensitive display of the first electronic device; a device for receiving user input indicating a selection of an application from the list of applications; and a device for providing the intent from the set of intents to the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, in which like reference numerals designate corresponding parts throughout the several views.
[0021] Figure 1 is a block diagram illustrating a system and environment for implementing a digital assistant according to various embodiments.
[0022] Figure 2A is a block diagram illustrating a portable multifunction device that implements the client-side portion of a digital assistant according to some embodiments.
[0023] Figure 2B is a block diagram illustrating exemplary components for event handling in accordance with various embodiments.
[0024] Figure 3 A portable multifunction device that implements the client-side portion of a digital assistant according to various embodiments is shown.
[0025] Figure 4 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface in accordance with various embodiments.
[0026] Figure 5ADepicted are exemplary user interfaces for a menu of applications on a portable multifunction device in accordance with various embodiments.
[0027] Figure 5B Exemplary user interfaces for a multifunction device having a touch-sensitive surface that is separate from the display are shown in accordance with various embodiments.
[0028] Fig. 6A A personal electronic device according to various embodiments is shown.
[0029] Figure 6B is a block diagram illustrating a personal electronic device according to various embodiments.
[0030] Fig. 7A A block diagram illustrating a digital assistant system or a server portion thereof according to various embodiments.
[0031] Figure 7B It shows the Fig. 7A The functionality of the digital assistant is shown.
[0032] Figure 7C Portions of an ontology according to various embodiments are shown.
[0033] Figure 8 A flowchart of a process for operating a digital assistant according to some embodiments is shown.
[0034] Fig. 9 A flowchart of a process for operating a digital assistant according to some embodiments is shown.
[0035] FIG. 10A to FIG. 10C An exemplary user interface for an electronic device according to some embodiments is shown.
[0036] FIG. 10D to FIG. 10E An exemplary data flow for a digital assistant system according to some embodiments is shown.
[0037] Figures 11 to 14 A functional block diagram of an electronic device according to some embodiments is shown. DETAILED DESCRIPTION
[0038] In the following description of the present disclosure and embodiments, reference will be made to the accompanying drawings, in which are shown, by way of example, specific embodiments that can be implemented. It should be understood that other embodiments and examples can be practiced and changes can be made without departing from the scope of the present disclosure.
[0039] Although the following description uses the terms "first," "second," etc. to describe various elements, these elements should not be limited by the terms. These terms are simply used to distinguish one element from another. For example, a first input may be named a second input and similarly a second input may be named a first input without departing from the scope of the various described embodiments. Both the first input and the second input may be outputs, and in some cases, may be separate, distinct inputs.
[0040] The terms used in the description of the various described embodiments herein are for the purpose of describing specific embodiments only and are not intended to be limiting. As used in the description of the various described embodiments and in the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more of the items listed in association. It will also be understood that the term "includes", "including", "comprises" and / or "comprising" when used in this specification specifies the presence of stated features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or their groupings.
[0041] Depending on the context, the term "if" may be interpreted to mean "when" or "upon" or "in response to determining" or "in response to detecting." Similarly, the phrases "if it is determined that ..." or "if [a stated condition or event] is detected" may be interpreted to mean "upon determining that ..." or "in response to determining that ..." or "upon detecting [a stated condition or event]" or "in response to detecting [a stated condition or event]," depending on the context.
[0042] 1. System and Environment
[0043] Figure 1A block diagram of a system 100 according to various embodiments is shown. In some embodiments, the system 100 may implement a digital assistant. The terms "digital assistant," "virtual assistant," "intelligent automated assistant," or "automatic digital assistant" may refer to any information processing system that interprets natural language input in verbal and / or textual form to infer user intent, and performs actions (e.g., tasks) based on the inferred user intent. For example, to perform an inferred user intent, the system may perform one or more of the following: identify a task flow by designing steps and parameters to implement the inferred user intent, input specific requirements from the inferred user intent into the task flow; execute the task flow by calling a program, method, service, API, etc.; and generate an output response to the user in auditory (e.g., voice) and / or visual form.
[0044] Specifically, the digital assistant is capable of accepting user requests in the form of at least partially natural language commands, requests, statements, narrations and / or inquiries. Typically, a user request may either seek an informative answer from the digital assistant or seek the digital assistant to perform a task. A satisfactory response to a user request may be to provide the requested informative answer, perform the requested task, or a combination of the two. For example, a user may ask a digital assistant questions such as "where am I now?" Based on the user's current location, the digital assistant may answer "you are near the west gate of Central Park." The user may also request to perform a task, such as "please invite my friends to my girlfriend's birthday party next week." In response, the digital assistant may confirm the request by saying "OK, right away," and then send a suitable calendar invitation to each of the user's friends listed in the user's electronic address book on behalf of the user. During the execution of the requested task, the digital assistant may sometimes interact with the user in a continuous dialogue involving multiple information exchanges over a long period of time. There are many other methods of interacting with a digital assistant to request information or perform various tasks. In addition to providing verbal responses and taking programmed actions, digital assistants may also provide responses in other visual or audio forms, such as text, alerts, music, video, animation, etc.
[0045] like Figure 1As shown in , in some embodiments, the digital assistant may be implemented according to a client-server model. The digital assistant may include a client-side portion 102 (hereinafter referred to as "DA client 102") executed on a user device 104, and a server-side portion 106 (hereinafter referred to as "DA server 106") executed on a server system 108. The DA client 102 may communicate with the DA server 106 via one or more networks 110. The DA client 102 may provide client-side functionality such as user-oriented input and output processing, and communicate with the DA server 106. The DA server 106 may provide server-side functionality for any number of DA clients 102, each of which is located on a corresponding user device 104.
[0046] In some embodiments, the DA server 106 may include a client-facing I / O interface 112, one or more processing modules 114, data and models 116, and an I / O interface 118 to external services. The client-facing I / O interface 112 may facilitate client-facing input and output processing of the DA server 106. One or more processing modules 114 may utilize the data and modules 116 to process voice input and determine the user's intent based on the natural language input. Moreover, one or more processing modules 114 perform task execution based on the inferred user intent. In some embodiments, the DA server 106 may communicate with external services 120 via one or more networks 110 to complete tasks or collect information. The I / O interface 118 to external services may facilitate such communications.
[0047] The user device 104 may be any suitable electronic device. For example, the user device may be a portable multi-function device (e.g., Figure 2A Device 200 described below), multi-function device (e.g., reference Figure 4 Device 400 described below), or a personal electronic device (reference FIG. 6A to FIG. 6B The portable multifunction device may be, for example, a mobile phone that also includes other functions, such as a PDA and / or a music player. Specific embodiments of portable multifunction devices may include the Apple iPod from Apple Inc. (Cupertino, California). iPod and Device. Other embodiments of portable multifunction devices may include, but are not limited to, laptops or tablet computers. Moreover, in some embodiments, user device 104 may be a non-portable multifunction device. Specifically, user device 104 may be a desktop computer, a game console, a television, or a television set-top box. In some embodiments, user device 104 may include a touch-sensitive surface (e.g., a touch screen display and / or a touchpad). However, user device 104 may optionally include one or more other physical user interface devices, such as a physical keyboard, a mouse, and / or a joystick. Various embodiments of electronic devices, such as multifunction devices, are described in more detail below.
[0048] Embodiments of the one or more communication networks 110 may include a local area network (LAN) and a wide area network (WAN), such as the Internet. The one or more communication networks 110 may be implemented using any known network protocol, including various wired or wireless protocols, such as, for example, Ethernet, Universal Serial Bus (USB), FireWire, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Wi-Fi, Voice over Internet Protocol (VoIP), Wi-MAX, or any other suitable communication protocol.
[0049] The server system 108 may be implemented on one or more stand-alone data processing devices or distributed networks of computers. In some embodiments, the server system 108 may also employ various virtual devices and / or services of third-party service providers (e.g., third-party cloud service providers) to provide the potential computing resources and / or infrastructure resources of the server system 108.
[0050] In some embodiments, the user device 104 can communicate with the DA server 106 via a second user device 122. The second user device 122 can be similar to or identical to the user device 104. For example, the second user device 122 can be similar to the reference Figure 2A , Figure 4 and FIG. 6A to FIG. 6BDevice 200, 400 or 600 described below. The user device 104 may be configured to be communicatively coupled to the second user device 122 via a direct communication connection, such as Bluetooth, NFC, BTLE, etc., or via a wired or wireless network, such as a local Wi-Fi network. In some embodiments, the second user device 122 may be configured to act as a proxy between the user device 104 and the DA server 106. For example, the DA client 102 of the user device 104 may be configured to transmit information (e.g., a user request received at the user device 104) to the DA server 106 via the second user device 122. The DA server 106 may process the information and return relevant data (e.g., data content in response to the user request) to the user device 104 via the second user device 122.
[0051] In some embodiments, the user device 104 may be configured to transmit an abbreviated request for data to a second user device 122 to reduce the amount of information transmitted from the user device 104. The second user device 122 may be configured to determine the supplemental information added to the abbreviated request to generate a complete request for transmission to the DA server 106. The system architecture may advantageously allow a user device 104 with limited communication capabilities and / or limited battery power (e.g., a watch or similar compact electronic device) to access services provided by the DA server 106 by using a second user device 122 with greater communication capabilities and / or battery power (such as a mobile phone, laptop computer, tablet computer, etc.) as a proxy for the DA server 106. Although in Figure 1 Only two user devices 104 and 122 are shown, but it should be understood that the system 100 may include any number and type of user devices configured in the proxy configuration to communicate with the DA server system 106.
[0052] although Figure 1 The digital assistant shown in may include both a client-side portion (e.g., DA client 102) and a server-side portion (e.g., DA server 106), but in some embodiments, the functionality of the digital assistant may be implemented as a stand-alone application installed on a user device. In addition, the division of functionality between the client and server portions of the digital assistant may vary in different specific implementations. For example, in some embodiments, the DA client may be a thin client that only provides user-facing input and output processing functions and delegates all other functions of the digital assistant to a backend server.
[0053] 2. Electronic devices
[0054] Attention is now directed to embodiments of electronic devices for implementing the client-side portion of a digital assistant. Figure 2Ais a block diagram showing a portable multifunction device 200 with a touch-sensitive display system 212 according to some embodiments. The touch-sensitive display 212 is sometimes referred to as a "touch screen" for convenience, and may sometimes be referred to as or referred to as a "touch-sensitive display system." The device 200 includes a memory 202 (which optionally includes one or more computer-readable storage media), a memory controller 222, one or more processing units (CPUs) 220, a peripheral device interface 218, an RF circuit 208, an audio circuit 210, a speaker 211, a microphone 213, an input / output (I / O) subsystem 206, other input control devices 216, and an external port 224. The device 200 optionally includes one or more optical sensors 264. The device 200 optionally includes one or more contact force sensors 265 for detecting the intensity of contact on the device 200 (e.g., a touch-sensitive surface, such as the touch-sensitive display system 212 of the device 200). Device 200 optionally includes one or more tactile output generators 267 for generating tactile output on device 200 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 212 of device 200 or touch pad 455 of device 400). These components optionally communicate via one or more communication buses or signal lines 203.
[0055] As used in this specification and claims, the term "intensity" of a contact on a touch-sensitive surface refers to the force or pressure (force per unit area) of a contact (e.g., a finger contact) on the touch-sensitive surface, or to a surrogate (surrogate) of the force or pressure of a contact on the touch-sensitive surface. The intensity of a contact has a range of values that includes at least four different values and more typically includes hundreds of different values (e.g., at least 256). The intensity of a 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 different points on the touch-sensitive surface. In some implementations, force measurements from multiple force sensors are combined (e.g., weighted average) to determine an estimated contact force. 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 of the contact area detected on the touch-sensitive surface and / or its change, the capacitance of the touch-sensitive surface adjacent to the contact and / or its change, and / or the resistance of the touch-sensitive surface adjacent to the contact and / or its change are optionally used as a substitute for the force or pressure of the contact on the touch-sensitive surface. In some embodiments, the substitute measurement of the contact force or pressure is used directly to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is described in units corresponding to the substitute measurement). In some embodiments, the substitute measurement of the contact force or pressure is converted into an estimated force or pressure, and the estimated force or pressure is used to determine whether an intensity threshold has been exceeded (e.g., the intensity threshold is a pressure threshold measured in units of pressure). Using the intensity of the contact as an attribute of the user input allows the user to access additional device functionality that the user may not otherwise be able to access on a smaller device with limited real estate for displaying an indication (e.g., on a touch-sensitive display) and / or receiving user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical controls, such as knobs or buttons).
[0056] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user using the user's sense of touch. For example, in the case where a device or a component of the device is in contact with a user's touch-sensitive surface (e.g., a finger, palm, or other part of the user's hand), the tactile output generated by the physical displacement will be interpreted by the user as a tactile sensation that corresponds to a perceived change in a physical characteristic of the device or component of the device. For example, movement of a touch-sensitive surface (e.g., a touch-sensitive display or trackpad) is optionally interpreted by the user as a "press click" or "release click" to a physical actuation button. In some cases, the user will feel a tactile sensation, such as a "press click" or "release click", even when the physical actuation button associated with the touch-sensitive surface that is physically pressed (e.g., displaced) by the user's movement does not move. As another example, movement of the touch-sensitive surface may optionally be interpreted or sensed by the user as "roughness" of the touch-sensitive surface, even when there is no change in the smoothness of the touch-sensitive surface. While such interpretation of touch by the user will be limited by the user's individualized sensory perceptions, there are many sensory perceptions of touch that are common to most users. Thus, when tactile outputs are described as corresponding to a particular sensory perception of a user (e.g., "press click," "release click," "roughness"), unless otherwise stated, the tactile outputs generated correspond to physical displacements of the device or a component thereof that would generate sensory perceptions of a typical (or average) user.
[0057] It should be understood that device 200 is only one embodiment of a portable multifunction device, and that device 200 optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. Figure 2A The various components shown in the EMBODIMENTS 2000 are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing circuits and / or application specific integrated circuits.
[0058] The memory 202 may include one or more computer-readable storage media. The computer-readable storage media may be tangible and non-transitory. The memory 202 may include high-speed random access memory and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state memory devices. The memory controller 222 may control other components of the device 200 to access the memory 202.
[0059] In some embodiments, the non-transitory computer-readable storage medium of memory 202 may be used to store instructions (e.g., for performing aspects of process 1100 described below) for use or in conjunction with an instruction execution system, apparatus, or device, such as a computer-based system, a system containing a processor, or other system that can fetch instructions from and execute instructions to an instruction execution system, apparatus, or device. In other embodiments, the instructions (e.g., for performing aspects of process 1100 described below) may be stored on a non-transitory computer-readable storage medium (not shown) of server system 108 or may be divided between the non-transitory computer-readable storage medium of memory 202 and the non-transitory computer-readable storage medium of server system 108. In the context of this document, a "non-transitory computer-readable storage medium" may be any medium that may include or store a program for use or in conjunction with an instruction execution system, apparatus, or device.
[0060] The peripheral device interface 218 may be used to couple the input peripheral devices and output peripheral devices of the device to the CPU 220 and the memory 202. The one or more processors 220 run or execute various software programs and / or instruction sets stored in the memory 202 to perform various functions of the device 200 and process data. In some embodiments, the peripheral device interface 218, the CPU 220, and the memory controller 222 may be implemented on a single chip such as the chip 204. In some other embodiments, they may be implemented on separate chips.
[0061] RF (radio frequency) circuit 208 receives and transmits RF signals, also called electromagnetic signals. RF circuit 208 converts electrical signals into / converts electromagnetic signals into electrical signals, and communicates with a communication network and other communication devices via electromagnetic signals. RF circuit 208 optionally includes well-known circuits for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec chipset, a user identity module (SIM) card, a memory, and the like. RF circuit 208 optionally communicates with a network and other devices via wireless communication, such as the Internet (also known as the World Wide Web (WWW)), an intranet, and / or a wireless network (such as a cellular telephone network, a wireless local area network (LAN), and / or a metropolitan area network (MAN)). RF circuit 208 optionally includes well-known circuits for detecting a near field communication (NFC) field, such as by a short-range communication radio component. Wireless communication optionally uses any of a variety of communication standards, protocols and techniques, including, but not limited to, Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), High Speed Downlink Packet Access (HSDPA), High Speed Uplink Packet Access (HSUPA), Evolution, Data-Only (EV-DO), HSPA, HSPA+, Dual Cell HSPA (DC-HSPDA), Long Term 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, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE802.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 (XMPP), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)), and / or Short Message Service (SMS), or any other suitable communications protocol including communications protocols that have not been developed as of the filing date of this document.
[0062] The audio circuit 210, speaker 211, and microphone 213 provide an audio interface between a user and the device 200. The audio circuit 210 receives audio data from the peripheral device interface 218, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 211. The speaker 211 converts the electrical signals into sound waves audible to humans. The audio circuit 210 also receives electrical signals converted from sound waves by the microphone 213. The audio circuit 210 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 218 for processing. The audio data can be retrieved from the memory 202 and / or the RF circuit 208 by the peripheral device interface 218 and / or transmitted to the memory 102 and / or the RF circuit 108. In some embodiments, the audio circuit 210 also includes a headphone jack (e.g., Figure 3 The headset jack provides an interface between the audio circuit 210 and a removable audio input / output peripheral device, such as an output-only headset or a headset with both output (e.g., a single or dual-ear headset) and input (e.g., a microphone).
[0063] The I / O subsystem 206 couples input / output peripherals on the device 200, such as a touch screen 212 and other input control devices 216, to a peripheral device interface 218. The I / O subsystem 206 optionally includes a display controller 256, an optical sensor controller 258, an intensity sensor controller 259, a tactile feedback controller 261, and one or more input controllers 260 for other input or control devices. The one or more input controllers 260 receive / send electrical signals from other input control devices 216 to other input control devices 116. Other input control devices 216 optionally include physical buttons (e.g., push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels, and the like. In some alternative embodiments, one or more input controllers 260 are optionally coupled to any (or none) 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., Figure 3 308 in ) optionally includes an up / down button for volume control of the speaker 211 and / or the microphone 213. The one or more buttons optionally include a push button (e.g., Figure 3 306 in ).
[0064] A quick press of the push button may unlock the touch screen 212 or begin the process of unlocking the device using gestures on the touch screen, as described in U.S. Patent Application 11 / 322,549, filed on December 23, 2005, entitled "Unlocking a Device by Performing Gestures on an Unlock Image," and U.S. Patent Application No. 7,657,849. The above-mentioned U.S. Patent Applications are hereby incorporated by reference in their entirety. A longer press of the push button (e.g., 306) may turn the device 200 on or off. The user may customize the functions of one or more buttons. The touch screen 212 is used to implement virtual buttons or soft buttons and one or more soft keyboards.
[0065] The touch-sensitive display 212 provides an input interface and an output interface between the device and the user. The display controller 256 receives electrical signals from the touch screen 212 and / or sends electrical signals to the touch screen 112. The touch screen 212 displays visual output to the user. The visual output may include graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output may correspond to user interface objects.
[0066] The touch screen 212 has a touch-sensitive surface, sensor, or sensor group that accepts input from a user based on tactile and / or tactile contact. The touch screen 212 and display controller 256 (together with any associated modules and / or instruction sets in memory 202) detect contact (and any movement or interruption of the contact) on the touch screen 212 and convert the detected contact into interaction with a user interface object (e.g., one or more soft keys, icons, web pages, or images) displayed on the touch screen 212. In an exemplary embodiment, the point of contact between the touch screen 212 and the user corresponds to the user's finger.
[0067] The touch screen 212 may use LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies may be used in other embodiments. The touch screen 212 and display controller 256 may use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive technology, resistive technology, infrared technology, and surface acoustic wave technology, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 212 to detect contact and any movement or interruption thereof. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as in the Apple Inc. (Cupertino, California) and iPod Discovery technology.
[0068] The touch-sensitive display in some embodiments of the touch screen 212 can be similar to the multi-touch-sensitive touch pad described in the following U.S. Patents: 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman); and / or U.S. Patent Publication 2002 / 0015024A1, each of which is hereby incorporated by reference in its entirety. However, the touch screen 212 displays visual output from the device 200, while the touch-sensitive touch pad does not provide visual output.
[0069] The touch-sensitive display in some embodiments of the touch screen 212 may be described as in the following patent applications: (1) U.S. patent application 11 / 381,313, filed on May 2, 2006, “Multipoint Touch Surface Controller”; (2) U.S. patent application 10 / 840,862, filed on May 6, 2004, “Multipoint Touchscreen”; (3) U.S. patent application 10 / 903,964, filed on July 30, 2004, “Gestures For Touch Sensitive Input Devices”; (4) U.S. patent application 11 / 048,264, filed on January 31, 2005, “Gestures For Touch Sensitive Input Devices”; (5) U.S. patent application 11 / 038,590, filed on January 18, 2005, “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices Devices"; (6) U.S. patent application 11 / 228,758, filed on September 16, 2005, "Virtual Input Device Placement On A Touch Screen User Interface"; (7) U.S. patent application 11 / 228,700, filed on September 16, 2005, "Operation Of A Computer With A Touch Screen Interface"; (8) U.S. patent application 11 / 228,737, filed on September 16, 2005, "Activating Virtual Keys Of A Touch-Screen Virtual Keyboard"; and (9) U.S. patent application 11 / 367,749, filed on March 3, 2006, "Multi-Functional Hand-Held Device". All of these patent applications are incorporated herein by reference in their entirety.
[0070] The touch screen 212 may have a video resolution of more than 100 dpi. In some embodiments, the touch screen has a video resolution of about 160 dpi. The user may use any suitable object or appendage such as a stylus, finger, etc. to contact the touch screen 212. In some embodiments, the user interface is designed to work primarily with finger-based contacts and gestures, which may not be as precise as stylus-based input due to the larger contact area of a finger on the touch screen. In some embodiments, the device translates rough finger-based input into precise pointer / cursor positions or commands for performing the actions desired by the user.
[0071] In some embodiments, in addition to the touch screen, the device 200 may include a touch pad (not shown) for activating or deactivating specific functions. In some embodiments, the touch pad is a touch-sensitive area of the device that, unlike the touch screen, does not display visual output. The touch pad can be a touch-sensitive surface separate from the touch screen 212, or an extension of the touch-sensitive surface formed by the touch screen.
[0072] Device 200 also includes a power system 262 for powering the various components. Power system 262 may include a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, power fault detection circuits, power converters or inverters, power status indicators (e.g., light emitting diodes (LEDs)), and any other components associated with the generation, management, and distribution of power in a portable device.
[0073] Device 200 may also include one or more optical sensors 264 . Figure 2A An optical sensor coupled to an optical sensor controller 258 in the I / O subsystem 206 is shown. The optical sensor 264 may include a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 264 receives light projected through one or more lenses from the environment and converts the light into data representing an image. In conjunction with the imaging module 243 (also referred to as a camera module), the optical sensor 264 can capture static images or videos. In some embodiments, the optical sensor is located on the rear of the device 200 opposite to the touch screen display 212 on the front of the device, so that the touch screen display can be used as a viewfinder for static image and / or video image acquisition. In some embodiments, the optical sensor is located at the front of the device so that the image of the user can be obtained when the user views other video conference participants on the touch screen display for video conferencing. In some embodiments, the position of the optical sensor 264 can be changed by the user (e.g., by rotating the lens and sensor in the device housing) so that a single optical sensor 264 can be used with the touch screen display for both video conferencing and static image and / or video image acquisition.
[0074] Device 200 optionally also includes one or more contact intensity sensors 265 . Figure 2A A contact force sensor is shown coupled to a force sensor controller 259 in the I / O subsystem 206. Contact force sensor 265 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of contact on a touch-sensitive surface). Contact force sensor 265 receives contact force information (e.g., pressure information or a surrogate for pressure information) from the environment. In some embodiments, at least one contact force sensor is juxtaposed or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 212). In some embodiments, at least one contact force sensor is located on the rear of device 200 opposite to touch screen display 212 located on the front of device 200.
[0075] Device 200 may also include one or more proximity sensors 266 . Figure 2A A proximity sensor 266 is shown coupled to the peripherals interface 218. Alternatively, the proximity sensor 266 can be coupled to the input controller 260 in the I / O subsystem 206. The proximity sensor 266 can be implemented as described in the following U.S. patent applications: 11 / 241,839, entitled "Proximity Detector In Handheld Device"; 11 / 240,788, entitled "Proximity Detector In Handheld Device"; 11 / 620,702, entitled "Using Ambient Light Sensor To Augment Proximity Sensor Output"; 11 / 586,862, entitled "Automated Response To And Sensing Of User Activity In Portable Devices"; and 11 / 638,251, entitled "Methods And Systems For Automatic Configuration Of Peripherals", which are hereby incorporated by reference in their entirety. In some embodiments, when the multifunction device is placed near the user's ear (e.g., when the user is making a phone call), the proximity sensor turns off and the touch screen 212 is disabled.
[0076] Device 200 optionally also includes one or more tactile output generators 267. Figure 2AA tactile output generator coupled to a tactile feedback controller 261 in the I / O subsystem 206 is shown. The tactile output generator 267 optionally includes one or more electroacoustic devices such as a speaker or other audio component; and / or an electromechanical device for converting 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 for converting an electrical signal into a tactile output on the device). The contact force sensor 265 receives tactile feedback generation instructions from the tactile feedback module 233 and generates a tactile output on the device 200 that can be felt by a user of the device 200. In some embodiments, at least one tactile output generator is arranged in juxtaposition or proximity to a touch-sensitive surface (e.g., a touch-sensitive display system 212) and optionally generates a tactile output by moving the touch-sensitive surface vertically (e.g., inward / outward of the surface of the device 200) or laterally (e.g., backward and forward in the same plane as the surface of the device 200). In some embodiments, at least one tactile output generator sensor is located on a rear portion of the device 200 opposite the touch screen display 212 located on the front portion of the device 200 .
[0077] The device 200 may also include one or more accelerometers 268 . Figure 2A An accelerometer 268 is shown coupled to the peripheral device interface 218. Alternatively, the accelerometer 268 may be coupled to the input controller 260 in the I / O subsystem 206. The accelerometer 268 may be implemented as described in the following U.S. Patent Publications: 20050190059, entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and 20060017692, entitled "Methods And Apparatuses For Operating A Portable Device Based On AnAccelerometer", both of which are incorporated herein by reference in their entirety. In some embodiments, information is displayed in a portrait view or a landscape view on the touch screen display based on analysis of data received from the one or more accelerometers. The device 200 optionally includes a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) in addition to the one or more accelerometers 268 for obtaining information about the position and orientation (e.g., portrait or landscape) of the device 200.
[0078] In some embodiments, the software components stored in memory 202 include an operating system 226, a communication module (or instruction set) 228, a contact / motion module (or instruction set) 230, a graphics module (or instruction set) 232, a text input module (or instruction set) 234, a global positioning system (GPS) module (or instruction set) 235, a digital assistant client module 229, and an application (or instruction set) 236. In addition, memory 202 may store data and models, such as user data and models 231. In addition, in some embodiments, memory 202 ( Figure 2A ) or 470( Figure 4 ) storage device / global internal state 257, such as Figure 2A ,and Figure 4 . The device / global internal state 257 includes one or more of the following: an active application state indicating which applications, if any, are currently active; a display state indicating what applications, views, or other information occupy various areas of the touch screen display 212; a sensor state including information obtained from the device's various sensors and input control devices 216; and position information regarding the device's position and / or posture.
[0079] The operating system 226 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitating communication between various hardware components and software components.
[0080] The communication module 228 facilitates communication with other devices through one or more external ports 224 and also includes various software components for processing data received by the RF circuit 208 and / or the external port 224. The external port 224 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for coupling directly to other devices or indirectly through a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is connected to (trademark of Apple Inc.) devices.
[0081] The contact / motion module 230 optionally detects contact with the touch screen 212 (in conjunction with the display controller 256) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact / motion module 230 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger press event), determining the contact strength (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 the contact and tracking the movement on the touch-sensitive surface (e.g., detecting one or more finger drag events), and determining whether the contact has stopped (e.g., detecting a finger lift event or contact disconnection). The contact / motion module 230 receives contact data from the touch-sensitive surface. Determining the movement of a contact point optionally includes determining the rate (magnitude), velocity (magnitude and direction), and / or acceleration (change in magnitude and / or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 230 and display controller 256 detect contact on the touch pad.
[0082] In some embodiments, the contact / motion module 230 uses a set of one or more intensity thresholds to determine whether an operation has been performed by a user (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of specific physical actuators and can be adjusted without changing the physical hardware of the device 200). For example, without changing the touchpad or touchscreen display hardware, the mouse "click" threshold of the touchpad or touchscreen can be set to any one of a large range of predefined thresholds. In addition, in some specific implementations, a software setting is provided to the user of the device for adjusting one or more intensity thresholds in a set of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by utilizing a system-level click on an "intensity" parameter to adjust multiple intensity thresholds at once).
[0083] The contact / motion module 230 optionally detects gesture input from a user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a finger tap gesture includes detecting a finger press event, and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.
[0084] The graphics module 232 includes various known software components for rendering and displaying graphics on the touch screen 212 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual characteristics) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including, without limitation, text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, and the like.
[0085] In some embodiments, the graphics module 232 stores data to be used to represent graphics. Each graphic is optionally assigned a corresponding code. The graphics module 232 receives one or more codes for specifying the graphics to be displayed from an application program, etc., and also receives coordinate data and other graphic attribute data together if necessary, and then generates screen image data to be output to the display controller 256.
[0086] Haptic feedback module 233 includes various software components for generating instructions used by tactile output generator 267 to produce tactile output at one or more locations on device 200 in response to user interaction with device 200 .
[0087] Text input module 234, which may be a component of graphics module 232, provides a soft keyboard for entering text in a variety of applications (eg, contacts 237, email 240, instant messaging 241, browser 247, and any other application requiring text input).
[0088] The GPS module 235 determines the location of the device and provides this information for use in various applications (e.g., to the phone 238 for use in location-based dialing, to the camera 243 as picture / video metadata, and to applications that provide location-based services, such as the Weather widget, the Local Yellow Pages widget, and the Maps / Navigation widget).
[0089] The digital assistant client module 229 may include various client-side digital assistant instructions that provide client-side functions of the digital assistant. For example, the digital assistant client module 229 is capable of accepting voice input (e.g., voice input), text input, touch input, and / or gesture input through various user interfaces of the portable multifunction device 200 (e.g., microphone 213, accelerometer 268, touch-sensitive display system 212, optical sensor 229, other input control devices 216, etc.). The digital assistant client module 229 is also capable of providing output in the form of audio (e.g., voice output), vision, and / or tactile sensation through various output interfaces of the portable multifunction device 200 (e.g., speaker 211, touch-sensitive display system 212, touch output generator 267, etc.). For example, the output may be provided as voice, sound, alarm, text message, menu, graphic, video, animation, vibration, and / or a combination of two or more of the above. During operation, the digital assistant client module 229 may communicate with the DA server 106 using the RF circuit 208.
[0090] User data and models 231 may include various data associated with the user (e.g., user-specific vocabulary data, user preference data, user-specified name pronunciation, data from the user's electronic address book, to-do list, shopping list, etc.) to provide client-side functionality of the digital assistant. Moreover, user data and models 231 may include various models (e.g., speech recognition models, statistical language modules, natural language processing models, knowledge ontologies, task flow models, service models, etc.) for processing user input and determining user intent.
[0091] In some embodiments, the digital assistant client module 229 may utilize the various sensors, subsystems, and peripherals of the portable multifunction device 200 to gather additional information from the surrounding environment of the portable multifunction device 200 to establish a context associated with the user, the current user interaction, and / or the current user input. In some embodiments, the digital assistant client module 229 may provide the context information or a subset thereof along with the user input to the DA server 106 to help infer the user's intent. In some embodiments, the digital assistant may also use the context information to determine how to prepare and transmit output to the user. The context information may refer to context data.
[0092] In some embodiments, contextual information accompanying user input may include sensor information, such as lighting, ambient noise, ambient temperature, images or videos of the surrounding environment, etc. In some embodiments, contextual information may also include the physical state of the device, such as device orientation, device location, device temperature, power level, speed, acceleration, motion pattern, cellular signal strength, etc. In some embodiments, information related to the software state of the DA server 106, such as the running process of the portable multifunction device 200, installed programs, past and current network activities, background services, error logs, resource usage, etc., may be provided to the DA server 106 as contextual information associated with the user input.
[0093] In some embodiments, the digital assistant client module 229 may selectively provide information stored on the portable multifunction device 200 (e.g., user data 231) in response to a request from the DA server 106. In some embodiments, the digital assistant client module 229 may also elicit additional input from the user via a natural language dialog or other user interface upon request by the DA server 106. The digital assistant client module 229 may communicate the additional input to the DA server 106 to assist the DA server 106 in inferring intent and / or satisfying the user intent expressed in the user request.
[0094] The following references FIG. 7A to FIG. 7C A more detailed description of the digital assistant is described. It should be appreciated that the digital assistant client module 229 may include any number of sub-modules of the digital assistant module 726 described below.
[0095] The application 236 may include the following modules (or instruction sets) or a subset or superset thereof:
[0096] Contacts module 237 (sometimes also referred to as address book or contact list);
[0097] Telephone module 238;
[0098] Video conferencing module 239;
[0099] Email client module 240;
[0100] Instant messaging (IM) module 241;
[0101] Fitness support module 242;
[0102] A camera module 243 for still images and / or video images;
[0103] Image management module 244;
[0104] Video player module;
[0105] Music player module;
[0106] Browser module 247;
[0107] Calendar module 248;
[0108] A widget module 249, which may include one or more of the following: a weather widget 249-1, a stock widget 249-2, a calculator widget 249-3, an alarm widget 249-4, a dictionary widget 249-5, and other widgets acquired by the user and a widget 249-6 created by the user;
[0109] A widget creator module 250 for generating user-created widgets 249-6;
[0110] Search module 251;
[0111] Video and music player module 252, which merges the video player module and the music player module;
[0112] Notepad module 253;
[0113] Map module 254; and / or
[0114] Online video module 255.
[0115] Examples of other applications 236 that may be stored in memory 202 include other word processing applications, other image editing applications, drawing applications, rendering applications, JAVA-enabled applications, encryption, digital rights management, voice recognition, and voice replication.
[0116] In combination with the touch screen 212, display controller 256, touch / motion module 230, graphics module 232, and text input module 234, the contact module 237 can be used to manage an address book or contact list (e.g., stored in the application internal state 292 of the contact module 237 in memory 202 or memory 470), including: adding one or more names to the address book; deleting one or more names from the address book; associating one or more telephone numbers, one or more email addresses, one or more physical addresses, or other information with a name; associating an image with a name; categorizing and classifying names; providing a telephone number or email address to initiate and / or facilitate communications via telephone 238, video conferencing module 239, email 240, or IM 241; and the like.
[0117] In conjunction with RF circuit 208, audio circuit 210, speaker 211, microphone 213, touch screen 212, display controller 256, contact / motion module 230, graphics module 232, and text input module 234, phone module 238 may be used to input a character sequence corresponding to a phone number, access one or more phone numbers in contact module 237, modify an inputted phone number, dial a corresponding phone number, conduct a conversation, and disconnect or hang up when the conversation is complete. As described above, wireless communication may use any of a number of communication standards, protocols, and technologies.
[0118] In combination with the RF circuit 208, the audio circuit 210, the speaker 211, the microphone 213, the touch screen 212, the display controller 256, the optical sensor 264, the optical sensor controller 258, the contact / motion module 230, the graphics module 232, the text input module 234, the contact module 237 and the telephone module 238, the video conferencing module 239 includes executable instructions for initiating, conducting and terminating a video conference between a user and one or more other participants in accordance with user instructions.
[0119] In conjunction with RF circuit 208, touch screen 212, display controller 256, contact / motion module 230, graphics module 232, and text input module 234, email client module 240 includes executable instructions for creating, sending, receiving, and managing emails in response to user instructions. In conjunction with image management module 244, email client module 240 makes it very easy to create and send emails with still images or video images captured by camera module 243.
[0120] In conjunction with the RF circuit 208, the touch screen 212, the display controller 256, the contact / motion module 230, the graphics module 232, and the text input module 234, the instant messaging module 241 includes executable instructions for the following operations: inputting a character sequence corresponding to an instant message, modifying previously input characters, transmitting a corresponding instant message (e.g., using a short message service (SMS) or multimedia message service (MMS) protocol for telephone-based instant messaging or using 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 may include graphics, photos, audio files, video files, and / or other attachments supported in MMS and / or enhanced messaging services (EMS). As used herein, "instant messaging" refers to both telephone-based messages (e.g., messages transmitted using SMS or MMS) and Internet-based messages (e.g., messages transmitted using XMPP, SIMPLE, or IMPS).
[0121] In combination with the RF circuit 208, the touch screen 212, the display controller 256, the contact / motion module 230, the graphics module 232, the text input module 234, the GPS module 235, the map module 254, and the music player module, the fitness support module 242 includes executable instructions for: creating a fitness (e.g., with time, distance, and / or calorie burn goals); communicating with a fitness sensor (mobile device); receiving fitness sensor data; calibrating sensors for monitoring fitness; selecting fitness music and playing it; and displaying, storing, and transmitting fitness data.
[0122] In combination with the touch screen 212, the display controller 256, one or more optical sensors 264, the optical sensor controller 258, the touch / motion module 230, the graphics module 232 and the image management module 244, the camera module 243 includes executable instructions for the following operations: capturing still images or videos (including video streams) and storing them in the memory 202, modifying the characteristics of the still images or videos, or deleting the still images or videos from the memory 202.
[0123] In conjunction with the touch screen 212, display controller 256, touch / motion module 230, graphics module 232, text input module 234, and camera module 243, the image management module 244 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slide show or album), and storing still images and / or video images.
[0124] In combination with the RF circuit 208, the touch screen 212, the display controller 256, the touch / motion module 230, the graphics module 232 and the text input module 234, the browser module 247 includes executable instructions for browsing the Internet (including searching, linking to, receiving, and displaying web pages or portions thereof, as well as attachments and other files linked to web pages) in accordance with user instructions.
[0125] In combination with the RF circuit system 208, the touch screen 212, the display controller 256, the touch / motion module 230, the graphics module 232, the text input module 234, the email client module 240 and the browser module 247, the calendar module 248 includes executable instructions for creating, displaying, modifying and storing calendars and data associated with the calendar (e.g., calendar entries, to-do items, etc.) in accordance with user instructions.
[0126] In conjunction with the RF circuit system 208, the touch screen 212, the display controller 256, the contact / motion module 230, the graphics module 232, the text input module 234, and the browser module 247, the desktop widget module 249 is a mini-application that can be downloaded and used by the user (e.g., the weather desktop widget 249-1, the stock desktop widget 249-2, the calculator desktop widget 249-3, the alarm desktop widget 249-4, and the dictionary desktop widget 249-5) or a mini-application created by the user (e.g., the user-created desktop widget 249-6). In some embodiments, the desktop widget includes an HTML (Hypertext Markup Language) file, a CSS (Cascading Style Sheets) file, and a JavaScript file. In some embodiments, the desktop widget includes an XML (Extensible Markup Language) file and a JavaScript file (e.g., the Yahoo! desktop widget).
[0127] In combination with the RF circuit 208, the touch screen 212, the display controller 256, the touch / motion module 230, the graphics module 232, the text input module 234, and the browser module 247, the desktop widget creator module 250 can be used by users to create desktop widgets (e.g., transferring a user-specified portion of a web page into a desktop widget).
[0128] In combination with the touch screen 212, display controller 256, contact / motion module 230, graphics module 232 and text input module 234, the search module 251 includes executable instructions for searching the memory 202 for text, music, sound, images, videos and / or other files that match one or more search conditions (e.g., one or more user-specified search terms) in accordance with user instructions.
[0129] In conjunction with touch screen 212, display controller 256, contact / motion module 230, graphics module 232, audio circuitry 210, speaker 211, RF circuitry 208, and browser module 247, video and music player module 252 includes executable instructions that allow a user to download and play back recorded music and other sound files stored in one or more file formats (such as MP3 or AAC files), as well as executable instructions for displaying, presenting, or otherwise playing back video (e.g., on touch screen 212 or on an external display connected via external port 224). In some embodiments, device 200 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).
[0130] In conjunction with the touch screen 212, display controller 256, contact / motion module 230, graphics module 232 and text input module 234, the notepad module 253 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.
[0131] In combination with the RF circuit 208, the touch screen 212, the display controller 256, the touch / motion module 230, the graphics module 232, the text input module 234, the GPS module 235 and the browser module 247, the map module 254 can be used to receive, display, modify and store maps and data associated with the maps (e.g., driving directions, data related to stores and other points of interest at or near a particular location, and other location-based data) in accordance with user instructions.
[0132] In conjunction with touch screen 212, display controller 256, contact / motion module 230, graphics module 232, audio circuit 210, speaker 211, RF circuit 208, text input module 234, email client module 240, and browser module 247, online video module 255 includes instructions that allow a user to access, browse, receive (e.g., by streaming and / or downloading), playback (e.g., on the touch screen or on an external display connected via external port 224), send an email with a link to a specific online video, and otherwise manage online videos in one or more file formats such as H.264. In some embodiments, the link to a specific online video is sent using instant messaging module 241 instead of email client module 240. Additional description of the online video application can be found in U.S. Provisional Patent Application No. 60 / 936,562, filed on June 20, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” and U.S. Patent Application No. 11 / 968,067, filed on December 31, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” the contents of which are hereby incorporated by reference in their entirety.
[0133] Each of the modules and applications described above corresponds to an executable instruction set for performing one or more of the functions described above and the methods described in this patent application (e.g., the computer-implemented methods and other information processing methods described herein). These modules (e.g., instruction sets) do not have to be implemented as separate software programs, processes, or modules, and therefore various subsets of these modules may be combined or otherwise rearranged in various embodiments. For example, a video player module may be combined with a music player module into a single module (e.g., Figure 2A In some embodiments, the memory 202 may store a subset of the above modules and data structures. In addition, the memory 202 may store additional modules and data structures not described above.
[0134] In some embodiments, the device 200 is a device where the operation of a predefined set of functions on the device is performed exclusively through a touch screen and / or a touch pad. By using a touch screen and / or a touch pad as the primary input control device for the operation of the device 200, the number of physical input control devices (such as push buttons, dials, etc.) on the device 200 can be reduced.
[0135] The predefined set of functions performed exclusively by the touch screen and / or touchpad optionally includes navigating between user interfaces. In some embodiments, the touchpad, when touched by the user, navigates the device 200 from any user interface displayed on the device 200 to a main menu, a home menu, or a root menu. In such embodiments, a touchpad is used to implement a "menu button." In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a touchpad.
[0136] Figure 2B is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 202 ( Figure 2A ) or memory 470( Figure 4 ) includes an event classifier 270 (e.g., in the operating system 226) and a corresponding application 236-1 (e.g., any one of the aforementioned applications 237-251, 255, 480-490).
[0137] The event classifier 270 receives event information and determines the application 236-1 and the application view 291 of the application 236-1 to which the event information is to be delivered. The event classifier 270 includes an event monitor 271 and an event distributor module 274. In some embodiments, the application 236-1 includes an application internal state 292 that indicates one or more current application views displayed on the touch-sensitive display 212 when the application is active or executing. In some embodiments, the device / global internal state 257 is used by the event classifier 270 to determine which application(s) is currently active, and the application internal state 292 is used by the event classifier 270 to determine the application view 291 to which the event information is to be delivered.
[0138] In some embodiments, the application internal state 292 includes additional information, such as one or more of the following: resumption information to be used when the application 236-1 resumes execution, user interface state information indicating information being displayed by the application 236-1 or information ready to be displayed by the application 236-1, a state queue for enabling a user to return to a previous state or view of the application 136-1, and a repeat / undo queue of previous actions taken by the user.
[0139] Event monitor 271 receives event information from peripherals interface 218. Event information includes information about sub-events (e.g., user touches on touch-sensitive display 212 as part of a multi-touch gesture). Peripherals interface 218 transmits information it receives from I / O subsystem 206 or sensors (such as proximity sensor 266), one or more accelerometers 268, and / or microphone 213 (through audio circuit 210). The information that peripherals interface 218 receives from I / O subsystem 206 includes information from touch-sensitive display 212 or a touch-sensitive surface.
[0140] In some embodiments, event monitor 271 sends requests to peripheral device interface 218 at predetermined intervals. In response, peripheral device interface 218 transmits event information. In other embodiments, peripheral device interface 218 transmits event information only when there is a significant event (e.g., receiving an input above a predetermined noise threshold and / or receiving an input for more than a predetermined duration).
[0141] In some embodiments, the event classifier 270 also includes a hit view determination module 272 and / or an active event identifier determination module 273.
[0142] When the touch-sensitive display 212 displays more than one view, the hit view determination module 272 provides software procedures for determining where within one or more views a sub-event has occurred. A view consists of controls and other elements that a user can see on the display.
[0143] 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 views (of the respective application) in which a touch is detected may correspond to a programmatic level within a programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected may be called a hit view, and the set of events recognized as correct input may be determined based at least in part on the hit view of the initial touch that initiated the touch-based gesture.
[0144] The hit view determination module 272 receives information related to sub-events of touch-based gestures. When an application has multiple views organized in a hierarchy, the hit view determination module 272 identifies the hit view as the lowest view in the hierarchy where the sub-events should be processed. In most cases, the hit view is the lowest level view in 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 272, the hit view typically receives all sub-events related to the same touch or input source for which it was identified as the hit view.
[0145] Active event recognizer determination module 273 determines which view or views within the view hierarchy should receive a particular sequence of sub-events. In some embodiments, active event recognizer determination module 273 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 273 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, higher views in the hierarchy will still remain as actively participating views.
[0146] Event distributor module 274 distributes event information to event identifiers (e.g., event identifier 280). In embodiments including active event identifier determination module 273, event distributor module 274 delivers the event information to the event identifier determined by active event identifier determination module 273. In some embodiments, event distributor module 274 stores the event information in an event queue, which is retrieved by corresponding event receiver 282.
[0147] In some embodiments, operating system 226 includes event classifier 270. Alternatively, application 236-1 includes event classifier 270. In other embodiments, event classifier 270 is a standalone module or is part of another module (such as contact / motion module 230) stored in memory 202.
[0148] In some embodiments, the application 236-1 includes multiple event handlers 290 and one or more application views 291, each of which includes instructions for handling touch events occurring in a corresponding view of the user interface of the application. Each application view 291 of the application 236-1 includes one or more event recognizers 280. Typically, the corresponding application view 291 includes multiple event recognizers 280. In other embodiments, one or more event recognizers in the event recognizer 280 are part of an independent module, such as a user interface toolkit (not shown) or a higher level object from which the application 236-1 inherits methods and other properties. In some embodiments, the corresponding event handler 290 includes one or more of the following: data updater 276, object updater 277, GUI updater 278 and / or event data 279 received from the event classifier 270. The event handler 290 can utilize or call the data updater 276, object updater 277 or GUI updater 278 to update the application internal state 292. Alternatively, one or more of the application views 291 include one or more corresponding event handlers 290. Additionally, in some embodiments, one or more of the data updater 276, object updater 277, and GUI updater 278 are included in the corresponding application view 291.
[0149] The corresponding event identifier 280 receives event information (e.g., event data 279) from the event classifier 270 and identifies the event from the event information. The event identifier 280 includes an event receiver 282 and an event comparator 284. In some embodiments, the event identifier 280 also includes at least a subset of the following: metadata 283, and event delivery instructions 288 (which may include sub-event delivery instructions).
[0150] The event receiver 282 receives event information from the event classifier 270. The event information includes information about a sub-event (e.g., a touch or touch movement). 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 may also include the rate and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another (e.g., from a portrait orientation to a landscape orientation, or vice versa), and the event information includes corresponding information about the current orientation of the device (also referred to as the device posture).
[0151] Event comparator 284 compares event information with predefined event or sub-event definitions, and determines an event or sub-event based on the comparison, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 284 includes event definition 286. Event definition 286 includes the definition of an event (e.g., a predefined sequence of sub-events), such as event 1 (287-1), event 2 (287-2), and other events. In some embodiments, the sub-events in event (287) include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one embodiment, the definition of event 1 (287-1) is a double-click on a displayed object. For example, a double-click includes a first touch (touch start) of a predetermined duration on a displayed object, a first lift (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on a displayed object, and a second lift (touch end) of a predetermined duration. In another example, the definition of event 2 (287-2) is a drag on a displayed object. For example, dragging includes a touch (or contact) of a predetermined duration on a displayed object, movement of the touch on the touch-sensitive display 212, and lifting of the touch (touch end). In some embodiments, the event also includes information for one or more associated event handlers 290.
[0152] In some embodiments, event definition 287 includes definitions of events for corresponding user interface objects. In some embodiments, event comparator 284 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view displaying three user interface objects on touch-sensitive display 212, when a touch is detected on touch-sensitive display 212, event comparator 284 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 290, the event comparator uses the result of the hit test to determine which event handler 290 should be activated. For example, event comparator 284 selects an event handler associated with a sub-event and the object that triggered the hit test.
[0153] In some embodiments, the definition of the corresponding event (287) also includes a delay action that delays delivery of the event information until it has been determined whether the sub-event sequence does or does not correspond to the event type of the event identifier.
[0154] When a corresponding event recognizer 280 determines that a sequence of sub-events does not match any event in event definition 286, the corresponding event recognizer 280 enters an event not possible, event failed, or event ended state, after which subsequent sub-events of the touch-based gesture are ignored. In this case, other event recognizers (if any) that remain active for the hit view continue to track and process sub-events of the ongoing touch-based gesture.
[0155] In some embodiments, the corresponding event identifier 280 includes metadata 283 with configurable properties, flags, and / or lists for indicating how the event delivery system should perform sub-event delivery to actively participating event identifiers. In some embodiments, metadata 283 includes configurable properties, flags, and / or lists for indicating how event identifiers can interact with each other or how they are enabled to interact with each other. In some embodiments, metadata 283 includes configurable properties, flags, and / or lists for indicating whether sub-events are delivered to different levels in a view or programmatic hierarchy.
[0156] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event identifier 280 activates the event handler 290 associated with the event. In some embodiments, the corresponding event identifier 280 delivers the event information associated with the event to the event handler 290. Activating the event handler 290 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event identifier 280 throws a tag associated with the identified event, and the event handler 290 associated with the tag obtains the tag and performs a predefined process.
[0157] In some embodiments, event delivery instructions 288 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instruction delivers the event information to an event handler associated with a sub-event sequence or to an actively participating view. An event handler associated with a sub-event sequence or with an actively participating view receives the event information and executes a predetermined process.
[0158] In some embodiments, data updater 276 creates and updates data used in application 236-1. For example, data updater 276 updates phone numbers used in contact module 237 or stores video files used in video player module. In some embodiments, object updater 277 creates and updates objects used in application 236-1. For example, object updater 277 creates new user interface objects or updates the position of user interface objects. GUI updater 278 updates the GUI. For example, GUI updater 278 prepares display information and sends it to graphics module 232 for display on a touch-sensitive display.
[0159] In some embodiments, one or more event handlers 290 include or have access to data updater 276, object updater 277, and GUI updater 278. In some embodiments, data updater 276, object updater 277, and GUI updater 278 are included in a single module of the corresponding application 236-1 or application view 291. In other embodiments, they are included in two or more software modules.
[0160] It should be understood that the above discussion of event processing for user touches on a touch-sensitive display also applies to other forms of user input that utilize input devices to operate the multifunction device 200, and not all user input is initiated on a touch screen. For example, mouse movement and mouse button presses, optionally combined with single or multiple keyboard presses or holds; contact movement on a touch pad, such as tapping, dragging, scrolling, etc.; stylus input; movement of the device; verbal commands; detected eye movement; biometric input; and / or any combination thereof are optionally used as input corresponding to sub-events for defining events to be recognized.
[0161] Figure 3A portable multifunction device 200 with a touch screen 212 according to some embodiments is shown. The touch screen optionally displays one or more graphics within a user interface (UI) 300. In this embodiment and in other embodiments described below, a user can select one or more of these graphics by, for example, making gestures on the graphics using one or more fingers 302 (not drawn to scale in the accompanying drawings) or using one or more styluses 303 (not drawn to scale in the accompanying drawings). In some embodiments, when the user interrupts contact with one or more graphics, selection of one or more graphics will occur. In some embodiments, gestures optionally include one or more taps, one or more swipes (from left to right, from right to left, up and / or down) and / or rolling of fingers that have been in contact with the device 200 (from right to left, from left to right, up and / or down). In some specific implementations or in some cases, inadvertent contact with a graphic will not select the graphic. For example, when the gesture corresponding to the selection is a tap, a swipe gesture that sweeps over an application icon optionally does not select the corresponding application.
[0162] The device 200 may also include one or more physical buttons, such as a "home" button or a menu button 304. As previously described, the menu button 304 may be used to navigate to any application 236 in a set of applications executable on the device 200. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 212.
[0163] In some embodiments, the device 200 includes a touch screen 212, a menu button 304, a push button 306 for powering on / off the device and for locking the device, one or more volume adjustment buttons 308, a user identity module (SIM) card slot 310, an earphone jack 312, and a docking / charging external port 224. The push button 306 is optionally used to: power on / off the device by pressing the button and keeping the button in a pressed state for a predetermined time interval; lock the device by pressing the button and releasing the button before a predetermined time interval passes; and / or unlock the device or initiate an unlocking process. In an alternative embodiment, the device 200 also accepts voice input for activating or deactivating certain functions through a microphone 213. The device 200 also optionally includes one or more contact strength sensors 265 for detecting the strength of contact on the touch screen 212, and / or one or more tactile output generators 267 for generating tactile output for a user of the device 200.
[0164] Figure 44 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. Device 400 does not have to be portable. In some embodiments, device 400 is a laptop, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system, or a control device (for example, a home controller or an industrial controller). Device 400 typically includes one or more processing units (CPUs) 410, one or more network or other communication interfaces 460, a memory 470, and one or more communication buses 420 for interconnecting these components. Communication bus 420 optionally includes circuits (sometimes called chipsets) that interconnect system components and control communications between system components. Device 400 includes an input / output (I / O) interface 430 with a display 440, which is typically a touch screen display. I / O interface 430 also optionally includes a keyboard and / or mouse (or other pointing device) 450 and a touchpad 455, a tactile output generator 457 for generating tactile output on device 400 (for example, similar to the above reference). Figure 2A The one or more tactile output generators 267 described above), sensors 459 (e.g., optical sensors, acceleration sensors, proximity sensors, touch sensors, and / or sensors similar to those described above) Figure 2A The memory 470 may include one or more storage devices located away from the CPU 410. In some embodiments, the memory 470 stores information related to the portable multifunction device 200 ( Figure 2A ) or a subset thereof. In addition, memory 470 optionally stores additional programs, modules, and data structures not present in memory 202 of portable multifunction device 200. For example, memory 470 of device 400 optionally stores drawing module 480, presentation module 482, word processing module 484, website creation module 486, disk editing module 488, and / or spreadsheet module 490, while portable multifunction device 200( Figure 2A )'s memory 202 optionally does not store these modules.
[0165] Figure 4Each of the above-mentioned elements in can be stored in one or more aforementioned memory devices. Each module in the above-mentioned modules corresponds to an instruction set for performing the above-mentioned functions. The above-mentioned modules or programs (e.g., instruction sets) do not have to be implemented as separate software programs, processes or modules, and therefore the various subsets of these modules can be combined or otherwise rearranged in various embodiments. In some embodiments, memory 470 can store a subset of the above-mentioned modules and data structures. In addition, memory 470 can store other modules and data structures not described above.
[0166] Attention is now turned to embodiments of a user interface that may be implemented on, for example, portable multifunction device 200.
[0167] Figure 5A An exemplary user interface of an application menu on portable multifunction device 200 is shown according to some embodiments. A similar user interface can be implemented on device 400. In some embodiments, user interface 500 includes the following elements, or a subset or superset thereof:
[0168] Signal strength indicators 502 for wireless communications (such as cellular signals and Wi-Fi signals);
[0169] Time 504;
[0170] Bluetooth indicator 505;
[0171] Battery status indicator 506;
[0172] A tray 508 with common application icons, such as:
[0173] o An icon 516 labeled "Phone" of the phone module 238, the icon 416 optionally including an indicator 514 of the number of missed calls or voice messages;
[0174] o an icon 518 labeled “Mail” of the email client module 240, which optionally includes an indicator 510 of the number of unread emails;
[0175] o An icon 520 labeled "Browser" for the browser module 247; and
[0176] o An icon 522 labeled “iPod” of a video and music player module 252 (also referred to as an iPod (trademark of Apple Inc.) module 252); and
[0177] Icons of other applications, such as:
[0178] o Icon 524 labeled "Message" of IM module 241;
[0179] o An icon 526 labeled “Calendar” of the calendar module 248;
[0180] o Icon 528 labeled "Photos" of the image management module 244;
[0181] o An icon 530 labeled “Camera” of the camera module 243;
[0182] o An icon 532 labeled "Online Video" of the online video module 255;
[0183] ○ Icon 534 labeled “Stock Market” of the Stock Market Desktop Applet 249-2;
[0184] o An icon 536 labeled “Map” of the map module 254;
[0185] o Icon 538 labeled “Weather” of the Weather widget 249-1;
[0186] ○ Icon 540 labeled as “Clock” of the alarm clock widget 249-4;
[0187] o An icon 542 labeled “Fitness Support” of the fitness support module 242;
[0188] o An icon 544 of the Notepad module 253 labeled "Notepad"; and
[0189] ○ An icon 546 labeled “Settings” for a settings application or module, which provides access to settings for the device 200 and its various applications 236.
[0190] It should be pointed out that Figure 5A The icon labels shown in are exemplary only. For example, icon 522 of video and music player module 252 may optionally be labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label of a corresponding application icon includes the name of the application corresponding to the corresponding application icon. In some embodiments, the label of a particular application icon is different from the name of the application corresponding to the particular application icon.
[0191] Figure 5B A touch-sensitive surface 551 (eg, touch screen display 212) is shown having a touch-sensitive surface 551 (eg, Figure 4 tablet or touch pad 455) device (e.g., Figure 4Device 400 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 457) for detecting intensity of contacts on touch-sensitive surface 551, and / or one or more tactile output generators 459 for generating tactile output for a user of device 400.
[0192] Although some of the examples that follow will be given with reference to input on a touch screen display 212 (where a touch-sensitive surface and a display are combined), in some embodiments, the device detects input on a touch-sensitive surface that is separate from the display, such as Figure 5B In some embodiments, the touch-sensitive surface (e.g., Figure 5B 551) has a main axis (e.g., Figure 5B 553) corresponding to the principal axis (for example, Figure 5B According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 5B , 560 corresponds to 568 and 562 corresponds to 570) with touch-sensitive surface 551 (e.g., Figure 5B Thus, on a touch-sensitive surface (e.g., Figure 5B 551) and the display of the multi-function device ( Figure 5B When the user input detected by the device on the touch-sensitive surface (e.g., contacts 560 and 562 and their movement) is separated, the device is used to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.
[0193] In addition, although the following examples are given primarily with reference to finger inputs (e.g., finger contacts, single-finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact), followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detection of contact, followed by termination of detection of contact). Similarly, when multiple user inputs are detected simultaneously, it should be understood that multiple computer mice are optionally used simultaneously, or a mouse and finger contact are optionally used simultaneously.
[0194] Fig. 6AAn exemplary personal electronic device 600 is shown. Device 600 includes a body 602. In some embodiments, device 600 may include a device 602 for devices 200 and 400 (e.g., Figures 2A to 4 ) or some or all of the features described in the preceding claims. In some embodiments, device 600 has a touch-sensitive display screen 604, hereinafter referred to as touch screen 604. As an alternative or in addition to touch screen 604, device 600 has a display and a touch-sensitive surface. As with devices 200 and 400, in some embodiments, touch screen 604 (or touch-sensitive surface) may have one or more intensity sensors for detecting the intensity of an applied contact (e.g., a touch). One or more intensity sensors of touch screen 604 (or touch-sensitive surface) may provide output data representing the intensity of a touch. The user interface of device 600 may respond to a touch based on the intensity of the touch, which means that touches of different intensities may invoke different user interface operations on device 600.
[0195] For example, technology for detecting and processing touch intensity can be found in the following related patent applications: International Patent Application Serial No. PCT / US2013 / 040061, filed on May 8, 2013, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” and International Patent Application Serial No. PCT / US2013 / 069483, filed on November 11, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” each of which is hereby incorporated by reference in its entirety.
[0196] In some embodiments, the device 600 has one or more input mechanisms 606 and 608. The input mechanisms 606 and 608, if included, can be physical. Examples of physical input mechanisms include push buttons and rotatable mechanisms. In some embodiments, the device 600 has one or more attachment mechanisms. Such attachment mechanisms, if included, can allow the device 600 to be attached to, for example, hats, glasses, earrings, necklaces, shirts, jackets, bracelets, watchbands, bracelets, pants, belts, shoes, wallets, backpacks, etc. These attachment mechanisms can allow the user to wear the device 600.
[0197] Figure 6BAn exemplary personal electronic device 600 is shown. In some embodiments, the device 600 may include a reference Figure 2A , Figure 2B and Figure 4 Some or all of the components described. Device 600 has a bus 612 that operatively couples an I / O portion 614 to one or more computer processors 616 and a memory 618. I / O portion 614 may be connected to a display 604, which may have a touch-sensitive component 622 and optionally also a touch-intensity sensitive component 624. In addition, I / O portion 614 may be connected to a communication unit 630 for receiving application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular and / or other wireless communication technologies. Device 600 may include input mechanisms 606 and / or 608. For example, input mechanism 606 may be a rotatable input device or a depressible input device and a rotatable input device. In some examples, input mechanism 608 may be a button.
[0198] In some examples, input mechanism 608 may be a microphone. Personal electronic device 600 may include various sensors, such as GPS sensor 632, accelerometer 634, orientation sensor 640 (e.g., compass), gyroscope 636, motion sensor 638, and / or combinations thereof, all of which may be operatively connected to I / O portion 614.
[0199] The memory 618 of the personal electronic device 600 may be a non-transitory computer-readable storage medium for storing computer-executable instructions that, when executed by one or more computer processors 616, may cause the computer processors to perform the following techniques, including processes 800 and 900 ( Figures 8 to 9 ). The computer executable instructions may also be stored and / or transmitted in any non-transitory computer readable storage medium for use by or in conjunction with an instruction execution system, device, or apparatus such as a computer-based system, a system containing a processor, or other system that can obtain instructions from an instruction execution system, device, or apparatus and execute instructions. The personal electronic device 600 is not limited to Figure 6B components and configurations, but may include other components or additional components in a variety of configurations.
[0200] As used herein, the term “indicative representation” refers to a feature that can be displayed on device 200, 400, and / or 600 (FIG. 2, Figure 4 6 ). For example, an image (e.g., an icon), a button, and text (e.g., a link) can each constitute an affordance.
[0201] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface with which a user is interacting. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 4 Touchpad 455 or Figure 5B In the event that an input (e.g., a press input) is detected on the touch-sensitive surface 551 in FIG. 5 , the particular user interface element is adjusted according to the detected input. In the case that a touch screen display (e.g., Figure 2A A touch sensitive display system 212 or Figure 5A In some implementations of the touch screen 212 in FIG. 1 , a detected contact on the touch screen acts as a “focus selector” such that when an input (e.g., a press input by the contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touch screen display, the particular user interface element is adjusted in accordance with the detected input. In some implementations, the focus moves from one area of the user interface to another area of the user interface without corresponding movement of a cursor or movement of a contact on the touch screen display (e.g., by using a tab key or arrow keys to move the focus from one button to another); 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 typically a user interface element (or contact on the touch screen display) that is controlled by the user to deliver the user's intended interaction with the user interface (e.g., by indicating to the device the element of the user interface with which the user desires to interact). For example, when a press input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user intends to activate the corresponding button (rather than other user interface elements shown on the device display).
[0202] As used in the specification and claims, the term "characteristic intensity" of a contact refers to a characteristic of a 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 predefined number of intensity samples or a set of intensity samples collected during a predetermined time period (e.g., 0.05 seconds, 0.1 seconds, 0.2 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds) relative to a predefined event (e.g., after contact is detected, before contact is detected to be lifted, before or after contact begins to move, before contact ends, before or after contact intensity is detected to increase, and / or before or after contact intensity is detected to decrease). 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 value at the top 10% of the contact intensity, the half-maximum value of the contact intensity, the 90% maximum value of the contact intensity, etc. In some embodiments, the duration of the contact is used when determining the characteristic intensity (e.g., when the characteristic intensity is the average value of the intensity of the contact over time). In some embodiments, the characteristic strength is compared to a set of one or more strength thresholds to determine whether the user has performed an operation. For example, the set of one or more strength thresholds may include a first strength threshold and a second strength threshold. In this embodiment, a contact whose characteristic strength does not exceed the first threshold causes a first operation, a contact whose characteristic strength exceeds the first strength threshold but does not exceed the second strength threshold causes a second operation, and a contact whose characteristic strength exceeds the second threshold causes a third operation. In some embodiments, a comparison between the characteristic strength and one or more thresholds is used to determine whether to perform one or more operations (e.g., whether to perform the corresponding operation or to abandon the corresponding operation), rather than to determine whether to perform the first operation or the second operation.
[0203] In some embodiments, a portion of a gesture is identified for determining a characteristic intensity. For example, a touch-sensitive surface may receive a continuous swipe contact that transitions from a starting position and reaches an end position, where the intensity of the contact increases. In this embodiment, the characteristic intensity of the contact at the end position may be based only on a portion of the continuous swipe contact, and not the entire swipe contact (e.g., only the portion of the swipe contact at the end position). In some embodiments, a smoothing algorithm may be applied to the intensity of the swipe gesture before determining the characteristic intensity of the contact. For example, the smoothing algorithm optionally includes one or more of the following: an unweighted sliding average smoothing algorithm, a triangular smoothing algorithm, a median filter smoothing algorithm, and / or an exponential smoothing algorithm. In some cases, these smoothing algorithms eliminate narrow peaks or dips in the intensity of the swipe contact to achieve the purpose of determining the characteristic intensity.
[0204] The intensity of a contact on a touch-sensitive surface may be characterized relative to one or more intensity thresholds, such as a contact detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or a trackpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform an operation different from an operation typically associated with clicking a button of a physical mouse or a trackpad. In some embodiments, when a contact having a characteristic intensity below a light press intensity threshold (e.g., and above a nominal contact detection intensity threshold, contacts lower than the nominal contact detection intensity threshold are no longer detected) is detected, the device will move the focus selector in accordance with the movement of the contact on the touch-sensitive surface without performing an operation associated with the light press intensity threshold or the deep press intensity threshold. Generally speaking, unless otherwise stated, these intensity thresholds are consistent between different groups of user interface illustrations.
[0205] An increase in contact feature intensity from an intensity below a light press intensity threshold to an intensity between the light press intensity threshold and the deep press intensity threshold is sometimes referred to as a "light press" input. An increase in contact feature intensity from an intensity below a deep press intensity threshold to an intensity above the deep press intensity threshold is sometimes referred to as a "deep press" input. An increase in contact feature intensity from an intensity below a contact detection intensity threshold to an intensity between the contact detection intensity threshold and the light press intensity threshold is sometimes referred to as detecting contact on the touch surface. A decrease in contact feature intensity from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold is sometimes referred to as detecting contact lifted from the touch surface. In some embodiments, the contact detection intensity threshold is zero. In some embodiments, the contact detection intensity threshold is greater than zero.
[0206] In some embodiments described herein, one or more operations are performed in response to detecting a gesture that includes a corresponding press input or in response to detecting a corresponding press input performed using a corresponding contact (or multiple contacts), wherein the corresponding press input is detected at least in part based on detecting that the strength of the contact (or multiple contacts) increases to above a press input strength threshold. In some embodiments, the corresponding operation is performed in response to detecting that the strength of the corresponding contact increases to above the press input strength threshold (e.g., a "down stroke" of the corresponding press input). In some embodiments, the press input includes an increase in the strength of the corresponding contact to above the press input strength threshold and the strength of the contact subsequently decreases to below the press input strength threshold, and the corresponding operation is performed in response to detecting that the strength of the corresponding contact subsequently decreases to below the press input threshold (e.g., an "up stroke" of the corresponding press input).
[0207] In some embodiments, the device employs intensity hysteresis to avoid unexpected input, sometimes referred to as "jitter," where the device defines or selects a hysteresis intensity threshold that has a predefined relationship to a press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable proportion of the press input intensity threshold). Thus, in some embodiments, a press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below a hysteresis intensity threshold corresponding to the press input intensity threshold, and a corresponding operation is performed in response to detecting that the intensity of the corresponding contact subsequently decreases to below the hysteresis intensity threshold (e.g., an "up stroke" of the corresponding press input). Similarly, in some embodiments, a press input is detected only when the device detects that the strength of the contact increases from an strength equal to or below a hysteresis strength threshold to an strength equal to or above a press input strength threshold and, optionally, the strength of the contact subsequently decreases to an strength equal to or below the hysteresis strength, and a corresponding operation is performed in response to detecting the press input (for example, depending on the circumstances, the strength of the contact increases or the strength of the contact decreases).
[0208] For ease of explanation, optionally, a description of an operation performed in response to a press input associated with a press input intensity threshold or in response to a gesture including a press input is triggered in response to detecting any of the following: contact intensity increasing to above the press input intensity threshold, contact intensity increasing from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, contact intensity decreasing to below the press input intensity threshold, and / or contact intensity decreasing to below a hysteresis intensity threshold corresponding to the press input intensity threshold. Additionally, in examples where an operation is described as being performed in response to detecting that the intensity of the contact decreases below the press input intensity threshold, the operation is optionally performed in response to detecting that the intensity of the contact decreases below a hysteresis intensity threshold that corresponds to and is less than the press input intensity threshold.
[0209] 3. Digital Assistant System
[0210] Fig. 7A is a block diagram of a digital assistant system 700 according to various embodiments. In some embodiments, the digital assistant system 700 may be implemented on a stand-alone computer system. In some embodiments, the digital assistant system 700 may be distributed across multiple computers. In some embodiments, some of the modules and functions of the digital assistant may be divided into a server portion and a client portion, where the client portion is located on one or more user devices (e.g., devices 104, 122, 200, 400, or 600) and communicates with the server portion (e.g., server system 108) via one or more networks, such as Figure 1 In some embodiments, the digital assistant system 700 may be Figure 1 Specific implementations of the server system 108 (and / or DA server 106) shown in . It should be noted that the digital assistant system 700 is only one example of a digital assistant system, and the digital assistant system 700 may have more or fewer components than shown, may combine two or more components, or may have a different configuration or layout of components. Fig. 7A The various components shown in may be implemented in hardware, software instructions for execution by one or more processors, firmware (including one or more signal processing integrated circuits and / or application specific integrated circuits), or a combination thereof.
[0211] The digital assistant system 700 may include a memory 702, one or more processors 704, an input / output (I / O) interface 706, and a network communication interface 708. These components may communicate with each other via one or more communication buses or signal lines 710.
[0212] In some embodiments, memory 302 may include non-transitory computer-readable media, such as high-speed random access memory and / or non-volatile computer-readable storage media (e.g., one or more disk storage devices, flash memory devices, or other non-volatile solid-state memory devices).
[0213] In some embodiments, the I / O interface 706 can couple the input / output devices 716 of the digital assistant system 700, such as a display, keyboard, touch screen, and microphone, to the user interface module 722. The I / O interface 706, in conjunction with the user interface module 722, can receive user input (e.g., voice input, keyboard input, touch input, etc.) and process the input accordingly. In some embodiments, such as when the digital assistant is implemented on a stand-alone user device, the digital assistant system 700 may include respective components with respect to Figure 2A , Figure 4 , FIG. 6A to FIG. 6B In some embodiments, the digital assistant system 700 may represent a server portion of a specific implementation of a digital assistant and may interact with a user through a client-side portion located on a user device (e.g., device 104, 200, 400, or 600).
[0214] In some embodiments, the network communication interface 708 may include wireless transmission and reception circuits 714 and / or one or more wired communication ports 712. One or more wired communication ports may receive and send communication signals via one or more wired interfaces such as Ethernet, Universal Serial Bus (USB), FireWire, etc. The wireless circuit 714 may receive RF signals and / or optical signals from a communication network and other communication devices and send RF signals and / or optical signals to a communication network and other communication devices. Wireless communication may use any of a variety of communication standards, protocols and technologies, such as GSM, EDGE, CDMA, TDMA, Bluetooth, Wi-Fi, VoIP, Wi-MAX, or any other suitable communication protocol. The network communication interface 708 may enable the digital assistant system 700 to communicate with other devices through a network, such as the Internet, an intranet and / or a wireless network such as a cellular telephone network, a wireless local area network (LAN) and / or a metropolitan area network (MAN).
[0215] In some embodiments, the memory 702, or a computer-readable storage medium of the memory 702, may store programs, modules, instructions, and data structures, including all or a subset of the following: an operating system 718, a communication module 720, a user interface module 722, one or more applications 724, and a digital assistant module 726. In particular, the memory 702 or a computer-readable storage medium of the memory 702 may store instructions for performing the processes 800, 900 described below. The one or more processors 704 may execute these programs, modules, and instructions, and read data from or write data to data structures.
[0216] The operating system 718 (e.g., Darwin, RTXC, LINUX, UNIX, iOS, OS X, WINDOWS, or an embedded operating system such as VxWorks) may include various software components and / or drivers for controlling and managing general system tasks (e.g., memory management, storage device control, power management, etc.), and facilitating communication between various hardware, firmware, and software components.
[0217] The communication module 720 can facilitate communication between the digital assistant system 700 and other devices through the network communication interface 708. For example, the communication module 720 can communicate with the RF circuit 208 of the electronic device, such as at Figure 2A , Figure 4 , FIG. 6A to FIG. 6B The devices 200, 400 and 600 are shown in communication. The communication module 720 may also include various components for processing data received by the wireless circuit 714 and / or the wired communication port 712.
[0218] The user interface module 722 may receive commands and / or input from a user (e.g., from a keyboard, touch screen, pointing device, controller, and / or microphone) via the I / O interface 706 and generate user interface objects on the display. The user interface module 722 may also prepare output (e.g., speech, sound, animation, text, icon, vibration, tactile feedback, lighting, etc.) and transmit it to the user via the I / O interface 706 (e.g., through a display, audio channel, speaker, touchpad, etc.).
[0219] Applications 724 may include programs and / or modules configured to be executed by one or more processors 704. For example, if the digital assistant system is implemented on a stand-alone user device, applications 724 may include user applications such as games, calendar applications, navigation applications, or mail applications. If the digital assistant system 700 is implemented on a server, applications 724 may include, for example, resource management applications, diagnostic applications, or scheduling applications.
[0220] The memory 702 may also store the digital assistant module 726 (or the server portion of the digital assistant). In some embodiments, the digital assistant module 726 may include the following submodules or subsets or supersets thereof: an input / output processing module 728, a speech-to-text (STT) processing module 730, a natural language processing module 732, a dialog flow processing module 734, a task flow processing module 736, a service processing module 738, and a speech synthesis module 740. Each of these modules may have access to one or more of the following systems or data and models of the digital assistant module 726 or subsets or supersets thereof: a knowledge ontology 760, a vocabulary index 744, user data 748, a task flow model 754, a service model 756, and an ASR system.
[0221] In some embodiments, using the processing modules, data, and models implemented on the digital assistant module 726, the digital assistant may perform at least some of the following: converting voice input into text; recognizing the user's intent expressed in natural language input received from the user; actively eliciting and obtaining the information needed to fully infer the user's intent (e.g., by disambiguating words, names, intents, etc.); determining a task flow for implementing the inferred intent; and executing the task flow to implement the inferred intent.
[0222] In some embodiments, Figure 7B As shown in FIG. , the I / O processing module 728 can be Fig. 7A The I / O device 716 interacts with the user or through Fig. 7AThe network communication interface 708 in the user device (e.g., device 104, 200, 400 or 600) interacts with the user device to obtain user input (e.g., voice input) and provide a response to the user input (e.g., as voice output). The I / O processing module 728 can optionally obtain context information associated with the user input from the user device along with receiving the user input or shortly after receiving the user input. The context information may include user-specific data, vocabulary, and / or preferences related to the user input. In some embodiments, the context information also includes the software and hardware state of the user device when receiving the user request, and / or information related to the user's surrounding environment when receiving the user request. In some embodiments, the I / O processing module 728 can also send follow-up questions related to the user request to the user and receive answers from the user. When the user request is received by the I / O processing module 728 and the user request may include voice input, the I / O processing module 728 can forward the voice input to the STT processing module 730 (or speech recognizer) for speech-to-text conversion.
[0223] The STT processing module 730 may include one or more ASR systems. One or more ASR systems may process the voice input received by the I / O processing module 728 to produce a recognition result. Each ASR system may include a front-end voice preprocessor. The front-end voice preprocessor may extract representation features from the voice input. For example, the front-end voice preprocessor may perform Fourier transform on the voice input to extract spectral features, which characterize the voice input as a sequence of representative multidimensional vectors. Moreover, each ASR system may include one or more speech recognition models (e.g., acoustic models and / or language models) and may implement one or more speech recognition engines. Embodiments of speech recognition models may include hidden Markov models, Gaussian mixture models, deep neural network models, n-gram language models and other statistical models. Embodiments of speech recognition engines may include engines based on dynamic time warping and engines based on weighted finite state transducers (WFST). One or more speech recognition models and one or more speech recognition engines may be used to process the extracted representative features of the front-end preprocessor to generate intermediate recognition results (e.g., phonemes, speech strings, and sub-words) and ultimately generate text recognition results (e.g., words, word strings, or symbol sequences). In some embodiments, the speech input may be at least partially processed by a third-party service or on a user device (e.g., device 104, 200, 400, or 600) to generate recognition results. Once the STT processing module 730 generates a recognition result containing a text string (e.g., a word, or a word string, or a symbol sequence), the recognition result may be passed to the natural language processing module 732 for intent inference.
[0224] Further details regarding speech-to-text processing are described in U.S. Utility Patent Application Serial No. 13 / 236,942, filed on September 20, 2011, entitled “Consolidating Speech Recognition Results,” the entire disclosure of which is incorporated herein by reference.
[0225] In some embodiments, the STT processing module 730 may include and / or access a vocabulary of recognizable words via the speech-to-alphabet conversion module 731. Each vocabulary word may be associated with one or more candidate pronunciations of the word represented in the speech recognition phonetic alphabet. Specifically, the vocabulary of recognizable words may include words associated with multiple candidate pronunciations. For example, the vocabulary may include words associated with and In some embodiments, the candidate pronunciations for a word may be determined based on the spelling of the word and one or more linguistic and / or phonetic rules. In some embodiments, the candidate pronunciations may be manually generated, for example, based on a known canonical pronunciation.
[0226] In some embodiments, the candidate pronunciations may be ranked based on their commonalities. comparable In some embodiments, the candidate pronunciation may be ranked higher because the former is a more common pronunciation (e.g., among all users, for users in a particular geographic region, or for any other appropriate subset of users). In some embodiments, the candidate pronunciation may be ranked based on whether the candidate pronunciation is a customized candidate pronunciation associated with the user. For example, a customized candidate pronunciation may be ranked higher than a canonical candidate pronunciation. This is useful for identifying correct nouns that have unique pronunciations that deviate from the canonical pronunciation. In some embodiments, the candidate pronunciation may be associated with one or more speech features, such as geographic origin, nationality, or ethnicity. For example, a candidate pronunciation may be ranked higher than a canonical candidate pronunciation. can be associated with the United States, while the candidate pronunciation The ranking of the candidate pronunciations may be based on one or more characteristics of the user (e.g., geographic origin, nationality, ethnicity, etc.) in a profile of the user stored on the device. For example, the ranking may be determined based on a profile of a user associated with the United States. Based on the user associated with the United States, the candidate pronunciations (associated with the United States) Comparable (UK-associated) candidate pronunciations are ranked higher. In some embodiments, one of the ranked candidate pronunciations may be selected as the predicted pronunciation (eg, the most likely pronunciation).
[0227] When receiving speech input, the STT processing module 730 may be used to determine the phonemes corresponding to the speech input (e.g., using an acoustic model) and then attempt to determine words that match the phonemes (e.g., using a language model). For example, if the STT processing module 730 may first identify a sequence of phonemes corresponding to a portion of the speech input, It can then be determined based on the vocabulary index 744 that the sequence corresponds to the word "tomato".
[0228] In some embodiments, the STT processing module 730 may use approximate matching techniques to determine the words in the utterance. Thus, for example, the STT processing module 730 may determine the phoneme sequence corresponds to the word "tomato", even though the particular phoneme sequence is not one of the candidate phoneme sequences for that word.
[0229] The natural language processing module 732 ("natural language processor") of the digital assistant may take a sequence of words or symbols ("symbol sequence") generated by the STT processing module 730 and attempt to associate the symbol sequence with one or more "executable intents" recognized by the digital assistant. An "executable intent" may represent a task that can be executed by the digital assistant and may have an associated task flow implemented in the task flow model 754. An associated task flow may be a series of programmed actions and steps taken by the digital assistant to perform a task. The scope of the digital assistant's capabilities may depend on the number and variety of task flows that have been implemented and stored in the task flow model 754, or in other words, on the number and variety of "executable intents" recognized by the digital assistant. However, the effectiveness of the digital assistant may also depend on the assistant's ability to infer the correct "executable intent(s)" from a user request expressed in natural language.
[0230] In some embodiments, in addition to the sequence of words or symbols obtained from the STT processing module 730, the natural language processing module 732 may also receive context information associated with the user request, such as from the I / O processing module 728. The natural language processing module 732 may optionally use the context information to clarify, supplement and / or further define the information contained in the sequence of symbols received from the STT processing module 730. The context information may include, for example, user preferences, hardware and / or software state of the user's device, sensor information collected before, during, or shortly after the user's request, previous interactions (e.g., conversations) between the digital assistant and the user, and the like. As described herein, the context information may be dynamic and may change with the time, location, content, and other factors of the conversation.
[0231] In some embodiments, natural language processing may be based on, for example, a knowledge ontology 760. The knowledge ontology 760 may be a hierarchical structure comprising many nodes, each node representing an "executable intent" or an "attribute" related to one or more of an "executable intent" or other "attributes". As described above, an "executable intent" may represent a task that the digital assistant is able to perform, that is, the task is "executable" or can be performed. An "attribute" may represent a parameter associated with a sub-aspect of an executable intent or another attribute. The connection between an executable intent node and an attribute node in the knowledge ontology 760 may define how the parameters represented by the attribute node are subordinate to the task represented by the executable intent node.
[0232] In some embodiments, the knowledge ontology 760 may be composed of executable intent nodes and attribute nodes. In the knowledge ontology 760, each executable intent node may be directly connected to or connected to one or more attribute nodes through one or more intermediate attribute nodes. Similarly, each attribute node may be directly connected to or connected to one or more executable intent nodes through one or more intermediate attribute nodes. For example, Figure 7C As shown, ontology 760 may include a "restaurant reservation" node (i.e., an executable intent node). The attribute nodes "restaurant", "date / time" (for reservations), and "number of people traveling together" may all be directly connected to the executable intent node (i.e., the "restaurant reservation" node).
[0233] In addition, the attribute nodes "cuisine", "price range", "telephone number", and "location" can be child nodes of the attribute node "restaurant", and can all be connected to the "restaurant reservation" node (i.e., executable intent node) through the intermediate attribute node "restaurant". Figure 7C As shown, ontology 760 may also include a "set reminder" node (i.e., another executable intent node). The attribute nodes "date / time" (for setting reminders) and "subject" (for reminders) may both be connected to the "set reminder" node. Since the attribute "date / time" may be related to both the task of making a restaurant reservation and the task of setting a reminder, the attribute node "date / time" may be connected to both the "restaurant reservation" node and the "set reminder" node in ontology 760.
[0234] Executable intent nodes, together with their connected concept nodes, can be described as "domains". In this discussion, each domain can be associated with a corresponding executable intent and involves a set of nodes (and the relationships between these nodes) associated with a particular executable intent. For example, Figure 7CThe knowledge ontology 760 shown in the figure may include an embodiment of a restaurant reservation domain 762 within the knowledge ontology 760 and an embodiment of a reminder domain 764. The restaurant reservation domain includes an executable intent node "restaurant reservation", attribute nodes "restaurant", "date / time" and "number of companions", and sub-attribute nodes "cuisine", "price range", "telephone number" and "location". The reminder domain 764 may include an executable intent node "set reminder" and attribute nodes "subject" and "date / time". In some embodiments, the knowledge ontology 760 may be composed of multiple domains. Each domain may share one or more attribute nodes with one or more other domains. For example, in addition to the restaurant reservation domain 762 and the reminder domain 764, the "date / time" attribute node may also be associated with many different domains (e.g., itinerary domain, travel reservation domain, movie ticket domain, etc.).
[0235] although Figure 7C Two exemplary domains within ontology 760 are shown, but other domains may include, for example, "find a movie," "make a phone call," "find directions," "schedule a meeting," "send a message," and "provide answers to questions," "read a list," "provide navigation instructions," "provide instructions for a task," etc. The "send message" domain may be associated with a "send message" executable intent node, and may also include attribute nodes such as "one or more recipients," "message type," and "message body." The attribute node "recipients" may be further defined, for example, by child attribute nodes such as "recipient name" and "message address."
[0236] In some embodiments, ontology 760 may include all domains (and thus executable intents) that the digital assistant can understand and act upon. In some embodiments, ontology 760 may be modified, such as by adding or removing entire domains or nodes, or by modifying the relationships between nodes within ontology 760.
[0237] In some embodiments, nodes associated with multiple related executable intents may be clustered under a "super domain" in the knowledge ontology 760. For example, the "travel" super domain may include a cluster of attribute nodes and executable intent nodes related to travel. Executable intent nodes related to travel may include "ticket booking", "hotel booking", "car rental", "route planning", "finding points of interest", and so on. Executable intent nodes under the same super domain (e.g., the "travel" super domain) may have multiple shared attribute nodes. For example, executable intent nodes for "ticket booking", "hotel booking", "car rental", "route planning", and "finding points of interest" may share one or more of the attribute nodes "starting location", "destination", "departure date / time", "arrival date / time", and "number of companions".
[0238] In some embodiments, each node in the knowledge ontology 760 may be associated with a set of words and / or phrases related to the attribute or executable intent represented by the node. The corresponding set of words and / or phrases associated with each node may be a so-called "vocabulary" associated with the node. The corresponding set of words and / or phrases associated with each node may be stored in a vocabulary index 744 associated with the attribute or executable intent represented by the node. For example, returning Figure 7B , the vocabulary associated with the node of the "restaurant" attribute may include words such as "food", "drinks", "cuisine", "hunger", "eat", "pizza", "fast food", "meal", etc. For another example, the vocabulary associated with the node of the "make phone call" executable intent may include words and phrases such as "call", "make a phone call", "dial", "talk to...", "call the number", "call", etc. The vocabulary index 744 may optionally include words and phrases in different languages.
[0239] The natural language processing module 732 may receive a sequence of symbols (e.g., a text string) from the STT processing module 730 and determine which nodes are involved by the words in the sequence of symbols. In some embodiments, if a word or phrase in the sequence of symbols is found to be associated with one or more nodes in the knowledge ontology 760 (via the vocabulary index 744), the word or phrase may "trigger" or "activate" these nodes. Based on the number and / or relative importance of the activated nodes, the natural language processing module 732 may select one of the executable intents as the task that the user intends the digital assistant to perform. In some embodiments, the domain with the most "triggered" nodes may be selected. In some embodiments, the domain with the highest confidence (e.g., based on the relative importance of its various triggered nodes) may be selected. In some embodiments, the domain may be selected based on a combination of the number and importance of the triggered nodes. In some embodiments, additional factors are also considered in the process of selecting nodes, such as whether the digital assistant has previously correctly interpreted similar requests from the user.
[0240] User data 748 may include user-specific information, such as user-specific vocabulary, user preferences, user address, the user's default and second languages, the user's contact list, and other short-term or long-term information for each user. In some embodiments, natural language processing module 732 may use user-specific information to supplement the information contained in the user input to further define the user's intent. For example, for a user request to "invite my friends to my birthday party," natural language processing module 732 is able to access user data 748 to determine who the "friends" are and when and where the "birthday party" will be held, without requiring the user to explicitly provide such information in their request.
[0241] Additional details of searching knowledge ontologies based on symbolic strings are described in U.S. Utility Patent Application Serial No. 12 / 341,743, filed on December 22, 2008, entitled “Method and Apparatus for Searching Using An Active Ontology,” the entire disclosure of which is incorporated herein by reference.
[0242] In some embodiments, once the natural language processing module 732 identifies an executable intent (or domain) based on a user request, the natural language processing module 732 may generate a structured query to represent the identified executable intent. In some embodiments, the structured query may include parameters for one or more nodes within the domain of the executable intent, and at least some of the parameters are filled with specific information and requirements specified in the user request. For example, a user may say "help me reserve a seat at 7pm at the sushi restaurant." In this case, the natural language processing module 732 is able to correctly identify the executable intent as "restaurant reservation" based on the user input. According to the knowledge subject, a structured query for the "restaurant reservation" domain may include parameters such as {cuisine}, {time}, {date}, {number of companions}, etc. In some embodiments, based on the voice input and text obtained from the voice input using the STT processing module 730, the natural language processing module 732 may generate a partial structured query for the restaurant reservation domain, wherein the partial structured query includes parameters {cuisine = "sushi category"} and {time = "7pm"}. However, in this embodiment, the user utterance contains insufficient information to complete the structured query associated with the domain. Therefore, based on the currently available information, other necessary parameters such as {number of people traveling together} and {date} may not be specified in the structured query. In some embodiments, the natural language processing module 732 may fill in some parameters of the structured query with the received contextual information. For example, in some embodiments, if the user requests a sushi restaurant "nearby", the natural language processing module 732 may fill in the {location} parameter in the structured query with the GPS coordinates from the user's device.
[0243] In some embodiments, the natural language processing module 732 may transmit the generated structured query (including any completed parameters) to the task flow processing module 736 ("task flow processor"). The task flow processing module 736 may be configured to receive the structured query from the natural language processing module 732, complete the structured query (if necessary), and perform the actions required to "complete" the user's final request. In some embodiments, the various processes necessary to complete these tasks may be provided in the task flow model 754. In some embodiments, the task flow model 754 may include a process for obtaining additional information from the user, and a task flow for performing actions associated with an executable intent.
[0244] As described above, in order to complete the structured query, the task flow processing module 736 may need to initiate additional dialogues with the user in order to obtain additional information, and / or clarify the utterances that may be ambiguous. When such interaction is necessary, the task flow processor 736 may call the dialogue flow processor module 734 to participate in the dialogue with the user. In some embodiments, the dialogue flow processor module 734 may determine how (and / or when) to request additional information from the user, and receive and process the user response. The question may be provided to the user and the answer may be received from the user through the I / O processing module 728. In some embodiments, the dialogue processing module 734 may present the dialogue output to the user via audio and / or video output, and receive input from the user via verbal or physical (e.g., click) response. Continuing with the above embodiment, when the task flow processing module 736 calls the dialogue flow processing module 734 to determine the "number of people traveling together" and "date" information for the structured query associated with the domain "restaurant reservation", the dialogue flow processing module 734 may generate questions such as "how many people in a row?" and "which day to book?" and pass them to the user. Once a response is received from the user, the dialog flow processing module 734 may fill in the structured query with the missing information, or pass the information to the task flow processing module 736 to complete the missing information based on the structured query.
[0245] Once the task flow processing module 736 has completed the structured query for the executable intent, the task flow processing module 736 can proceed to execute the final task associated with the executable intent. Therefore, the task flow processing module 736 can execute the steps and instructions in the task flow model according to the specific parameters contained in the structured query. For example, the task flow model for the executable intent "restaurant reservation" may include steps and instructions for contacting a restaurant and actually requesting a reservation for a specific number of people at a specific time. For example, by using a structured query such as: {restaurant reservation, restaurant = ABC Cafe, date = 2012 / 3 / 12, time = 7pm, number of people = 5}, the task flow processing module 736 can perform the following steps: (1) Log in to the server of ABC Cafe or a restaurant reservation system such as (2) entering the date, time, and number of party information into a form on the website, (3) submitting the form, and (4) making a calendar entry for the reservation in the user's calendar.
[0246] In some embodiments, the task flow processing module 736 can complete the task requested in the user input or provide the informational answer requested in the user input with the assistance of the service processing module 738 ("service processing module"). For example, the service processing module 738 can initiate a phone call, set a calendar entry, call a map search, call or interact with other user applications installed on the user device, and call or interact with third-party services (e.g., restaurant reservation portals, social networking sites, bank portals, etc.) on behalf of the task flow processing module 736. In some embodiments, the protocols and application programming interfaces (APIs) required for each service can be specified by the corresponding service model in the service model 756. The service processing module 738 can access the appropriate service model for the service and generate a request for the service according to the protocol and API required by the service based on the service model.
[0247] For example, if the restaurant has enabled an online reservation service, the restaurant may submit a service model that specifies the necessary parameters for making a reservation and transmits the values of the necessary parameters to the API of the online reservation service. When requested by the task flow processing module 736, the service processing module 738 may use the web address stored in the service model to establish a network connection with the online reservation service and send the necessary parameters for the reservation (e.g., time, date, number of companions) to the online reservation interface in a format according to the API of the online reservation service.
[0248] In some embodiments, the natural language processing module 732, the dialogue processing module 734, and the task flow processing module 736 can be used together and repeatedly to infer and define the user's intention, obtain information to further clarify and refine the user's intention, and finally generate a response (i.e., output to the user, or complete the task) to meet the user's intention. The generated response can be a dialogue response to the voice input that at least partially meets the user's intention. Moreover, in some embodiments, the generated response can be output as a voice output. In these embodiments, the generated response can be sent to a speech synthesis module 740 (e.g., a speech synthesizer), where it can be processed to synthesize a dialogue response in speech form. In other embodiments, the generated response can be data content related to satisfying the user request in the voice input.
[0249] The speech synthesis module 740 may be configured to synthesize speech output for presentation to the user. The speech synthesis module 740 synthesizes speech output based on the text provided by the digital assistant. For example, the generated dialogue response may be in the form of a text string. The speech synthesis module 740 may convert the text string into an audible speech output. The speech synthesis module 740 may use any appropriate speech synthesis technology to generate speech output from the text, including but not limited to concatenation synthesis, unit selection synthesis, two-tone synthesis, specific domain synthesis, formant synthesis, pronunciation synthesis, synthesis based on a hidden Markov model (HMM) and sine wave synthesis. In some embodiments, the speech synthesis module 740 may be configured to synthesize each word based on a phoneme string corresponding to the word. For example, a phoneme string may be associated with a word in the generated dialogue response. The phoneme string may be stored in metadata associated with the word. The speech synthesis model 740 may be configured to directly process the phoneme string in the metadata to synthesize the word in speech form.
[0250] In some embodiments, instead of (or in addition to) using speech synthesis module 740, speech synthesis may be performed on a remote device (e.g., server system 108) and the synthesized speech may be sent to the user device for output to the user. For example, this may occur in some implementations where the output of the digital assistant occurs at the server system. And because the server system typically has more processing power or resources than the user device, it is possible to obtain higher quality speech output than is practical with client-side synthesis.
[0251] Additional details about the digital assistant can be found in U.S. patent application Ser. No. 12 / 987,982, filed on Jan. 10, 2011, and entitled “Intelligent Automated Assistant,” and U.S. patent application Ser. No. 13 / 251,088, filed on Sept. 30, 2011, and entitled “Generating and Processing Task Items That Represent Tasks to Perform,” the disclosures of which are incorporated herein by reference in their entirety.
[0252] 4. Processes for operating digital assistants
[0253] Figure 8A flow chart of a process 800 for operating a digital assistant according to some embodiments is shown. For example, process 800 is performed using one or more electronic devices (e.g., devices 104, 108, 200, 400, or 600) that implement a digital assistant. In some embodiments, process 800 is performed using a client-server system (e.g., system 100), and blocks of process 800 may be divided in any manner between a server (e.g., DA server 106) and a client device. Therefore, although portions of process 800 are described herein as being performed by specific devices of a client-server system, it should be understood that process 800 is not limited thereto. In other embodiments, process 800 is performed only using a client device (e.g., user device 104). In process 800, some blocks are optionally combined, the order of some blocks is optionally changed, and some blocks are optionally omitted. In some embodiments, additional steps may be performed in conjunction with process 800.
[0254] At block 805, natural language user input is received by a user device, such as Figure 1 The natural language input is received by the user device 104. The natural language input is, for example, voice input or text input. In some embodiments, the natural language input may include a request to the user device and / or other devices to perform a task. For example, in the embodiment "Send a car to 1200 Main Street", the natural language input may include a request to the user device to order a car using a ride reservation service. In some embodiments, the natural language input may also specify one or more parameters of the requested task. "1200 Main Street" specifies, for example, a pickup location for a car reservation. In an embodiment, "Order from Domino's", the natural language input may include a request to the user device to order food from the pizza chain Domino's. "myusual" may also specify the food you want to order from the context.
[0255] At block 810, an intent and, optionally, one or more parameters associated with the intent are identified. The intent and parameters may be obtained, for example, from natural language user input. As described, the intent may correspond to a task requested by the user. Thus, identifying (e.g., determining) the intent may include identifying a task specified in the natural language user input and / or inferring an intent corresponding to the requested task based on the language and / or context of the natural language user input. The intent may correspond to any kind of task performed by a user device, and in particular, may correspond to a task performed by one or more applications of the user device, as described in more detail below.
[0256] In some embodiments, intents are associated with (e.g., included in) one or more domains (e.g., intent categories, a set of intents). Each domain may include specific kinds of intents, allowing for intuitive grouping of intents. For example, intents to book a car, cancel a car reservation, and / or any other intent involving tasks commonly associated with ride reservations may be included in the ride reservation domain. In other embodiments, intents to board a flight, cancel a flight, reschedule a flight, obtain flight information, and / or any other intent involving tasks commonly associated with flight travel may be included in the flight travel domain. In other embodiments, intents to provide directions, obtain traffic information, and / or any other intent involving tasks commonly associated with navigation may be included in the navigation domain. In other embodiments, intents to issue a payment, receive a payment, and / or any other intent involving tasks commonly associated with a financial transaction may be included in the financial transaction domain.
[0257] Identifying parameters may include identifying a portion of a natural language input that specifies the manner in which a task corresponding to the intent is to be performed. Parameters may, for example, specify a location (e.g., an address or point of interest), a time, a date, a contact, a type, a text (e.g., to be inserted into an email or message), an amount (e.g., a distance, money), and in some cases, the name of a software application that performs the task. Parameters may also specify other conditions for the task, embodiments of which are described herein.
[0258] The parameters may be identified, for example, using one or more detectors. Each of the detectors may be configured to analyze natural language user input (e.g., a textual representation of the natural language user input) and identify one or more corresponding data types. For example, a first detector may be configured to identify user contacts and a second detector may be configured to identify addresses. Other detectors may identify data types including, but not limited to, phone numbers, names, persons of interest, places of interest, URLs, times, flight numbers, package tracking numbers, and dates.
[0259] In some embodiments, words of a custom vocabulary may be identified as parameters. For example, one or more detectors may be configured to respectively identify a custom vocabulary for one or more applications. The custom vocabulary for an application may include the name of the application (e.g., Uber, Lyft, Instagram, Flickr, WeChat, WhatsApp, LINE, Viber) and / or may include other terms uniquely associated with the application (e.g., UberX, DM, Lyftline, ZipCar).
[0260] In some embodiments, one or more applications may register with an application registration service. The service may be hosted by a server 108 and / or a user device 104 or otherwise accessible by a server 108 and / or a user device 104. Registering in this manner may include specifying one or more custom vocabulary terms associated with the application, and optionally, one or more language models for the custom vocabulary terms. The language models may, for example, provide one or more pronunciations for each of the custom vocabulary terms. The language models provided in this manner may subsequently be used to help identify the use of such custom terms during analysis of natural language user input. In some embodiments, the custom vocabulary may be included in the vocabulary index 744 ( Figure 7B )middle.
[0261] In some embodiments, one or more parameters may be inferred from the natural language user input. For example, in the embodiment "Please drive me to the stadium", one parameter associated with the intent may be inferred to be the user's location. In another embodiment "Repay John for the meal", one parameter associated with the intent may be inferred to be the amount of money.
[0262] In some embodiments, an intent is identified based on natural language user input, and parameters associated with the intent are subsequently identified. Moreover, in some embodiments, parameters that are not associated with an intent are not identified. For example, an intent corresponding to a direction (e.g., driving directions) may be associated with parameters that specify one or more locations (e.g., a starting point and / or a destination) and / or a transit mode. For example, consider the embodiment "Please give me real-time driving directions to 1200 Street." In this way, the identified intent corresponds to a task that provides directions, "driving" is a parameter that specifies a transit mode, and "1200 Street" is a parameter that specifies a location. The portion of the user input "real-time" is not a parameter associated with the identified intent. Therefore, although "real-time" may be a valid parameter for some intents, "real-time" will not be recognized as a parameter during operation.
[0263] In other embodiments, one or more parameters may be identified first and the intent may be identified based on the identified one or more parameters. In other embodiments, the intent and the parameters associated with the intent may be identified simultaneously.
[0264] In some embodiments, the intent and parameters of the natural language user input are received by a user device, such as Figure 1 In other embodiments, the user device provides the natural language user input (or a representation thereof) to the server, such as Figure 1 The server 108 of the present invention is used to identify (e.g., determine) the intent and parameters of the natural language user input, as described. The server then provides (transmits) the identified intent and parameters to the user device.
[0265] Optionally, once the intent and any parameters are identified, the user device determines the identified intent and / or parameters to the user of the user device, and in some cases, determines the inferred parameters to the user of the user device. Determining in this manner may include prompting the user to determine the identified intent and all identified parameters associated with the intent in response to a natural language query. For example, in response to a user input "Please drive me to the airport", the user device may provide a natural language query "Do you want to drive to the airport from your current location?" The natural language query provided by the user device may be provided to the user as text using a touch-sensitive display of the user device, and / or may be provided to the user as speech using an audio output component of the user device (e.g., speaker 211 of FIG. 2). The user may respond to the natural language query, for example, by providing the natural language user input to the user device.
[0266] Optionally, the user device determines the various parameters. In some embodiments, this may include prompting the user to determine one or more parameters. For example, in response to a user input "Please drive me to the station", the user device may provide a natural language query "Did you mean Penn Station?" As another embodiment, in response to a user input "Pay John $5", the user device may provide a natural language query "Did you mean John Smith?" The natural language query provided by the user device may be provided to the user as text using a touch-sensitive display of the user device, and / or may be provided to the user as speech using an audio output component of the user device (e.g., speaker 211 of FIG. 2 ). The user may respond to the natural language query, for example, by providing the natural language user input to the user device.
[0267] In some embodiments, one or more parameters are contexts. Thus, the user device may determine (e.g., parse) one or more parameters based on context information. The context information may be context information of the user device (or any data stored therein) and / or context information of a user of the user device. For example, a natural language user input may say "Please send a car to my house." Because "my house" is a context parameter and no real location is specified, the user device may determine the location of the user device and identify the determined location as a parameter (i.e., instead of "my house"). As another embodiment, a natural language user input may say "Call him back." Because "he" is a context parameter and no specific contact is specified, the user device may determine the contact that "he" wants and pass the contact as a parameter (i.e., instead of "he").
[0268] In some embodiments, the identified intents and parameters are implemented as intent objects. When implemented in this way, each intent object is an object (e.g., a data structure, a programming object) and corresponds to a corresponding intent. Each intent object may include one or more fields (e.g., instance variables) corresponding to one or more parameters, respectively. For example, an intent object corresponding to a ride reservation intent may be generated (e.g., instantiated) as shown in the following pseudo code:
[0269]
[0270]
[0271] As will be appreciated by those skilled in the art, the above pseudo code is illustrative only, and the intent object may be implemented in other ways.
[0272] By implementing intent as an intent object, intent may be language agnostic. As described, intent may be obtained from natural language user input. Thus, the same intent may be obtained from natural language input provided in any number of spoken languages. For example, English natural language user input "Send an Uber to 1200 Park Avenue" and German natural language user input "Send an Uber to 1200 Park Avenue" each result from the same intent identified (and from the same intent object).
[0273] At block 815, a software application associated with the intent may be identified (eg, selected). Typically, this may include identifying one or more software applications configured to perform a task corresponding to the intent.
[0274] In some embodiments, identifying a software application may include determining one or more domains corresponding to an intent and identifying an application corresponding to the domain. As described, one or more software applications may register with an application registration service. Registering in this manner may include specifying which domains (e.g., a ride reservation domain, a flight travel domain, a navigation domain) correspond to the software application. An application corresponding to a domain may support each of the intents specified by the domain or may only support some of the intents specified by the domain. In some embodiments, an application may register with each intent, and identifying an application may include identifying an application corresponding to the identified intent.
[0275] In some embodiments, an application is identified based on the identified parameters. For example, based on the user input "send a black car to the airport", an intent to order a car using a ride booking service and a parameter specifying the type of vehicle (i.e., "black car") may be identified. Although several available applications may be configured to book a car in general, those applications configured to book a "black car" may be identified. As another example, based on the user input "send a message to Sam saying hello 'Hello'". Although several applications may be configured to send messages, those applications with contact information for the contact Sam may be identified.
[0276] In some embodiments, only applications installed on the user device and / or accessible to the user device are identified. For example, while several available applications may be configured to perform a task, those applications accessible to the user device are identified. Accessible applications include applications that reside and / or are installed on the user device and also include applications that are remotely accessible to the user device, such as on one or more other devices.
[0277] Therefore, in at least some embodiments, the application of identification is an application configured to perform tasks according to the parameters of identification and accessible to the user device. In some embodiments, multiple applications can meet these criteria, but the user device may wish to identify fewer applications, or a single application. Therefore, the application can also be identified based on the previous use of the application of the user device. In some embodiments, for a given intention, the application most recently used to perform the task corresponding to the intention is identified. Consider the user input "call Robo", where the intention (i.e., dial a phone call) and the parameter (i.e., "Robo") can be identified. In this embodiment, the application last used to dial a phone call is identified. In other embodiments, the application most commonly used to perform the task corresponding to the intention is identified. For the same embodiment, the application most commonly used to dial a phone call is identified. In some embodiments, the application is further selected according to one or more parameters. For example, the application most recently used to dial a phone call to the contact Robo is identified, or the application most commonly used to dial a phone call to the contact Robo is identified. In some embodiments, a default application can be specified for one or more specific tasks and / or parameters by a user or a digital assistant, for example. The user can specify, for example, to use the first application when calling the first contact and to use the second application when calling the second contact.
[0278] As described, in some cases, the natural language user input may include custom vocabulary that may be identified as one or more parameters. In some embodiments, such custom vocabulary includes application names, and thus the application may be identified based on the presence of custom vocabulary in the input. For example, the natural language user input may speak "Call Robo using Skype." In response, the software application Skype may be the identified software application. In another embodiment, the natural language input may speak "Play the Beatles on Spotify" and in response, the software application Spotify may be the identified software application.
[0279] The custom vocabulary may also include terms that are uniquely associated with an application. Thus, such terms may be identified as parameters and used to identify an application. In the example "Send me an UberX", "UberX" is a term in the custom vocabulary of the software application Uber and as a result Uber is identified as a software application. In the example "Tweet I hope the Sharks win the trophy", "Tweet" is a term in the custom vocabulary of the software application Twitter and as a result Twitter is identified as a software application.
[0280] In some embodiments, applications that are not configured to perform tasks according to the identified parameters may be accessed by the user device. As a result, the user device may access (e.g., download and / or install) applications that are configured to perform tasks according to the identified parameters. In some embodiments, the user device may identify multiple software applications and provide a list of software applications to the user. The user may select one or more applications, and the user device may access the one or more selected applications.
[0281] At block 820, the intent and parameters are provided to the identified software application. In some embodiments, the intent and parameters are provided to the software application as an intent object.
[0282] In some embodiments, intents and parameters may be selectively provided to the software application based on the state of the user device. As an embodiment, intents and parameters may be selectively provided to the user device based on whether the user device is in a locked state. In some embodiments, the application may be allowed to receive specific intents and parameters when the device is in a locked state. In other embodiments, the application may be allowed to receive specific intents and parameters when the user device is not in a locked state. Whether the application can receive specific intents for a specific state of the user device can be specified by the software application, for example, during a registration process using an application registration service.
[0283] At block 825, the user device may receive one or more responses from the software application. In some embodiments, the user device receives a response for each parameter provided to the software application. Each response may, for example, indicate whether the parameter is valid or whether additional user input is required. If the response indicates that the parameter is valid, no further action is taken for the parameter.
[0284] If the response provided by the software application does not indicate that the parameter is valid, the response may indicate that clarification of the parameter is needed. For example, the parameter may be inappropriate (i.e., invalid) and the software application may request additional input from the user. As an example, consider a user input of "send a blue car to 1200 Main Street." Although the user requested a blue car, the ride booking application (e.g., Uber, Lyft) may not allow the selection of a blue car (e.g., blue car may not be a supported parameter or the application may determine that no blue cars are currently available). Therefore, in the event that the parameter is inappropriate (e.g., the user specified an invalid type of car), the application may request that an appropriate (e.g., valid) value for the parameter (e.g., car type) be provided. For example, referring to Fig. 10A , based on the response from the software application indicating that the parameter is inappropriate, the user device may provide a natural language query 1002 to prompt the user to select a valid parameter. In the present embodiment, the user device provides a natural language query requiring the user to select a valid car type. The natural language query 1002 may be provided to the user as text using the touch-sensitive display of the user device, and / or may be provided to the user as voice using the audio output component of the user device. As shown in the figure, in some embodiments, the user device may provide (e.g., display) one or more candidate parameters 1004 to the user for selection. In the present embodiment, the candidate parameters 1004 include "budget", "black car", "SUV" and "shared". In some embodiments, the candidate parameters 1004 provided in this manner may be provided by the software application. The user device may select one of the candidate parameters by providing touch input and / or providing natural language user input to the user device, and in response, the user device may provide the selected candidate parameter to the software application.
[0285] If the response provided by the software application does not indicate that the parameter is valid, the response may indicate that disambiguation of the parameter is required. As a result, the user device may request input from the user to disambiguate the parameter. In the embodiment user input "Call Tom", the parameters of the contact Tom may be provided to the software application configured to make a call. If, when determining the contact information (e.g., phone number) of the contact Tom, the software application determines that there are multiple contacts named "Tom", the software application may request the user to specify which "Tom" is wanted. As part of the request, the software application includes a disambiguation list with multiple candidate parameters in the response. The user device may provide a natural language query to ask the user to select a candidate parameter. Moreover, the candidate parameters of the disambiguation list may be displayed to allow the user to select. The user may select one of the candidate parameters, for example, by providing touch input and / or providing natural language user input, and the user device may provide the selected candidate parameter to the software application.
[0286] Performing a task may require the user to specify one or more parameters of a particular type. In some embodiments, the natural language user input may omit one or more requested parameters. Thus, the software application optionally provides one or more responses indicating that the required parameters, if any, are not specified. Consider the user input "Send a car to 1200 Main Street." Although cars are typically requested using user input, a ride booking application identified based on the user input may request selection of a particular type of car. Thus, in the event that a parameter is missing (e.g., the user did not specify the type of car), the application may request that an approved value for the parameter (e.g., the type of car) be provided. Again referring to Fig. 10A , the user device may provide a natural language query 1002 to prompt the user to specify valid parameters. Thereafter, the user may select a candidate parameter, for example, from a candidate parameter list, and the selected parameter may be provided to the software application, as described above.
[0287] Once the software application indicates that each parameter is valid and no additional information is requested, the user device can confirm the intent to the software application at block 830. In particular, the user device can request notification that, given the intent and the parameters associated with the intent, the software application can successfully perform the task corresponding to the intent.
[0288] Once the software application provides a notification indicating that the software application can perform a task, the user device optionally confirms the intent to the user. For example, the user device may provide a natural language query "Can I get an uberX at your location, would I like to request it?" The user may confirm or deny the intent through touch input or natural language input. In some embodiments, the notification provided by the software application may include information provided to the user. The information may, for example, allow the user to make a more informed decision when prompted for confirmation. For example, the user device may provide a natural language query "Can I send an uberX to your location in 9 minutes, would I like to request it?"
[0289] Thereafter, the user device causes (eg, instructs) the software application to perform a task corresponding to the intent according to the parameters.
[0290] At block 835, the user device receives a result reply from the software application indicating whether the software application successfully performed the task. The result reply indicating that the task was not performed may also indicate one or more reasons for failure. In some embodiments, the user device may provide an output, such as a natural language output, to the user indicating one or more reasons for failure.
[0291] The result response indicating successful performance of the task may include one or more response items. Each response item may be a result determined (e.g., received, generated) by the software application when performing the task. For example, a response item corresponding to booking a car using a ride booking application may include car type, license plate number, driver name, arrival time, current car location, pickup location, destination, estimated journey time, estimated cost and estimated journey route, service type (e.g., Uberpool vs. uberX). As another example, a response item corresponding to initiating a workout session using a fitness application may include confirmation that the session has been initiated, workout duration, activity type, and one or more goals.
[0292] In some embodiments, one or more response items may be provided to the user. Fig. 10B , for example, one or more response items may be provided to the user as natural language output 1012, text input, and / or audio output. The response items may also be provided visually. For example, a map 1014 of an estimated journey route may be provided to the user. It should be understood that the response items may be provided to the user in any desired manner.
[0293] In some embodiments, the software application may specify the manner in which one or more response items are provided to the user. That is, the software application may determine the manner in which the response items are displayed and / or spoken to the user and the digital assistant may provide each response item accordingly.
[0294] In some embodiments, the software application may specify a manner in which response items are provided using the UI extension of the digital assistant. For example, the user device may provide the software application with a set of view controller parameters (e.g., fields that may be provided to a view controller for display), and in response, the software application may provide a set of view controller parameter values. The set of view controller parameter values may indicate which response items are to be displayed in each field of the view controller and / or the manner in which the response items are displayed in each field.
[0295] In other embodiments, the digital assistant can determine how to provide the answer item. In other embodiments, calling the software application allows the user to directly interact with the software application. In some embodiments, calling the application in this way can terminate the session with the digital assistant.
[0296] In some embodiments, the permissions of the software application are verified, for example, before the intent and parameters are provided to the software application. The user device may, for example, determine whether the software application is allowed to access data associated with a particular intent. The determination may be made based on the permissions configured on the user device. In the embodiment "Send a black car at my location", "location" may be a context parameter that requires context information (e.g., location data) of the user device. Therefore, before resolving the location of the user device and providing the location as a parameter to the software application, the user device may first determine whether the software application is allowed to access the information. If the software application is allowed to access the data, the operation proceeds as described. If the software application is not allowed to access the data, the intent and parameters are not provided to the software application and the task is not performed.
[0297] In some embodiments, the natural language input may include multiple task requests. Thus, based on the natural language input, multiple intents and / or multiple applications may be identified. Optionally, parameters associated with each intent are also identified. The natural language input "Please drive me to the airport and tell me the flight status" may, for example, include both an intent to book a car and an intent to obtain the status of the user's flight. In some embodiments, the tasks corresponding to each intent may be performed sequentially or simultaneously.
[0298] In some embodiments, the natural language input may include multiple related task requests. For example, in some embodiments, the request task of the natural language user input may depend on the completion of another request task of the natural language input. In the embodiment "Email me directions to the airport", two tasks are requested: the first task is to provide directions and the second task is to send an email. The parameter "I" specifies a specific contact and is a parameter of the intent to send an email, and the parameter "airport" is a parameter that specifies the destination of the intent to provide directions. Because sending directions via email requires that directions be provided first, the second task (email) depends on the first task (providing directions). Therefore, the task of obtaining directions is performed first.
[0299] In some embodiments, intents may be provided between applications. For example, an application may provide an intent object to another application to cause the application to perform a task. In this embodiment, both intents (provide directions and email) may be provided to a map application to provide requested directions. A second intent, or an intent to send an email, may be provided to the map application as a parameter, for example. Based on the first intent, or the intent to provide directions, the map application may provide the requested directions. Subsequently, the map application may provide a second intent to the email application, for example, including an intent object for directions as a parameter. In response, the email application may send the directions via email as requested.
[0300] As another example, a user may provide user input "Please drive me to the Sharks game" while browsing a sports application (e.g., an ESPN application). In response, the sports application, which has information about the game, may pass an intent (e.g., reserve a car) and parameters (e.g., the address of the game) to a ride booking application. In some embodiments, the intent and parameters may be provided as an intent object.
[0301] As another example, a user may provide user input "Pay my buddy $5" while using a ride booking application. In response, the ride booking application may pass the intent (e.g., pay) and the parameter ($5) to a payment application (e.g., PayPal, Venmo, an online payment service). As described, in some embodiments, the intent and the parameter may be provided as an intent object.
[0302] Fig. 9 A flow chart of a process for operating a digital assistant according to some embodiments is shown. Process 900 can be used, for example, to implement Figure 8 At least a portion of process 800 includes but is not limited to Figure 8 Block 815 and / or block 820. Process 900 is performed, for example, using one or more electronic devices (e.g., devices 104, 108, 200, 400, or 600) that implement a digital assistant. In some embodiments, process 900 is performed using a client-server system (e.g., system 100), and the blocks of process 900 may be divided in any manner between a server (e.g., DA server 106) and a client device. Therefore, although portions of process 900 are described herein as being performed by specific devices of a client-server system, it should be understood that process 900 is not limited to this. In other embodiments, process 900 is performed only using a client device (e.g., user device 104). In process 900, some blocks are optionally combined, the order of some blocks is optionally changed, and some blocks are optionally omitted. In some embodiments, additional steps may be performed in conjunction with process 900.
[0303] At block 905, natural language user input is received by a user device, such as Figure 1 The natural language input may be received by the user device 104. As described, the natural language input may include a request to the user device and / or another device to perform a task and may also specify one or more parameters of the requested task.
[0304] At block 910, an intent and optionally one or more parameters associated with the intent are identified. The intent and parameters may be obtained from natural language user input. As previously described, an intent may correspond to any kind of task performed by a user device, and in particular, may correspond to a task performed by one or more applications of the user device. The parameters associated with an intent may identify a portion of the natural language input that specifies the manner in which the task corresponding to the intent is to be performed. In an embodiment, the intent of "Please drive me to the airport" corresponds to the task of booking a car and "airport" is a parameter that specifies the destination. Assuming the user's intent is to book a car, the user's location may also be a parameter (e.g., an inferred parameter).
[0305] At block 915, it is determined whether the task corresponding to the intent can be satisfied. In some embodiments, the determination may include determining whether an application configured to perform the task according to the parameters is accessible from the user device. In this embodiment, it is determined whether the user device has access to an application configured to reserve a car at the location of the user device. As described, accessible applications are those applications that are stored locally on the user device and that are remotely accessible by the user device.
[0306] Based on determining that a task corresponding to the intent can be satisfied, at block 920, the intent and parameters are provided to a software application. For example, if it is determined at block 915 that the user device has access to a software application that is configured to perform the requested task according to any identified parameters, the intent and parameters are provided to the application to perform the task. In this embodiment, this includes determining whether a software application configured to reserve a car at the location of the user device is accessible from the user device. For example, the ride reservation application Lyft may be installed on the user device and may be used to reserve a car according to embodiments described herein.
[0307] Based on determining that the task corresponding to the intent cannot be satisfied, at block 925, a list of one or more software applications is provided. The list of one or more software applications may, for example, include one or more software applications configured to perform the task associated with the intent according to any identified parameters. In some embodiments, the one or more software applications in the list may be identified, for example, based on one or more domains associated with the intent (the cancel application may be registered with one or more domains). Fig. 10C Once a list of software applications (e.g., a ride booking application) is determined, the user device may provide the list to the user. As shown, providing the list may include providing natural language input 1022 requesting the user to select an application from one or more lists of software applications. In some embodiments, the list is generated by the user device. In other embodiments, the list of software applications is generated by a server and provided to the user device, which in turn may provide the list to the user, as described.
[0308] At block 930, the user device receives user input indicating a selection of one or more software applications in the list of one or more software applications. The user input may be a touch input on a touch-sensitive display of the user device and / or may be a natural language user input.
[0309] At block 935, the intent and parameters are provided to the software application selected by the user. In some embodiments, providing the intent and parameters includes downloading and / or installing the software application so that the user device can access the software application locally. In other embodiments, this includes remote access to the selected application.
[0310] As described, in response to the intent and parameters, the software application may provide one or more responses. Once the parameters are verified, the user device may confirm the intent to the software application and cause the software application to perform the task. The user device may thereafter receive the resulting response and optionally provide one or more response items of the resulting response to the user.
[0311] Reference is made herein to providing natural language output and / or natural language queries to a user of a user device. In some embodiments, the manner in which the natural language output and queries are provided to the user may depend on the type or state of the user device. If, for example, the user device is a mobile phone, the user device may provide queries using both text and audio. If on the other hand the user device is a speaker, the user device may provide queries using only audio. As another embodiment, if the user device is a mobile phone that is not paired with a headset, the user device may provide queries using text and / or relatively short natural language queries. If the user device is paired with a headset, the user device may provide queries using only relatively long natural language queries.
[0312] Fig. 10D An exemplary data flow of a digital assistant system according to some embodiments is shown. In some embodiments, one or more of processes 800, 900 may be used to implement Fig. 10D data stream. Fig. 10D An exemplary data flow of a digital assistant system 1030 according to some embodiments is shown. Specifically, Fig. 10D The data flow of the application registration process and the data flow of the execution task are shown. Data flows 1031-1041 can be related to the application registration process ( Fig. 10D ) and data flows 1043-1051 may be associated with the execution of tasks ( Fig. 10D The solid line in the figure shows the relationship between the two.
[0313] Typically, the data flow associated with the application registration process involves registration of the application with an application registration service (e.g., an authentication service), whereby the application and the customized vocabulary corresponding thereto can be accessed and / or utilized by a digital assistant to perform tasks.
[0314] In operation, in data flow 1031, an application is submitted to an application browsing module 1032. Both a language model corresponding to the application and the intent of the application may also be submitted. The language model may include a custom vocabulary for the application. In turn, in data flow 1033, the application browsing module 1032 may provide the application, the custom vocabulary, and / or the intent of the application to a verification service 1034. The verification service 1034 may determine whether to verify the application, for example, based on whether the application is operable with a digital assistant. This may, for example, include ensuring that any intent of the application corresponds to one or more domains of the application. For example, the verification service may reject an instant messaging application associated with the intent of booking a car because the domain and intent do not match. In data flow 1035, the verification service 1034 may provide a verification response indicating whether the application is valid.
[0315] If the verification service 1034 indicates that the application is valid, the application browsing module 1032 provides the application (as verified) to the application storage device 1036. Generally, the application can be downloaded by the user device 1040 via the DA server 1038 and / or accessed in the application storage device 1036, as indicated by the data flow 1039. In some embodiments, the user device 1040 can be Figure 1 The user device 104, and the DA server 1038 can be Figure 1 DA server 106. This may, for example, cause the application list (e.g., info.plist) of the user device 1040 to be updated and / or synchronized with the DA server 1038. In data flow 1041, the verification service may provide the application's custom vocabulary (e.g., runtime vocabulary) to the DA server 1038 to facilitate parsing natural language input, as described.
[0316] Typically, the data flow associated with performing a task involves providing an intent and, optionally, one or more parameters of an application for performing the task corresponding to the intent.
[0317] In operation, in data stream 1043, the user device 1040 may provide natural language input to the DA server 1038. In some embodiments, the natural language input may be provided by the digital assistant 1042 of the user device 1040. Based on the natural language input, the DA server 1038 may identify one or more tasks requested in the natural language input and one or more parameters associated with the intent. In addition, the DA server 1038 may identify an application for performing the task associated with the intent. In some embodiments, the name (or other form of identifier) of the identified application 1044 may be a parameter of the intent. In data stream 1045, the DA server 1038 thereafter provides the intent, parameters, and identification of the identified application 1044 to the user device 1040 (e.g., the digital assistant 1042 of the user device 1040). In some embodiments, the intent and parameters may be provided to the user device 1040 as an intent object.
[0318] In response, the digital assistant determines whether to allow the identified application 1044 to access information associated with the identified parameter. For example, if the parameter is the location of the user device 1040, the digital assistant queries the data permission 1046 to determine whether the application 1044 is allowed to access the location data.
[0319] The user device (e.g., the digital assistant 1042 of the user device) provides the intent to the application, allowing the application to access data for each parameter. As described, the application may reside on the user device 1040. In other embodiments, the application may reside on one or more other devices, and the intent may be transmitted to the application via one or more networks. As described, if the application determines that one or more parameters are missing, inappropriate, and / or unclear, the application 1044 may then request input from the user of the user device 1040. In some embodiments, the query entered by the user may be provided as a natural language query generated by the DA server 1038. Thus, in data flow 1051, the user device 1040 may request, and subsequently receive, one or more natural language queries. Once all parameters are resolved, the application 1044 may perform the task corresponding to the intent and provide a result response indicating whether the task was successfully performed.
[0320] For example, using one or more electronic devices implementing a digital assistant (e.g., device 104, 108, 200, 400, or 600) to perform (e.g., generate) Fig. 10D In particular, the data flows provided between the DA server 1038 and the digital assistant 1042 of the user device 1040 are shown as depending on the client server architecture. In other embodiments, the DA server 1038 may be implemented as a process and / or service on the user device 1040. Thus, in some embodiments, the data flows exchanged between the DA server 1038 and the digital assistant 1042 may be exchanged only on the user device 1040.
[0321] Fig. 10E An exemplary data flow of a digital assistant system 1060 according to some embodiments is shown. In particular, Fig. 10E An exemplary data flow for the application registration process is shown and can be used to implement the Fig. 10D The application registration process is discussed in . Furthermore, Fig. 10E The components of Fig. 10D For the purpose of brevity, the description of its functions and operations will not be repeated.
[0322] At data flow 1065, the validation vocabulary is provided from the validation service 1034 to the global application vocabulary storage 1060. In general, the global application vocabulary storage can store language models and / or vocabularies for any number and / or versions of software applications. At data flows 1061 and 1063, the speech training module 1062 and the natural language training module 1064 are trained to recognize natural language and process application-specific vocabulary accompanying the validation application. Based on the data, the global application vocabulary storage can generate and / or train one or more language models that allow the digital assistant to recognize and process utterances containing application-specific vocabulary.
[0323] In user equipment, such as Fig. 10D During operation of user device 1040 of the present invention, runtime-specific global application vocabulary storage may receive vocabulary and / or language models for one or more applications of the user device from global application vocabulary storage 1060. The vocabulary may be specific to a user ID of a user of the user device and / or may be specific to a version of an application and / or operating system of the user device. Based on the vocabulary, one or more terms of the natural language input may, for example, be identified as parameters.
[0324] According to some embodiments, Fig.11 A functional block diagram of an electronic device 1100 configured according to the principles of various described embodiments is shown, including reference Figure 8 The functional blocks of the device are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of the various described embodiments. It should be understood by those skilled in the art that Fig.11 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various embodiments. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.
[0325] like Fig.11 As shown, the electronic device 1100 includes a touch-sensitive display unit 1102 and a processing unit 1108 optionally coupled to the touch-sensitive display unit 1102. In some embodiments, the processing unit 1108 includes a receiving unit 1110, an identifying unit 1112, a providing unit 1114, and optionally, an output unit 1116, a speaker unit 1118, a display enabling unit 1120, a determining unit 1122, a requesting unit 1124, an accessing unit 1126, and a facilitating unit 1128.
[0326] In some embodiments, processing unit 1108 is configured to receive (eg, using receiving unit 1110) natural language user input (eg, Figure 8block 805); using one or more processors to identify (e.g., using identification unit 1112) an intended object in a set of intended objects and parameters associated with the intended object, wherein the intended object and the parameters are from a natural language user input (e.g., Figure 8 block 810) obtains; identifies (eg, using identification unit 1112) a software application associated with an intent object in the set of intent objects (eg, Figure 8 815); and providing the intent object and parameters (eg, using providing unit 1114) to the software application (eg, Figure 8 Block 820).
[0327] In some embodiments, processing unit 1108 is further configured to receive (eg, using receiving unit 1110) a response from the software application, wherein the response indicates whether the parameter is valid (eg, Figure 8 Block 825).
[0328] In some embodiments, receiving (eg, using receiving unit 1110 ) the response from the software application includes receiving (eg, using receiving unit 1110 ) a disambiguation list associated with the parameter from the software application, wherein the disambiguation list includes a plurality of candidate parameters.
[0329] In some embodiments, processing unit 1108 is also configured to output (e.g., using output unit 1116) a disambiguation list; receive (e.g., using receiving unit 1110) user input indicating a selection of candidate parameter values for the disambiguation list; and provide (e.g., using providing unit 1114) the selected candidate parameter values for the disambiguation list to the software application.
[0330] In some embodiments, the natural language user input is a first natural language input, the parameter is a first parameter, and the processing unit 1108 is further configured to receive (e.g., using the receiving unit 1110) a request for a second parameter associated with the intended object from the software application; provide (e.g., using the providing unit 1114) a natural language query based on the request; receive (e.g., using the receiving unit 1110) a second natural language user input; identify (e.g., using the identifying unit 1112) a second parameter, wherein the second parameter is obtained from the second natural language user input, and provide (e.g., using the providing unit 1114) the second parameter to the software application.
[0331] In some embodiments, the electronic device further comprises an audio output component, and providing the natural language query comprises speaking (eg, using the speaker unit 1118) the natural language query through the audio output component via speech synthesis.
[0332] In some embodiments, providing the natural language query includes providing (eg, using providing unit 1114 ) a natural language query based on the type of the electronic device, the state of the electronic device, or a combination thereof.
[0333] In some embodiments, the processing unit 1108 is further configured to, after providing the intent object and the parameters to the software application, receive (e.g., using the receiving unit 1110) a result response associated with the intent object from the software application (e.g., Figure 8 Block 835).
[0334] In some embodiments, receiving a result response includes receiving (e.g., using receiving unit 1110) a set of response items associated with the intent object from the software application and outputting (e.g., using output unit 1116) the set of response items.
[0335] In some embodiments, processing unit 1108 is also configured to provide (e.g., using providing unit 1114) a set of view controller parameters to a software application; and receive (e.g., using receiving unit 1110) a set of view controller parameter values corresponding to the set of view controller parameters from the software application, wherein outputting the set of response items includes enabling display of the set of response items in a user interface based on the received view controller parameter values (e.g., using display enabling unit 1120).
[0336] In some embodiments, each intent object in the set of intent objects is associated with a software application.
[0337] In some embodiments, the intentional object is a first intentional object and wherein the parameter is associated with the first intentional object and is not associated with a second intentional object.
[0338] In some embodiments, processing unit 1108 is further configured to determine (e.g., using determination unit 1122) whether the electronic device is in a locked state; and based on determining that the device is in a locked state, determine (e.g., using determination unit 1122) whether the intent object is allowed to be provided to the software application when the electronic device is in a locked state, wherein the intent object and parameter value are provided to the software application only based on determining that the intent object is allowed to be provided to the software application when the electronic device is in a locked state.
[0339] In some embodiments, the parameters are obtained from the natural language user input by analyzing the natural language user input using each of a plurality of detectors.
[0340] In some embodiments, the processing unit 1108 is further configured to determine (eg, using the determining unit 1122 ) a user context of the electronic device, wherein the parameter is based at least in part on the user context.
[0341] In some embodiments, processing unit 1108 is further configured to request (e.g., using request unit 1124) confirmation of the parameter; and receive (e.g., using receiving unit 1110) user input corresponding to the confirmation of the parameter, wherein the parameter is provided to the software application in response to receiving the user input.
[0342] In some embodiments, identifying the software application includes determining (e.g., using determination unit 1122) whether the software application resides on the electronic device; and determining (e.g., using determination unit 1122) whether the software application resides on an external device in communication with the electronic device based on determining that the software application does not reside on the electronic device. In some embodiments, providing the intent object and parameters to the software application includes providing (e.g., using providing unit 1114) the intent object and parameters to the software application by providing the intent object and parameters to the external device based on determining that the software application resides on the external device in communication with the electronic device.
[0343] In some embodiments, identifying a software application includes determining (e.g., using determination unit 1122) whether the software application resides on the electronic device; based on determining that the software application does not reside on the electronic device, identifying (e.g., using identification unit 1112) a set of software applications associated with the intent object; enabling display (e.g., using display enabling unit 1120) of the set of software applications associated with the intent object on a user interface; receiving (e.g., using reception unit 1110) user input indicating a selection of one or more software applications in the set of software applications associated with the intent object; and accessing (e.g., using access unit 1126) the selected one or more software applications in the set of software applications associated with the intent object.
[0344] In some embodiments, identifying a software application associated with an intent object in the set of intent objects includes identifying (eg, using identification unit 1112 ) a software application based on the parameter.
[0345] In some embodiments, processing unit 1108 is also configured to identify (e.g., using identification unit 1112) a third intent object from the group of intent objects based on natural language user input; identify (e.g., using identification unit 1112) a second software application based on the identified third intent object; provide (e.g., using providing unit 1114) the third intent object and at least one response item to the second software application; and receive (e.g., using receiving unit 1110) a second response item associated with the third intent object from the second software application.
[0346] In some embodiments, the software application is a first software application, and providing the intent object and parameters to the software application includes causing (eg, using facilitating unit 1128 ) the third software application to provide the intent object and parameters to the first software application.
[0347] In some embodiments, receiving natural language user input includes receiving (e.g., using receiving unit 1110) natural language user input that includes application-specific terminology; and wherein identifying a software application associated with an intent object in the group of intent objects includes identifying (e.g., using identifying unit 1112) the software application based on the application-specific terminology.
[0348] In some embodiments, processing unit 1108 is also configured to receive (e.g., using receiving unit 1110) a command that includes an identification of a software application; and in response to the command, determine (e.g., using determining unit 1122) whether the software application is allowed to access data associated with the intent object.
[0349] In some embodiments, processing unit 1108 is further configured to cause (eg, using facilitating unit 1128 ) a software application to perform a task associated with the intent object based on the parameters.
[0350] The above is relative to Figure 8 The operation is optionally performed by Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.11 For example, receiving operations 805, 825, and 835; identifying operations 810 and 815; providing operation 820 and confirming operation 830 are optionally implemented by processor 120. A person skilled in the art will clearly know how to implement the above-described operations based on the above-described components. Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.11 The components depicted in the figure are used to implement other processes.
[0351] Those skilled in the art should understand that Fig.11 The functional blocks described in the embodiment are optionally combined or separated into sub-blocks to implement the principles of various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein. For example, the processing unit 1108 may have an associated "controller" unit that is operably coupled to the processing unit 1108 to initiate operations. The controller unit is Fig.11It is not shown separately, but it should be understood that it is within the grasp of those skilled in the art to design a device with a processing unit 1108, such as the device 1100. In some embodiments, as another example, one or more units, such as the receiving unit 1110, may be hardware units other than the processing unit 1108. Therefore, the description herein optionally supports the combination, separation and / or further definition of the functional blocks described herein.
[0352] According to some embodiments, Fig.12 A functional block diagram of an electronic device 1200 configured according to the principles of various described embodiments is shown, including reference Figure 8 The functional blocks of the device are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of the various described embodiments. It should be understood by those skilled in the art that Fig.12 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various embodiments. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.
[0353] like Fig.12 As shown in , one or more electronic devices 1200 include one or more processing units 1208. In some embodiments, the one or more processing units 1208 include a receiving unit 1210, a determining unit 1212, an identifying unit 1214, and a providing unit 1216.
[0354] In some embodiments, the one or more processing units 1208 are configured to receive (e.g., using the receiving unit 1210) natural language user input (e.g., Figure 8 block 805); determining (e.g., using determination unit 1212) an intended object in a set of intended objects and parameters associated with the intended object (e.g., Figure 8 block 810) obtains; based on at least one of the intended object or parameter identification (e.g., using identification unit 1214) a software application (e.g., Figure 8 815); and providing (eg, using providing unit 1216) the intent object and parameters to the software application (eg, Figure 8 Block 820).
[0355] In some embodiments, determining an intended object in a set of intended objects and parameters associated with the intended object based on natural language user input includes determining (for example, using a determining unit 1212) an intended object in the set of intended objects and parameters associated with the intended object using a first electronic device of one or more electronic devices 1200; and wherein providing the intended object and parameters to a software application includes providing (for example, using a providing unit 1216) the intended object and parameters to the software application using a second electronic device of one or more electronic devices 1200.
[0356] In some embodiments, one or more processing units 1208 are configured to provide a command (e.g., using providing unit 1216) to a second electronic device of one or more electronic devices 1200 using a first electronic device of one or more electronic devices 1200; and in response to the command, determine (e.g., using determining unit 1212) using the second electronic device whether to allow the software application to access data associated with the intended object.
[0357] In some embodiments, the one or more processing units 1208 are configured to receive (e.g., using the receiving unit 1210) a response from the software application, wherein the response indicates whether the parameter is valid (e.g., Figure 8 Block 825).
[0358] In some embodiments, the parameter indicates a software application.
[0359] In some embodiments, one or more processing units 1208 are configured to identify (e.g., using identification unit 1214) a software application based on natural language user input; and determine (e.g., using determination unit 1212) whether an intent object in the group of intent objects corresponds to a registered intent object of the software application; wherein the intent object and parameters are determined only based on determining that the intent object corresponds to a registered intent object of the software application.
[0360] In some embodiments, the parameter is a first parameter, and the one or more processing units are configured to determine (e.g., using determination unit 1212) a second parameter based on natural language user input; and provide (e.g., using provision unit 1216) the second parameter to the software application.
[0361] In some embodiments, the response is a first response, and the one or more processing units are configured to receive (eg, using receiving unit 1210 ) a second response from the software application, wherein the second response indicates whether the second parameter is valid.
[0362] The above is relative to Figure 8 The operation is optionally performed by Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.12 For example, receiving operations 805, 825, and 835; identifying operations 810 and 815; providing operation 820 and confirming operation 830 are optionally implemented by processor 120. A person skilled in the art will clearly know how to implement the above-described operations based on the above-described components. Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.12 The components depicted in the figure are used to implement other processes.
[0363] Those skilled in the art should understand that Fig.12 The functional blocks described in the embodiment are optionally combined or separated into sub-blocks to implement the principles of various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein. For example, one or more processing units 1208 may have an associated "controller" unit that is operably coupled to at least one of the one or more processing units 1208 to initiate operation. The controller unit is Fig.12 It is not shown separately, but it should be understood that it is within the grasp of those skilled in the art to design a device with one or more processing units 1208, such as device 1200. In some embodiments, as another example, one or more units, such as receiving unit 1210, may be hardware units other than one or more processing units 1208. Therefore, the description herein optionally supports the combination, separation and / or further definition of the functional blocks described herein.
[0364] According to some embodiments, Fig.13 A functional block diagram of an electronic device 1300 configured according to the principles of various described embodiments is shown, including reference Fig. 9 The functional blocks of the device are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of the various described embodiments. It should be understood by those skilled in the art that Fig.13 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various embodiments. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.
[0365] like Fig.13 As shown in , one or more electronic devices 1300 include one or more processing units 1308. In some embodiments, the one or more processing units 1308 include a receiving unit 1310, an identifying unit 1312, a determining unit 1314, a providing unit 1316, and optionally a facilitating unit 1318.
[0366] In some embodiments, the one or more processing units 1308 are configured to receive (e.g., using the receiving unit 1310) natural language user input (e.g., Fig. 9 block 905); identifying (e.g., using recognition unit 1312) an intended object in a set of intended objects and parameters associated with the intended object (e.g., Fig. 9 block 910); determining (e.g., using determination unit 1314) based on at least one of the intent object or the parameter whether the task corresponding to the intent object (e.g., Fig. 9 block 915); based on determining that the task corresponding to the intent object can be satisfied, providing the intent object and parameters (e.g., using providing unit 1316) to the software application associated with the intent object (e.g., Fig. 9 Block 920); and based on determining that the task corresponding to the intent object cannot be satisfied, providing (e.g., using providing unit 1316) a list of one or more software applications associated with the intent object (e.g., Fig. 9 Block 925).
[0367] In some embodiments, the one or more processing units 1308 are configured to, after providing the one or more lists of software applications associated with the intent object, receive (e.g., using the receiving unit 1310) a user input indicating a selection of a software application from the one or more lists of software applications (e.g., Fig. 9 and providing (eg, using providing unit 1316) the intended object in the set of intended objects to the selected software application (eg, Fig. 9 Block 935).
[0368] In some embodiments, the one or more processing units 1308 are configured to provide (eg, using providing unit 1316 ) parameters to the selected software application in response to the user input.
[0369] In some embodiments, the one or more processing units 1308 are configured to receive (eg, using receiving unit 1310) a response from the selected software application, and the response indicates whether the parameter is valid.
[0370] In some embodiments, one or more processing units 1308 are configured to cause (e.g., using facilitating unit 1318) the selected software application to perform a task corresponding to the intent object, and after providing the intent object to the selected software application, receive (e.g., using receiving unit 1310) a result response associated with the intent object from the selected software application.
[0371] The above is relative to Fig. 9 The operation is optionally performed by Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.13 For example, determining operation 905; providing operations 910, 915 and 925 and receiving operation 920 are optionally implemented by processor 120. A person skilled in the art will clearly know how to implement the above-described components based on the above-described components. Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.13 The components depicted in the figure are used to implement other processes.
[0372] Those skilled in the art should understand that Fig.13 The functional blocks described in the embodiment are optionally combined or separated into sub-blocks to implement the principles of various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein. For example, one or more processing units 1308 may have an associated "controller" unit that is operably coupled to at least one of the one or more processing units 1308 to initiate operation. The controller unit is Fig.13 1308, but it should be understood that it is within the grasp of those skilled in the art to design a device with one or more processing units 1308, such as device 1300. In some embodiments, as another example, one or more units, such as receiving unit 1310, may be hardware units other than one or more processing units 1308. Therefore, the description herein optionally supports the combination, separation and / or further definition of the functional blocks described herein.
[0373] According to some embodiments, Fig.14 A functional block diagram of an electronic device 1400 configured according to the principles of various described embodiments is shown, including reference Fig. 9 The functional blocks of the device are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of the various described embodiments. It should be understood by those skilled in the art that Fig.14 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various embodiments. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.
[0374] like Fig.14As shown, the electronic device 1400 includes a touch-sensitive display unit 1402 and a processing unit 1408 optionally coupled to the touch-sensitive display unit 1402. In some embodiments, the processing unit 1402 includes a receiving unit 1410, a providing unit 1412, an obtaining unit 1414, a display enabling unit 1416, and optionally an identifying unit 1418 and a facilitating unit 1420.
[0375] In some embodiments, processing unit 1408 is configured to receive (e.g., using receiving unit 1410) natural language user input, wherein the natural language user input indicates an intended object in a set of intended objects (e.g., Fig. 9 905); providing (e.g., using providing unit 1412) the natural language user input to the second electronic device; receiving (e.g., using receiving unit 1410) from the second electronic device an indication that the software application associated with the intended object is not on the first electronic device (e.g., Fig. 9 block 925 of ); in response to the notification, obtaining (e.g., using obtaining unit 1414) a list of applications associated with the intent object; using the touch-sensitive display of the first electronic device, enabling display in a user interface (e.g., using display enabling unit 1416) the list of applications associated with the intent object; receiving (e.g., using receiving unit 1410) a user input indicating a selection of an application in the list of applications (e.g., Fig. 9 and providing (eg, using providing unit 1412) the intent object in the set of intent objects to the application (eg, using Fig. 9 Block 935).
[0376] In some embodiments, processing unit 1408 is further configured to identify (eg, using identification unit 1418 ) an intended object in the set of intended objects.
[0377] In some embodiments, processing unit 1408 is further configured to identify (e.g., using identification unit 1418) parameters associated with an intent object in the group of intent objects; and provide (e.g., using provision unit 1412) the parameters to the application.
[0378] In some embodiments, processing unit 1408 is further configured to receive (eg, using receiving unit 1410 ) a response from the application, and the response indicates whether the parameter is valid.
[0379] In some embodiments, processing unit 1408 is configured to cause (e.g., using facilitating unit 1420) the application to perform a task associated with the intent object; and after providing the intent object to the application, receive (e.g., using receiving unit 1410) a result response associated with the intent object from the application.
[0380] The above is relative to Fig. 9 The operation is optionally performed by Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.14 For example, determining operation 905; providing operations 910, 915 and 925 and receiving operation 920 are optionally implemented by processor 120. A person skilled in the art will clearly know how to implement the above-described components based on the above-described components. Figure 1 , Figure 2A , Figure 4 , FIG. 6A to FIG. 6B , Fig. 7A and Fig.14 The components depicted in the figure are used to implement other processes.
[0381] Those skilled in the art should understand that Fig.14 The functional blocks described in the embodiment are optionally combined or separated into sub-blocks to implement the principles of various described embodiments. Therefore, the description herein optionally supports any possible combination or separation or further definition of the functional blocks described herein. For example, the processing unit 1408 may have an associated "controller" unit that is operably coupled to the processing unit 1408 to initiate operations. The controller unit is Fig.14 1408, but it should be understood that it is within the grasp of those skilled in the art to design a device with a processing unit 1408, such as the device 1400. In some embodiments, as another example, one or more units, such as the receiving unit 1410, may be hardware units other than the processing unit 1408. Therefore, the description herein optionally supports the combination, separation and / or further definition of the functional blocks described herein.
[0382] For the purpose of explanation, the preceding description is described by reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the disclosure to the disclosed precise form. According to the above teachings, many modifications and variations are possible. These embodiments are selected and described to best explain the principles of these technologies and their practical applications. Others skilled in the art can thus best utilize these technologies and various embodiments with various modifications suitable for the intended specific use.
[0383] Although the disclosure and examples have been fully described with reference to the accompanying drawings, it should be noted that various changes and modifications will become apparent to those skilled in the art. It should be understood that such changes and modifications are considered to be included within the scope of the disclosure and examples defined by the claims.
Claims
1. A method comprising: At a first electronic device having one or more processors: receiving natural language user input; providing the natural language user input to a second electronic device; in response to a determination by the second electronic device that a software application corresponding to an object of intent derived from the natural language user input is not located on the first electronic device, receiving an indication of the determination from the second electronic device, wherein the software application is identified based on a domain associated with the object of intent; In response to the indication, obtaining an application list corresponding to the intent object, wherein each application in the application list corresponds to the domain; Displaying the application list corresponding to the intended object on a user interface using a touch-sensitive display of the first electronic device; as well as User input is received indicating a selection of an application in the list of applications.
2. The method according to claim 1, further comprising: The intent object is obtained from the natural language user input.
3. The method according to any one of claims 1 to 2, wherein: Providing the object of intent includes downloading and / or installing the application so that the first electronic device can locally access the software application, or wherein providing the object of intent includes remotely accessing the application.
4. The method according to claim 3, further comprising: causing the application to perform a task associated with the intent object; as well as After providing the intent object to the application, a result reply associated with the intent object is received from the application.
5. The method according to any one of claims 1 to 2, further comprising: identifying parameters associated with the intent object; as well as The parameters are provided to the application.
6. The method according to claim 5, further comprising: A response is received from the application, wherein the response indicates whether the parameters are valid.
7. A computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions that, when executed by one or more processors of a first electronic device, cause the first electronic device to perform the following operations: receiving natural language user input; providing the natural language user input to a second electronic device; in response to a determination by the second electronic device that a software application corresponding to an object of intent derived from the natural language user input is not located on the first electronic device, receiving an indication of the determination from the second electronic device, wherein the software application is identified based on a domain associated with the object of intent; In response to the indication, obtaining an application list corresponding to the intent object, wherein each application in the application list corresponds to the domain; Displaying the application list corresponding to the intended object on a user interface using a touch-sensitive display of the first electronic device; as well as User input is received indicating a selection of an application in the list of applications.
8. The computer-readable storage medium of claim 7, wherein the one or more programs further include instructions that, when executed by one or more processors of the first electronic device, cause the first electronic device to perform the following operations: The intent object is obtained from the natural language user input.
9. The computer-readable storage medium according to any one of claims 7 to 8, wherein: Providing the object of intent includes downloading and / or installing the application so that the first electronic device can locally access the software application, or wherein providing the object of intent includes remotely accessing the application.
10. The computer-readable storage medium of claim 9, wherein the one or more programs further include instructions that, when executed by one or more processors of the first electronic device, cause the first electronic device to perform the following operations: causing the application to perform a task associated with the intent object; and After providing the intent object to the application, a result reply associated with the intent object is received from the application.
11. The computer-readable storage medium according to any one of claims 7 to 8, wherein the one or more programs further include instructions that, when executed by one or more processors of the first electronic device, cause the first electronic device to perform the following operations: identifying parameters associated with the intent object; and The parameters are provided to the application.
12. The computer-readable storage medium of claim 11, wherein the one or more programs further include instructions that, when executed by one or more processors of the first electronic device, cause the first electronic device to perform the following operations: A response is received from the application, wherein the response indicates whether the parameters are valid.
13. A first electronic device, comprising: one or more processors; Memory; and One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for: receiving natural language user input; providing the natural language user input to a second electronic device; in response to a determination by the second electronic device that a software application corresponding to an object of intent derived from the natural language user input is not located on the first electronic device, receiving an indication of the determination from the second electronic device, wherein the software application is identified based on a domain associated with the object of intent; In response to the indication, obtaining an application list corresponding to the intent object, wherein each application in the application list corresponds to the domain; displaying the application list corresponding to the intended object on a user interface using a touch-sensitive display of the first electronic device; and User input is received indicating a selection of an application in the list of applications.
14. The first electronic device according to claim 13, wherein the one or more programs further comprise instructions for: The intent object is obtained from the natural language input.
15. The first electronic device according to any one of claims 13 to 14, wherein: Providing the object of intent includes downloading and / or installing the application so that the first electronic device can locally access the software application, or wherein providing the object of intent includes remotely accessing the application.
16. The first electronic device according to claim 15, wherein the one or more programs further comprise instructions for: causing the application to perform a task associated with the intent object; and After providing the intent object to the application, a result reply associated with the intent object is received from the application.
17. The first electronic device according to any one of claims 13 to 14, wherein the one or more programs further include instructions for the following operations: identifying parameters associated with the intent object; and The parameters are provided to the application.
18. The first electronic device according to claim 17, wherein the one or more programs further comprise instructions for: A response is received from the application, wherein the response indicates whether the parameters are valid.
19. An electronic device comprising: Device for carrying out the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method and apparatus for integrating manual input
US20020015024A1
Acceleration-based theft detection system for portable electronic devices
US20050190059A1
Gestures for touch sensitive input devices
US20060026536A1
Virtual input device placement on a touch screen user interface
US20060033724A1
Multi-functional hand-held device
US20060197753A1
