Virtual assistant for media playback
By receiving unstructured natural language speech input, recognizing context, and performing media search, the inefficient media discovery problem in existing technologies is solved, realizing a fast and effective media discovery method that reduces user burden and device power consumption.
Patent Information
- Application Number
- CN202110585353.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-03-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2036-03-31
AI Technical Summary
Existing technologies are inefficient in discovering media based on non-specific, unstructured natural language requests, resulting in wasted user time and device energy, especially in battery-powered devices, and the existing interfaces are complex, increasing the cognitive burden.
By receiving unstructured natural language voice input, recognizing context, performing media searches, and identifying media items that meet the request, it provides a faster and more efficient media discovery method and interface, reducing the cognitive burden on users and saving device power.
It enables rapid media discovery based on non-specific, unstructured natural language requests, improving device efficiency and user satisfaction, reducing battery dependence and cognitive burden, and saving device power.
Smart Images

Figure CN113392239B_ABST
Abstract
Description
[0001] This application is a divisional application of an invention patent application whose international application date is March 31, 2016, entered the Chinese national phase on November 29, 2017, has Chinese national application number 201680031457.6, and whose invention name is "Virtual Assistant for Media Playback".
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims priority from U.S. Provisional Patent Application Serial No. 62 / 186,182, filed on June 29, 2015, entitled “VIRTUAL ASSISTANT FOR MEDIAPLAYBACK,” and U.S. Patent Application Serial No. 14 / 819,343, filed on August 5, 2015, entitled “VIRTUAL ASSISTANT FOR MEDIA PLAYBACK,” the contents of both patent applications are hereby incorporated by reference in their entirety for any purpose. Technical Field
[0004] The present disclosure relates generally to media playback and, more particularly, to virtual assistants for facilitating media playback. Background Art
[0005] Intelligent automated assistants (or digital assistants) provide a favorable interface between human users and electronic devices. Such assistants allow users to interact with devices or systems using natural language in voice form and / or text form. For example, a user can access the services of an electronic device by providing a voice user request to a digital assistant associated with the electronic device. The digital assistant can interpret the user's intent based on the voice user request and operationalize the user's intent into tasks. These tasks can then be performed by executing one or more services of the electronic device, and the relevant output can be returned to the user in natural language form.
[0006] When managing music or other media, digital assistants can be helpful in playing back specific media, especially in a hands-free environment. Digital assistants can effectively respond to requests to play specific media items, such as albums or songs specifically identified by title or by artist. However, digital assistants are not yet used to discover media based on non-specific, unstructured natural language requests—for example, a request for songs from a popular movie. Summary of the invention
[0007] However, some techniques for finding media based on non-specific, unstructured natural language requests are often cumbersome and inefficient. For example, prior art uses complex and time-consuming user interfaces that may include multiple keystrokes or keystrokes. The user must perform his or her own research to determine which specific media he or she is looking for and then attempt to obtain the media. These steps may be impractical or impossible in some cases, such as when the user is operating a motor vehicle or he or she is too busy. Prior art requires more time than required, thereby wasting the user's time and device energy. The latter consideration is particularly important in battery-driven devices.
[0008] Therefore, there is a need for electronic devices with faster, more efficient methods and interfaces for discovering media based on non-specific, unstructured natural language requests. Such methods and interfaces optionally supplement or replace other methods for discovering media based on non-specific, unstructured natural language requests. Such methods and interfaces reduce the cognitive burden on users and produce more efficient human-computer interfaces. For battery-powered computing devices, such methods and interfaces save power and increase the interval between battery charges.
[0009] In some embodiments, a method for determining media includes: on a device having one or more processors, a memory, and a microphone: receiving user input associated with a request for media, the user input comprising unstructured natural language speech comprising one or more words; identifying at least one context associated with the user input; initiating a search for media based on the at least one context and the user input; determining at least one media item that satisfies the request based on the at least one context and the user input; and obtaining the at least one media item based on determining that the at least one media item satisfies the request.
[0010] In some embodiments, the electronic device includes: a display; a memory; a microphone; a processor coupled to the display, the memory, and the microphone; the processor is configured to: receive user input associated with a request for media, the user input including unstructured natural language speech, the natural language speech including one or more words; identify at least one context associated with the user input; initiate a search for media based on the at least one context and the user input; determine at least one media item that satisfies the request based on the at least one context and the user input; and obtain the at least one media item based on determining that the at least one media item satisfies the request.
[0011] In some embodiments, a non-transitory computer-readable storage medium stores one or more programs that include instructions that, when executed by an electronic device, cause the electronic device to: receive user input associated with a request for media, the user input comprising unstructured natural language speech comprising one or more words; identify at least one context associated with the user input; initiate a search for media based on the at least one context and the user input; determine at least one media item that satisfies the request based on the at least one context and the user input; and based on determining that the at least one media item satisfies the request, obtain the at least one media item.
[0012] In some embodiments, a transient computer-readable storage medium stores one or more programs that include instructions that, when executed by an electronic device, cause the electronic device to: receive user input associated with a request for media, the user input comprising unstructured natural language speech comprising one or more words; identify at least one context associated with the user input; initiate a search for media based on the at least one context and the user input; determine at least one media item that satisfies the request based on the at least one context and the user input; and based on determining that the at least one media item satisfies the request, obtain the at least one media item.
[0013] In some embodiments, the system utilizes an electronic device with a display, wherein the system includes: a device for receiving user input associated with a request for media, the user input comprising unstructured natural language speech comprising one or more words; a device for identifying at least one context associated with the user input; a device for initiating a search for media based on the at least one context and the user input; a device for determining at least one media item that satisfies the request based on the at least one context and the user input; and a device for obtaining the at least one media item based on determining that the at least one media item satisfies the request.
[0014] In some embodiments, the electronic device includes: a processing unit including a receiving unit, an identification unit, a triggering unit, a determination unit, and an obtaining unit, the processing unit being configured to: use the receiving unit to receive user input associated with a request for media, the user input including unstructured natural language speech, the natural language speech including one or more words; use the identification unit to identify at least one context associated with the user input; use the triggering unit to trigger a search for media based on the at least one context and the user input; use the determination unit to determine at least one media item that satisfies the request based on the at least one context and the user input; and based on determining that the at least one media item satisfies the request, use the obtaining unit to obtain the at least one media item.
[0015] Executable instructions for performing these functions are optionally included in a non-transitory computer-readable storage medium or other computer program product configured for execution by one or more processors. Executable instructions for performing these functions are optionally included in a transient computer-readable storage medium or other computer program product configured for execution by one or more processors.
[0016] Thus, a faster, more efficient method and interface for discovering media based on non-specific, unstructured natural language requests is provided for devices, thereby improving the effectiveness, efficiency, and user satisfaction of such devices. Such methods and interfaces may supplement or replace other methods for discovering media based on non-specific, unstructured natural language requests. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] For a better understanding of the various described embodiments of the present invention, 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.
[0018] Figure 1 is a block diagram illustrating a system and environment for implementing a digital assistant according to various examples.
[0019] Figure 2A is a block diagram illustrating a portable multifunction device that implements the client-side portion of a digital assistant according to various examples.
[0020] Figure 2B is a block diagram illustrating exemplary components for event processing according to various examples.
[0021] Figure 3 A portable multifunction device implementing the client-side portion of a digital assistant according to various examples is shown.
[0022] Figure 4 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to various examples.
[0023] Figure 5A An exemplary user interface for a menu of applications on a portable multifunction device is shown according to various examples.
[0024] Figure 5B An exemplary user interface for a multifunction device having a touch-sensitive surface separate from the display is shown according to various examples.
[0025] Fig. 6A A personal electronic device according to various examples is shown.
[0026] Figure 6B is a block diagram illustrating a personal electronic device according to various examples.
[0027] Fig. 7A is a block diagram illustrating a digital assistant system or a server portion thereof according to various examples.
[0028] Figure 7B Various examples are shown Fig. 7A Functions of the digital assistant shown.
[0029] Figure 7C A portion of an ontology according to various examples is shown.
[0030] FIG. 8A to FIG. 8O An exemplary user interface for a personal electronic device according to some embodiments is shown.
[0031] 9A to 9C A process for operating a digital assistant for media playback according to various examples is shown.
[0032] Fig.10 A functional block diagram of an electronic device according to various examples is shown. DETAILED DESCRIPTION
[0033] The following description sets forth exemplary methods, parameters, etc. However, it should be appreciated that such description is not intended to limit the scope of the present disclosure, but is provided as a description of exemplary embodiments.
[0034] There is a need for electronic devices that provide more efficient methods and interfaces for discovering media based on non-specific, unstructured, natural language requests. As described above, media discovery techniques are not as effective as they could be, such as with users who have slow or unusual speech patterns. Digital assistants can reduce the cognitive burden placed on users who discover media based on non-specific, unstructured, natural language requests, thereby increasing productivity. In addition, such techniques can reduce processor power and battery power that would otherwise be wasted on redundant user input.
[0035] under, Figure 1 , FIG. 2A to FIG. 2B , Figure 3 , Figure 4 , FIG. 5A to FIG. 5B and FIG. 6A to FIG. 6B A description of an example device for performing techniques for discovering media based on non-specific, unstructured, natural language requests is provided. FIG. 6A to FIG. 6B An exemplary user interface for discovering media based on a non-specific, unstructured, natural language request is shown. Fig. 7A Figure 7C is a block diagram showing a digital assistant system or a server portion thereof and a portion of a knowledge ontology associated with the digital assistant system. FIG. 8A to FIG. 8Bis a flowchart illustrating a method for discovering media based on non-specific, unstructured natural language requests according to some embodiments.
[0036] 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 only used to distinguish one element from another element. For example, a first touch can be named a second touch and similarly a second touch can be named a first touch without departing from the scope of the various described embodiments. Both the first touch and the second touch are touches, but they are not the same touch.
[0037] The terms used in the description of various described embodiments herein are only for the purpose of describing specific embodiments, and are not intended to be limited. As used in the description of various described embodiments and in the appended claims, the singular forms "a", "an" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and encompasses any and all possible combinations of one or more items in 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 parts, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts, and / or their grouping.
[0038] Depending on the context, the term "if" may be interpreted to mean "when" or "upon" or "in response to determining that" or "in response to detecting that..." Similarly, depending on the context, 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]."
[0039] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described herein. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions, such as a PDA and / or a music player function. Exemplary embodiments of portable multifunction devices include, but are not limited to, the Apple iPod, from Apple Inc. (Cupertino, California). Devices, iPod Equipment, and Device. Other portable electronic devices, such as laptops or tablets with touch-sensitive surfaces (e.g., touch screen displays and / or trackpads) are optionally used. It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer with a touch-sensitive surface (e.g., touch screen displays and / or trackpads).
[0040] In the following discussion, an electronic device including a display and a touch-sensitive surface is described. However, it should be understood that the electronic device optionally includes one or more other physical user interface devices, such as a physical keyboard, mouse and / or joystick.
[0041] The device may support a variety of applications, such as one or more of the following applications: a drawing application, a presentation application, a word processing application, a website creation application, a disk editing application, a spreadsheet application, a gaming application, a telephony application, a video conferencing application, an email application, an instant messaging application, a fitness support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.
[0042] Various applications executed on the device optionally use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the device are optionally adjusted and / or varied for different applications, and / or adjusted and / or varied within the respective applications. In this way, the common physical architecture of the device (such as a touch-sensitive surface) optionally supports various applications with a user interface that is intuitive and clear to the user.
[0043] Figure 1 A block diagram of a system 100 according to various examples is shown. In some examples, 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 speech form and / or text form to infer user intent and performs actions based on the inferred user intent. For example, in order to take action based on the inferred user intent, the system may perform one or more of the following: identify a task flow using steps and parameters designed 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., speech) and / or visual form.
[0044] Specifically, the digital assistant may be able to accept user requests in the form of natural language commands, requests, statements, narrations and / or inquiries, at least in part. Typically, the user request may seek an informative answer from the digital assistant, or seek a digital assistant to perform a task. A satisfactory response to the user request may be to provide the requested informative answer, perform the requested task, or a combination of the two. For example, the user may ask the digital assistant a question, 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 the digital assistant to request information or perform various tasks. In addition to providing verbal responses and taking programmed actions, digital assistants can also provide responses in other visual or audio forms, such as text, alerts, music, video, animation, etc.
[0045] like Figure 1 As shown in , in some examples, a 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 examples, 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 for the DA server 106. One or more processing modules 114 may utilize the data and models 116 to process voice input and determine the user's intent based on the natural language input. In addition, one or more processing modules 114 perform tasks based on the inferred user intent. In some examples, 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 (such as the Figure 2A Device 200 described above), multi-function device (such as the following reference Figure 4 Device 400 described herein), or a personal electronic device (such as the one described below with reference to Fig. 6A -B). 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 function. Specific examples of portable multifunction devices may include the Apple iPod from Apple Inc. (Cupertino, California). Devices, iPod Equipment, and Device. Other examples of portable multifunction devices may include, but are not limited to, laptops or tablet computers. In addition, in some examples, 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 examples, user device 104 may include a touch-sensitive surface (e.g., a touch screen display and / or a touchpad). In addition, 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 examples of electronic devices such as multifunction devices are described in more detail below.
[0048] Examples of one or more communication networks 110 may include local area networks (LANs) and wide area networks (WANs), such as the Internet. One or more communication networks 110 may be implemented using any known network protocols, 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 examples, 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 examples, user device 104 can communicate with DA server 106 via second user device 122. Second user device 122 can be similar or identical to user device 104. For example, second user device 122 can be similar to the user device described below with reference to Figure 2A , Figure 4 and FIG. 6A to FIG. 6B The device 200, device 400, or device 600 described herein. 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 examples, 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 examples, the user device 104 may be configured to send 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 supplemental information to add 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 (e.g., a mobile phone, laptop computer, tablet computer, etc.) as a proxy to the DA server 106. Although Figure 1 Only two user devices 104 and 122 are shown, and it should be understood that the system 100 may include any number and type of user devices configured to communicate with the DA server system 106 in this proxy configuration.
[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 examples, 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 examples, 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 now turns to embodiments of electronic devices for implementing the client-side portion of a digital assistant. Figure 2Ais a block diagram illustrating 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 intensity 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 that 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 the smoothness of the touch-sensitive surface does not change. 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., "release click," "press click," "roughness"), unless otherwise stated, the tactile outputs generated correspond to physical displacements of the device or a component thereof that would generate the described sensory perceptions for a typical (or average) user.
[0057] It should be understood that device 200 is only one example 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 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 examples, the non-transitory computer-readable storage medium of memory 202 may be used to store instructions (e.g., for performing various aspects of process 900 described below) for use by 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 obtain instructions from and execute instructions by an instruction execution system, apparatus, or device. In other examples, instructions (e.g., for performing various aspects of process 900 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 by or in conjunction with an instruction execution system, apparatus, and device.
[0060] The peripheral device interface 218 can be used to couple the input 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 can be implemented on a single chip such as the chip 204. In some other embodiments, they can be implemented on separate chips.
[0061] RF (radio frequency) circuit 208 receives and sends 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 antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, codec chipsets, user identity modules (SIM) cards, memory, etc. RF circuit 208 optionally communicates with a network and other devices through wireless communications, such as the Internet (also known as the World Wide Web (WWW)), intranets, and / or wireless networks such as cellular telephone networks, wireless local area networks (LANs), and / or metropolitan area networks (MANs). RF circuit 208 optionally includes well-known circuits for detecting near field communications (NFC) fields, such as through short-range communications radio components. Wireless communication optionally uses any of a variety of communication standards, protocols and technologies, 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 (BTLE), Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11d), IEEE 802.11e, IEEE 802.11f, IEEE 802.11g, IEEE 802.11g). 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 communication protocol including communication protocols that have not yet been developed as of the filing date of this document.
[0062] The audio circuit 210, the speaker 211, and the microphone 213 provide an audio interface between the 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 and / or transmitted to the memory 202 and / or the RF circuit 208 by the peripheral device interface 218. In some embodiments, the audio circuit 210 also includes a headset 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 having both output (e.g., a single or dual-ear headset) and input (e.g., a microphone).
[0063] The I / O subsystem 206 couples input peripherals / 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 / to other input control devices 216. 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, the input controller 260 is optionally coupled to any one of the following (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 December 23, 2005, entitled "Unlocking a Device by Performing Gestures on an Unlock Image," and U.S. Patent Application No. 7,657,849, which 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 functionality of one or more buttons. The touch screen 212 is used to implement virtual 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. 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 haptic 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 ® from Apple Inc. (Cupertino, California). and iPod The technology used in.
[0068] The touch-sensitive display in some embodiments of the touch screen 212 can be similar to the multi-touch-sensitive trackpad 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 trackpad 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, entitled “Multipoint Touch Surface Controller”; (2) U.S. patent application 10 / 840,862, filed on May 6, 2004, entitled “Multipoint Touchscreen”; (3) U.S. patent application 10 / 903,964, filed on July 30, 2004, entitled “Gestures For Touch Sensitive Input Devices”; (4) U.S. patent application 11 / 048,264, filed on January 31, 2005, entitled “Gestures For Touch Sensitive Input Devices”; (5) U.S. patent application 11 / 086,694, filed on January 18, 2005, entitled “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices”; and (9) U.S. patent application Ser. No. 11 / 367,749, filed on March 3, 2006, entitled “Multi-Functional Hand-Held Device.” All of these applications are hereby incorporated 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 also 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] The 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 transmitted 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 called 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 images and / or video image acquisition. In some embodiments, the optical sensor is located on the front of the device so that the image of the user can be obtained for the video conference when the user views other video conference participants on the touch screen display. 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 on a phone call), the proximity sensor turns off and disables the touch screen 212.
[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 that converts energy into linear motion, such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component that converts an electrical signal into a tactile output on the device). The contact 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 parallel or adjacent 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 the back of the device 200, opposite the touch screen display 212 located on the front of the device 200.
[0077] The device 200 may also include one or more accelerometers 268 . Figure 2A An accelerometer 268 coupled to the peripheral device interface 218 is shown. 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 U.S. Patent Publication 20050190059 entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and U.S. Patent Publication 20060017692 entitled "Methods And Apparatuses For Operating A Portable Device Based On An Accelerometer", both of which are incorporated herein by reference in their entirety. In some embodiments, information is displayed in a longitudinal view or a transverse view on the touch screen display based on an analysis of the 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 accelerometer 268, for obtaining information about the position and orientation (e.g., longitudinal or transverse) 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 can store data and models, such as user data and models 231. In addition, in some embodiments, memory 202 ( Figure 2A ) or 470 (FIG. 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 the 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, and the movement of the contact point 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" / multi-finger contact). 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 action 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 threshold of a particular physical actuator 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 a touchpad or touchscreen display 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 by the 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, etc.
[0085] In some embodiments, the graphics module 232 stores data representing graphics to be used. Each graphic is optionally assigned a corresponding code. The graphics module 232 receives one or more codes 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 one or more tactile output generators 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 device location and provides such information for use in various applications (e.g., to the phone 238 for 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 Pages widget, and the Maps / Navigation widget).
[0089] The digital assistant client module 229 may include various client-side digital assistant instructions to provide client-side functions of the digital assistant. For example, the digital assistant client module 229 may be able to accept sound 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 may also be able to provide audio form output (e.g., voice output), visual form output, and / or tactile form output through various output interfaces of the portable multifunction device 200 (e.g., speaker 211, touch-sensitive display system 212, one or more tactile output generators 267, etc.). For example, the output may be provided as voice, sound, prompt, 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 use the RF circuit 208 to communicate with the DA server 106.
[0090] User data and models 231 may include various data associated with a user (e.g., user-specific vocabulary data, user preference data, user-specified name pronunciations, data from a user's electronic address book, to-do items, shopping lists, etc.) to provide client-side functionality of a digital assistant. In addition, user data and models 231 may include various models for processing user input and determining user intent (e.g., speech recognition models, statistical language models, natural language processing models, knowledge ontologies, task flow models, service models, etc.).
[0091] In some examples, the digital assistant client module 229 may utilize the various sensors, subsystems, and peripherals of the portable multifunction device 200 to sample 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 examples, the digital assistant client module 229 may provide the context information, or a subset thereof, to the DA server 106 along with the user input to help infer the user's intent. In some examples, the digital assistant may also use the context information to determine how to prepare and deliver output to the user. The context information may be referred to as context data.
[0092] In some examples, contextual information accompanying the user input may include sensor information, such as lighting, ambient noise, ambient temperature, images or videos of the surrounding environment, etc. In some examples, 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 examples, information related to the software state of the DA server 106 (e.g., running processes, installed programs, past and current network activity, background services, error logs, resource usage, etc.) and information related to the software state of the portable multifunction device 200 may be provided to the DA server 106 as contextual information associated with the user input.
[0093] In some examples, 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 examples, 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] References below 7A to 7C The digital assistant is described in more detail. 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 called 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 obtained by the user and a widget 249-6 created by the user;
[0109] A widget creator module 250 for making 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 (for example, 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 phone numbers, one or more email addresses, one or more physical addresses or other information with a name; associating images with names; categorizing and sorting names; providing phone numbers or email addresses 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 enter a character sequence corresponding to a phone number, access one or more phone numbers in contact module 237, modify an entered 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 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 phone-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 phone-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 and playing fitness music; 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 touch screen 212, display controller 256, touch / motion module 230, graphics module 232, text input module 234, and camera module 243, image management module 244 includes executable instructions for arranging, modifying (e.g., editing), or otherwise manipulating, labeling, deleting, presenting (e.g., in a digital slideshow 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 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 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, 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 HTML (Hypertext Markup Language) files, CSS (Cascading Style Sheets) files, and JavaScript files. In some embodiments, the desktop widget includes XML (Extensible Markup Language) files and, JavaScript files (e.g., 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 (for example, converting 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 a connected external display 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 (e.g., H.264). In some embodiments, instant messaging module 241 is used instead of email client module 240 to send a link to a specific online video. Additional descriptions of online video applications 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 that performs operations of a predefined set of functions on it 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 trackpad optionally includes navigating between user interfaces. In some embodiments, the trackpad navigates the device 200 from any user interface displayed on the device 200 to a main menu, a home menu, or a root menu when touched by a user. In such embodiments, a "menu button" is implemented using a trackpad. In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a trackpad.
[0136] Figure 2B 202 is a block diagram illustrating exemplary components for event processing according to some embodiments. 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 to 251, 255, 480 to 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, which 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 ready to be displayed by the application, a state queue for enabling a user to return to a previous state or view of the application 236-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, accelerometer 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 exceeding 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 can 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 can be called a hit view, and the set of events recognized as correct input can 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 a contact-based gesture. 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, views higher in the hierarchy will still remain 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 event information to the event identifier determined by active event identifier determination module 273. In some embodiments, event distributor module 274 stores event information in an event queue, which is retrieved by corresponding event receiver 282.
[0147] In some embodiments, the operating system 226 includes an event classifier 270.
[0148] Alternatively, application 236-1 includes event classifier 270. In another embodiment, event classifier 270 is a standalone module or a part of another module (such as contact / motion module 230) stored in memory 202.
[0149] 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 identifiers 280. Typically, the corresponding application view 291 includes multiple event identifiers 280. In other embodiments, one or more event identifiers in the event identifier 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.
[0150] 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 metadata 283 and event delivery instructions 288 (which may include sub-event delivery instructions).
[0151] The event receiver 282 receives event information from the event classifier 270. The event information includes information about sub-events such as touches or touch movements. 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 a rotation of the device from one orientation to another orientation (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).
[0152] Event comparator 284 compares event information with predefined event or sub-event definitions, and based on the comparison, determines an event or sub-event, 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), etc. In some embodiments, sub-events in event (287) include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one example, 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.
[0153] In some embodiments, event definition 287 includes a definition of an event for a corresponding user interface object. 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 in which three user interface objects are displayed on touch 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.
[0154] 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 corresponds or does not correspond to the event type of the event identifier.
[0155] When a corresponding event recognizer 280 determines that a series of sub-events does not match any event in event definition 286, the corresponding event recognizer 280 enters an event impossible, 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.
[0156] In some embodiments, the corresponding event identifier 280 includes metadata 283 having configurable properties, flags, and / or lists that indicate 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 that indicate 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 that indicate whether sub-events are delivered to different levels in a view or programmatic hierarchy.
[0157] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event recognizer 280 activates an event handler 290 associated with the event. In some embodiments, the corresponding event recognizer 280 delivers 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 recognizer 280 throws a flag associated with the identified event, and the event handler 290 associated with the flag captures the flag and performs a predefined process.
[0158] In some embodiments, the event delivery instructions 288 include a sub-event delivery instruction that delivers 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 series or to an actively participating view. The event handler associated with the sub-event series or with an actively participating view receives the event information and performs a predetermined process.
[0159] 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.
[0160] 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.
[0161] 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, not all of which are initiated on a touch screen. For example, mouse movement and mouse button presses, optionally in combination with single or multiple keyboard presses or holds; contact movement on a touch pad, such as taps, drags, scrolls, 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 a sub-event defining an event to be recognized.
[0162] 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.
[0163] The device 200 may also include one or more physical buttons, such as a "home" or 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.
[0164] In one embodiment, the device 200 includes a touch screen 212, a menu button 304, a push button 306 for powering the device on / off and for locking the device, one or more volume adjustment buttons 308, a user identity module (SIM) card slot 310, a headset 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 depressed state for a predefined time interval; lock the device by pressing the button and releasing the button before a predefined 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 the microphone 213. The device 200 also optionally includes one or more contact intensity sensors 265 for detecting contact intensity 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.
[0165] Figure 44 is a block diagram of an exemplary multi-function 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 computer, 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 (e.g., a home or 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 a circuit system (sometimes called a chipset) that interconnects system components and controls communication 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 touch pad 455, a tactile output generator 457 for generating tactile output on device 400 (e.g., 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 a high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices, and may optionally include a non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 470 may optionally include one or more storage devices located remotely from the one or more CPUs 410. In some embodiments, the memory 470 stores and stores data stored in 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 a drawing module 480, a presentation module 482, a word processing module 484, a website creation module 486, a disk editing module 488, and / or a spreadsheet module 490, while portable multifunction device 200( Figure 2A )'s memory 202 optionally does not store these modules.
[0166] Figure 4Each of the above elements in the above elements may be stored in one or more of the aforementioned memory devices. Each module in the above modules corresponds to an instruction set for performing the above functions. The above modules or programs (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. In some embodiments, memory 470 may store subsets of the above modules and data structures. In addition, memory 470 may store additional modules and data structures not described above.
[0167] Attention is now turned to embodiments of a user interface that may be implemented on, for example, portable multifunction device 200.
[0168] 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:
[0169] one or more signal strength indicators 502 of one or more wireless communications, such as cellular signals and Wi-Fi signals;
[0170] Time 504;
[0171] Bluetooth indicator 505;
[0172] Battery status indicator 506;
[0173] A tray 508 with common application icons, such as:
[0174] o An icon 516 labeled "Phone" of the phone module 238, which optionally includes an indicator 514 of the number of missed calls or voice messages;
[0175] o an icon 518 labeled “Mail” of the email client module 240, which optionally includes an indicator 510 of the number of unread emails;
[0176] o An icon 520 labeled "Browser" for the browser module 247; and
[0177] o An icon 522 labeled "iPod" of the video and music player module 252 (also referred to as the iPod (trademark of Apple Inc.) module 252); and
[0178] Icons of other applications, such as:
[0179] o Icon 524 labeled "Message" of IM module 241;
[0180] o An icon 526 labeled “Calendar” of the calendar module 248;
[0181] o Icon 528 labeled "Photos" of the image management module 244;
[0182] o An icon 530 labeled “Camera” of the camera module 243;
[0183] o An icon 532 labeled "Online Video" of the online video module 255;
[0184] ○ Icon 534 labeled “Stock Market” of the Stock Market Desktop Applet 249-2;
[0185] o An icon 536 labeled “Map” of the map module 254;
[0186] o Icon 538 labeled “Weather” of the Weather widget 249-1;
[0187] ○ Icon 540 labeled as “Clock” of the alarm clock widget 249-4;
[0188] o An icon 542 labeled “Fitness Support” of the fitness support module 242;
[0189] o An icon 544 labeled "Notepad" of the Notepad module 253; and
[0190] ○ An icon 546 labeled “Settings” for a settings application or module that provides access to settings for the device 200 and its various applications 236 .
[0191] It should be noted 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.
[0192] Figure 5B A touch-sensitive surface 551 (eg, touch screen display 212) is shown having a touch-sensitive surface 551 (eg, Figure 4An exemplary user interface on a device (e.g., device 400 of FIG. 4 ) such as a tablet or trackpad 455 of FIG. 4 . Device 400 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 457 ) for detecting the 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 .
[0193] 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) of the main 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) at contact with touch-sensitive surface 551 (e.g., Figure 5B Thus, when the 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 by the device to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.
[0194] In addition, although the following examples are primarily given 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, and then ceasing to detect 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.
[0195] 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 foregoing. In some embodiments, device 600 has a touch-sensitive display screen 604, hereinafter referred to as touch screen 604. Alternatively or in addition to touch screen 604, device 600 has a display and a touch-sensitive surface. As with device 200 and device 400, in some embodiments, touch screen 604 (or touch-sensitive surface) may have one or more strength sensors for detecting the intensity of contact (e.g., touch) being applied. One or more strength sensors of touch screen 604 (or touch-sensitive surface) may provide output data representing the intensity of touch. The user interface of device 600 may respond to touch based on the intensity of touch, which means that touches of different intensities may invoke different user interface operations on device 600.
[0196] For example, technology for detecting and processing touch intensity can be found in the following related patent applications: International patent application serial number PCT / US2013 / 040061, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” filed on May 8, 2013, and International patent application serial number PCT / US2013 / 069483, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” filed on November 11, 2013, each of which is hereby incorporated by reference in its entirety.
[0197] In some embodiments, the device 600 has one or more input mechanisms 606 and input mechanisms 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.
[0198] Figure 6B An exemplary personal electronic device 600 is shown. In some embodiments, the device 600 may include a 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 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 an input mechanism 606 and / or an input mechanism 608. For example, input mechanism 606 may be a rotatable input device or a depressible and rotatable input device. In some examples, input mechanism 608 may be a button.
[0199] 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 operably connected to I / O portion 614.
[0200] 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 process including process 900 ( FIG. 8A to FIG. 8D ) technology. Computer-executable instructions may also be stored in and / or transmitted within any non-transitory computer-readable storage medium for use by or in conjunction with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other system that can obtain instructions from an instruction execution system, apparatus, or device and execute instructions. For the purposes of this document, a "non-transitory computer-readable storage medium" may be any medium that can tangibly contain or store computer-executable instructions for use by or in conjunction with an instruction execution system, apparatus, or device. Non-transitory computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include magnetic disks, optical disks based on CD, DVD, or Blu-ray technology, and persistent solid-state memory (such as flash memory, solid-state drives), etc. 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.
[0201] As used herein, the term "indicative representation" refers to an indication that can be displayed on device 200, z400 and / or 600 (FIG. 2, Figure 4 6 ). For example, an image (e.g., an icon), a button, and text (e.g., a hyperlink) can each constitute an affordance.
[0202] As used herein, the term "focus selector" refers to an input element used to indicate the current portion of a user interface that a user is interacting with. In some implementations that include a cursor or other position marker, the cursor acts as a "focus selector" such that a focus selector is displayed on a touch-sensitive surface (e.g., a button, window, slider, or other user interface element) when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element). 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 The touch-sensitive display system 212 or Figure 5A In some implementations of the touch screen 212 in the display, 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 the 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 controlled by the user to communicate a user interface element (or contact on the touch screen display) with which the user intends to interact (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's display).
[0203] 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 sampled 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 increases and / or before or after contact intensity decreases). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of contact intensity, the mean value of contact intensity, the average value of contact intensity, the value at the top 10% of contact intensity, the half-maximum value of contact intensity, the 90% maximum value of 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 example, a contact whose characteristic strength does not exceed the first threshold results in a first operation, a contact whose characteristic strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose characteristic strength exceeds the second threshold results in 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.
[0204] In some embodiments, a portion of a gesture is identified for determining a characteristic strength. 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 strength of the contact increases. In this example, the characteristic strength of the contact at the end position may be based only on a portion of the continuous swipe contact, rather than the entire swipe contact (e.g., only a portion of the swipe contact at the end position). In some embodiments, a smoothing algorithm may be applied to the strength of the swipe gesture before determining the characteristic strength 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 strength of the swipe contact for determining the characteristic strength.
[0205] 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 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 trackpad. In some embodiments, when a contact having a characteristic intensity lower than a light press intensity threshold (e.g., and higher than 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.
[0206] An increase in the characteristic intensity of a contact 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 the characteristic intensity of a contact 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 the characteristic intensity of a contact 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 the characteristic intensity of a contact 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.
[0207] 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).
[0208] In some embodiments, the device employs intensity hysteresis to avoid accidental input, sometimes named "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).
[0209] 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: the intensity of the contact increases above the press input intensity threshold, the intensity of the contact increases from an intensity below a hysteresis intensity threshold to an intensity above the press input intensity threshold, the intensity of the contact decreases below the press input intensity threshold, and / or the intensity of the contact decreases 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 corresponding to and less than the press input intensity threshold.
[0210] 3. Digital Assistant System
[0211] Fig. 7A A block diagram of a digital assistant system 700 according to various examples is shown. In some examples, the digital assistant system 700 may be implemented on a stand-alone computer system. In some examples, the digital assistant system 700 may be distributed across multiple computers. In some examples, 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 1In some examples, the digital assistant system 700 may be Figure 1 Specific implementation 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 arrangement 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.
[0212] 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.
[0213] In some examples, memory 702 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).
[0214] In some examples, 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 examples, for example, when the digital assistant is implemented on a stand-alone user device, the digital assistant system 700 may include interfaces respectively corresponding to Figure 2A , Figure 4 , Fig. 6A -B. Any of the components and I / O communication interfaces described for device 200, 400, or 600 in FIG. In some examples, 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 device 600).
[0215] In some examples, the network communication interface 708 may include one or more wired communication ports 712, and / or wireless transmission and reception circuits 714. 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 the 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)).
[0216] In some examples, the memory 702 or the computer-readable storage medium of the memory 702 may store programs, modules, instructions, and data structures, including all or a subset of the following: operating system 718, communication module 720, user interface module 722, one or more application programs 724, and digital assistant module 726. In particular, the memory 702 or the computer-readable storage medium of the memory 702 may store instructions for performing the process 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.
[0217] The operating system 718 (e.g., Darwin, RTXC, LINUX, UNIX, 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.
[0218] 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 electronic devices (such as Figure 2A , Figure 4 , Fig. 6A -B) of the device 200, 400 and 600). 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.
[0219] The user interface module 722 may receive commands and / or inputs 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 deliver it to the user via the I / O interface 706 (e.g., through a display, audio channel, speaker, touchpad, etc.).
[0220] 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.
[0221] The memory 702 may also store a digital assistant module 726 (or the server portion of the digital assistant). In some examples, 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.
[0222] In some examples, using processing modules, data, and models implemented on digital assistant module 726, the digital assistant may perform at least some of the following: convert voice input into text; recognize the user's intent expressed in natural language input received from the user; proactively elicit and obtain information needed to fully infer the user's intent (e.g., by disambiguating words, games, intentions, etc.); determine a task flow for satisfying the inferred intent; and execute the task flow to satisfy the inferred intent.
[0223] In some examples, such as Figure 7B As shown in FIG. , the I / O processing module 728 can be Fig. 7A The I / O device 716 in the Fig. 7AThe network communication interface 708 in the system interacts with a user device (e.g., device 104, device 200, device 400, or device 600) 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 may optionally obtain context information associated with the user input from the user device along with 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 examples, the context information also includes the software state and hardware state of the user device when the user request is received, and / or information related to the user's surrounding environment when the user request is received. In some examples, the I / O processing module 728 may 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 may forward the voice input to the STT processing module 730 (or speech recognizer) for speech-to-text conversion.
[0224] The STT processing module 730 may include one or more ASR systems. The one or more ASR systems may process the speech input received by the I / O processing module 728 to produce a recognition result. Each ASR system may include a front-end speech preprocessor. The front-end speech preprocessor may extract representative features from the speech input. For example, the front-end speech preprocessor may perform Fourier transform on the speech input to extract the spectral features characterizing the speech input as a sequence of representative multidimensional vectors. In addition, each ASR system may include one or more speech recognition models (e.g., sound models and / or language models), and may implement one or more speech recognition engines. Examples of speech recognition models may include hidden Markov models, Gaussian mixture models, deep neural network models, n-gram language models, and other statistical models. Examples 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 speech preprocessor to generate intermediate recognition results (e.g., phonemes, phoneme strings, and sub-words), and ultimately generate text recognition results (e.g., words, word strings, or sequences of symbols). In some examples, the speech input may be at least partially processed by a third-party service or processed on the user's 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 sequence of words, or a sequence of symbols), the recognition result may be transmitted to the natural language processing module 732 for intent inference.
[0225] 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.
[0226] In some examples, the STT processing module 730 may include a vocabulary of recognizable words and / or may access the vocabulary via the phonetic alphabet conversion module 731. Each vocabulary word may be associated with one or more candidate pronunciations of the word represented in a 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 examples, 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 examples, the candidate pronunciations may be manually generated, for example, based on a known standard pronunciation.
[0227] In some examples, the candidate pronunciations may be ranked based on their prevalence. The ranking can be higher than Because the former is a more common pronunciation (e.g., among all users, for users in a particular geographic region, or for any other suitable subset of users). In some examples, the candidate pronunciations can be ranked based on whether the candidate pronunciation is a custom candidate pronunciation associated with the user. For example, a custom candidate pronunciation can be ranked higher than a standard candidate pronunciation. This can be used to identify proper nouns with unique pronunciations that deviate from the standard pronunciation. In some examples, the candidate pronunciation can be associated with one or more speech features (such as geographic origin, country, or ethnicity). For example, the 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, country, ethnicity, etc.) in a user profile stored on the device. For example, it may be determined from the user profile that the user is associated with the United States. Based on the user being associated with the United States, the candidate pronunciations may be ranked (associated with the United States) can be ranked higher than the candidate pronunciations (Associated with the United Kingdom.) In some examples, one of the ranked candidate pronunciations may be selected as the predicted pronunciation (eg, the most likely pronunciation).
[0228] When speech input is received, the STT processing module 730 may be used to determine (e.g., using an acoustic model) a phoneme corresponding to the speech input, and then attempt to determine (e.g., using a language model) a word that matches the phoneme. For example, if the STT processing module 730 may first identify a phoneme sequence corresponding to a portion of the speech input, It can then determine based on the lexical index 744 that the sequence corresponds to the word "tomato".
[0229] In some examples, the STT processing module 730 may use fuzzy 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 this particular phoneme sequence is not one of the candidate phoneme sequences for that word.
[0230] In some examples, the natural language processing module 732 may be configured to receive metadata associated with the voice input. The metadata may indicate whether natural language processing is performed on the voice input (or a sequence of words or symbols corresponding to the voice input). If the metadata indicates that natural language processing will be performed, the natural language processing module may receive a sequence of words or symbols from the STT processing module to perform natural language processing. However, if the metadata indicates that natural language processing will not be performed, the natural language processing module may be disabled, and a sequence of words or symbols (e.g., a text string) from the STT processing module may be output from the digital assistant. In some examples, the metadata may further identify one or more domains corresponding to the user request. Based on the one or more domains, the natural language processor may disable domains outside the one or more domains in the knowledge ontology 760. In this way, natural language processing is constrained to the one or more domains in the knowledge ontology 760. Specifically, the one or more domains in the knowledge ontology can be used instead of other domains to generate structured queries (described below).
[0231] The natural language processing module 732 ("natural language processor") of the digital assistant may obtain 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 "one or more executable intents" from a user request expressed in natural language.
[0232] In some examples, 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 (e.g., 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 qualify 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, etc. As described herein, the context information may be dynamic and may change with the time, location, content, and other factors of the conversation.
[0233] In some examples, natural language processing may be based on, for example, knowledge ontology 760. 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, i.e., 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 links between executable intent nodes and attribute nodes in knowledge ontology 760 may define how the parameters represented by the attribute nodes are related to the tasks represented by the executable intent nodes.
[0234] In some examples, ontology 760 may be composed of executable intent nodes and attribute nodes. Within ontology 760, each executable intent node may be directly linked to or linked to one or more attribute nodes through one or more intermediate attribute nodes. Similarly, each attribute node may be directly linked to or linked 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 each be directly linked to an executable intent node (i.e., the "restaurant reservation" node).
[0235] In addition, the attribute nodes "cuisine", "price range", "telephone number", and "location" can be child nodes of the attribute node "restaurant", and each can be linked to the "restaurant reservation" node (i.e., an 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 each be linked 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 linked to both the "restaurant reservation" node and the "set reminder" node in ontology 760.
[0236] Executable intent nodes, together with their linked 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 7C The knowledge ontology 760 shown in may include an example of a restaurant reservation domain 762 within the knowledge ontology 760 and an example of a reminder domain 764. The restaurant reservation domain includes an executable intent node "restaurant reservation", attribute nodes "restaurant", "date / time" and "number of people in the group", and sub-attribute nodes "cuisine", "price range", "phone number" and "location". The reminder domain 764 may include an executable intent node "set reminder" and attribute nodes "subject" and "date / time". In some examples, 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 scheduling domain, travel reservation domain, movie ticket domain, etc.).
[0237] although Figure 7CTwo example 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 qualified, for example, by child attribute nodes such as "recipient name" and "message address."
[0238] In some examples, ontology 760 may include all domains (and therefore executable intents) that a digital assistant can understand and act upon. In some examples, 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.
[0239] In some examples, nodes associated with multiple related executable intents may be clustered under a "superdomain" in the knowledge ontology 760. For example, the "travel" superdomain may include a cluster of attribute nodes and executable intent nodes related to travel. Executable intent nodes related to travel may include "flight booking", "hotel booking", "car rental", "route planning", "finding points of interest", etc. Executable intent nodes under the same superdomain (e.g., the "travel" superdomain) may have multiple shared attribute nodes. For example, executable intent nodes for "airline 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 people traveling with you".
[0240] In some examples, each node in the knowledge ontology 760 can 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 can be a so-called "vocabulary" associated with the node. The corresponding set of words and / or phrases associated with each node can 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.
[0241] 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 examples, 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 examples, the domain with the most "triggered" nodes may be selected. In some examples, the domain with the highest confidence (e.g., based on the relative importance of its various triggered nodes) may be selected. In some examples, the domain may be selected based on a combination of the number and importance of the triggered nodes. In some examples, 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.
[0242] User data 748 may include user-specific information, such as user-specific vocabulary, user preferences, user address, the user's default language and second language, the user's contact list, and other short-term or long-term information for each user. In some examples, natural language processing module 732 may use user-specific information to supplement the information contained in the user input to further qualify the user's intent. For example, for a user request to "invite my friends to my birthday party," natural language processing module 732 may be 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.
[0243] Additional details of searching knowledge ontology based on symbolic strings are described in U.S. utility patent application serial number 12 / 341,743, entitled “Method and Apparatus for Searching Using An Active Ontology,” filed on December 22, 2008, the entire disclosure of which is incorporated herein by reference.
[0244] In some examples, 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 examples, 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 may be able to correctly identify the executable intent as "restaurant reservation" based on the user input. According to the knowledge ontology, a structured query for the "restaurant reservation" domain may include parameters such as {cuisine}, {time}, {date}, {number of companions}, etc. In some examples, based on voice input and text derived 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 example, 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 in the group} and {date} may not be specified in the structured query. In some examples, the natural language processing module 732 may use the received contextual information to fill in some parameters of the structured query. For example, in some examples, if a sushi restaurant "nearby" is requested, the natural language processing module 732 may use the GPS coordinates from the user device to fill in the {location} parameter in the structured query.
[0245] In some examples, the natural language processing module 732 may pass 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 examples, the various processes necessary to complete these tasks may be provided in the task flow model 754. In some examples, 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.
[0246] As described above, in order to complete the structured query, the task flow processing module 736 may need to initiate an additional dialogue with the user in order to obtain additional information and / or clarify the utterances that may be ambiguous. When it is necessary to conduct such an interaction, the task flow processing module 736 may call the dialogue flow processing module 734 to participate in the dialogue with the user. In some examples, the dialogue flow processing 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 through the I / O processing module 728 and an answer may be received from the user. In some examples, the dialogue processing module 734 may present the dialogue output to the user via audio and / or visual output, and receive input from the user via verbal or physical (e.g., click) response. Continuing the above example, 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?" to pass to the user. Once a response is received from the user, the dialog flow processing module 734 may populate 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.
[0247] 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.
[0248] In some examples, 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 other user applications installed on the user device or interact with the other applications, and call a third-party service (e.g., a restaurant reservation portal, a social networking site, a bank portal, etc.), or interact with a third-party service on behalf of the task flow processing module 736. In some examples, 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.
[0249] 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 that complies with the API of the online reservation service.
[0250] In some examples, 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, 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. In addition, in some examples, the generated response can be output as a voice output. In these examples, the generated response can be sent to a speech synthesis module 740 (e.g., a speech synthesizer), in which the generated response can be processed to synthesize the dialogue response in the form of speech. In other examples, the generated response can be data content related to satisfying the user's request in the voice input.
[0251] 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 suitable speech synthesis technology to generate speech output from text, including but not limited to: concatenation synthesis, unit selection synthesis, diphone synthesis, domain-specific synthesis, formant synthesis, pronunciation synthesis, synthesis based on a hidden Markov model (HMM), and sine wave synthesis. In some examples, the speech synthesis module 740 may be configured to synthesize individual words based on phoneme strings corresponding to these words. 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.
[0252] In some examples, instead of using speech synthesis module 740 (or in addition), speech synthesis can be performed on a remote device (e.g., server system 108), and the synthesized speech can be sent to the user device for output to the user. For example, this can occur in some specific implementations where the output of the digital assistant is generated at the server system. And because the server system typically has more processing power or more resources than the user device, it is possible to obtain higher quality speech output than client-side synthesis would achieve.
[0253] Additional details about digital assistants can be found in U.S. utility patent application Ser. No. 12 / 987,982, filed on Jan. 10, 2011, and entitled “Intelligent Automated Assistant,” and U.S. utility 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 entireties.
[0254] FIG. 8A to FIG. 8O An exemplary user interface for discovering media based on a non-specific, unstructured natural language request is shown according to some embodiments. The user interface in these figures is used to illustrate the process described below, including 9A to 9C An exemplary process in .
[0255] refer to Fig. 8AAccording to some embodiments, the electronic device 200 includes a display 212 and a microphone 213. As described above, the digital assistant is accessed by a user who issues unstructured natural language user input obtained via the microphone 213. The timing of the user request is controlled by the user. The user can request the delivery of media during the simultaneous playback of other media by the electronic device 200 or when the electronic device 200 is not playing back media. The user input requests the delivery of specific media, in this case a song. The user input is converted from speech to text, and according to some embodiments, the text user input 1000 is displayed on the display 212. By displaying the text user input 1000, according to some embodiments, the user can verify that the digital assistant has correctly received the request made. In other embodiments, such as but not limited to embodiments in which the digital assistant can operate in a hands-free mode, the text user input 1000 is not displayed. Fig. 8A As shown, the user has requested the digital assistant to play a specific track from the album titled "Liszt: The Piano Concertos". In some embodiments, at least a portion of the album is stored in electronic form on the electronic device 200. In other embodiments, at least a portion of the album is stored remotely on an external device ("the cloud") that the electronic device 200 can access. According to some embodiments, the remotely stored content is associated with the electronic device 200 and / or a unique identifier associated with the user. In other embodiments, at least a portion of the album is available on a streaming service such as Apple Music or iTunes Radio that the electronic device 200 can access. sm (a service provided by Apple Inc. (Cupertino, California)).
[0256] Upon receiving unstructured natural language user input requesting media, the digital assistant triggers execution of a search for the media, such as with reference to 9A to 9C The search is performed using unstructured natural language user input and the context of the input. In this embodiment, the search finds the specific media requested by the user - track 2 of "Liszt: The Piano Concertos", and based on the user input and its context, it is determined that the specific album satisfies the user request. In some embodiments, the media requested by the user is locally on the electronic device 200, stored remotely on a server, or available through a streaming service such as Apple Music or iTunes Radio. sm (Apple Inc. (Cupertino, California) service) is transparent to the user. Figure 8BAs shown, the digital assistant obtains the requested media. According to some embodiments, the electronic device 200 presents an identifier 1002 associated with the media on the display 212 to allow the user to confirm which media is being played back. According to some embodiments, the electronic device 200 includes a media playback interface 1004, which includes standard media controls, such as an affordance for pausing the media, playing the previous song, or playing the next song, an affordance for controlling the volume, and an affordance for displaying and / or controlling the progress of media playback. The electronic device 200 plays back the selected media; here it refers to track 2 ("Piano Concerto #2 in A") from the album "Liszt: The Piano Concertos".
[0257] like Figure 8C As shown, users can compare Fig. 8A 1010 . The more unspecific way of requesting media described. Unspecific, unstructured natural language user input cannot identify a particular media item with specificity. For example, a user wants to listen to a song associated with a popular movie, but does not know or cannot remember the name of the song. User input 1010 is received: "Play that song from Top Gun", which identifies the movie but not the song. Figure 8C A request made in Figure 8B The user input 1010 is displayed on the display 212 according to some embodiments.
[0258] Upon receiving non-specific unstructured natural language user input requesting media, the digital assistant triggers execution of a search for the media, such as with reference to 9A to 9C Described in more detail. The search is performed using unstructured natural language user input and the context of the input. The context of the user input may include one or more of a device context, a user context, and a social context.
[0259] The device context includes information associated with the electronic device 200 itself. In some embodiments, the device context includes the location of the electronic device 200. The GPS system or other system can be used to locate the electronic device 200, and it is possible to determine whether the user is moving, the user's location (e.g., home, school, work place, park, gym), and other information. According to some embodiments, the electronic device 200 is configured to receive wireless location transmitters other than GPS, such as A wireless location transmitter or iBeacon from Apple Inc (Cupertino, California) receives a signal. As an example, the digital assistant determines that the electronic device 200 and thus the user is moving at a rate consistent with the car's travel. According to some embodiments, the digital assistant uses this information in conjunction with the user context (described below) associated with the media that the user most often plays back in the car in order to obtain the requested media. As another example, the digital assistant determines that the electronic device 200 is in a place where live music is performed, such as an arena or a bar. According to some embodiments, in response, the digital assistant can trigger a search for a music performance schedule at the location where the electronic device 200 is located, and use this information to satisfy the user's request for media. As another example, when the electronic device 200 is located in the user's residence and the user has not moved a detectable amount within a predetermined amount of time, the digital assistant determines that the user is watching TV at home.
[0260] According to some embodiments, the device context includes audio input other than user voice from a microphone, such as sounds near the electronic device 200. According to some embodiments, the electronic device generates an acoustic fingerprint from the sound. The acoustic fingerprint is a compressed digital summary generated from the sound that can be used to identify the sound by comparing the acoustic fingerprint to a database. In other embodiments, the electronic device also converts the sound into text or vice versa, wherein the sound includes recognizable speech. As an example of using such context, a digital assistant is provided by an Apple Inc (Cupertino, California) The digital media extender has determined that the user is watching television at home, rather than through the electronic device (as described in the previous paragraph), through the electronic device, the digital assistant determines that the user is watching a particular television program based on the sounds near the electronic device 200. According to some embodiments, the digital assistant also uses a database of television program schedule information to make such determinations. Upon receiving a user's request for media (e.g., "record episodes of this show," "get this song from the show"), the digital assistant uses location and ambient sound information to determine which media satisfies the user's request. According to another embodiment, for example, the user is walking through a mall or public space or sitting in a restaurant and hears a song on the local sound system. In response to the user's request to "add this song to my music library," the digital assistant can listen to the ambient sounds through microphone 213 to determine what the user means by "this song." Upon identifying the song, the digital assistant can add the song to the user's library, for example, using the above-mentioned acoustic fingerprint or speech-to-text conversion technology.
[0261] According to some embodiments, the device context includes the content of the media played concurrently by the electronic device 200 at the same time as the user's request for the media. Such media can be in any format, such as audio and / or video. In some embodiments, the video and music player module 252 accesses information associated with the media played concurrently by the electronic device 200 so that the digital assistant 200 can directly access the information. Such information is useful in the context of the user requesting media related to the media played concurrently by the electronic device (e.g., "play similar songs", "I want to hear a live version of this song"). According to some embodiments, the device context includes a time code associated with the content of the media played concurrently by the electronic device 200 at the same time as the user's request for the media. According to some embodiments, the digital assistant uses the time code to determine the position in the media that occurs concurrently with the user's request for the media. For example, if a user is watching a video on an electronic device and requests "add this artist to my media stream," the digital assistant accesses the media stream played back by the video and music player module 252 to determine which media is playing concurrently, and then uses the time code of the media stream to determine whether a song is associated with that time code in the media stream; if so, the digital assistant determines that the song is associated with the user input of "this artist" and determines the artist who performs the song.
[0262] According to some embodiments, the device context includes data associated with media stored on the electronic device 200. For example, the digital assistant infers that the media stored on the electronic device 200 is user-preferred media, and uses this information to determine the meaning of a non-specific user's request for media. The data associated with the media stored on the electronic device includes, but is not limited to, for example, the presentation state of the media, the bibliographic information of the media (e.g., title, album, release date), information related to the playback history of the media (e.g., the number of times the media has been played back; the date the media was last played back; the date the media was added to the electronic device), and metadata related to the media.
[0263] According to some embodiments, the device context includes an application context. The application context is associated with the application that the user is using to play back the media. For example, the digital assistant determines whether the concurrent playback of media is being performed by the video and music module 252, a local application running on the electronic device 200, a third-party application associated with the electronic device 200 (e.g., Hulu LLC (Santa Monica, California) ) or another application. The application context also includes metadata associated with the application, if any.
[0264] The user context includes information associated with the user of the electronic device 200. The user context includes the content of the natural language user input requesting the media. According to some embodiments, the user context includes demographic information about the user, such as the user's age, gender, etc. In some embodiments, the digital assistant uses this information to compare the request for media with similar requests made by other users with similar demographic characteristics. For example, the digital assistant receives a non-specific unstructured natural language user input requesting media from a user attending college in Boston. The digital assistant triggers a search related to the media searched by other college students in Boston, and uses the popularity of the media among users in similar locations to obtain media for the user.
[0265] According to some embodiments, the user context includes media that is associated with the user regardless of where the media is stored. Such media may be stored in the cloud or may be associated with a streaming music service accessible to the user, such as Apple Music or iTunes Radio. sm (a service of Apple Inc. (Cupertino, California)). In some embodiments, the digital assistant infers that media associated with the user is media preferred by the user, and uses this information to determine the meaning of a non-specific user request for media. In some embodiments, the user context also includes data associated with the media that is associated with the user, such as, but not limited to, the presentation state of the media, track information for the media (e.g., title, album, release date), information related to the playback history of the media (e.g., the number of times the media has been played back; the date the media was last played back; the date the media was added to the electronic device), and metadata related to the media.
[0266] According to some embodiments, user context includes information related to the user's music preferences. For example, user context includes the history of media played back by the user and / or the number of times the user has played back certain items, without considering the storage location of these items. Media frequently played by the user is inferred to be the user's preferred media, so that when determining the media items that meet the user's request, non-specific natural language user-entered media that matches the requested media that is frequently played by the user is considered a better match. As another example, user context includes the history of the user obtaining media, without considering the storage location of the media. As another example, user context includes adding music to a streaming music service accessible to the user (such as Apple Music or iTunesRadio). sm History of Apple Inc. (Cupertino, California) services.
[0267] According to some embodiments, the user context includes data associated with user content accessible to the electronic device 200. For example, the user context includes data associated with digital photos taken by the user, whether the data is stored on the electronic device 200 or stored remotely and accessible by the electronic device 200. Digital photos are usually stored with metadata, such as the date and location of the photo. When receiving a non-specific natural language user input requesting media, such as "play the hits on my trip to Italy", the digital assistant can trigger a search for information related to travel to Italy. When looking for photo metadata including locations within Italy, the digital assistant determines the corresponding date information in the photo metadata. The digital assistant then triggers a search of a database of historical music chart information (e.g., a database of Billboard (New York, New York)) based on the date information obtained from the photo. It can be clearly seen from this embodiment that the user content does not need to be related to the type of media the user is searching for.
[0268] The social context includes information associated with users other than the user of the electronic device 200. As an example, the social context includes information that a particular media item has been downloaded from a music service such as Apple Inc. (Cupertino, California). In one example, such streaming or download counting is performed on music works by artists. As another example, such counting is performed on albums. By way of further example, the digital assistant may receive non-specific natural language user input requesting media such as "play this song from Frozen." The digital assistant may be in the Apple Inc. (Cupertino, California) The social context may include that a particular media item has been downloaded from a streaming music service accessible to the user (such as Apple Music or iTunes Radio). sm How many times (a service from Apple Inc. (Cupertino, California)) was streamed.
[0269] According to some embodiments, the social context includes the number of references to media items in a social media database. As an example, a digital assistant may receive a non-specific natural language user input requesting media such as "I want to listen to hits from Famous Band". Famous Band may have released a popular album with several hits. In order to disambiguate the user's request, the digital assistant may trigger a search of a social database (e.g., a database of Twitter, Inc. (San Francisco, California)) to determine the number of mentions of a specific media item in a recent period of time (such as the past 7 days or 14 days). The digital assistant obtains the specific media item from Famous Band that was most cited during that time.
[0270] Return to the figure Figure 8C , user input 1010 has been received that identifies a movie but does not identify the requested song from the movie: "Play that song from Top Gun". As described above, the digital assistant identifies at least one context of the user input 1010. According to some embodiments, the context is at least one of a device context, a user context, and a social context. The digital assistant triggers a search for media based on the context and the user input. For example, the digital assistant may search for the soundtrack of the movie "Top Gun" in the electronic device 200 and / or the media associated with the user. Upon discovering the soundtrack, the digital assistant may determine which song on the soundtrack is played the most, and determine that the song satisfies the request for the media, after which the digital assistant obtains the song for the user. As another example, the digital assistant may search for the soundtrack of the movie "Top Gun" in a music service. Upon discovering the soundtrack, the digital assistant may determine which song on the soundtrack is streamed or downloaded the most times, and determine that the song satisfies the request for the media, after which the digital assistant obtains the song for the user.
[0271] In order to obtain the requested media, in addition to other processes, these two example processes can be performed simultaneously.By executing the process in parallel rather than sequentially, the time of locating the media items is reduced, especially in the case where only one process is delivered to satisfy the result of the user's request in several processes.In addition, when each parallel process delivers a single media item, the confidence of the media item of the user's request is enhanced.Further, when the parallel process delivers two or more independent media items, the digital assistant applies further heuristic algorithms to these items to determine those items that are most likely to satisfy the user's request.The digital assistant can score each media item according to one or more conditions, and determines that the media item with the highest score satisfies the user's request, and the digital assistant obtains the song for the user afterwards.According to some embodiments, the scoring method is biased towards certain results, such as the result associated with the media stored on the electronic device 200.In some embodiments, the user selects which condition is more or less important in scoring so as to obtain the requested media.
[0272] like Fig.8D As shown, the digital assistant obtains the requested media. According to some embodiments, the electronic device 200 presents an identifier 1012 associated with the media on the display 212 to allow the user to confirm which media is being played back: here, the song "Danger Zone" from Kenny Loggins on the soundtrack of the movie Top Gun. The electronic device 200 optionally includes a media playback interface 1004 as described above. The electronic device 200 plays back the selected media.
[0273] Users may have Fig.8D A different song may be presented in the same media, or the user may simply change his or her mind about which media he or she wants to play back. Fig. 8E As shown, the digital assistant receives user input 1020 requesting alternative media. FIG. 8C to FIG. 8D In the embodiment of , the alternative media is a different song from the same movie (i.e., the same original album). User input 1020 need not be expressed as a request; Fig. 8EAs shown, user input 1020 indicates "No, I mean another song." The digital assistant performs speech-to-text conversion on the user input 1020 and determines that the user wishes to receive a media item different from the most recently obtained media item based on the context of the most recent request and the most recent digital assistant action. In response to receiving the second user input 1020, the digital assistant triggers a search for the requested media based on the context, the user input, and the second user input. For example, the digital assistant may trigger another search based on the same criteria as the first search, but the media item that matches the first result (here the song "Danger Zone") is discarded as a potential match. As another example, the results of the previous search are still loaded into a memory accessible by the digital assistant, and the digital assistant selects the next highest match from the list of possible matching media items. This approach may require more storage capacity, but can provide results to the user more quickly. The digital assistant determines at least one additional media item that satisfies the request.
[0274] like Figure 8F As shown, the digital assistant obtains the media that satisfies the request. According to some embodiments, the electronic device 200 presents an identifier 1022 associated with the media on the display 212 to allow the user to confirm which media is being played back: here it refers to the song "Take My Breath Away" from Berlin on the soundtrack of the movie Top Gun. The electronic device 200 optionally includes a media playback interface 1004 as described above. The electronic device 200 plays back the selected media.
[0275] like Figure 8G As shown, the digital assistant receives user input 1030 requesting alternative media. Figure 8F In an embodiment of the present invention, the alternative media is a different version of the song. In this embodiment, the different version is a live version, rather than a studio version. In other embodiments, the different versions are different studio versions by the same artist, different live versions by the same artist, or the same song recorded by different artists. The digital assistant uses the same method as described above with reference to Fig. 8E to Figure 8F The same manner as described initiates a search for alternative media and determines at least one alternative media that satisfies the request.
[0276] like Figure 8HAs shown, the digital assistant obtains the media that satisfies the request. According to some embodiments, the electronic device 200 presents an identifier 1032 associated with the media on the display 212 to allow the user to confirm which media is being played back: here, the song "Take My BreathAway Live" from Berlin in the album named "Live: Sacred and Profane". The electronic device 200 optionally includes a media playback interface 1004 as described above. The electronic device 200 plays back the selected media.
[0277] According to some embodiments, when the digital assistant obtains the media, the digital assistant pauses concurrent playback of the media already playing on the electronic device 200, places the media in an ordered queue for later playback, adds the media to a media library, and / or takes other actions. Fig. 8E to Figure 8F , according to some embodiments, the digital assistant determines based on user input 1020 that the returned media item does not satisfy the user request. As a result, according to some embodiments, when alternative media 1022 is obtained, it pauses the concurrent playback of the song "Danger Zone", terminates the playback of "Danger Zone", and replaces the playback of "Danger Zone" with the playback of alternative media 1022. Typically, according to some embodiments, when the digital assistant determines that the user input is consistent with the input requesting the pause of concurrently played media, the digital assistant causes the electronic device 200 to stop playing the media and replace it with the playback of the most recently requested media. The media may be different types of media. For example, when watching a movie on the electronic device 200, the user may request playback of a song; the digital assistant will cause the electronic device 200 to stop playing the movie and replace it with playback of the most recently requested media - in this example, the media is a song.
[0278] According to some embodiments, when the digital assistant obtains media, the digital assistant places the media in an ordered queue for later playback. Figure 8I As shown, the digital assistant receives user input 1040 requesting "play more songs by this band." The digital assistant determines based on the user input 1040 that the user is satisfied with the previously obtained media items because the user wants more media from the same artist. Other conditions may be used to determine whether the user input 1040 is consistent with the user's satisfaction with the media played concurrently with the user input 1040. Based on the user input 1040, the digital assistant initiates a search based on the user input and the context of the user input, determines one or more additional media items that satisfy the user's request, and obtains these one or more media items. Figure 8JAs shown, the media playing concurrently with the user input 1040 continues to play. The digital assistant places one or more additional media items in an ordered queue for playback. When the media playing concurrently with the user input 1040 has completed playback, the first item in the ordered queue is then played. According to some embodiments, the items in the queue may be from a local library on the electronic device 200, may be located in a cloud external to the electronic device, or may be part of a streaming music service accessible to the user, such as Apple Music or iTunes Radio. sm (a service of Apple Inc. (Cupertino, California)). Generally, according to some embodiments, when the digital assistant determines that the user input is consistent with input reflecting the user's satisfaction with the concurrently playing media, the digital assistant causes the electronic device 200 to continue playing the media and place one or more additional media items in an ordered queue for playback. The media can be different types of media, as stated above with reference to another embodiment.
[0279] According to some embodiments, when the digital assistant obtains media, the digital assistant adds the media to a media library associated with the user. In some examples, the media library is stored locally on the electronic device 200, stored in a cloud associated with the user, or is part of a streaming music service accessible to the user, such as Apple Music or iTunes Radio. sm (Services of Apple Inc. (Cupertino, California)). For example, Figure 8K As shown, the digital assistant receives a user input 1050 requesting “What is that song from Frozen?” The digital assistant initiates a search for media based on the user input and at least one context of the user input, determines at least one media item that satisfies the request, and obtains the at least one media item. In some embodiments, the digital assistant automatically adds the obtained at least one media item to a media library associated with the user. In other embodiments, such as Figure 8LAs shown, upon obtaining at least one media item, but before adding the at least one media item to a library associated with a user, the digital assistant presents the user with an option to add the at least one media item to a library associated with the user. According to some embodiments, an identifier 1052 of the at least one media item obtained is presented to the user along with a request 1054 on display 212, such as "Add to library?" According to some embodiments, the electronic device displays a first enable indication 1056 associated with adding at least one media item to a library associated with the user and a second enable indication 1058 associated with denying adding at least one media item to a library associated with the user. In response to the user selection of the first enable indication 1056, the digital assistant adds the at least one media item to a library associated with the user.
[0280] According to some embodiments, Figures 8M to 8N As shown, the digital assistant can receive user input for annotating a media item. Figure 8M , electronic device 200 is playing back media item 1060, which in this embodiment is track 14 of the album "1970sGreatest Hits". Audio interface 1004 can be displayed on display 212 concurrently with the playback of media item 1060. The user may wish to annotate media item 1060. In some embodiments, the digital assistant receives user input 1062 of unstructured natural language speech including one or more words, such as "I like these lyrics" or "What does this mean?". According to some embodiments, user input 1062 is associated with the time code in media item 1060, and user input 1062 is received at this time. User input 1062 is converted from speech to text, stored as voice data or processed in any other suitable manner. In some embodiments, user input 1062 is a note made by the user to himself or other information that the digital assistant will not take action due to it.
[0281] According to some embodiments, Fig.8O As shown, the digital assistant triggers the execution of a search based on the user input 1062 and the context of the user input 1062. In other embodiments, the digital assistant does not trigger the execution of a search until it receives an explicit request from the user. In response to the search, the digital assistant provides search results 1064 to the user on the display 212. In this embodiment, the user input 1062 is related to the meaning of the lyrics of the media item 1060 at a particular time code, and the digital assistant determines the meaning of the lyrics, such as by referencing a lyrics database.
[0282] 9A to 9CA process 900 for operating a digital assistant according to various examples is shown. More specifically, process 900 may be implemented as performing media discovery based on non-specific natural language user input using a digital assistant. Process 900 may be performed using one or more electronic devices implementing a digital assistant. In some examples, process 900 may be performed using a client-server system (e.g., system 100) that implements a digital assistant. The various blocks of process 900 may be distributed in one or more computers, systems, or electronic devices in any suitable manner. For example, in some examples, process 900 may be performed entirely on an electronic device (e.g., device 104, 200, 400, or 600). References to any one particular electronic device (104, 200, 400, or 600) in this document should be understood to cover all electronic devices (104, 200, 400, or 600), unless one or more of these electronic devices (104, 200, 400, or 600) are excluded by the explicit meaning of this document. For example, the electronic device (104, 200, 400, or 600) used in several embodiments is a smart phone. However, process 900 is not limited to use with a smart phone; process 900 may be implemented on any other suitable electronic device (such as a tablet, desktop computer, laptop, or smart watch). Electronic devices with greater computing power and longer battery life may execute more boxes of process 900. The distribution of the boxes of process 900 need not be fixed and may vary depending on network connection bandwidth, network connection quality, server load, availability of computer power and battery power at the electronic device (e.g., 104, 200, 400, 600), and / or other factors. In addition, although the following discussion describes process 900 as being performed by a digital assistant system (e.g., system 100 and / or digital assistant system 700), it should be recognized that the process or any particular portion of the process is not limited to execution by any particular device, combination of devices, or implementation. The description of the process is provided by FIG. 8A to FIG. 8O Further illustration and exemplification and the above description relate to these drawings.
[0283] 9A to 9C 900 is a flowchart illustrating a method for discovering media based on a non-specific, unstructured, natural language request using a digital assistant and an electronic device (104, 200, 400, or 600) according to some embodiments. Some operations in process 900 may be combined, the order of some operations may be changed, and some operations may be omitted. Specifically, if any, 9A to 9C The optional operations indicated by dashed shapes in the figure can be performed in any suitable order and need not be performed in the order indicated by dashed shapes. 9A to 9C Execute in the order shown.
[0284] As described below, method 900 provides an intuitive way to discover media based on non-specific, unstructured, natural language requests using a digital assistant. The method reduces the cognitive burden for a user to discover media based on non-specific, unstructured, natural language requests using a digital assistant, thereby creating a more efficient human-computer interface. For battery-powered computing devices, enabling a user to discover media faster and more efficiently based on non-specific, unstructured, natural language requests using a digital assistant saves power and increases the time between battery charges.
[0285] At the beginning of process 900, the digital assistant receives user input associated with a request for media, wherein the user input includes an unstructured natural language voice, which includes one or more words. In the case where the electronic device (e.g., 104, 200, 400, 600) includes a microphone 213 or is associated with a microphone, the user input can be received by the microphone 213. The user input may also be referred to as an audio input or an audio stream. In some embodiments, the audio stream may be received as an original sound wave, as an audio file or in the form of a representative audio signal (analog or digital). In other embodiments, the audio stream may be received at a remote system (such as a server component of a digital assistant). The audio stream may include user voices, such as voice user requests. The user input may include voice user requests of authorized users. In one example, user input may be received from a user (e.g., the owner or primary user of a user device) closely associated with the electronic device (104, 200, 400, 600). In an alternative embodiment, the user input is received in the form of text rather than voice. In some embodiments, the audio stream is converted from voice to text by ASR processing before or during analysis by the digital assistant. Such conversion may be performed as described above, such as described in paragraphs
[0175] et seq. of this document.
[0286] The digital assistant identifies at least one context associated with the user input (904). FIG. 8A to FIG. 8O As stated, according to some embodiments, the context includes one or more of a device context, a user context, and a social context. Examples of each context and its use in media discovery are also stated above.
[0287] After identifying at least one context associated with the user input, the digital assistant initiates a search for the requested media based on the at least one context and the user input (906). In some embodiments, the search is performed by the digital assistant itself. In other embodiments, the digital assistant requests the search from a separate entity that performs the search and returns the results to the digital assistant. In some embodiments, the search is performed by the digital assistant itself and the digital assistant requests the search to be performed from a separate entity. By performing two searches in parallel, the response time to the user request is reduced (902).
[0288] According to some embodiments, the search of box 906 may be performed locally on the electronic device (e.g., 104, 200, 400, 600). According to other embodiments, the search of box 906 may be performed remotely to the electronic device (e.g., 104, 200, 400, 600). The search performed remotely to the electronic device (e.g., 104, 200, 400, 600) may be performed on a server that includes information about the search or has access to information about the search, such as a server of Shazam Entertainment Limited (London, United Kingdom) for audio fingerprint information, a server of Billboard Magazine (New York, New York) for historical music information, and / or a server of Apple, Inc. (Cupertino, California). In some embodiments, the search may be performed locally and remotely to the electronic device (e.g., 104, 200, 400, 600). By performing multiple searches in parallel, the response time to the user request is reduced (902).
[0289] The digital assistant determines at least one media item that satisfies the request based on at least one context and user input (908). The digital assistant makes this determination in any suitable manner. According to some embodiments, the digital assistant selects the first match that exceeds a predetermined threshold. The digital assistant determines the probability that at least one media item satisfies the request based on at least one context and user input (910). Next, the digital assistant determines whether the probability exceeds a threshold (912). In some embodiments, the threshold may be predetermined. In other embodiments, the threshold may be adjustable by the user. In other embodiments, the threshold may be a dynamic variable. If the media item exceeds the threshold, process 900 proceeds to the next box 918. According to some embodiments, the digital assistant selects the best match among several candidate matches. The digital assistant determines the probability that at least one media item satisfies the request based on at least one context and user input (914). Next, the digital assistant selects the media item with the highest probability and proceeds to the next box 918. The above with respect to FIG. 8A to FIG. 8OEmbodiments of determining at least one media item that satisfies the request of block 902 based on at least one context and user input are also provided.
[0290] Based on determining that the at least one media item satisfies the request, the digital assistant obtains the at least one media item (918). According to some embodiments, the digital assistant can obtain the at least one media item in a number of ways. As one example, the digital assistant automatically adds the obtained at least one media item to a media library associated with the user (920), as described above with reference to FIG. 8A to FIG. 8O As another example, the digital assistant presents the user with an option to add the acquired media to a media library associated with the user (922), and in response to the user selecting the option to add the acquired media to a media library associated with the user, adds the acquired media to the media library associated with the user (924). This process is described above, with particular reference to Figure 8K to Figure 8L As another example, the digital assistant places the acquired media in an ordered queue (926), and then plays the media according to the queue (928). This process is described above, with specific reference to FIG. 8I to FIG. 8J and the accompanying text in the specification. According to some embodiments, in the obtainment block 918, the digital assistant may determine whether the local library includes the at least one media item (930). The local library is located on an electronic device (e.g., 104, 200, 400, 600). By first searching the local library, or initiating an external search in parallel, when the requested item is located on an electronic device (e.g., 104, 200, 400, 600), the amount of time required to satisfy the user request is reduced. If the digital assistant determines that the local library includes the at least one media item, the digital assistant presents the at least one media item to the user (932). If the digital assistant determines that the local library does not include the at least one media item, the digital assistant obtains the at least one media item from an external data source (934).
[0291] In some embodiments, in conjunction with obtaining the at least one media item (918), or after obtaining the media item (918), the digital assistant plays the media item (936). In some cases, if the digital assistant determines that the user wishes to interrupt the simultaneous playback of other media, the digital assistant terminates the simultaneous playback of other media (938), as described above with reference to FIG. 8A to FIG. 8O described.
[0292] According to some embodiments, after obtaining the media item, the digital assistant receives a second user input comprising an unstructured natural language speech that includes one or more words (940). The digital assistant annotates the media item with the one or more words (942). In some embodiments, if the user only wants to make and retain annotations associated with the media item, the process stops here. In other embodiments, the process continues and the digital assistant triggers a search based on the annotation (944). Upon receiving the search results, the digital assistant presents the search results to the user (946). The process is described above, with specific reference to FIG. 8M to FIG. 8O and the accompanying text in the instruction manual.
[0293] According to some embodiments, the digital assistant receives a second user input requesting a user profile (948). As an example, this may occur when the digital assistant initially obtains a media item that does not match the user's request. This situation is described above, with specific reference to FIG. 8E to FIG. 8F As another example, this may occur when the digital assistant initially obtains a media item that matches the user's request, but the user wishes to listen to different media. This situation is described above, with specific reference to Figures 8G to 8H and the text attached in the specification. In response to receiving the second user input, the digital assistant triggers a search for media based on at least one context, the user input, and the second user input (950). As an example, the combination of the user input and the second user input provides additional search criteria for determining media items. As another example, the combination of the user input and the second user input allows the digital assistant to exclude initial results when evaluating search results. The digital assistant determines at least one additional media item that satisfies the request based on at least one context, the user input, and the second user input (952). Based on determining that at least one additional media item satisfies the request, the digital assistant obtains the at least one additional media item (954). In addition, according to some embodiments, based on, for example, at least one context, the user input, and the second user input requesting the user data, the probability that the media item satisfies the request for media can be updated over time.
[0294] According to some embodiments, Fig.10 An exemplary functional block diagram of an electronic device 1000 configured according to the principles of various described embodiments is shown. According to some embodiments, the functional blocks of the electronic device 1000 are configured to perform the techniques described above. The functional blocks of the device 1000 are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of various described embodiments. It should be understood by those skilled in the art that Fig.10The 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.
[0295] like Fig.10 As shown in , the electronic device 1000 includes a display unit 1002 configured to display a graphical user interface, optionally includes a touch-sensitive surface unit 1004 configured to receive contacts, a microphone unit 1006 configured to receive audio signals, and a processing unit 1008 coupled to the display unit 1002 and optionally coupled to the touch-sensitive surface unit 1004 and the microphone unit 1006. In some embodiments, the processing unit 1008 includes a receiving unit 1010, a recognition unit 1012, an initiating unit 1014, a determining unit 1016, an obtaining unit 1018, and a playing unit 1020.
[0296] The processing unit is configured to receive user input associated with a request for media (e.g., using a receiving unit 1010), wherein the user input includes unstructured natural language speech, wherein the unstructured natural language speech includes one or more words; identify at least one context associated with the user input (e.g., using a recognizing unit 1012); initiate a search for media based on the at least one context and the user input (e.g., using an initiating unit 1014); determine at least one media item that satisfies the request based on the at least one context and the user input (e.g., using a determining unit 1016); and based on determining that the at least one media item satisfies the request, obtain the at least one media item (e.g., using an obtaining unit 1018).
[0297] In some embodiments, the initiation unit is further configured (eg, using initiation unit 1014) to cause the search to be performed locally on the device.
[0298] In some embodiments, the initiation unit is further configured (eg, using initiation unit 1014) to cause the search to be performed remotely to the device.
[0299] In some embodiments, the processing unit is further configured to determine whether the local library includes the media item (e.g., using the determination unit 1016); based on determining that the local library includes the media item, present the media item to the user (e.g., using the playback unit 1020); and based on determining that the local library does not include the media item, obtain the media item from an external data source (e.g., using the acquisition unit 1018).
[0300] In some embodiments, the processing unit is further configured to receive a second user input requesting alternative media (e.g., using receiving unit 1010); in response to receiving the second user input, initiate a search for media based on at least one context, user input, and second user input (e.g., using initiating unit 1014); determine at least one additional media item that satisfies the request based on at least one context, user input, and second user input (e.g., using determining unit 1016); and based on determining that the at least one additional media item satisfies the request, obtain the at least one additional media item (e.g., using obtaining unit 1018).
[0301] In some embodiments, at least one context associated with the user input includes a device context.
[0302] In some embodiments, the device context includes the location of the device.
[0303] In some embodiments, the device context includes the proximity of the device to a wireless location transmitter.
[0304] In some embodiments, the device context includes the content of media being played concurrently by the device.
[0305] In some embodiments, the device context includes time codes associated with media concurrently playing on the device.
[0306] In some embodiments, the device context includes audio input other than user voice from a microphone.
[0307] In some embodiments, the device context includes data associated with media stored on the device.
[0308] In some embodiments, the device context includes an application context.
[0309] In some embodiments, at least one context associated with the user input includes a user context.
[0310] In some embodiments, the user context includes content entered by the user.
[0311] In some embodiments, the user context includes media associated with the user.
[0312] In some embodiments, the user context includes demographic information about the user.
[0313] In some embodiments, the user context includes information related to the user's music preferences.
[0314] In some embodiments, the user context includes data associated with user content accessible to the device.
[0315] In some embodiments, at least one context associated with the user input includes a social context.
[0316] In some embodiments, the social context includes the frequency of access to a particular media item across multiple users.
[0317] In some embodiments, the social context includes the number of references to the media item in the social media database.
[0318] In some embodiments, the media item is a song.
[0319] In some embodiments, the processing unit is further configured to, in response to obtaining at least one media item, play the at least one media item (e.g., using playback unit 1020) and terminate concurrent playback of other media (e.g., using playback unit 1020).
[0320] In some embodiments, the processing unit is further configured to, in response to obtaining the media items, place at least one obtained media item (e.g., using the playback unit 1020) in an ordered queue; and play the at least one media item according to the queue (e.g., using the playback unit 1020).
[0321] In some embodiments, the obtaining unit is further configured to add the at least one media item to a media library associated with the user.
[0322] In some embodiments, the processing unit is further configured to present to the user an option to add at least one media item to a media library associated with the user (e.g., using display unit 1002); and in response to the user selecting the option to add at least one media item to the media library associated with the user, add at least one media item to the media library associated with the user (e.g., using acquisition unit 1018).
[0323] In some embodiments, the processing unit is further configured to, after obtaining the media item, receive a second user input comprising an unstructured natural language speech (e.g., using receiving unit 1010), wherein the unstructured natural language speech comprises one or more words; and annotate the media item using the one or more words (e.g., using processing unit 1008).
[0324] In some embodiments, the processing unit is further configured to (e.g., using the triggering unit 1014) perform a search based on the annotation; and (e.g., using the display unit 1002) present the search results to the user.
[0325] In some embodiments, the determination unit is further configured to determine a probability that at least one media item satisfies the request based on at least one context and user input (e.g., using determination unit 1016); and determine (e.g., using determination unit 1016) whether the probability exceeds a threshold.
[0326] In some embodiments, the determination unit is further configured to determine a probability that at least one media item satisfies the request based on at least one context and user input (e.g., using determination unit 1016); and select (e.g., using determination unit 1016) the media item with the highest probability.
[0327] In some embodiments, the receiving unit is further configured to receive streaming audio including at least one media item.
[0328] References 9A to 9C The operation is optionally performed by Figures 1 to 7C or Fig.10 Similarly, a person skilled in the art will clearly know how to implement the Figures 1 to 7C or Fig.10 The components depicted in the figure are used to implement other processes.
[0329] For the purpose of explanation, the foregoing description is described by reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive, nor is it intended to limit the invention to the precise form disclosed. Based on the above teachings, many modifications and variations are possible. These embodiments are selected and described in order 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 specific purposes envisioned.
[0330] 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.
[0331] As described above, one aspect of the present technology is to collect and use data from various sources to improve the delivery of content that may be of interest to users. The present disclosure contemplates that, in some cases, the collected data may include personal information data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data may include demographic data, location-based data, telephone numbers, email addresses, home addresses, or any other identifying information.
[0332] The present disclosure recognizes that the use of such personal information data in the present invention technology can be used to benefit users. For example, the personal information data can be used to deliver targeted content that users are more interested in. Therefore, the use of such personal information data enables planned control of the delivered content. In addition, the present disclosure also envisions other uses of personal information data that benefit users.
[0333] The disclosure also contemplates that entities responsible for the collection, analysis, disclosure, transmission, storage or other purposes of such personal information data will comply with established privacy policies and / or privacy practices. Specifically, such entities should implement and adhere to the use of privacy policies and practices that are recognized as meeting or exceeding the industry or government requirements for maintaining the privacy and security of personal information data. For example, personal information from users should be collected for the legal and reasonable purposes of the entity, and not shared or sold outside these legal uses. In addition, such collection should only be carried out after the user's informed consent. In addition, such entities should take any necessary steps to safeguard and protect access to such personal information data, and ensure that other people who can access personal information data comply with their privacy policies and procedures. In addition, such entities can subject themselves to third-party assessments to prove that they comply with widely accepted privacy policies and practices.
[0334] Regardless of the foregoing, the present disclosure also contemplates implementation schemes in which users selectively block the use or access of personal information data. That is, the present disclosure contemplates providing hardware elements and / or software elements to prevent or block access to such personal information data. For example, with respect to an advertising delivery service, the technology of the present invention may be configured to allow a user to choose to "opt in" or "opt out" of participating in the collection of personal information data during registration for the service. For another example, a user may choose not to provide location information for a target content delivery service. For another example, a user may choose not to provide precise location information, but permit the transmission of location area information.
[0335] Thus, while the present disclosure broadly covers the use of personal information data to implement one or more of the various disclosed embodiments, the present disclosure also contemplates that various embodiments may also be implemented without access to such personal information data. That is, various embodiments of the present technology will not fail to function properly due to the lack of all or a portion of such personal information data. For example, content may be selected and delivered to a user by inferring preferences based on non-personal information data or an absolute minimum of personal information, such as content requested by a device associated with the user, other non-personal information available to a content delivery service, or publicly available information.
Claims
1. A non-transitory 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 an electronic device, cause the electronic device to: receiving a first natural language voice input indicating a media request; determining a first search condition included in the first natural language speech input; Obtaining a first media item that satisfies the media request, wherein obtaining the first media item comprises: initiating a first search of a first plurality of media items to obtain the first media item, the first search comprising the first search criteria and a first context; Concurrently with initiating the first search, initiating a second search to obtain candidate media items, the second search including the first search criteria and a second context; and determining that the first media item of the first plurality of media items matches the candidate media item; and Playback of the first media item is provided from the first plurality of media items. 2 . The non-transitory computer-readable storage medium of claim 1 , wherein the first context is based on a context of the first natural language speech input.
3. The non-transitory computer-readable storage medium of claim 1 , wherein the one or more programs further comprise instructions that, when executed by the one or more processors, cause the electronic device to: while providing playback of the first media item, receiving a second natural language speech input; Determining, based on the second natural language speech input, a user's intent to obtain a second media item different from the first media item; as well as If it is determined that the user intent to obtain a second media item different from the first media item: Based on the first search condition and the second natural language voice input, obtaining a second media item different from the first media item, wherein obtaining the second media item comprises: initiating a third search for a second plurality of media items, the third search including the first previously determined search criteria included in the first natural language speech input; as well as The second media item is provided from the second plurality of media items.
4. The non-transitory computer-readable storage medium of claim 3, wherein determining the user intent to obtain a media item different from the first media item include: The user intent to obtain a media item different from the first media item is determined based on the context of the second natural language speech input.
5. The non-transitory computer-readable storage medium of claim 3, wherein the third search for the second plurality of media items is initiated include: The second media item is searched based on the context of the second natural language speech input. 6 . The non-transitory computer-readable storage medium of claim 5 , wherein the context of the second natural language speech input comprises a device context. 7 . The non-transitory computer-readable storage medium of claim 6 , wherein the device context includes content of the first media item. 8 . The non-transitory computer-readable storage medium of claim 6 , wherein the device context comprises data associated with one or more media items stored on the electronic device.
9. The non-transitory computer-readable storage medium of claim 5, wherein the context of the second natural language speech input comprises a user context.
10. The non-transitory computer-readable storage medium of claim 9, wherein the user context comprises content of the second natural language speech input.
11. The non-transitory computer-readable storage medium of claim 9, wherein the user context comprises one or more media items associated with the user.
12. The non-transitory computer-readable storage medium of claim 9, wherein the user context comprises information related to a user's music preferences.
13. The non-transitory computer-readable storage medium of claim 5, wherein the context of the second natural language speech input comprises a social context. 14 . The non-transitory computer-readable storage medium of claim 13 , wherein the social context comprises a frequency of access to a particular media item across a plurality of users.
15. The non-transitory computer-readable storage medium of claim 13, wherein the social context comprises a number of references to the media item in a social media database.
16. The non-transitory computer-readable storage medium of claim 3, wherein the third search of the second plurality of media items is initiated include: searching a set of media items based on the first search criteria; as well as One or more media items that match the first media item are discarded from the set of media items.
17. The non-transitory computer-readable storage medium of claim 3, wherein the second media item is provided include: terminating playback of the first media item; as well as Playback of the second media item is provided.
18. The non-transitory computer-readable storage medium of claim 3, wherein the one or more programs further comprise instructions that, when executed by the one or more processors, cause the electronic device to: presenting to the user an option to add the second media item to a library associated with the user; receiving a user selection of the option from the user; as well as In response to receiving the user selection of the option, the second media item is added to the library associated with the user.
19. A method for operating a digital assistant, include: At an electronic device having one or more processors and a memory: receiving a first natural language voice input indicating a media request; determining a first search condition included in the first natural language speech input; Obtaining a first media item that satisfies the media request, wherein obtaining the first media item comprises: initiating a first search of a first plurality of media items to obtain the first media item, the first search comprising the first search criteria and a first context; Concurrently with initiating the first search, initiating a second search to obtain candidate media items, the second search including the first search criteria and a second context; and determining that the first media item of the first plurality of media items matches the candidate media item; and Playback of the first media item is provided from the first plurality of media items.
20. An electronic device, include: 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 the one or more processors, the one or more programs comprising instructions for: receiving a first natural language voice input indicating a media request; determining a first search condition included in the first natural language speech input; Obtaining a first media item that satisfies the media request, wherein obtaining the first media item comprises: initiating a first search of a first plurality of media items to obtain the first media item, the first search comprising the first search criteria and a first context; Concurrently with initiating the first search, initiating a second search to obtain candidate media items, the second search including the first search criteria and a second context; and determining that the first media item of the first plurality of media items matches the candidate media item; and Playback of the first media item is provided from the first plurality of media items.
Citation Information
Patent Citations
Method and apparatus for integrating manual input
US20020015024A1
Acceleration-based theft detection system for portable electronic devices
US20050190059A1
Methods and apparatuses for operating a portable device based on an accelerometer
US20060017692A1
Gestures for touch sensitive input devices
US20060026521A1
Gestures for touch sensitive input devices
US20060026536A1
