Handwriting keyboard for screen

By utilizing touch-sensitive surfaces and rotatable input mechanisms on portable electronic devices, the problem of inefficient handwriting input on small-screen devices has been solved, enabling faster and more efficient handwriting input, saving device energy, and improving the user experience.

CN113157113BActive Publication Date: 2024-10-18APPLE INC
View PDF 19 Cites 0 Cited by

Patent Information

Application Number
CN202110452880.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-06-07
Publication Date
2024-10-18
Estimated Expiration
2037-06-07

AI Technical Summary

Technical Problem

Existing technologies are inefficient for handwriting input on small-screen devices, with complex and time-consuming user interfaces, and they waste energy, especially in battery-powered devices.

Method used

A method for handwriting input via a touch-sensitive surface on a portable electronic device is provided, including displaying a user input interface, receiving strokes, identifying text, displaying text, providing revision functions, and receiving user input using a rotatable input mechanism to select and replace text.

Benefits of technology

It improves handwriting input efficiency on small-screen devices, reduces the cognitive burden on users, saves device energy, and extends battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113157113B_ABST
    Figure CN113157113B_ABST
Patent Text Reader

Abstract

The present invention is entitled "Handwriting Keyboard for Screen". The present disclosure as a whole relates to handwriting on a touch-sensitive surface. In some examples, text suggestion strokes entered on the touch-sensitive surface are viewed and selected in response to a rotatable input mechanism. In some examples, text determined from a group of strokes on the touch-sensitive surface is revised based on subsequently entered strokes on the touch-sensitive surface. In some examples, whether to include the stroke in a group of strokes is determined based on the time between the stroke and a previous stroke. In some examples, determining text based on a group of strokes is interrupted to determine revised text based on the group of strokes and a second stroke.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications Citations

[0002] This application is a divisional application of the invention patent application with Chinese national application number 201710424212.6, application date June 7, 2017, and invention name “Handwriting keyboard for screen”. Technical Field

[0003] The present disclosure relates generally to computer user interfaces, and more particularly to techniques for handwriting on small screens. Background Art

[0004] Wearable electronic devices often have a display screen for displaying information and allowing a minimal amount of interaction with the electronic device and the content stored thereon. Summary of the invention

[0005] Some of these wearable devices include touch-sensitive surfaces, but the size of the screen is small, making it difficult to enter text directly on the device. Other data entry methods such as dictation are also possible, but also have disadvantages. In the case of messaging, there are some uses where predefined messages are appropriate only when one of a limited number of predefined messages is applicable to the current situation.

[0006] However, some techniques for handwriting on small screens using electronic devices are often cumbersome and inefficient. For example, some prior art techniques use complex and time-consuming user interfaces that may include multiple key presses or keystrokes. Prior art techniques require more time than necessary, thereby wasting user time and device energy. This latter consideration is particularly important in battery-powered devices.

[0007] Therefore, the present technology provides a faster and more efficient method and interface for electronic devices to handwrite on a small screen. Such methods and interfaces optionally supplement or replace other methods for handwriting on a small screen. Such methods and interfaces reduce the cognitive burden on the user and produce a more efficient human-computer interface. For battery-driven computing devices, such methods and interfaces save power and increase the time interval between two battery charges. For example, the technology described below achieves more efficient recognition of handwriting input through a touch-sensitive surface in the following ways: allowing manual and automatic revision of recognized text, intelligent collection and processing of stroke input, and recognition when a stroke input belongs to the current character or to the next character.

[0008] According to one embodiment, at a portable electronic device having a touch-sensitive surface, a display, a rotatable input mechanism, and one or more processors: a user input interface is displayed on the display including a message area and a stroke input area; a first group of strokes is received on the touch-sensitive surface in the stroke input area; a first text is determined based on the first group of strokes; the first text is displayed on the display in the message area; one or more suggestions are determined based on the first text, wherein the one or more suggestions include one or more changes to the first text; after determining the one or more suggestions, user input is received via the rotatable input mechanism; in response to the user input: at least one suggestion from the one or more suggestions is displayed; and a selection indicator is displayed for indicating a selected suggestion from the one or more suggestions; after displaying at least one suggestion or one or more suggestions and a selection indicator, display of the first text is replaced with display of the selected suggestion.

[0009] An embodiment of a transient computer-readable storage medium storing one or more programs is disclosed, the one or more programs being configured to be executed by one or more processors of a portable electronic device having a touch-sensitive surface, a display, and a rotatable input mechanism, the one or more programs including instructions for performing the following operations: displaying a user input interface on the display including a message area and a stroke input area; receiving a first group of strokes on the touch-sensitive surface in the stroke input area; determining a first text based on the first group of strokes; displaying the first text on the display in the message area; determining one or more suggestions based on the first text, wherein the one or more suggestions include one or more changes to the first text; after determining the one or more suggestions, receiving user input via the rotatable input mechanism; in response to the user input: displaying at least one of the one or more suggestions; and displaying a selection indicator for indicating a selected suggestion from the one or more suggestions; after displaying at least one suggestion or one or more suggestions and a selection indicator, replacing the display of the first text with the display of the selected suggestion.

[0010] According to one embodiment, at an electronic device having a touch-sensitive surface, a display, a rotatable input mechanism, and one or more processors: a user input interface is displayed on the display including a message area and a stroke input area; a first group of strokes is received on the touch-sensitive surface in the stroke input area; a first text is determined based on the first group of strokes; the first text is displayed in the message area; after receiving the first group of strokes and displaying the first text, a second group of strokes is received on the touch-sensitive surface in the stroke input area; a revised first text is determined based on the first group of strokes and the second group of strokes; and the display of the first text is replaced by the revised first text.

[0011] An embodiment of a transient computer-readable storage medium storing one or more programs is disclosed, the one or more programs being configured to be executed by one or more processors of an electronic device having a touch-sensitive surface, a display, and a rotatable input mechanism, the one or more programs including instructions for performing the following operations: displaying a user input interface on the display including a message area and a stroke input area; receiving a first group of strokes on the touch-sensitive surface in the stroke input area; determining a first text based on the first group of strokes; displaying the first text in the message area; receiving a second group of strokes on the touch-sensitive surface in the stroke input area after receiving the first group of strokes and displaying the first text; determining a revised first text based on the first group of strokes and the second group of strokes; and replacing the display of the first text with the revised first text.

[0012] According to one embodiment, at an electronic device having a touch-sensitive surface, a display, a rotatable input mechanism, and one or more processors: a user input interface is displayed on the display including a message area and a stroke input area; a first group of strokes is received on the touch-sensitive surface in the stroke input area; determining a first text based on the first group of strokes is started; the first text is not displayed in the message area, and after receiving the first group of strokes, a second group of strokes is received on the touch-sensitive surface in the stroke input area; a revised first text is determined based on the first group of strokes and the second group of strokes; and the revised first text is displayed in the message area.

[0013] An embodiment of a transient computer-readable storage medium storing one or more programs is disclosed, the one or more programs being configured to be executed by one or more processors of an electronic device having a touch-sensitive surface, a display, and a rotatable input mechanism, the one or more programs including instructions for performing the following operations: displaying a user input interface on the display including a message area and a stroke input area; receiving a first group of strokes on the touch-sensitive surface in the stroke input area; starting to determine a first text based on the first group of strokes; not displaying the first text in the message area, and after receiving the first group of strokes, receiving a second group of strokes on the touch-sensitive surface in the stroke input area; determining a revised first text based on the first group of strokes and the second group of strokes; and displaying the revised first text in the message area.

[0014] According to one embodiment, at an electronic device having a touch-sensitive surface, a display, a rotatable input mechanism, and one or more processors: a user input interface is displayed on the display including a message area and a stroke input area; a first stroke is received on the touch-sensitive surface in the stroke input area; a second stroke is received on the touch-sensitive surface at a first time after receiving the first stroke, wherein the second stroke is different from the first stroke; a determination is made as to whether the first time exceeds a threshold time; a first character is determined based on the first stroke but not on the second stroke based on a determination that the first time exceeds the threshold time; a first character is determined based on the first stroke and the second stroke based on a determination that the first time is less than the threshold time; and the first character is displayed in the message area.

[0015] An embodiment of a transient computer-readable storage medium storing one or more programs is disclosed, the one or more programs being configured to be executed by one or more processors of an electronic device having a touch-sensitive surface, a display, and a rotatable input mechanism, the one or more programs including instructions for performing the following operations: displaying a user input interface on the display including a message area and a stroke input area; receiving a first stroke on the touch-sensitive surface in the stroke input area; receiving a second stroke on the touch-sensitive surface at a first time after receiving the first stroke, wherein the second stroke is different from the first stroke; determining whether the first time exceeds a threshold time; determining a first character based on the first stroke but not based on the second stroke based on determining that the first time exceeds the threshold time; determining the first character based on the first stroke and the second stroke based on determining that the first time is less than the threshold time; and displaying the first character in the message area.

[0016] 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.

[0017] Thus, a faster, more efficient method and interface is provided for devices to be used for handwriting on small screens, thereby improving the effectiveness, efficiency, and user satisfaction of such devices.Such methods and interfaces can supplement or replace other methods for handwriting on small screens. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] For a better understanding of the various described embodiments, reference should be made to the following detailed description taken in conjunction with the following drawings, in which like reference numerals designate corresponding parts throughout the several views.

[0019] Figure 1A is a block diagram showing a portable multifunction device with a touch-sensitive display according to some embodiments.

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

[0021] Figure 2 A portable multifunction device with a touch screen according to some embodiments is shown.

[0022] Figure 3 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments.

[0023] Figure 4A An exemplary user interface for a menu of applications on a portable multifunction device according to some embodiments is shown.

[0024] Figure 4B An exemplary user interface is shown for a multifunction device having a touch-sensitive surface separate from the display according to some embodiments.

[0025] Figure 5A A personal electronic device according to some embodiments is shown.

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

[0027] Figure 6A-6R An exemplary user interface for handwriting on a screen is shown.

[0028] Figure 7 is a flow chart illustrating a method for handwriting on a touch-sensitive surface.

[0029] Figure 8 An exemplary functional block diagram of an electronic device is shown.

[0030] Figure 9A-9I An exemplary user interface for handwriting on a screen is shown.

[0031] Fig.10 is a flow chart illustrating a method for handwriting on a touch-sensitive surface.

[0032] Fig.11 An exemplary functional block diagram of an electronic device is shown.

[0033] Figure 12A-12L An exemplary user interface for handwriting on a screen is shown.

[0034] Fig.13 is a flow chart illustrating a method for handwriting on a touch-sensitive surface.

[0035] Fig.14An exemplary functional block diagram of an electronic device is shown.

[0036] Figure 15A-15J An exemplary user interface for handwriting on a screen is shown.

[0037] Fig.16 is a flow chart illustrating a method for handwriting on a touch-sensitive surface.

[0038] Fig.17 An exemplary functional block diagram of an electronic device is shown. DETAILED DESCRIPTION

[0039] 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.

[0040] There is a need for electronic devices that provide efficient methods and interfaces for handwriting on small screens. For example, wearable devices with small touch-sensitive surfaces allow access and navigation of some content and data, but these screens are currently difficult to use when directly entering text data. The technology described herein can provide better handwriting input to touch-sensitive surfaces, especially touch-sensitive surfaces with small sizes. Such technology can reduce the cognitive burden on users when inputting handwriting on small screens, thereby improving productivity. In addition, such technology can reduce processor power and battery power that would otherwise be wasted on redundant user input.

[0041] under, Figure 1A-1B , Figure 2 , Figure 3 , Figure 4A-4B and Figure 5A-Figure 5B A description of an example device for performing techniques for managing event notifications is provided. Figure 6A-6R An exemplary user interface for managing event notifications is shown. Figure 7 is a flowchart illustrating a method of managing event notifications according to some embodiments. Figure 6A-6R The user interface in the Figure 7 The process is described below in the process.

[0042] Figure 9A-9I An exemplary user interface for managing event notifications is shown. Fig.10 is a flowchart illustrating a method of managing event notifications according to some embodiments. Figure 9A-9I The user interface in the Fig.10 The process is described below in the process.

[0043] Figure 12A-12L An exemplary user interface for managing event notifications is shown. Fig.13is a flow chart illustrating a method of managing event notifications according to some embodiments. Figure 12A-12L The user interface in the Fig.13 The process is described below in the process.

[0044] Figure 15A-15J An exemplary user interface for managing event notifications is shown. Fig.16 is a flow chart illustrating a method of managing event notifications according to some embodiments. Figure 15A-15J The user interface in the Fig.16 The process is described below in the process.

[0045] 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.

[0046] The terms used in the description of the various described embodiments herein are only for the purpose of describing specific embodiments and are not intended to be limiting. As used in the description of the various described embodiments and in the appended claims, the singular forms "a", "an", "said" are intended to also include plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "and / or" used herein refer to and encompass any and all possible combinations of one or more items in the items listed in association. It should also be understood that the terms "includes", "including", "comprises" and / or "comprising" when used in this specification specify the presence of stated features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or their groupings.

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

[0048] Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communication device, such as a mobile phone, that also includes other functions, such as a PDA and / or a music player function. Exemplary embodiments of portable multifunction devices include, but are not limited to, the Apple Watch from Apple Inc. (Cupertino, California). Devices, iPod Equipment and Device. Other portable electronic devices, such as laptops or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and / or touch pads) 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 touch pads).

[0049] 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.

[0050] The device typically supports 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.

[0051] Various applications executing 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 from one application to the next and / or within a respective application. In this way, a common physical architecture of the device (such as a touch-sensitive surface) optionally supports a variety of applications with a user interface that is intuitive and clear to the user.

[0052] Attention is now directed to embodiments of portable devices having touch-sensitive displays. Figure 1Ais a block diagram showing a portable multifunction device 100 with a touch-sensitive display system 112 according to some embodiments. The touch-sensitive display 112 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 100 includes a memory 102 (which optionally includes one or more computer-readable storage media), a memory controller 122, one or more processing units (CPUs) 120, a peripheral device interface 118, an RF circuit 108, an audio circuit 110, a speaker 111, a microphone 113, an input / output (I / O) subsystem 106, other input control devices 116, and an external port 124. The device 100 optionally includes one or more optical sensors 164. The device 100 optionally includes one or more contact force sensors 165 for detecting the intensity of contact on the device 100 (e.g., a touch-sensitive surface, such as the touch-sensitive display system 112 of the device 100). Device 100 optionally includes one or more tactile output generators 167 for generating tactile output on device 100 (e.g., generating tactile output on a touch-sensitive surface such as touch-sensitive display system 112 of device 100 or touch pad 355 of device 300). These components optionally communicate via one or more communication buses or signal lines 103.

[0053] 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 averaged) 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 the 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 would not otherwise be accessible to the user on a smaller device with limited physical area, which is used to display an enable indication (e.g., on a touch-sensitive display) and / or receive user input (e.g., via a touch-sensitive display, touch-sensitive surface, or physical / mechanical controls, such as knobs or buttons).

[0054] As used in this specification and claims, the term "tactile output" refers to a physical displacement of a device relative to a previous position of the device, a physical displacement of a component of the device (e.g., a touch-sensitive surface) relative to another component of the device (e.g., a housing), or a displacement of a component relative to the center of mass of the device, which will be detected by a user through 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 corresponding 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 a touch-sensitive surface may optionally be interpreted or sensed by a user as "roughness" of the touch-sensitive surface even when there is no change in the smoothness of the touch-sensitive surface. While such interpretation of touch by a 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.

[0055] It should be understood that device 100 is only one example of a portable multifunction device, and that device 100 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 1A The various components shown in the EMBODIMENTS 200 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.

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

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

[0058] RF (radio frequency) circuit 108 receives and transmits radio frequency signals, also called electromagnetic signals. RF circuit 108 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 108 optionally includes well-known circuits for performing these functions, including but not limited to an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec chipset, a user identity module (SIM) card, a memory, and the like. RF circuit 108 optionally communicates with a network and other devices via wireless communication, such as the Internet (also known as the World Wide Web (WWW)), an intranet, and / or a wireless network (such as a cellular telephone network, a wireless local area network (LAN), and / or a metropolitan area network (MAN)). RF circuit 108 optionally includes well-known circuits for detecting a near field communication (NFC) field, such as by a short-range communication radio component. Wireless communication optionally uses any of a variety of communication standards, protocols and 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, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n and / or IEEE 802.11ac), Voice over Internet Protocol (VoIP), Wi-MAX, email protocols (e.g., Internet Message Access Protocol (IMAP) and / or Post Office Protocol (POP)), instant messaging (e.g., Extensible Messaging and Presence Protocol (XMPP), Session Initiation Protocol for Instant Messaging and Presence Utilizing Extensions (SIMPLE), Instant Messaging and Presence Service (IMPS)) and / or Short Message Service (SMS), or any other suitable communications protocol including communications protocols that have not yet been developed as of the filing date of this document.

[0059] The audio circuit 110, the speaker 111, and the microphone 113 provide an audio interface between the user and the device 100. The audio circuit 110 receives audio data from the peripheral device interface 118, converts the audio data into electrical signals, and transmits the electrical signals to the speaker 111. The speaker 111 converts the electrical signals into sound waves audible to humans. The audio circuit 110 also receives electrical signals converted from sound waves by the microphone 113. The audio circuit 110 converts the electrical signals into audio data and transmits the audio data to the peripheral device interface 118 for processing. The audio data is optionally retrieved from and / or transmitted to the memory 102 and / or the RF circuit 108 by the peripheral device interface 118. In some embodiments, the audio circuit 110 also includes a headphone jack (e.g., Figure 2 The headset jack provides an interface between the audio circuit 110 and a removable audio input / output peripheral device, such as an output-only headset or a headset having both output (e.g., a single-ear headset or a dual-ear headset) and input (e.g., a microphone).

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

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

[0062] The touch-sensitive display 112 provides an input interface and an output interface between the device and the user. The display controller 156 receives electrical signals from the touch screen 112 and / or sends electrical signals to the touch screen 112. The touch screen 112 displays visual output to the user. The visual output optionally includes graphics, text, icons, videos, and any combination thereof (collectively referred to as "graphics"). In some embodiments, some or all of the visual output optionally corresponds to user interface objects.

[0063] The touch screen 112 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 112 and display controller 156 (together with any associated modules and / or instruction sets in memory 102) detect contact on the touch screen 112 (and any movement or interruption of the contact) 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 112. In an exemplary embodiment, the point of contact between the touch screen 112 and the user corresponds to the user's finger.

[0064] The touch screen 112 optionally uses LCD (liquid crystal display) technology, LPD (light emitting polymer display) technology, or LED (light emitting diode) technology, although other display technologies are used in other embodiments. The touch screen 112 and display controller 156 optionally use any of a variety of touch sensing technologies now known or later developed, including but not limited to capacitive, resistive, infrared, and surface acoustic wave technologies, as well as other proximity sensor arrays or other elements for determining one or more points of contact with the touch screen 112 to detect contact and any movement or interruption thereof. In an exemplary embodiment, projected mutual capacitance sensing technology is used, such as in the Apple Inc. (Cupertino, California) and iPod Technology found in.

[0065] The touch-sensitive display in some embodiments of touch screen 112 is optionally similar to the multi-touch-sensitive touch pad described in the following U.S. Patents: 6,323,846 (Westerman et al.), 6,570,557 (Westerman et al.), and / or 6,677,932 (Westerman); and / or U.S. Patent Publication 2002 / 0015024A1, each of which is incorporated herein by reference in its entirety. However, touch screen 112 displays visual output from device 100, while a touch-sensitive touch pad does not provide visual output.

[0066] The touch-sensitive display in some embodiments of the touch screen 112 is described in the following patent applications: (1) U.S. patent application No. 11 / 381,313, entitled “Multipoint Touch Surface Controller,” filed on May 2, 2006; (2) U.S. patent application No. 10 / 840,862, entitled “Multipoint Touchscreen,” filed on May 6, 2004; (3) U.S. patent application No. 10 / 903,964, entitled “Gestures For Touch Sensitive Input Devices,” filed on July 30, 2004; (4) U.S. patent application No. 11 / 048,264, entitled “Gestures For Touch Sensitive Input Devices,” filed on January 31, 2005; (5) U.S. patent application No. 11 / 086,864, entitled “Mode-Based Graphical User Interfaces For Touch Sensitive Input Devices,” filed on January 18, 2005 and (9) U.S. patent application No. 11 / 367,749, filed on March 3, 2006, entitled “Multi-Functional Hand-Held Device.” All of these patent applications are hereby incorporated by reference in their entirety.

[0067] The touch screen 112 optionally has a video resolution of more than 100 dpi. In some embodiments, the touch screen has a video resolution of about 160 dpi. The user optionally uses any suitable object or appendage such as a stylus, finger, etc. to contact the touch screen 112. 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 ​​the finger on the touch screen. In some embodiments, the device converts rough finger-based input into precise pointer / cursor positions or commands for performing the actions desired by the user.

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

[0069] Device 100 also includes a power system 162 for powering the various components. Power system 162 optionally includes a power management system, one or more power sources (e.g., batteries, alternating current (AC)), a recharging system, a power fault detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode (LED)), and any other components associated with the generation, management, and distribution of power in a portable device.

[0070] Device 100 optionally also includes one or more optical sensors 164 . Figure 1AAn optical sensor coupled to an optical sensor controller 158 in the I / O subsystem 106 is shown. The optical sensor 164 optionally includes a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The optical sensor 164 receives light projected through one or more lenses from the environment and converts the light into data representing an image. In conjunction with the imaging module 143 (also called a camera module), the optical sensor 164 optionally captures a static image or video. In some embodiments, the optical sensor is located on the rear portion of the device 100 opposite to the touch screen display 112 on the front of the device, so that the touch screen display can be used as a viewfinder for static image and / or video image acquisition. In some embodiments, the optical sensor is located at the front of the device so that the image of the user is optionally obtained when the user views other video conference participants on the touch screen display for video conferencing. In some embodiments, the position of the optical sensor 164 can be changed by the user (e.g., by rotating the lens and sensor in the device housing) so that a single optical sensor 164 is used with the touch screen display for both video conferencing and static image and / or video image acquisition.

[0071] Device 100 optionally also includes one or more contact intensity sensors 165 . Figure 1A A contact force sensor is shown coupled to a force sensor controller 159 in the I / O subsystem 106. Contact force sensor 165 optionally includes one or more piezoresistive strain gauges, capacitive force sensors, electrical force sensors, piezoelectric force sensors, optical force sensors, capacitive touch-sensitive surfaces, or other force sensors (e.g., sensors for measuring the force (or pressure) of contact on a touch-sensitive surface). Contact force sensor 165 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 112). In some embodiments, at least one contact force sensor is located on the rear of device 100 opposite to touch screen display 112 located on the front of device 100.

[0072] Device 100 optionally also includes one or more proximity sensors 166 . Figure 1AA proximity sensor 166 is shown coupled to the peripherals interface 118. Alternatively, the proximity sensor 166 is optionally coupled to the input controller 160 in the I / O subsystem 106. The proximity sensor 166 is optionally implemented as described in the following U.S. patent applications: No. 11 / 241,839, entitled "Proximity Detector In Handheld Device"; No. 11 / 240,788, entitled "Proximity Detector In Handheld Device"; No. 11 / 620,702, entitled "Using Ambient Light Sensor To Augment Proximity Sensor Output"; No. 11 / 586,862, entitled "Automated Response To And Sensing Of User Activity In Portable Devices"; and No. 11 / 638,251, entitled "Methods And Systems For Automatic Configuration Of Peripherals", which are incorporated herein 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 112.

[0073] Device 100 optionally also includes one or more tactile output generators 167 . Figure 1AA tactile output generator is shown coupled to a tactile feedback controller 161 in the I / O subsystem 106. The tactile output generator 167 optionally includes one or more electroacoustic devices such as a speaker or other audio component; and / or an electromechanical device for converting energy into linear motion such as a motor, solenoid, electroactive polymer, piezoelectric actuator, electrostatic actuator, or other tactile output generating component (e.g., a component for converting an electrical signal into a tactile output on the device). The contact force sensor 165 receives tactile feedback generation instructions from the tactile feedback module 133 and generates a tactile output on the device 100 that can be felt by a user of the device 100. In some embodiments, at least one tactile output generator is arranged in parallel or adjacent to a touch-sensitive surface (e.g., touch-sensitive display system 112) and optionally generates tactile output by moving the touch-sensitive surface vertically (e.g., inward / outward of the surface of the device 100) or laterally (e.g., backward and forward in the same plane as the surface of the device 100). In some embodiments, at least one tactile output generator sensor is located on a rear portion of the device 100 opposite the touch screen display 112 located on the front of the device 100.

[0074] Device 100 optionally also includes one or more accelerometers 168 . Figure 1A An accelerometer 168 is shown coupled to the peripherals interface 118. Alternatively, the accelerometer 168 is optionally coupled to the input controller 160 in the I / O subsystem 106. The accelerometer 168 optionally implements as described in the following U.S. Patent Publications: No. 20050190059, entitled "Acceleration-based Theft Detection System for Portable Electronic Devices" and No. 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 portrait view or a landscape view on the touch screen display based on analysis of data received from one or more accelerometers. Device 100 optionally includes, in addition to one or more accelerometers 168 , a magnetometer (not shown) and a GPS (or GLONASS or other global navigation system) receiver (not shown) for obtaining information about the position and orientation (e.g., portrait or landscape) of device 100 .

[0075] In some embodiments, the software components stored in memory 102 include an operating system 126, a communication module (or instruction set) 128, a contact / motion module (or instruction set) 130, a graphics module (or instruction set) 132, a text input module (or instruction set) 134, a global positioning system (GPS) module (or instruction set) 135, and an application (or instruction set) 136. In addition, in some embodiments, memory 102 ( Figure 1A ) or 370( Figure 3 ) storage device / global internal state 157, such as Figure 1A and Figure 3 . The device / global internal state 157 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 112; a sensor state including information obtained from the device's various sensors and input control devices 116; and position information regarding the device's position and / or posture.

[0076] The operating system 126 (e.g., Darwin, RTXC, LINUX, UNIX, OS X, iOS, WINDOWS, or an embedded operating system such as VxWorks) includes various software components and / or drivers 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.

[0077] The communication module 128 facilitates communication with other devices through one or more external ports 124, and also includes various software components for processing data received by the RF circuit 108 and / or the external port 124. The external port 124 (e.g., Universal Serial Bus (USB), FireWire, etc.) is suitable for direct coupling to other devices or indirect coupling through a network (e.g., the Internet, wireless LAN, etc.). In some embodiments, the external port is connected to (trademark of Apple Inc.) devices.

[0078] The contact / motion module 130 optionally detects contact with the touch screen 112 (in conjunction with the display controller 156) and other touch-sensitive devices (e.g., a touchpad or physical click wheel). The contact / motion module 130 includes various software components for performing various operations related to contact detection, such as determining whether contact has occurred (e.g., detecting a finger press event), determining the strength of the contact (e.g., the force or pressure of the contact, or a substitute for the force or pressure of the contact), determining whether there is movement of 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 interruption). The contact / motion module 130 receives contact data from the touch-sensitive surface. Determining the movement of a contact point optionally includes determining a rate (magnitude), a velocity (magnitude and direction), and / or an acceleration (change in magnitude and / or direction) of the contact point, the movement of which is represented by a series of contact data. These operations are optionally applied to a single point of contact (e.g., a single finger contact) or multiple points of simultaneous contact (e.g., "multi-touch" / multiple finger contacts). In some embodiments, the contact / motion module 130 and display controller 156 detect contact on the touch pad.

[0079] In some embodiments, the contact / motion module 130 uses a set of one or more intensity thresholds to determine whether an action has been performed by a user (e.g., to determine whether a user has "clicked" an icon). In some embodiments, at least a subset of the intensity thresholds are determined based on software parameters (e.g., the intensity thresholds are not determined by the activation thresholds of specific physical actuators and can be adjusted without changing the physical hardware of the device 100). For example, without changing the touchpad or touchscreen display hardware, the mouse "click" threshold of a touchpad or touchscreen can be set to any one of a large range of predefined thresholds. In addition, in some specific implementations, a software setting is provided to the user of the device for adjusting one or more intensity thresholds in a set of intensity thresholds (e.g., by adjusting individual intensity thresholds and / or by utilizing a system-level click on an "intensity" parameter to adjust multiple intensity thresholds at once).

[0080] The contact / motion module 130 optionally detects gesture input by a user. Different gestures on the touch-sensitive surface have different contact patterns (e.g., different motions, timings, and / or intensities of the detected contacts). Therefore, gestures are optionally detected by detecting specific contact patterns. For example, detecting a finger tap gesture includes detecting a finger press event, and then detecting a finger lift (lift-off) event at the same location (or substantially the same location) as the finger press event (e.g., at the location of an icon). As another example, detecting a finger swipe gesture on the touch-sensitive surface includes detecting a finger press event, then detecting one or more finger drag events, and then detecting a finger lift (lift-off) event.

[0081] The graphics module 132 includes various known software components for rendering and displaying graphics on the touch screen 112 or other display, including components for changing the visual impact (e.g., brightness, transparency, saturation, contrast, or other visual attributes) of the displayed graphics. As used herein, the term "graphics" includes any object that can be displayed to a user, including, but not limited to, text, web pages, icons (such as user interface objects including soft keys), digital images, videos, animations, etc.

[0082] In some embodiments, the graphics module 132 stores data for representing graphics to be used. Each graphic is optionally assigned a corresponding code. The graphics module 132 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 if necessary, and then generates screen image data to be output to the display controller 156.

[0083] Haptic feedback module 133 includes various software components for generating instructions used by one or more tactile output generators 167 to produce tactile outputs at one or more locations on device 100 in response to user interaction with device 100 .

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

[0085] The GPS module 135 determines the location of the device and provides this information for use in various applications (e.g., to the phone 138 for location-based dialing, to the camera 143 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).

[0086] The application 136 optionally includes the following modules (or instruction sets) or a subset or superset thereof:

[0087] Contacts module 137 (sometimes called address book or contact list);

[0088] Telephone module 138;

[0089] Video conferencing module 139;

[0090] Email client module 140;

[0091] Instant messaging (IM) module 141;

[0092] Fitness support module 142;

[0093] A camera module 143 for still images and / or video images;

[0094] Image management module 144;

[0095] Video player module;

[0096] Music player module;

[0097] Browser module 147;

[0098] Calendar module 148;

[0099] A widget module 149, which optionally includes one or more of the following: a weather widget 149-1, a stock widget 149-2, a calculator widget 149-3, an alarm widget 149-4, a dictionary widget 149-5, and other widgets acquired by the user, and a user-created widget 149-6;

[0100] A widget creator module 150 for forming a user-created widget 149-6;

[0101] Search module 151;

[0102] Video and music player module 152, which merges the video player module and the music player module;

[0103] Notepad module 153;

[0104] Map module 154; and / or

[0105] Online video module 155.

[0106] Examples of other applications 136 that are optionally stored in memory 102 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.

[0107] In combination with the touch screen 112, display controller 156, touch / motion module 130, graphics module 132 and text input module 134, the contact module 137 is optionally used to manage an address book or contact list (for example, stored in the application internal state 192 of the contact module 137 in memory 102 or memory 370), 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 138, video conferencing module 139, email 140 or IM 141, and the like.

[0108] In conjunction with RF circuitry 108, audio circuitry 110, speaker 111, microphone 113, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, phone module 138 is optionally used to enter a sequence of characters corresponding to a phone number, access one or more phone numbers in contact module 137, 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 optionally uses any of a variety of communication standards, protocols, and technologies.

[0109] In combination with the RF circuit 108, the audio circuit 110, the speaker 111, the microphone 113, the touch screen 112, the display controller 156, the optical sensor 164, the optical sensor controller 158, the contact / motion module 130, the graphics module 132, the text input module 134, the contact module 137 and the telephone module 138, the video conferencing module 139 includes executable instructions for initiating, executing and terminating a video conference between a user and one or more other participants in accordance with user instructions.

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

[0111] In conjunction with RF circuit 108, touch screen 112, display controller 156, contact / motion module 130, graphics module 132, and text input module 134, instant messaging module 141 includes executable instructions for the following operations: inputting a character sequence corresponding to an instant message, modifying previously input characters, transmitting a corresponding instant message (e.g., using a short message service (SMS) or multimedia message service (MMS) protocol for telephone-based instant messaging or using XMPP, SIMPLE, or IMPS for Internet-based instant messaging), receiving instant messages, and viewing received instant messages. In some embodiments, the transmitted and / or received instant messages optionally include graphics, photos, audio files, video files, and / or other attachments supported in MMS and / or enhanced messaging services (EMS). As used herein, "instant messaging" refers to both telephone-based messages (e.g., messages sent using SMS or MMS) and Internet-based messages (e.g., messages sent using XMPP, SIMPLE, or IMPS).

[0112] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the contact / motion module 130, the graphics module 132, the text input module 134, the GPS module 135, the map module 154 and the music player module, the fitness support module 142 includes executable instructions for the following operations: creating a fitness (e.g., with time, distance, and / or calorie burn goals); communicating with fitness sensors (sports equipment); receiving fitness sensor data; calibrating sensors for monitoring fitness; selecting fitness music and playing it; and displaying, storing and transmitting fitness data.

[0113] In conjunction with the touch screen 112, display controller 156, one or more optical sensors 164, optical sensor controller 158, touch / motion module 130, graphics module 132, and image management module 144, the camera module 143 includes executable instructions for capturing still images or videos (including video streams) and storing them in memory 102, modifying characteristics of still images or videos, or deleting still images or videos from memory 102.

[0114] In conjunction with touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134, and camera module 143, image management module 144 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.

[0115] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132 and the text input module 134, the browser module 147 includes executable instructions for browsing the Internet in accordance with user instructions (including searching, linking to, receiving and displaying web pages or portions thereof and attachments and other files linked to web pages).

[0116] In combination with the RF circuit 108, the touch screen 112, the display controller 156, the touch / motion module 130, the graphics module 132, the text input module 134, the email client module 140 and the browser module 147, the calendar module 148 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.

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

[0118] In combination with the RF circuit 108, touch screen 112, display controller 156, touch / motion module 130, graphics module 132, text input module 134 and browser module 147, the desktop widget creator module 150 is optionally used by a user to create a desktop widget (e.g., converting a user-specified portion of a web page into a desktop widget).

[0119] In combination with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the search module 151 includes executable instructions for searching the memory 102 for text, music, sound, images, videos, and / or other files that match one or more search criteria (e.g., one or more user-specified search terms) in accordance with user instructions.

[0120] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuitry 110, speaker 111, RF circuitry 108, and browser module 147, video and music player module 152 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, and to display, present, or otherwise play back video (e.g., on touch screen 112 or on an external display connected via external port 124). In some embodiments, device 100 optionally includes the functionality of an MP3 player, such as an iPod (trademark of Apple Inc.).

[0121] In conjunction with the touch screen 112, display controller 156, contact / motion module 130, graphics module 132 and text input module 134, the notepad module 153 includes executable instructions for creating and managing notes, to-do lists, etc. according to user instructions.

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

[0123] In conjunction with touch screen 112, display controller 156, contact / motion module 130, graphics module 132, audio circuit 110, speaker 111, RF circuit 108, text input module 134, email client module 140, and browser module 147, online video module 155 includes instructions that allow a user to access, browse, receive (e.g., stream and / or download), play back (e.g., on the touch screen or on an external display connected via external port 124), send an email with a link to a specific online video, and otherwise manage online videos in one or more file formats such as H.264. In some embodiments, instant messaging module 141 is used instead of email client module 140 to send a link to a specific online video. Additional description of the online video application can be found in U.S. Provisional Patent Application No. 60 / 936,562, filed on June 20, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” and U.S. Patent Application No. 11 / 968,067, filed on December 31, 2007, entitled “Portable Multifunction Device, Method, and Graphical User Interface for Playing Online Videos,” the contents of which are incorporated herein by reference in their entirety.

[0124] Each module and application identified above corresponds to a set of executable instructions 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, so various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. For example, a video player module is optionally combined with a music player module into a single module (e.g., Figure 1A In some embodiments, the memory 102 optionally stores a subset of the above modules and data structures. In addition, the memory 102 optionally stores additional modules and data structures not described above.

[0125] In some embodiments, device 100 is a device where the operation of a predefined set of functions on the device is performed exclusively through a touch screen and / or a touch pad. By using a touch screen and / or a touch pad as the primary input control device for the operation of device 100, the number of physical input control devices (such as push buttons, dials, etc.) on device 100 is optionally reduced.

[0126] The predefined set of functions that are performed exclusively through the touch screen and / or touchpad optionally includes navigation between user interfaces. In some embodiments, when the user touches the touchpad, the device 100 is navigated to a main menu, a home menu, or a root menu from any user interface displayed on the device 100. In such embodiments, a "menu button" is implemented using a touchpad. In some other embodiments, the menu button is a physical push button or other physical input control device, rather than a touchpad.

[0127] Figure 1B 1 is a block diagram illustrating exemplary components for event processing according to some embodiments. In some embodiments, memory 102 ( Figure 1A ) or memory 370( Figure 3 ) includes an event classifier 170 (e.g., in the operating system 126), and a corresponding application 136-1 (e.g., any one of the aforementioned applications 137-151, 155, 380-390).

[0128] Event classifier 170 receives event information and determines the application 136-1 and the application view 191 of application 136-1 to which the event information is to be delivered. Event classifier 170 includes event monitor 171 and event distributor module 174. In some embodiments, application 136-1 includes application internal state 192, which indicates one or more current application views displayed on touch-sensitive display 112 when the application is active or executing. In some embodiments, device / global internal state 157 is used by event classifier 170 to determine which application(s) is currently active, and application internal state 192 is used by event classifier 170 to determine the application view 191 to which the event information is to be delivered.

[0129] In some embodiments, the application internal state 192 includes additional information, such as one or more of the following: resumption information to be used when the application 136-1 resumes execution, user interface state information indicating information being displayed by the application 136-1 or information ready to be displayed by the application 136-1, a state queue for enabling a user to return to a previous state or view of the application 136-1, and a repeat / undo queue of previous actions taken by the user.

[0130] Event monitor 171 receives event information from peripherals interface 118. The event information includes information about sub-events (e.g., user touches on touch-sensitive display 112 as part of a multi-touch gesture). Peripherals interface 118 transmits information it receives from I / O subsystem 106 or sensors such as proximity sensor 166, one or more accelerometers 168, and / or microphone 113 (through audio circuit 110). The information that peripherals interface 118 receives from I / O subsystem 106 includes information from touch-sensitive display 112 or a touch-sensitive surface.

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

[0132] In some embodiments, the event classifier 170 also includes a hit view determination module 172 and / or an active event identifier determination module 173.

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

[0134] 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 optionally correspond to a programmatic level within the programmatic or view hierarchy of the application. For example, the lowest level view in which a touch is detected is optionally referred to as a hit view, and the set of events that are considered to be correct input is optionally determined at least in part based on the hit view of the initial touch that started the touch-based gesture.

[0135] Hit view determination module 172 receives information related to sub-events of contact-based gestures. When an application has multiple views organized in a hierarchy, hit view determination module 172 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 hit view determination module 172, 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.

[0136] Active event recognizer determination module 173 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 173 determines that only the hit view should receive a particular sequence of sub-events. In other embodiments, active event recognizer determination module 173 determines that all views that include the physical location of the sub-event are actively participating views, and therefore determines that all actively participating views should receive a particular sequence of sub-events. In other embodiments, even if a touch sub-event is completely confined to an area associated with one particular view, higher views in the hierarchy will still remain as actively participating views.

[0137] Event distributor module 174 distributes event information to event recognizers (e.g., event recognizers 180). In embodiments including active event recognizer determination module 173, event distributor module 174 delivers the event information to the event recognizers determined by active event recognizer determination module 173. In some embodiments, event distributor module 174 stores the event information in an event queue, which is retrieved by corresponding event receivers 182.

[0138] In some embodiments, operating system 126 includes event classifier 170. Alternatively, application 136-1 includes event classifier 170. In other embodiments, event classifier 170 is a standalone module or is part of another module (such as contact / motion module 130) stored in memory 102.

[0139] In some embodiments, application 136-1 includes multiple event handlers 190 and one or more application views 191, each of which includes instructions for handling touch events occurring within a corresponding view of the user interface of the application. Each application view 191 of application 136-1 includes one or more event recognizers 180. Typically, the corresponding application view 191 includes multiple event recognizers 180. In other embodiments, one or more event recognizers in event recognizers 180 are part of an independent module, such as a user interface toolkit (not shown) or a higher level object from which application 136-1 inherits methods and other properties. In some embodiments, the corresponding event handler 190 includes one or more of the following: data updater 176, object updater 177, GUI updater 178, and / or event data 179 received from event classifier 170. Event handler 190 optionally utilizes or calls data updater 176, object updater 177, or GUI updater 178 to update application internal state 192. Alternatively, one or more of the application views in application view 191 include one or more corresponding event handlers 190. In addition, in some embodiments, one or more of data updater 176, object updater 177, and GUI updater 178 are included in the corresponding application view 191.

[0140] A corresponding event identifier 180 receives event information (e.g., event data 179) from event classifier 170 and identifies an event from the event information. Event identifier 180 includes an event receiver 182 and an event comparator 184. In some embodiments, event identifier 180 also includes metadata 183 and at least a subset of event delivery instructions 188 (which optionally include sub-event delivery instructions).

[0141] Event receiver 182 receives event information from event classifier 170. Event information includes information about sub-events (e.g., touch or touch movement). Depending on the sub-event, the event information also includes additional information such as the location of the sub-event. When the sub-event involves the movement of the touch, the event information optionally also includes the speed and direction of the sub-event. In some embodiments, the event includes the device rotating from one orientation to another orientation (e.g., from a longitudinal orientation to a transverse 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).

[0142] Event comparator 184 compares event information with predefined event or sub-event definitions, and determines an event or sub-event based on the comparison, or determines or updates the state of an event or sub-event. In some embodiments, event comparator 184 includes event definition 186. Event definition 186 includes the definition of an event (e.g., a predefined sub-event sequence), such as event 1 (187-1), event 2 (187-2), and other events. In some embodiments, the sub-events in event 187 include, for example, touch start, touch end, touch move, touch cancel, and multi-touch. In one example, the definition of event 1 (187-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 the displayed object, a first lift (touch end) of a predetermined duration, a second touch (touch start) of a predetermined duration on the displayed object, and a second lift (touch end) of a predetermined duration. In another example, the definition of event 2 (187-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 112, and lifting of the touch (end of touch). In some embodiments, the event also includes information for one or more associated event handlers 190.

[0143] In some embodiments, event definition 187 includes definitions of events for corresponding user interface objects. In some embodiments, event comparator 184 performs a hit test to determine which user interface object is associated with a sub-event. For example, in an application view (where three user interface objects are displayed on touch display 112), when a touch is detected on touch-sensitive display 112, event comparator 184 performs a hit test to determine which of the three user interface objects is associated with the touch (sub-event). If each displayed object is associated with a corresponding event handler 190, the event comparator uses the result of the hit test to determine which event handler 190 should be activated. For example, event comparator 184 selects an event handler associated with a sub-event and the object that triggered the hit test.

[0144] In some embodiments, the definition of the corresponding event 187 also includes a delay action that will delay the delivery of the event information until after it has been determined whether the sequence of sub-events does or does not correspond to the event type of the event identifier.

[0145] When a corresponding event recognizer 180 determines that a series of sub-events does not match any event in event definition 186, the corresponding event recognizer 180 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.

[0146] In some embodiments, the corresponding event recognizers 180 include metadata 183 with configurable properties, flags, and / or lists that indicate how the event delivery system should perform sub-event delivery to actively participating event recognizers. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate how event recognizers interact or can interact with each other. In some embodiments, metadata 183 includes configurable properties, flags, and / or lists that indicate whether sub-events are delivered to different levels in a view or programmatic hierarchy.

[0147] In some embodiments, when one or more specific sub-events of an event are identified, the corresponding event recognizer 180 activates an event handler 190 associated with the event. In some embodiments, the corresponding event recognizer 180 delivers event information associated with the event to the event handler 190. Activating the event handler 190 is different from sending (and deferred sending) the sub-events to the corresponding hit view. In some embodiments, the event recognizer 180 throws a flag associated with the identified event, and the event handler 190 associated with the flag obtains the flag and performs a predefined process.

[0148] In some embodiments, event delivery instructions 188 include sub-event delivery instructions that deliver event information about a sub-event without activating an event handler. Instead, the sub-event delivery instructions deliver the event information to an event handler associated with a sub-event string or to an actively participating view. An event handler associated with a sub-event sequence or with an actively participating view receives the event information and executes a predetermined process.

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

[0150] In some embodiments, one or more event handlers 190 include or have access to data updater 176, object updater 177, and GUI updater 178. In some embodiments, data updater 176, object updater 177, and GUI updater 178 are included in a single module of the corresponding application 136-1 or application view 191. In other embodiments, they are included in two or more software modules.

[0151] 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 100, and not all user inputs are initiated on the touch screen. For example, mouse movement and mouse button presses, optionally combined with single or multiple keyboard presses or holds; contact movement on a touch pad, such as tapping, dragging, scrolling, etc.; stylus input; movement of the device; verbal commands; detected eye movement; biometric input; and / or any combination thereof as input corresponding to a sub-event for defining an event to be recognized.

[0152] Figure 2A portable multifunction device 100 with a touch screen 112 according to some embodiments is shown. The touch screen optionally displays one or more graphics within a user interface (UI) 200. 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 202 (not drawn to scale in the accompanying drawings) or using one or more styluses 203 (not drawn to scale in the accompanying drawings). In some embodiments, selection of one or more graphics will occur when the user interrupts contact with the one or more graphics. 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 100 (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.

[0153] The device 100 optionally also includes one or more physical buttons, such as a "home" or menu button 204. As previously described, the menu button 204 is optionally used to navigate to any application 136 in a set of applications that are optionally executed on the device 100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on the touch screen 112.

[0154] In some embodiments, the device 100 includes a touch screen 112, a menu button 204, a push button 206 for powering the device on / off and for locking the device, one or more volume adjustment buttons 208, a user identity module (SIM) card slot 210, an earphone jack 212, and a docking / charging external port 124. The push button 206 is optionally used to: power on / off the device by pressing the button and keeping the button in a pressed state for a predetermined time interval; lock the device by pressing the button and releasing the button before a predetermined time interval passes; and / or unlock the device or initiate an unlocking process. In an alternative embodiment, the device 100 also accepts voice input for activating or deactivating certain functions through a microphone 113. The device 100 also optionally includes one or more contact strength sensors 165 for detecting the strength of contact on the touch screen 112, and / or one or more tactile output generators 167 for generating tactile output for a user of the device 100.

[0155] Figure 3300 is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface according to some embodiments. Device 300 does not have to be portable. In some embodiments, device 300 is a laptop, a desktop computer, a tablet computer, a multimedia player device, a navigation device, an educational device (such as a children's learning toy), a game system, or a control device (e.g., a home controller or an industrial controller). Device 300 typically includes one or more processing units (CPUs) 310, one or more network or other communication interfaces 360, a memory 370, and one or more communication buses 320 for interconnecting these components. The communication bus 320 optionally includes a circuit system (sometimes called a chipset) that interconnects system components and controls communication between system components. Device 300 includes an input / output (I / O) interface 330 with a display 340, which is typically a touch screen display. The I / O interface 330 also optionally includes a keyboard and / or a mouse (or other pointing device) 350 and a touch pad 355, a tactile output generator 357 for generating tactile output on the device 300 (e.g., similar to the above reference). Figure 1A The one or more tactile output generators 167 described above), sensors 359 (e.g., optical sensors, acceleration sensors, proximity sensors, touch sensors, and / or sensors similar to those described above) Figure 1A Memory 370 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices, and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. Memory 370 optionally includes one or more storage devices located remote from one or more CPUs 310. In some embodiments, memory 370 stores data stored in portable multifunction device 100 ( Figure 1A ) or a subset thereof. In addition, memory 370 optionally stores additional programs, modules, and data structures not present in memory 102 of portable multifunction device 100. For example, memory 370 of device 300 optionally stores a drawing module 380, a presentation module 382, ​​a word processing module 384, a website creation module 386, a disk editing module 388, and / or a spreadsheet module 390, while portable multifunction device 100 ( Figure 1A )'s memory 102 optionally does not store these modules.

[0156] Figure 3Each element of the above-mentioned identified element is optionally stored in one or more previously mentioned memory devices. Each module in the above-mentioned modules corresponds to an instruction set for performing the above-mentioned functions. The above-mentioned modules or programs (e.g., instruction sets) do not have to be implemented as independent software programs, processes or modules, and therefore the various subsets of these modules are optionally combined or otherwise rearranged in various embodiments. In some embodiments, memory 370 optionally stores a subset of the above-mentioned modules and data structures. In addition, memory 370 optionally stores additional modules and data structures not described above.

[0157] Attention is now turned to embodiments of a user interface that may be implemented on, for example, portable multifunction device 100 .

[0158] Figure 4A An exemplary user interface for a menu of applications on portable multifunction device 100 is shown according to some embodiments. A similar user interface is optionally implemented on device 300. In some embodiments, user interface 400 includes the following elements, or a subset or superset thereof:

[0159] One or more signal strength indicators 402 of one or more wireless communications, such as cellular signals and Wi-Fi signals;

[0160] Time 404;

[0161] Bluetooth indicator 405;

[0162] Battery status indicator 406;

[0163] A tray 408 with common application icons, such as:

[0164] o an icon 416 of the phone module 138 labeled “Phone”, the icon 416 optionally including an indicator 414 of the number of missed calls or voice messages;

[0165] o an icon 418 of the email client module 140 labeled “Mail,” which optionally includes an indicator 410 of the number of unread emails;

[0166] o An icon 420 of the browser module 147 labeled "Browser"; and

[0167] o an icon 422 labeled “iPod” of a video and music player module 152 (also referred to as an iPod (trademark of Apple Inc.) module 152); and

[0168] Icons of other applications, such as:

[0169] o Icon 424 of IM module 141 labeled “Message”;

[0170] o Icon 426 labeled “Calendar” of calendar module 148;

[0171] o Icon 428 labeled “Photos” of the image management module 144;

[0172] o An icon 430 labeled “Camera” of the camera module 143;

[0173] o Icon 432 labeled “Online Video” of the online video module 155;

[0174] o Icon 434 labeled "Stock Market" of the Stock Market widget 149-2;

[0175] o an icon 436 labeled “MAP” of the map module 154;

[0176] o Icon 438 labeled "Weather" of the Weather widget 149-1;

[0177] o Icon 440 labeled as “Clock” of the alarm clock widget 149-4;

[0178] o an icon 442 labeled “Fitness Support” of the fitness support module 142;

[0179] o An icon 444 of the notepad module 153 labeled "Notepad"; and

[0180] o An icon 446 labeled “Settings” for a settings application or module that provides access to settings for the device 100 and its various applications 136.

[0181] It should be noted that Figure 4A The icon labels shown in are exemplary only. For example, icon 422 of video and music player module 152 is labeled "Music" or "Music Player". Other labels are optionally used for various application icons. In some embodiments, the label 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.

[0182] Figure 4B A touch-sensitive surface 451 (eg, touch screen display 112) is shown having a touch-sensitive surface 451 (eg, Figure 3 tablet computer or touch pad 355) device (e.g., Figure 3Device 300 also optionally includes one or more contact intensity sensors (e.g., one or more of sensors 359) for detecting intensity of contacts on touch-sensitive surface 451, and / or one or more tactile output generators 357 for generating tactile output for a user of device 300.

[0183] Although some of the examples that follow will be given with reference to input on a touch screen display 112 (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 4B In some embodiments, the touch-sensitive surface (e.g., Figure 4B 451) has a main axis (e.g., Figure 4B 453) corresponding to the principal axis (for example, Figure 4B According to these embodiments, the device detects a position corresponding to a corresponding position on the display (e.g., Figure 4B 460 corresponds to 468 and 462 corresponds to 470) in contact with touch-sensitive surface 451 (e.g., Figure 4B 460 and 462 in FIG. 4 ). Thus, on a touch-sensitive surface (eg, Figure 4B 451) and the display of a multi-function device ( Figure 4B When the user input detected by the device on the touch-sensitive surface (e.g., contacts 460 and 462, and their movement) is separated, the device is used to manipulate the user interface on the display. It should be understood that similar methods are optionally used for other user interfaces described herein.

[0184] In addition, although the following examples are primarily given with reference to finger inputs (e.g., finger contacts, finger tap gestures, finger swipe gestures), it should be understood that in some embodiments, one or more of these finger inputs are replaced by input from another input device (e.g., mouse-based input or stylus input). For example, a swipe gesture is optionally replaced by a mouse click (e.g., instead of contact), followed by movement of the cursor along the path of the swipe (e.g., instead of movement of the contact). As another example, a tap gesture is optionally replaced by a mouse click when the cursor is over the location of the tap gesture (e.g., instead of detection of contact, followed by termination of detecting 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.

[0185] Figure 5AAn exemplary personal electronic device 500 is shown. Device 500 includes a body 502. In some embodiments, device 500 may include a device 502 for devices 100 and 300 (e.g., Figure 1A-Figure 4B ) some or all of the features described in the preceding claims. In some embodiments, device 500 has a touch-sensitive display screen 504, hereinafter referred to as touch screen 504. As an alternative or in addition to touch screen 504, device 500 has a display and a touch-sensitive surface. As with devices 100 and 300, in some embodiments, touch screen 504 (or touch-sensitive surface) optionally includes one or more intensity sensors for detecting the intensity of an applied contact (e.g., a touch). One or more intensity sensors of touch screen 504 (or touch-sensitive surface) may provide output data representing the intensity of the touch. The user interface of device 500 may respond to touch based on the intensity of the touch, which means that touches of different intensities may invoke different user interface operations on device 500.

[0186] For example, exemplary techniques for detecting and processing touch intensity may be found in the following related patent applications: International Patent Application No. PCT / US2013 / 040061, filed on May 8, 2013, entitled “Device, Method, and Graphical User Interface for Displaying User Interface Objects Corresponding to an Application,” published as WIPO Patent Publication No. WO / 2013 / 169849; and International Patent Application No. PCT / US2013 / 069483, filed on November 11, 2013, entitled “Device, Method, and Graphical User Interface for Transitioning Between Touch Input to Display Output Relationships,” published as WIPO Patent Publication No. WO / 2014 / 105276, each of which is incorporated herein by reference in its entirety.

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

[0188] Figure 5B An exemplary personal electronic device 500 is shown. In some embodiments, the device 500 may include a Figure 1A , Figure 1B and Figure 3 Some or all of the components described. The device 500 has a bus 512 that operatively couples an I / O portion 514 with one or more computer processors 516 and a memory 518. The I / O portion 514 may be connected to a display 504, which may have a touch-sensitive component 522 and optionally a strength sensor 524 (e.g., a contact strength sensor). In addition, the I / O portion 514 may be connected to a communication unit 530 for receiving application and operating system data using Wi-Fi, Bluetooth, near field communication (NFC), cellular and / or other wireless communication technologies. The device 500 may include input mechanisms 506 and / or 508. For example, the input mechanism 506 is optionally a rotatable input device or a pressable input device and a rotatable input device. In some embodiments, the rotatable input device is a crown, knob, ring, or scroll wheel that can be rotated via interaction with one or more fingers. The rotatable input device may be mounted on the side of the device 500, such as Figure 5A , or in other locations, such as integrated on or around display 504. In some examples, input mechanism 508 is optionally a button.

[0189] In some examples, input mechanism 508 is optionally a microphone. Personal electronic device 500 optionally includes various sensors, such as GPS sensor 532, accelerometer 534, orientation sensor 540 (e.g., compass), gyroscope 536, motion sensor 538, and / or combinations thereof, all of which are operably connected to I / O portion 514.

[0190] The memory 518 of the personal electronic device 500 may include one or more non-transitory computer-readable storage media for storing computer-executable instructions that, when executed by one or more computer processors 516, may cause the computer processors to perform the following techniques, including method 700 ( Figure 7 )、1000( Fig.10 )、1300( Fig.13 ) and 1600( Fig.16 ). The personal electronic device 500 is not limited to Figure 5B components and configurations, but may include other components or additional components in a variety of configurations.

[0191] As used herein, the term "indicative representation" refers to an optional feature of apparatus 100, 300, and / or 500 (FIG. 1, Figure 3 5 ). For example, an image (e.g., an icon), a button, and text (e.g., a hyperlink) optionally each constitute an affordance.

[0192] As used herein, the term "focus selector" refers to an input element that indicates 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 when the cursor is over a particular user interface element (e.g., a button, window, slider, or other user interface element), a focus selector is displayed on a touch-sensitive surface (e.g., Figure 3 Touchpad 355 or Figure 4B In the event that an input (e.g., a press input) is detected on the touch-sensitive surface 451 in the display, the particular user interface element is adjusted according to the detected input. In the case that a touch-screen display (e.g., Figure 1A The touch-sensitive display system 112 or Figure 4AIn some implementations of the touch screen 112 in FIG. 1 , a detected contact on the touch screen acts as a “focus selector” such that when an input (e.g., a press input by the contact) is detected at the location of a particular user interface element (e.g., a button, window, slider, or other user interface element) on the touch screen display, the particular user interface element is adjusted in accordance with the detected input. In some implementations, the focus moves from one area of ​​the user interface to another area of ​​the user interface without corresponding movement of a cursor or movement of a contact on the touch screen display (e.g., by using a tab key or arrow keys to move the focus from one button to another); in these implementations, the focus selector moves in accordance with the movement of the focus between different areas of the user interface. Regardless of the specific form the focus selector takes, the focus selector is typically a user interface element (or contact on the touch screen display) that is controlled by the user to deliver the user's intended interaction with the user interface (e.g., by indicating to the device the element of the user interface with which the user desires to interact). For example, when a press input is detected on a touch-sensitive surface (e.g., a touchpad or touchscreen), the position of a focus selector (e.g., a cursor, contact, or selection box) over a corresponding button will indicate that the user intends to activate the corresponding button (rather than other user interface elements shown on the device's display).

[0193] As used in the specification and claims, the term "characteristic intensity" of a contact refers to a characteristic of a contact based on one or more intensities of the contact. In some embodiments, the characteristic intensity is based on multiple intensity samples. The characteristic intensity is optionally based on a predefined number of intensity samples or a set of intensity samples collected during a predetermined time period (e.g., 0.05 seconds, 0.1 seconds, 0.2 seconds, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds) relative to a predefined event (e.g., after contact is detected, before contact is detected to be lifted, before or after contact begins to move, before contact ends, before or after contact intensity is detected to increase, and / or before or after contact intensity is detected to decrease). The characteristic intensity of a contact is optionally based on one or more of the following: the maximum value of 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 feature 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 optionally includes a first strength threshold and a second strength threshold. In this example, a contact whose feature strength does not exceed the first threshold results in a first operation, a contact whose feature strength exceeds the first strength threshold but does not exceed the second strength threshold results in a second operation, and a contact whose feature strength exceeds the second threshold results in a third operation. In some embodiments, a comparison between the feature 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.

[0194] In some embodiments, a portion of a gesture is identified for determining characteristic strength. For example, the touch-sensitive surface optionally receives 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 is optionally 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 is optionally 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 depressions in the strength of the swipe contact to achieve the purpose of determining the characteristic strength.

[0195] The intensity of the contact on the touch-sensitive surface is optionally characterized relative to one or more intensity thresholds such as a contact detection intensity threshold, a light press intensity threshold, a deep press intensity threshold, and / or one or more other intensity thresholds. In some embodiments, the light press intensity threshold corresponds to an intensity at which the device will perform an operation typically associated with clicking a button of a physical mouse or a touchpad. In some embodiments, the deep press intensity threshold corresponds to an intensity at which the device will perform an operation different from the operation typically associated with clicking a button of a physical mouse or a touchpad. In some embodiments, when a contact having a characteristic intensity lower than the 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 according to 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.

[0196] 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 a contact on the touch surface. A decrease in the characteristic intensity of a contact from an intensity above the contact detection intensity threshold to an intensity below the contact detection intensity threshold is sometimes referred to as detecting a 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.

[0197] 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 greater than 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).

[0198] In some embodiments, the device employs intensity hysteresis to avoid unexpected inputs sometimes referred to as "jitter," where the device defines or selects a hysteresis intensity threshold that has a predefined relationship to a press input intensity threshold (e.g., the hysteresis intensity threshold is X intensity units lower than the press input intensity threshold, or the hysteresis intensity threshold is 75%, 90%, or some reasonable proportion of the press input intensity threshold). Thus, in some embodiments, a press input includes an increase in the intensity of the corresponding contact to above the press input intensity threshold and a subsequent decrease in the intensity of the contact to below the 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 "upward stroke" of the corresponding press input). Similarly, in some embodiments, a press input is detected only when the device detects that the contact intensity increases from an intensity equal to or below the hysteresis intensity threshold to an intensity equal to or above the press input intensity threshold and, optionally, that the contact intensity subsequently decreases to an intensity equal to or below the hysteresis intensity, and a corresponding operation is performed in response to detecting the press input (e.g., an increase in contact intensity or a decrease in contact intensity, depending on the circumstances).

[0199] 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 that corresponds to and is less than the press input intensity threshold.

[0200] Attention is now turned to an embodiment of a user interface ("UI") and associated processes implemented on an electronic device, such as portable multifunction device 100, device 300, or device 500.

[0201] Figure 6A-6R An exemplary user interface for handwriting on a screen according to some embodiments is shown. The user interface in these figures is used to illustrate the Figure 7 The process is described below in the process.

[0202] Fig. 6AAn electronic device 600 is shown, a variation of which includes some or all of the components of the above-described devices 100, 300, or 500. For example, the electronic device 600 includes a display 601, which in some cases corresponds to the display 340 of the device 300 or the display 504 of the device 500. In some examples, a touch-sensitive surface is integrated into the display 601. The electronic device 600 also includes a rotatable input device 602, which in some cases corresponds to the input mechanism 506 of the electronic device 500.

[0203] exist Fig. 6A In the figure, the electronic device 600 is displaying a handwriting interface 610 on the display 601. The handwriting interface 610 includes a stroke input area 608 (indicated by a dotted line frame) and a message area 609 (indicated by a dashed line frame). The one or more processors of the electronic device 600 analyze the user's strokes input in the stroke input area 608 to determine the text represented by the strokes. The determined text is then displayed in the message area 609. Fig. 6A Depicted are partially overlapping stroke input area 608 and message area 609. In some cases, the stroke input area 608 and message area 609 completely overlap, share a common border but do not overlap, are separated by a distance, or have some other spatial configuration.

[0204] Handwriting interface 610 also includes an affordance 603 for indicating that inputting text is complete; an affordance 604 for canceling further input of text in the current example of handwriting interface 610; an affordance 605 for entering a dictation mode to receive audio input; an affordance 607 for deleting text that has been entered; and an affordance 606 for entering a space into the current text. In some cases, selecting affordance 603 causes text from the message area to be returned to the program that initiated handwriting interface 610. For example, if a messaging application initiated handwriting interface 610, selecting affordance 603 would cause text from the message area to be returned to the messaging application.

[0205] Figure 6B A path 611 is depicted that represents the path of a user's finger touching the touch-sensitive surface in the display and stroke input area 608. Path 611 includes an arrow indicating the direction the user's finger follows. Figure 6B Path 611 is shown as being generated from a user's finger, but in other cases other objects such as a stylus or an object are used.

[0206] Figure 6C Depicted is the display of a stroke representation 612 based on the touch-sensitive surface responsive to the user's finger along the Figure 6BThe output of the stroke representation 612 is generated in response to the touch sensitive surface of the path 611. The stroke representation 612 is displayed as a series of dots and partial dots. Other appearances of the stroke representation 612 are also possible. In some cases, the display intensity of the stroke representation 612 is based on the time when the stroke representation is detected.

[0207] Fig.6D The result of the electronic device 600 analyzing the strokes corresponding to the stroke representation 612 to determine the text used to represent the stroke is shown. In this case, the stroke is determined to represent the text 614 (the letter "h"), which now appears in the message area 609. The stroke representation 612 is no longer displayed in the stroke input area 608. In some cases, after the stroke representations appearing in the stroke input area 608 have been analyzed to determine the corresponding text, they are no longer displayed. In some cases, the stroke representations appearing in the stroke input area 608 transition to the text in the message area 609 via animation, for example, when the corresponding strokes are analyzed.

[0208] Fig. 6E and Fig.6D The same, just for the sake of clarity, remove the message area 609 and the stroke input area 608 frame. The remaining figures of the electronic device 600 ( Figure 6E-6R , Figure 9A-9I , Figure 12A-12L and Figure 15A-15J ) does not include a visual frame of the logo message area 609 and the stroke input area 608. However, the electronic device 600 depicted in these figures should still be regarded as having the same Figure 6A-6D Same message area and stroke input area.

[0209] Fig. 6F Handwriting interface 610 is depicted after strokes have been recognized, text 614 has been determined based on the recognized strokes, and a set of one or more suggestions indicated by indicator 616 has been determined for text 614. In some cases, determining the set of one or more messages for text 614 (or other text within a message area) is based on various factors and techniques, such as n-grams, the context of the message, likely auto-correction of the text, likely auto-completion of the text, the strokes used to generate text 614, the context of the device, or other factors.

[0210] exist Figure 6GIn the embodiment of the present invention, in response to receiving input (e.g., scrolling or rotating input) on input device 602, electronic device 600 displays suggestion box 620 containing one or more suggestions 622 for text in the message area. In some cases, one or more suggestions 622 are part (or all) of a group of suggestions for text in the message area. In this case, as shown in text indication 618, the suggestion is for text "h", which is the only text in the message area. In some cases, as described below, the suggestion box is displayed only for a portion of the text given in the message area. Indicator 624 indicates the currently selected suggestion, which is initially the initial text for which the group of one or more suggestions 622 is generated. Status bar 626 indicates the position of the currently selected suggestion in the group of one or more suggestions (i.e., the position of indicator 624), and is updated when indicator 624 is moved and a new suggestion is selected.

[0211] Figure 6H The device 600 is shown responding to receiving additional user input (e.g., scroll input or rotation input) via the input device 602. The electronic device 600 moves the indicator 624 down a number of suggestions in response to the user input. The message area 618 is updated to indicate the currently selected suggestion "hello". The status bar 626 is also updated to reflect the position of the indicator 624 in the group of one or more suggestions 622.

[0212] Fig.6I The response of the electronic device 600 to selecting the suggestion "hello" is depicted. The electronic device 600 updates the message area to include the selected suggestion. In some cases, the selection is made in response to the input device 602 no longer receiving user input (e.g., no longer receiving scroll input or rotation input). In other cases, the selection is made in response to other user input such as activating a button, pressing the input device 602, a gesture on the touch-sensitive surface, or other user input. There is an indicator 616 indicating that a set of one or more suggestions are available for text in the message area. In response to receiving additional user input (e.g., additional scroll input), the suggestion box 620 and the set of one or more suggestions 622 ( Figure 6G ). In some embodiments, a new set of one or more suggestions based on the new text given in the message area is generated and displayed in the suggestion box.

[0213] Figure 6J Depicted is a handwriting interface 610 having a stroke representation 628. The handwriting interface 610 is shown after receiving input corresponding to a stroke, but the stroke representation 628 is generated before the stroke is analyzed to determine corresponding text and suggestions, as evidenced by the lack of suggestion indicators (e.g., Fig.6I The indicator 616 is used to indicate the

[0214] Figure 6K Depicted is a handwriting interface 610 after the strokes corresponding to the stroke representation 628 have been analyzed and the corresponding text has been determined. In this case, the corresponding text for the strokes corresponding to the stroke representation 628 is the letter "w" displayed in the message area. The space separates the previous text ("hello") from the new text ("w"). In some cases, the space is presented in response to the user input selecting the affordance 606. In other cases, the space is presented in response to the electronic device 600 automatically inserting the space after, for example, determining that "hello" is a complete word. Indicator 616 indicates that there is also a set of one or more suggestions available for the text in the message area.

[0215] exist Figure 6L In the embodiment of the present invention, in response to receiving an input (e.g., a scroll input or a rotation input) via the input device 602, the electronic device 600 displays a suggestion box 632 containing a set of one or more suggestions for the text in the message area. In this case, as shown by the text indication 630, the suggestion is for the text "w" that is part of the text in the message area highlighted by the text indication 630.

[0216] Figure 6M Depicts that after electronic device 600 has processed a number of additional strokes received on the touch-sensitive surface and has determined and displayed corresponding text in the message area, electronic device 600 displays handwriting interface 610. Indicator 634 indicates that additional text is available, but not displayed. In some embodiments, in response to user input such as a swipe gesture on the message area, the additional text is viewed and accessed.

[0217] Figure 6N Handwriting interface 610 is shown displayed in response to electronic device 600 receiving user input (e.g., scroll input) via input device 602. Suggestion box 636 includes a set of suggestions for the text "do", as shown by text indication 638. In addition to words beginning with "do", the set of suggestions in suggestion box 636 includes an emoji for a dog.

[0218] Fig.6O The handwriting interface 610 is shown after the electronic device 600 receives further user input (e.g., scroll input) via the input device 602. The user input causes the group of suggestions in the suggestion box 636 to move so that the dog emoji is the current selection. The handwriting interface 610 has correspondingly updated the text in the box indication 638 to the dog emoji.

[0219] Figure 6P Depicts handwriting interface 610 (eg, in response to user input) after electronic device 600 selects a dog emoji suggestion from suggestion box 636. Fig.6O). For example, when the electronic device 600 stops receiving user input via the input device 602, the electronic device 600 selects the dog emoji according to the selection indicator identifying the dog emoji of the suggestion box 636. The message area has been updated to include the dog emoji.

[0220] Figure 6Q Handwriting interface 610 is depicted after two additional strokes corresponding to stroke representations 640 and 642 are received. The T stroke corresponding to stroke representation 640 is received first, as indicated by its faded appearance relative to stroke representation 642 (corresponding to the stroke received later). If the time between inputting the strokes corresponding to stroke representations 640 and 642 is less than a threshold time, then the strokes corresponding to stroke representations 640 and 642 are optionally analyzed together as part of the same group. However, if the strokes are separated by a certain amount of time, then each stroke is analyzed separately as part of a different group. Figure 6Q As shown, the strokes corresponding to the stroke representations 640 and 642 are input in substantially the same position in the stroke input area because they are overlapped.

[0221] Figure 6R Depicts handwriting interface 610 after the strokes corresponding to stroke representations 640 and 642 have been analyzed to produce the text "to". In some cases, this text will be the same regardless of whether the strokes corresponding to stroke representations 640 and 642 are analyzed together or separately. In some cases, this text depends on whether the strokes corresponding to stroke representations 640 and 642 are analyzed together or separately.

[0222] Figure 7 700 is a flow chart showing a method for handwriting on a touch-sensitive surface using an electronic device according to some embodiments. Method 700 is performed at a device (e.g., 100, 300, 500) having a display, a touch-sensitive surface, and a rotatable input device. Some operations in method 700 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0223] As described below, method 700 provides an intuitive way to handwrite on a touch-sensitive surface. The method reduces the cognitive burden of handwriting on a touch-sensitive surface for a user, thereby creating a more efficient human-computer interface. For battery-powered computing devices, enabling users to input handwriting on a touch-sensitive surface faster and more efficiently saves power and increases the time between battery charges.

[0224] The electronic device displays (702) on a display a user input interface (e.g., 610) that includes a message area (e.g., 609) and a stroke input area (e.g., 608) (e.g., an area of ​​the display and touch-sensitive surface that detects and displays strokes received from a user via a finger, stylus, or other object). In some examples, the message area (e.g., 609) and the stroke input area (e.g., 608) are partially overlapping. In some examples, the message area is completely within the stroke input area (e.g., 608). In some examples, the message area and the stroke input area (e.g., 608) share a border but do not overlap each other. In some examples, the message area and the stroke input area (e.g., 608) are separate. In some examples, the touch-sensitive surface is less than 2in×2in, less than 1.5in×1.5in, or less than 1in×1in.

[0225] The electronic device receives (704) a first set of strokes (e.g., corresponding to stroke representation 612) (e.g., one or more consecutive strokes, where each stroke represents a letter or a portion of a letter) on a touch-sensitive surface in a stroke input area (e.g., 608). In some examples, the first set of strokes represents a letter, multiple letters, a word, or multiple words. In some examples, the display provides feedback to the user on the position and shape of the strokes of the first set of strokes as the strokes are received (e.g., feedback on the position and shape of the strokes of the first set of strokes). Figure 6C 's strokes represent the display of 612).

[0226] The electronic device determines (706) first text (e.g., a letter, a plurality of letters, a word, or a plurality of words) based on the first set of strokes (e.g., corresponding to the stroke representation 612). In some examples, the determination may be further based on strokes received before the first set of strokes, the context of the electronic device (e.g., time of day, location, current activity, calendar, person to whom the message is to be sent), or other information.

[0227] The electronic device is in the message area (e.g. Fig. 6E ) on a display in the computer. In some examples, the electronic device displays the first set of strokes before displaying the first text. In some examples, the electronic device transitions the display of the first set of strokes to the display of the first set of text via animation. In some examples, the animation display is performed when the electronic device determines the first text based on the first set of strokes.

[0228] The electronic device determines (710) one or more suggestions (e.g., 622) based on the first text (e.g., 614), wherein the one or more suggestions (e.g., 622) include one or more changes to the first text (e.g., the changes may implement a suggested completion, correction, or prediction). In some examples, the one or more suggestions include a suggested spelling correction for the first text. In some examples, the one or more suggestions include a suggested completion for the first text. In some examples, the one or more suggestions include a prediction of an additional word that follows the first text.

[0229] After the electronic device determines (712) one or more suggestions (e.g., 622), the electronic device receives user input via a rotatable input mechanism (e.g., 602). In some examples, the rotatable input mechanism is a crown, a knob, a ring, or a wheel. In some examples, the axis of rotation is perpendicular to the plane of the display. In some examples, the axis of rotation is parallel to the plane of the display or is contained within the plane of the display. In some examples, the rotatable input mechanism is located on the side of the display. In some examples, the rotatable input mechanism is located around the display.

[0230] The electronic device displays (716) at least one of the one or more suggestions (e.g., suggestion 622 in suggestion box 620) in response to user input (714) (e.g., user input received via input device 602) and displays (718) a selection indicator (e.g., 624) indicating a selected suggestion of the one or more suggestions (e.g., 622). In some examples, at least one of the one or more suggestions is displayed in a surrounding graphical element. In some examples, in response to the user input stopping immediately after displaying at least one of the one or more suggestions, the electronic device stops displaying at least one of the one or more suggestions. In some examples, the selection indicator is located to one side of the selected suggestion. In some examples, the selection indicator surrounds the one or more suggestions. In some examples, the selection indicator is integrated with the selected suggestion, such as changing the color of the selected suggestion or changing the appearance in other ways.

[0231] After the electronic device displays at least one of the one or more suggestions (e.g., 622) and a selection indicator (e.g., 624), the electronic device replaces (720) display of the first text in the message area (e.g., 624) with display of the selected suggestion. Figure 6G and Figure 6H ). In some examples, the replacement is made in response to the selection indicator moving to a new suggestion.

[0232] According to some embodiments, in response to determining one or more suggestions, the electronic device displays an indication that one or more suggestions are available (e.g., 616). In some examples, the indication is first displayed when the first text is first displayed. In some examples, the indication is adjacent to the rotatable input mechanism (e.g., 602), so that in response to displaying the indication adjacent to the rotatable input mechanism (e.g., Fig. 6F The comparison indicator 616 and Figure 6G The user is attracted to the rotatable input mechanism (the position and orientation of rotation in the input mechanism), and even attracted to rotate the rotatable input mechanism.

[0233] According to some embodiments, further in response to receiving user input, the electronic device determines whether a feature of the user input (e.g., time after stopping the user input) satisfies a first criterion. Based on determining that the suggestion interface termination criterion is met, the electronic device stops displaying a graphical interface (e.g., 620) corresponding to one or more suggestions (e.g., 622).

[0234] According to some embodiments, in response to continuing to receive user input via the rotatable input mechanism (e.g., input device 602), the electronic device moves a selection indicator (e.g., 624) from a first suggestion of one or more suggestions to a second suggestion (e.g., Figure 6G and Figure 6H ).

[0235] According to some embodiments, the display of one or more suggestions includes a first text, and one or more uppercase suggestions above the first text, and one or more lowercase suggestions below the first text (e.g., Figure 6G , Figure 6L , Figure 6N ).

[0236] In some embodiments, the one or more suggestions include auto-completion suggestions (e.g., suggesting complete words based on the first text) or auto-correction suggestions (e.g., spelling or grammar corrections for the first text).

[0237] According to some embodiments, one or more suggestions include an emoticon (e.g., Fig.6O In some examples, the first text describes the item represented by the emoji (e.g., the first text "dog" produces a dog emoji suggestion or the first text ":)" produces a happy face emoji suggestion). In some examples, the first text more generally describes the characteristics of the emoji (e.g., the first text "happy" produces a happy face emoji suggestion).

[0238] According to some embodiments, the one or more recommendations are determined using an n-gram model.

[0239] According to some embodiments, before the electronic device receives the first group of strokes, the electronic device receives a second group of strokes in a stroke input area (e.g., strokes from a previous word or from previous letters of the same word). The electronic device determines a second text based on the second group of strokes. Determining one or more suggestions is further based on the second text (e.g., using the context of the second text when analyzing the first group of strokes to determine the first text).

[0240] According to some embodiments, in response to receiving at least a portion of the first set of strokes, the electronic device displays a graphical representation of the first set of strokes in the stroke input area (e.g., Figure 6C and Figure 6J ).

[0241] According to some embodiments, the electronic device receives a first stroke in a stroke input area. After a certain period of time has passed since the first stroke was received, the electronic device receives a second stroke in the stroke input area. Based on determining that the period of time exceeds a threshold, the electronic device includes the first stroke and the second stroke in a first set of strokes. Based on determining that the period of time does not exceed the threshold, the electronic device includes the first stroke in the first set of strokes and excludes the second stroke from the first set of strokes (e.g., Figure 6Q ).

[0242] According to some embodiments, the first text includes a plurality of characters (e.g., Figure 6Q and Figure 6R ).

[0243] According to some embodiments, the first text is a single character (e.g., Fig.6D ).

[0244] According to some embodiments, the electronic device receives a third stroke (e.g., 640) at a position in the stroke input area. The electronic device receives a fourth stroke (e.g., 642) in the stroke input area at substantially the same position in the stroke input area, wherein both the third stroke and the fourth stroke are included in the first group of strokes (e.g., Figure 6Q ).

[0245] In some embodiments, the first group of strokes is a single continuous stroke (e.g., 612).

[0246] According to some embodiments, the first set of strokes includes multiple discrete strokes (e.g., 640, 642).

[0247] According to some embodiments, the user input interface includes a plurality of affordances (e.g., 603-607), including affordances corresponding to audio input (e.g., 605). In response to the electronic device receiving a user input selecting an affordance corresponding to the audio input (e.g., 605), the electronic device displays the audio input interface to receive spoken input.

[0248] According to some embodiments, the electronic device displays a scroll indicator (e.g., 626) along with display of at least one of the one or more suggestions (e.g., 622) and display of a selection indicator (e.g., 624), wherein a size of the scroll indicator is based on the number of the one or more suggestions and a position of the scroll indicator is based on a position of the selection indicator within the number of the one or more suggestions (e.g., 624). Figure 6G and Figure 6H ).

[0249] According to some embodiments, after replacing the display of the first text with the display of the selected suggestion, the electronic device stops displaying at least one of the one or more suggestions (e.g., 6I). After stopping displaying at least one of the one or more suggestions, the electronic device receives additional user input via a rotatable input mechanism (e.g., 602). In response to receiving the additional user input: the electronic device displays at least one additional suggestion of the one or more suggestions and displays a selection indicator (e.g., if user input is received again, the same set of suggestions is displayed).

[0250] It should be noted that the process described above with respect to method 700 (eg Figure 7 ) also applies in a similar manner to the methods described below. For example, method 1000 ( Fig.10 ), method 1300( Fig.13 ) and method 1600( Fig.16 ) optionally includes one or more features of the various methods described above with reference to method 700. For example, methods 1000, 1300, and 1600 may include method 700 as part of text input and suggestion to supplement the processes of these methods. For the sake of brevity, these details are not repeated below.

[0251] According to some embodiments, Figure 8 An exemplary functional block diagram of an electronic device 800 configured according to the principles of various described embodiments is shown. According to some embodiments, the functional blocks of the electronic device 800 are configured to perform the techniques described above. The functional blocks of the device 800 are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of various described examples. It should be understood by those skilled in the art that Figure 8The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various examples. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.

[0252] like Figure 8 As shown in , the electronic device 800 includes a display unit 802, a touch-sensitive surface unit 804, a rotatable input mechanism unit 806, and a processing unit 808 coupled to the display unit 802, the touch-sensitive surface unit 804, and the rotatable input mechanism unit 806. In some embodiments, the processing unit 808 includes a display enabling unit 810, a receiving unit 812, a determining unit 814, and an including unit 816.

[0253] The processing unit 808 is configured to: enable display of a user input interface on the display unit 802 including a message area and a stroke input area (for example, using the display enabling unit 810); receive a first group of strokes on the touch-sensitive surface unit 804 in the stroke input area (for example, using the receiving unit 812); determine a first text based on the first group of strokes (for example, using the determining unit 814); enable display of the first text on the display unit in the message area (for example, using the display enabling unit 810); determine one or more suggestions based on the first text (for example, using the determining unit 814), wherein the one or more suggestions include one or more suggestions for the first text; Multiple changes; after determining one or more suggestions, receiving user input via the rotatable input mechanism unit 806 (for example, using the receiving unit 812); in response to receiving the user input: enabling display of at least one of the one or more suggestions (for example, using the display enabling unit 810); and enabling display of a selection indicator for indicating a selected suggestion from the one or more suggestions (for example, using the display enabling unit 810); and after enabling display of at least one suggestion or one or more suggestions and the selection indicator, replacing display of the first text with display of the selected suggestion (for example, using the display enabling unit 810).

[0254] In some embodiments, the processing unit 808 is further configured to: in response to determining one or more suggestions, enable display of an indication that one or more suggestions are available (e.g., using the display enabling unit 810).

[0255] In some embodiments, the processing unit 808 is further configured to: further in response to receiving user input, determine whether the characteristics of the user input meet the first criterion (for example, using the determination unit 814); and stop enabling the display of the graphical interface corresponding to one or more suggestions based on determining that the suggestion interface termination criteria are met (for example, using the display enabling unit 810).

[0256] In some embodiments, the processing unit 808 is further configured to: in response to continuing to receive user input via the rotatable input mechanism unit 806, move the selection indicator from a first suggestion of one or more suggestions to a second suggestion (for example, using the display enabling unit 810).

[0257] In some embodiments, display of one or more suggestions is enabled including a first text, one or more uppercase suggestions above the first text, and one or more lowercase suggestions below the first text (e.g., using display enabling unit 810).

[0258] In some embodiments, the one or more suggestions include auto-completion suggestions or auto-correction suggestions.

[0259] In some embodiments, the one or more suggestions include an emoticon recognized based on the first text.

[0260] In some embodiments, one or more recommendations are determined using an n-gram model.

[0261] In some embodiments, the processing unit 808 is further configured to: receive a second group of strokes in the stroke input area before receiving the first group of strokes (e.g., using the receiving unit 812); determine a second text based on the second group of strokes (e.g., using the determining unit 814), wherein determining one or more suggestions is further based on the second text.

[0262] In some embodiments, the processing unit 808 is further configured to: in response to receiving at least a portion of the first set of strokes, enable display of a graphical representation of the first set of strokes in the stroke input area (e.g., using the display enabling unit 810).

[0263] In some embodiments, the processing unit 808 is further configured to: receive a first stroke in a stroke input area (e.g., using the receiving unit 812); receive a second stroke in the stroke input area (e.g., using the receiving unit 812) after a certain period of time has passed since the first stroke was received; based on determining that the period of time exceeds a threshold, include the first stroke and the second stroke in a first group of strokes (e.g., using the including unit 816); based on determining that the period of time does not exceed the threshold, include the first stroke in the first group of strokes (e.g., using the including unit 816) and exclude the second stroke from the first group of strokes.

[0264] In some embodiments, the first text includes multiple characters.

[0265] In some embodiments, the first text is a single character.

[0266] In some embodiments, the processing unit 808 is further configured to: receive a third stroke at a position in the stroke input area (e.g., using the receiving unit 812); receive a fourth stroke in the stroke input area at substantially the same position in the stroke input area (e.g., using the receiving unit 812), wherein both the third stroke and the fourth stroke are included in the first group of strokes.

[0267] In some embodiments, the first group of strokes is a single continuous stroke.

[0268] In some embodiments, the first set of strokes includes a plurality of discrete strokes.

[0269] In some embodiments, the user input interface includes multiple enable indications, which include an enable indication corresponding to the audio input, and the processing unit 808 is further configured to: in response to receiving user input for selecting an enable indication corresponding to the audio input, enable display of the audio input interface on the display unit 802 to receive oral input (for example, using the display enabling unit 810).

[0270] In some embodiments, the processing unit 808 is further configured to: enable display of a scroll indicator along with display of at least one of the one or more suggestions and display of a selection indicator (e.g., using the display enabling unit 810), wherein a size of the scroll indicator is based on the number of one or more suggestions, and a position of the scroll indicator is based on the position of the selection indicator within the number of one or more suggestions.

[0271] In some embodiments, the processing unit 808 is further configured to: after replacing the display of the first text with the display of the selected suggestion: stop enabling the display of at least one of the one or more suggestions (for example, using the display enabling unit 810); after stopping enabling the display of at least one of the one or more suggestions (for example, using the display enabling unit 810), receive additional user input via the rotatable input mechanism unit (for example, using the receiving unit 812); in response to receiving the additional user input: enable the display of at least one additional suggestion of the one or more suggestions on the display unit 802 (for example, using the display enabling unit 810); and enable the display of a selection indicator on the display unit 802 (for example, using the display enabling unit 810).

[0272] References Figure 7 The described operations are optionally performed by Figure 1A-1B or Figure 8. For example, receiving operation 704 is optionally implemented by event classifier 170, event identifier 180, and event handler 190. Event monitor 171 in event classifier 170 detects contact on touch-sensitive display 112, and event distributor module 174 delivers event information to application 136-1. The corresponding event identifier 180 of application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first contact at the first position on the touch-sensitive surface corresponds to a predefined event or sub-event, such as activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, event identifier 180 activates event handler 190 associated with the detection of the event or sub-event. Event handler 190 optionally utilizes or calls data updater 176 or object updater 177 to update the application internal state 192. In some embodiments, event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, a person skilled in the art will clearly know how to Figure 1A-1B The components depicted in the figure are used to implement other processes.

[0273] Figure 9A-9I An exemplary user interface for handwriting on a screen according to some embodiments is shown. The user interface in these figures is used to illustrate the Fig.10 The process is described below in the process.

[0274] Fig.9A An electronic device 600 is shown displaying a handwriting interface 610, which has been compared to Figure 6A-6R The electronic device 600 has received strokes corresponding to the stroke representation 900 in the stroke input area. The representation of the strokes is displayed on the display, but the strokes corresponding to the stroke representation 900 are analyzed to determine that the first text is not yet completed.

[0275] Fig. 9B Depicted is a handwriting interface 610 after the electronic device 600 receives a stroke corresponding to a stroke representation 902 in a stroke input area. The stroke representation 900 fades out. In some cases, the electronic device 600 fades out the representation of the stroke based on the time since the stroke was received. Thus, the most recently received stroke corresponding to the stroke representation 902 is darker than the stroke representation 900. The strokes corresponding to the stroke representations 900 and 902 are entered in substantially the same location on the stroke input area.

[0276] Fig. 9C The handwriting interface 610 of the electronic device 600 is depicted after receiving a stroke corresponding to the stroke representation 904 in the stroke input area. Fig. 9BStroke representation 902 also fades out. Stroke representation 904 corresponding to the most recently received stroke is the darkest of the three stroke representations. Strokes corresponding to stroke representations 902 and 904 are entered in substantially the same position in the stroke input area as stroke 900.

[0277] Fig.9D The handwriting interface 610 is depicted after the electronic device 600 has analyzed the first set of strokes (eg, strokes corresponding to the stroke representations 900, 902, and 904), determined that the corresponding text is "neo", and displayed the text in the message area. Fig.9D After the handwriting interface 610 in the message area displays the text, the stroke corresponding to the stroke representation 906 is also received. In response to receiving the new stroke, the electronic device determines the revised text (the stroke corresponding to the stroke representation 906) based on the first set of strokes and the second set of strokes.

[0278] Fig.9E Depicts handwriting interface 610 after electronic device 600 has analyzed the first set of strokes and the second set of strokes, determined that the strokes correspond to the text "need" and replaced the previously determined text in the message area with the new corresponding text in the message area. Figure 9A-9E ) depicts how an electronic device can reanalyze strokes that have already been analyzed, taking into account newly received strokes. Such a process can assist in disambiguating a set of strokes based on subsequently received strokes. The electronic device does not need to consider whether it has received all the strokes for a particular word or whether additional strokes may help to correctly analyze the strokes. Figure 9F-9I Applying this concept to revise text as a single character based on subsequently received strokes is depicted.

[0279] Fig.9F The handwriting interface 610 is depicted after the electronic device 600 has received a stroke (eg, a substantially vertical stroke) corresponding to the stroke representation 908. The electronic device 600 has not yet determined corresponding text for the stroke corresponding to the stroke representation 908.

[0280] Figure 9G Handwriting interface 610 is depicted after electronic device 600 has determined that the set of strokes consisting of the strokes corresponding to stroke representation 908 corresponds to "1" (lower case "L"). The corresponding text is displayed in the message area.

[0281] Figure 9H Handwriting interface 610 is depicted after electronic device 600 has received a stroke corresponding to stroke representation 910. Electronic device 600 has not yet determined corresponding text for the stroke.

[0282] Fig.9IHandwriting interface 610 is depicted after electronic device 600 has determined new text for a message area based on strokes corresponding to stroke representation 908 and subsequently received strokes corresponding to stroke representation 910. The strokes corresponding to stroke representation 910 are determined to be dots that correspond to (e.g., are paired with) the substantially vertical strokes corresponding to stroke representation 908, with “i” substituted for “l”.

[0283] Used to determine relative to a word Figure 9A-9E As shown in and relative to individual letters Figure 9F-Figure 9I The process of revising text as shown in the above can be based on a time period that passes between receiving a first group of strokes and a second group of strokes. If the time period exceeds a threshold, the second group of strokes is analyzed independently of the first group of strokes and the text corresponding to the first group of strokes is not revised based on the analysis of the first group of strokes and the second group of strokes. If the time period does not exceed the threshold, the second group of strokes is analyzed together with the first group of strokes, and revised text for the first group of strokes can be generated.

[0284] The context of the device may also be considered when determining the revised text. For example, the location of the electronic device, the time of day, the mode of the electronic device, and other factors associated with the electronic device may be considered when determining the revised text.

[0285] Fig.10 1 is a flowchart showing a method for handwriting on a touch-sensitive surface using an electronic device according to some embodiments. Method 1000 is performed at a device (e.g., 100, 300, 500) having a display, a touch-sensitive surface, and a rotatable input device. Some operations in method 1000 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0286] As described below, method 1000 provides an intuitive way to handwrite on a touch-sensitive surface. The method reduces the cognitive burden of handwriting on a touch-sensitive surface for a user, thereby creating a more efficient human-computer interface. For battery-powered computing devices, enabling users to input handwriting on a touch-sensitive surface faster and more efficiently saves power and increases the time between battery charges.

[0287] The electronic device displays (1002) on a display a user input interface (e.g., 610) including a message area (e.g., 609) and a stroke input area (e.g., 608) (e.g., an area of ​​the display and touch-sensitive surface that detects and displays strokes received from a user via a finger, stylus, or other object). In some examples, the message area and the stroke input area are partially overlapping. In some examples, the message area is completely within the stroke input area. In some examples, the message area and the stroke input area share a border but do not overlap each other. In some examples, the message area and the stroke input area are separate. In some examples, the touch-sensitive surface is less than 2in×2in, less than 1.5in×1.5in, or less than 1in×1in.

[0288] The electronic device receives (1004) a first set of strokes (e.g., 900, 902, 904) (e.g., one or more consecutive strokes, each of which represents a letter or a portion of a letter) on a touch-sensitive surface in a stroke input area (e.g., 608). In some examples, the first set of strokes represents a letter, multiple letters, a word, or multiple words. In some examples, the display provides feedback to the user on the position and shape of the strokes of the first set of strokes as the strokes are received (e.g., feedback on the position and shape of the strokes of the first set of strokes). Fig. 9C In some examples, the display of the first set of strokes is based on the time after each stroke is received, such as the strokes fading out over time (e.g., Fig. 9C Strokes 900,902,904 are displayed).

[0289] The electronic device determines (1006) a first text (e.g., a letter, a plurality of letters, a word, or a plurality of words) based on the first group of strokes (e.g., strokes 900, 902, 904). In some examples, the determination may be further based on strokes received before the first group of strokes. According to some embodiments, the electronic device determines the revised first text based on a current context (e.g., time, location, current activity, calendar, person to whom the message is directed) of the electronic device when determining the revised first text.

[0290] The electronic device is in the message area (e.g. Fig.9D ) displays (1008) the first text (e.g., 905) on a display in the electronic device. In some examples, the electronic device displays a first set of strokes (e.g., Fig. 9C ). In some examples, the electronic device transitions the display of the first set of strokes to the display of the first set of text via animation. In some examples, the animation display is performed when the electronic device determines the first text based on the first set of strokes.

[0291] The electronic device receives (1010) a second set of strokes (e.g., 906) on the touch-sensitive surface in the stroke input area after receiving the first set of strokes (e.g., strokes 900, 902, 904) and displaying the first text (e.g., 905). In some examples, the second set of strokes represents a portion of a letter, a letter, multiple letters, a word, or multiple words. According to some embodiments, the electronic device displays the first text before the electronic device receives the second set of strokes.

[0292] The electronic device determines (1012) a revised first text (e.g., 907) based on the first group (e.g., 900, 902, 904) and the second group of strokes (e.g., 906). According to some embodiments, the second group of strokes is received after a period of time since the first group of strokes was received, wherein determining the revised first text based on the first group of strokes and the second group of strokes is performed based on determining that the period of time is below a threshold.

[0293] The electronic device uses the revised first text (eg, Fig.9E ) to replace (1014) the display of the first text (e.g., Fig.9D ). According to some embodiments, after the electronic device receives the second group of strokes and after the electronic device displays the revised first text, the electronic device receives a third group of strokes on the touch-sensitive surface in the stroke input area. The electronic device determines the second text based on the third group of strokes. The electronic device displays the second text together with the revised first text.

[0294] According to some embodiments, the first set of strokes is a single continuous stroke, and the first text is a single character (e.g., Fig.9F or Figure 9G ).

[0295] According to some embodiments, the second set of strokes is a single continuous stroke (e.g., Fig.9D or Figure 9H ).

[0296] According to some embodiments, the revised first text differs from the first text only by a single character (e.g., compare Figure 9G and Fig.9I ).

[0297] According to some embodiments, the revised first text differs from the first text only in the last character of the revised first text or the first text (e.g., comparing Figure 9G and Fig.9I ).

[0298] According to some embodiments, Fig.11An exemplary functional block diagram of an electronic device 1100 configured according to the principles of various described embodiments is shown. According to some embodiments, the functional blocks of the electronic device 1100 are configured to perform the techniques described above. The functional blocks of the device 1100 are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of various described examples. It should be understood by those skilled in the art that Fig.11 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various examples. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.

[0299] like Fig.11 As shown in , the electronic device 1100 includes a display unit 1102, a touch-sensitive surface unit 1104, a rotatable input mechanism unit 1106, and a processing unit 1108 coupled to the display unit 1102, the touch-sensitive surface unit 1104, and the rotatable input mechanism unit 1106. In some embodiments, the processing unit 1108 includes a display enabling unit 1110, a receiving unit 1112, and a determining unit 814.

[0300] The processing unit 1108 is configured to: enable display of a user input interface on a display unit 1102 including a message area and a stroke input area (e.g., using a display enabling unit); receive a first group of strokes on a touch-sensitive surface in the stroke input area (e.g., using a receiving unit 1112); determine a first text based on the first group of strokes (e.g., using a determining unit 1114);) enable display of a first text in the message area (e.g., using a display enabling unit 1110);) receive a second group of strokes on the touch-sensitive surface in the stroke input area after receiving the first group of strokes and displaying the first text (e.g., using a receiving unit 1112); determine a revised first text based on the first group of strokes and the second group of strokes (e.g., using a determining unit 1114); and enable display of the first text together with the revised first text (e.g., using the display enabling unit 1110).

[0301] In some embodiments, the second group of strokes is received after a period of time since receiving the first group of strokes, and determining the revised first text based on the first group of strokes and the second group of strokes is based on determining that the period of time is below a threshold.

[0302] In some embodiments, display of the first text is enabled before the second set of strokes is received.

[0303] In some embodiments, determining the revised first text is further based on a current context of the portable electronic device when determining the revised first text.

[0304] In some embodiments, the processing unit 1108 is further configured to: receive a third group of strokes on the touch-sensitive surface in the stroke input area after receiving the second group of strokes and after enabling display of the revised first text (e.g., using the receiving unit 1112); determine the second text based on the third group of strokes (e.g., using the determining unit 1114); and enable display of the second text together with the revised first text (e.g., using the display enabling unit 1110).

[0305] In some embodiments, the first group of strokes is a single continuous stroke and the first text is a single character.

[0306] In some embodiments, the second set of strokes is a single continuous stroke.

[0307] In some embodiments, the revised first text differs from the first text by only a single character.

[0308] In some embodiments, the revised first text differs from the first text only in the last character of the revised first text or the first text.

[0309] References Fig.10 The described operations are optionally performed by Figure 1A-1B or Fig.11 1004 is implemented by the components depicted in . For example, the receiving operation 1004 is optionally implemented by an event classifier 170, an event identifier 180, and an event handler 190. The event monitor 171 in the event classifier 170 detects contact on the touch-sensitive display 112, and the event distributor module 174 delivers the event information to the application 136-1. The corresponding event identifier 180 of the application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first contact at the first position on the touch-sensitive surface corresponds to a predefined event or sub-event, such as the activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, the event identifier 180 activates the event handler 190 associated with the detection of the event or sub-event. The event handler 190 optionally utilizes or calls a data updater 176 or an object updater 177 to update the application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, a person skilled in the art will clearly know how to Figure 1A-1B The components depicted in the figure are used to implement other processes.

[0310] Figure 12A-12L An exemplary user interface for handwriting on a screen according to some embodiments is shown. The user interface in these figures is used to illustrate the Fig.13The process is described below in the process.

[0311] Figures 12A-12H Depicted are steps for entering the word "going" on a touch-sensitive surface using electronic device 600 using multiple strokes, with electronic device 600 processing the strokes completely as they become available. Figure 12I-12L Depicted are steps for entering the word "going" on a touch-sensitive surface using multiple strokes using an electronic device 600, with the electronic device 600 processing strokes as they become available but interrupting analysis of previous strokes to restart analysis with new strokes as they become available. In some cases, this latter process provides benefits over the former process.

[0312] Fig. 12A Handwriting interface 610 is depicted after electronic device 600 receives stroke 1200 . Fig. 12B The result (text 1201) of the electronic device 600 analyzing the strokes corresponding to the stroke representation 1200 is depicted. Fig. 12C Handwriting interface 610 is depicted after electronic device 600 receives strokes corresponding to stroke representation 1202 and strokes corresponding to stroke representation 1204 . Fig.12D Handwriting interface 610 is depicted after electronic device 600 has begun processing strokes corresponding to stroke representations 1202 and 1204, but before electronic device 600 has determined corresponding text for the strokes. Fig.12D In the example, the fact that the strokes corresponding to the stroke representations 1202 and 1204 are being processed is indicated by no longer displaying the stroke representations. However, this behavior is exemplary and not true in all cases. Fig.12D It is depicted that the electronic device 600 has also received the stroke 1206. That is, the electronic device 600 receives the stroke corresponding to the stroke representation 1206 after starting to process the strokes corresponding to the stroke representations 1202 and 1204 but before the electronic device 600 determines the corresponding text for the stroke. Fig.12E The electronic device 600 is depicted after completing analysis of strokes corresponding to the stroke representations 1202 and 1204 and beginning analysis of strokes corresponding to the stroke representation 1206 , but before the electronic device 600 completes analysis of the strokes corresponding to the stroke representation 1206 . Fig.12F The electronic device 600 is depicted after completing the analysis of the strokes corresponding to the stroke representation 1206. Figure 12G In the example, the electronic device 600 receives the last stroke (the stroke corresponding to the stroke representation 1208) and processes it. Fig.12H1201. Because the electronic device 600 processes the strokes to completion as they become available, the text 1201 is correct because the electronic device 600 does not have the complete context of all strokes as they become available. Fig.12H , but it may always be performing excessive or redundant processing because it is determining the text without access to the full context of all the strokes.

[0313] On the contrary, Figure 12I-12L In the example, the same strokes are input and processing begins when strokes are available. However, the electronic device 600 stops processing the strokes of the current group each time a new stroke is available. For example, Fig.12I It depicts that the electronic device 600 has received two strokes, namely the strokes corresponding to the stroke representations 1200 and 1202. Fig.12J It is depicted that the electronic device 600 has begun processing strokes corresponding to the stroke representations 1200 and 1202 (e.g., indicated by no longer displaying the stroke representations 1200 and 1202, but this may not be the case for all embodiments) but has not yet determined corresponding text when receiving the strokes corresponding to the stroke representations 1204 and 1206. In this case, in response to receiving the strokes corresponding to the stroke representations 1204 and 1206 (or even just the strokes corresponding to the first input of the stroke representation 1204), the electronic device 600 stops processing the group of strokes corresponding to the stroke representations 1200 and 1202, adds the strokes corresponding to the stroke representations 1204 and 1206 to the group of strokes, and continues processing the group of strokes. Figure 12K The final stroke is drawn and input, i.e., the stroke corresponding to the stroke representation 1208. Similar to when the strokes corresponding to the stroke representations 1204 and 1206 are input, because the electronic device 600 is still processing the group of strokes when the stroke 1208 is received, the electronic device 600 stops processing, adds the stroke corresponding to the stroke representation 1208 to the group of strokes, and continues processing the group of strokes. In some cases, when a new stroke is added to the group of strokes, the electronic device 600 resets / restarts its analysis, but this is not the case in all embodiments.

[0314] Fig.13 1300 is a flow chart showing a method for handwriting on a touch-sensitive surface using an electronic device according to some embodiments. Method 1300 is performed at a device (e.g., 100, 300, 500) having a display, a touch-sensitive surface, and a rotatable input device. Some operations in method 1300 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0315] As described below, method 1300 provides an intuitive way to handwrite on a touch-sensitive surface. The method reduces the cognitive burden of handwriting on a touch-sensitive surface for a user, thereby creating a more efficient human-computer interface. For battery-powered computing devices, enabling users to input handwriting on a touch-sensitive surface faster and more efficiently saves power and increases the time between battery charges.

[0316] The electronic device displays (1302) on a display a user input interface (e.g., 610) including a message area (e.g., 609) and a stroke input area (e.g., 608) (e.g., an area on the display and touch-sensitive surface that detects and displays strokes received from a user via a finger, stylus, or other object). In some examples, the message area and the stroke input area are partially overlapping. In some examples, the message area is completely within the stroke input area. In some examples, the message area and the stroke input area share a border but do not overlap each other. In some examples, the message area and the stroke input area are separate. In some examples, the touch-sensitive surface is less than 2in×2in, less than 1.5in×1.5in, or less than 1in×1in.

[0317] The electronic device receives (1304) a first set of strokes (e.g., 1200, 1202, 1204) (e.g., one or more consecutive strokes, where each stroke represents a letter or a portion of a letter) on a touch-sensitive surface in a stroke input area (e.g., 608). In some examples, the first set of strokes represents a letter, multiple letters, a word, or multiple words. In some examples, the display provides feedback to the user of the position and shape of the strokes of the first set of strokes as the strokes are received (e.g., display of the strokes 1200, 1202, 1204).

[0318] The electronic device begins (1306) determining a first text (e.g., a letter, a plurality of letters, a word, or a plurality of words) based on the first group of strokes (e.g., strokes 1200, 1202, 1204). In some examples, the determination may be further based on strokes received before the first group of strokes, the context of the electronic device (e.g., time of day, location, current activity, calendar, person to whom the message is to be sent), or other information.

[0319] The electronic device receives (1308) a second group of strokes (e.g., 1206) (e.g., one or more continuous strokes, each of which represents a letter or a portion of a letter) on the touch-sensitive surface in the stroke input area (e.g., 608) without displaying the first text (e.g., Fig.12J). In some examples, the second set of strokes represents a portion of a letter, a letter, multiple letters, a word, or multiple words. In some examples, the display provides feedback to the user of the position and shape of the strokes of the first set of strokes when the strokes are received (e.g., display of strokes 1206). According to some embodiments, the electronic device determines the first text based on the first set of strokes before receiving the second set of strokes.

[0320] The electronic device determines a revised first text (eg, text 1208) based on the first set of strokes and the second set of strokes.

[0321] The electronic device displays the revised first text (eg, text 1208 ) in the message area.

[0322] According to some embodiments, the revised first text includes a first character, and wherein the first character is not based on the second set of strokes (eg, the first character is "G" and is not based on stroke 1206).

[0323] According to some embodiments, the revised first text includes multiple characters, and the multiple characters are based on the first set of strokes (eg, the test includes "Go" based on the first set of strokes 1200 and 1202).

[0324] According to some embodiments, the revised first text includes a second character, and wherein the second character is not based on the first set of strokes (eg, the second character is an "i" that is not based on the first set of strokes, namely, strokes 1200 and 1202).

[0325] According to some embodiments, the revised first text is a single word (eg, text 1208).

[0326] According to some embodiments, a first group of strokes (e.g., 1200 and 1202) is entered at locations on the stroke input area that are substantially the same as locations in the stroke input area where a second group of strokes (e.g., 1206 or 1208) is entered.

[0327] According to some embodiments, the revised first text includes a first portion based on a shape of the first group of strokes and context provided by the second group of strokes (for example, the shape of the first group of strokes is "n" or "h", but it is ambiguous based on the shape along which the corrected letter follows, and the context provides the second stroke when determining that the corresponding letter is "n" because the corresponding text of the second group of strokes is "ight").

[0328] According to some embodiments, the revised first text includes a first portion based on a shape of the second group of strokes and a context provided by the first group of strokes (for example, the shape of the second group of strokes is "n" or "h", but it is ambiguous based on the shape along which the corrected letter follows, and the context provides the first stroke in determining that the corresponding letter is "n" because the corresponding text of the first group of strokes is "tur").

[0329] According to some embodiments, Fig.14 An exemplary functional block diagram of an electronic device 1400 configured according to the principles of various described embodiments is shown. According to some embodiments, the functional blocks of the electronic device 1400 are configured to perform the techniques described above. The functional blocks of the device 1400 are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of various described examples. It should be understood by those skilled in the art that Fig.14 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various examples. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.

[0330] like Fig.14 As shown in , the electronic device 1400 includes a display unit 1402, a touch-sensitive surface unit 1404, a rotatable input mechanism unit 1406, and a processing unit 1408 coupled to the display unit 1402, the touch-sensitive surface unit 1404, and the rotatable input mechanism unit 1406. In some embodiments, the processing unit 1408 includes a display enabling unit 1410, a receiving unit 1412, and a determining unit 1414.

[0331] The processing unit 1408 is configured to: enable display of a user input interface on the display 1402 including a message area and a stroke input area (e.g., using the display enabling unit 1410); receive a first group of strokes on the touch-sensitive surface in the stroke input area (e.g., using the receiving unit 1412); start determining a first text based on the first group of strokes (e.g., using the determining unit 1414); not enable display of the first text in the message area, and receive a second group of strokes on the touch-sensitive surface in the stroke input area after receiving the first group of strokes (e.g., using the receiving unit 1412); determine a revised first text based on the first group of strokes and the second group of strokes (e.g., using the determining unit 1414); and enable display of the revised first text in the message area (e.g., using the display enabling unit 1410).

[0332] In some embodiments, the revised first text includes a first character, and wherein the first character is not based on the second set of strokes.

[0333] In some embodiments, the revised first text includes a plurality of characters, and wherein the plurality of characters are based on the first set of strokes.

[0334] In some embodiments, the revised first text includes a second character, and wherein the second character is not based on the first set of strokes.

[0335] In some embodiments, the revised first text is a single character.

[0336] In some embodiments, the revised first text is a single word.

[0337] In some embodiments, the first group of strokes is entered in substantially the same locations on the stroke input area as the locations in the stroke input area where the second group of strokes are entered.

[0338] In some embodiments, the processing unit 1408 is further configured to determine the first text based on the first set of strokes before receiving the second set of strokes (eg, using the determining unit 1414).

[0339] In some embodiments, the revised first text includes a first portion based on a shape of the first set of strokes and context provided by the second set of strokes.

[0340] In some embodiments, the revised first text includes a first portion based on a shape of the second set of strokes and a context provided by the first set of strokes.

[0341] References Fig.13 The described operations are optionally performed by Figure 1A-1B or Fig.14 1304 is implemented by the components depicted in . For example, the receiving operation 1304 is optionally implemented by an event classifier 170, an event identifier 180, and an event handler 190. The event monitor 171 in the event classifier 170 detects contact on the touch-sensitive display 112, and the event distributor module 174 delivers the event information to the application 136-1. The corresponding event identifier 180 of the application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first contact at the first position on the touch-sensitive surface corresponds to a predefined event or sub-event, such as the activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, the event identifier 180 activates the event handler 190 associated with the detection of the event or sub-event. The event handler 190 optionally utilizes or calls a data updater 176 or an object updater 177 to update the application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, a person skilled in the art will clearly know how to Figure 1A-1B The components depicted in the figure are used to implement other processes.

[0342] Figure 15A-15J An exemplary user interface for handwriting on a screen according to some embodiments is shown. The user interface in these figures is used to illustrate the Fig.16 The process is described below in the process.

[0343] Fig.15A 1502, which includes the strokes corresponding to the stroke representation 1503 and the strokes corresponding to the stroke representation 1504, which are respectively to be written in the handwriting interface 610. Fig.15A The stroke group representation 1502 represents a pictographic character (e.g., a simplified Chinese character). Because overlapping pictographic characters may contain many strokes and are difficult to analyze (e.g., see Fig.15E Example of only two overlapping ideographic characters), the electronic device 600 determines the corresponding ideographic character when all strokes for the ideographic character have been received based on the time between received strokes.

[0344] With respect to the strokes corresponding to the stroke representations 1503 and 1504, it is determined whether the time between the strokes (e.g., the time when the stroke corresponding to the stroke representation 1503 is completed to the time when the stroke corresponding to the stroke representation 1504 is started) exceeds a threshold. If the time does not exceed the threshold, the strokes corresponding to the stroke representations 1503 and 1504 are included together in the same group, such as Fig.15A shown.

[0345] If the next stroke (i.e., Fig. 15B If the time between the stroke corresponding to the stroke representation 1506 of the stroke group representation 1502 and the stroke corresponding to the stroke representation 1504 exceeds the threshold, the group of strokes corresponding to the stroke group representation 1502 will be analyzed together as a group without the stroke corresponding to the stroke representation 1506, thereby determining the corresponding pictographic character 1508. The stroke corresponding to the stroke representation 1506 will be added to the corresponding pictographic character 1508. Fig. 15C The group of strokes of the subsequent character shown in Fig. 15C The stroke group represents the stroke group corresponding to 1510). This method is also relative to Fig.16 As described, the electronic device 600 is enabled to save battery power by avoiding processing multiple pictographic characters simultaneously.

[0346] This technique can also be used to disambiguate the strokes representing phonetic characters as well as ideographic characters. Fig.15F Depicted is handwriting interface 610 after electronic device 600 receives text 1514 and strokes corresponding to stroke representation 1516. Figure 15G , receiving a subsequent stroke, namely a stroke corresponding to stroke representation 1518. Based on the time between the stroke corresponding to stroke representation 1516 and the stroke corresponding to stroke representation 1518, electronic device 600 can determine whether the strokes corresponding to stroke representations 1516 and 1518 are intended to be the letter "k" to spell the word "cook" (text 1516 of FIG. H) or whether the strokes corresponding to stroke representations 1516 and 1518 are two separate characters and are intended to spell "cool" ( Fig.15J Text 1520).

[0347] If the time between strokes exceeds the threshold, the electronic device 600 processes the strokes corresponding to the stroke representations 1516 and 1518 as parts of different characters, such as Fig.15H The strokes corresponding to the stroke representation 1518 can then be analyzed independently to produce, for example, the letter "c" ( Fig.15H If the time between the strokes does not exceed the threshold, the strokes 1516 and 1518 are treated as part of the same character, such as Fig.15J As shown in .

[0348] Fig.16 1600 is a flowchart illustrating a method for handwriting on a touch-sensitive surface using an electronic device according to some embodiments. Method 1600 is performed at a device (e.g., 100, 300, 500) having a display, a touch-sensitive surface, and a rotatable input device. Some operations in method 1600 are optionally combined, the order of some operations is optionally changed, and some operations are optionally omitted.

[0349] As described below, method 1600 provides an intuitive way to handwrite on a touch-sensitive surface. The method reduces the cognitive burden of handwriting on a touch-sensitive surface for a user, thereby creating a more efficient human-computer interface. For battery-powered computing devices, enabling users to input handwriting on a touch-sensitive surface faster and more efficiently saves power and increases the time between battery charges.

[0350] The electronic device displays (1602) on a display a user input interface (e.g., 610) including a message area (e.g., 609) and a stroke input area (e.g., 608) (e.g., an area on the display and touch-sensitive surface that detects and displays strokes received from a user via a finger, stylus, or other object). In some examples, the message area and the stroke input area are partially overlapping. In some examples, the message area is completely within the stroke input area. In some examples, the message area and the stroke input area share a border but do not overlap each other. In some examples, the message area and the stroke input area are separate. In some examples, the touch-sensitive surface is less than 2in×2in, less than 1.5in×1.5in, or less than 1in×1in.

[0351] The electronic device receives (1604) a first stroke (e.g., stroke 1504) on the touch-sensitive surface in a stroke input area. In some examples, the first stroke is the most recent stroke of the plurality of strokes.

[0352] The electronic device receives (1606) a second stroke (e.g., 1506) on the touch-sensitive surface a first time after receiving the first stroke. The second stroke is different from the first stroke (e.g., the first stroke and the second stroke are not the same and are not different parts of the same stroke).

[0353] The electronic device determines (1608) whether the first time exceeds a threshold time (eg, whether the time from the end of stroke 1504 to the start of stroke 1506 is greater than a threshold).

[0354] In accordance with the electronic device determining that the first time exceeds the threshold, the electronic device determines (1610) a first character (eg, character 1508) based on the first stroke (eg, 1504) but not based on the second stroke (eg, 1506).

[0355] Based on the electronic device determining that the first time (e.g., using stroke 1503 as the first stroke and stroke 1504 as the second stroke) is less than a threshold time, a first character (e.g., character 1508) is determined (1612) based on the first stroke (e.g., 1503) and the second stroke (e.g., 1504) (e.g., in addition to other strokes in the group of strokes 1502).

[0356] The electronic device displays ( 1614 ) the first character (eg, character 1508 ) in the message area.

[0357] According to some embodiments, the electronic device further determines a second character (e.g., character 1512) based on the second stroke (e.g., 1506) according to determining that the first time exceeds the threshold time. The electronic device displays the second character (e.g., character 1512) together with the first character in the message area.

[0358] According to some embodiments, the display of the first character and the second character is separated by a space (e.g., Fig.15I ).

[0359] According to some embodiments, the first character is a phonetic character (e.g., Fig.15H and Fig.15J ).

[0360] According to some embodiments, the first character is a pictographic character (eg, character 1508).

[0361] According to some embodiments, Fig.17 An exemplary functional block diagram of an electronic device 1700 configured according to the principles of various described embodiments is shown. According to some embodiments, the functional blocks of the electronic device 1700 are configured to perform the techniques described above. The functional blocks of the device 1700 are optionally implemented by hardware, software, or a combination of hardware and software that implements the principles of various described examples. It should be understood by those skilled in the art that Fig.17 The functional blocks described in the present invention are optionally combined or separated into sub-blocks to implement the principles of various examples. Therefore, the description herein optionally supports any possible combination or separation or further limitation of the functional blocks described herein.

[0362] like Fig.17 As shown in , the electronic device 1700 includes a display unit 1702, a touch-sensitive surface unit 1704, a rotatable input mechanism unit 1706, and a processing unit 1708 coupled to the display unit 1702, the touch-sensitive surface unit 1704, and the rotatable input mechanism 1706. In some embodiments, the processing unit 1708 includes a display enabling unit 1710, a receiving unit 1712, and a determining unit 1714.

[0363] The processing unit 1708 is configured to: enable display of a user input interface on a display unit 1702 including a message area and a stroke input area (e.g., using a display enabling unit 1710); receive a first stroke on a touch-sensitive surface unit 1704 in the stroke input area (e.g., using a receiving unit 1712); receive a second stroke on the touch-sensitive surface unit 1704 at a first time after receiving the first stroke (e.g., using a receiving unit 1712), wherein the second stroke is different from the first stroke; determine whether the first time exceeds a threshold time (e.g., using a determining unit 1714); determine a first character based on the first stroke but not on the second stroke based on a determination that the first time exceeds the threshold time (e.g., using a determining unit 1714); determine the first character based on the first stroke and the second stroke based on a determination that the first time is less than the threshold time (e.g., using a determining unit 1714); and enable display of the first character in the message area (e.g., using a display enabling unit 1710).

[0364] In some embodiments, the processing unit 1708 is further configured to: further determine a second character based on the second stroke based on determining that the first time exceeds a threshold time (e.g., using the determination unit 1714); and enable display of the second character in the message area together with the first character (e.g., using the display enabling unit 1710).

[0365] In some embodiments, the display of the first character and the second character are separated by a space.

[0366] In some embodiments, the processing unit 1708 is further configured to: determine a context associated with the first character (e.g., using the determination unit 1714); and further determine the second character based on the context (e.g., using the determination unit 1714).

[0367] In some embodiments, the first character is a phonetic character.

[0368] In some embodiments, the first character is a pictographic character.

[0369] References Fig.16 The described operations are optionally performed by Figure 1A-1B or Fig.17180 is implemented by the components depicted in . For example, the receiving operation 1604 is optionally implemented by an event classifier 170, an event identifier 180, and an event handler 190. The event monitor 171 in the event classifier 170 detects contact on the touch-sensitive display 112, and the event distributor module 174 delivers the event information to the application 136-1. The corresponding event identifier 180 of the application 136-1 compares the event information with the corresponding event definition 186, and determines whether the first contact at the first position on the touch-sensitive surface corresponds to a predefined event or sub-event, such as the activation of an enabling representation on a user interface. When a corresponding predefined event or sub-event is detected, the event identifier 180 activates the event handler 190 associated with the detection of the event or sub-event. The event handler 190 optionally utilizes or calls a data updater 176 or an object updater 177 to update the application internal state 192. In some embodiments, the event handler 190 accesses the corresponding GUI updater 178 to update the content displayed by the application. Similarly, a person skilled in the art will clearly know how to Figure 1A-1B The components depicted in the figure are used to implement other processes.

[0370] For the purpose of explanation, the preceding description is described by reference to specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the invention to disclosed precise forms. According to the above teachings, many modifications and variations are possible. These embodiments are selected and described to best explain the principles of these technologies and their practical applications. Others skilled in the art can thus best utilize these technologies and various embodiments with various modifications suitable for the specific purposes envisioned.

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

Claims

1. A method for displaying text, comprising: At an electronic device having one or more processors, a touch-sensitive surface, and a display: Displaying a user input interface on the display including a message area and a stroke input area; receiving a first set of strokes on the touch-sensitive surface in the stroke input area; Starting to determine a first text based on the first set of strokes; without displaying the first text in the message area, and receiving a second set of strokes on the touch-sensitive surface in the stroke input area after a period of time since receiving the first set of strokes; If it is determined that the period of time since receiving the first set of strokes is below a threshold: determining a revised first text based on the first set of strokes and the second set of strokes; as well as displaying the revised first text in the message area; as well as If it is determined that the period of time since receiving the first set of strokes exceeds the threshold: determining a second text based on the second set of strokes independent of the first set of strokes; as well as The first text different from the second text is displayed in the message area. 2 . The method of claim 1 , wherein the revised first text includes a first character, and wherein the first character is not based on the second set of strokes.

3. The method according to any one of claims 1-2, wherein the revised first text comprises a plurality of characters, and wherein the plurality of characters are based on a first set of strokes.

4. The method of any one of claims 1-2, wherein the revised first text includes a second character, and wherein the second character is not based on the first set of strokes.

5. The method according to any one of claims 1-2, wherein the revised first text is a single character.

6. The method according to any one of claims 1-2, wherein the revised first text is a single word.

7. The method according to any one of claims 1-2, wherein the first group of strokes is input in substantially the same position on the stroke input area as the position in the stroke input area where the second group of strokes is input.

8. The method according to any one of claims 1 to 2, further comprising: A first text is determined based on the first set of strokes before receiving the second set of strokes.

9. The method of any one of claims 1-2, wherein the revised first text comprises a first portion based on a shape of the first set of strokes and a context provided by the second set of strokes.

10. The method of any one of claims 1-2, wherein the revised first text comprises a first portion based on a shape of the second set of strokes and a context provided by the first set of strokes.

11. A computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device having a touch-sensitive surface and a display, the one or more programs comprising instructions for executing the method according to any one of claims 1-10.

12. An electronic device comprising: Touch-sensitive surfaces; monitor; one or more processors; as well as A memory storing one or more programs configured to be executed by the one or more processors, the one or more programs comprising instructions for executing the method according to any one of claims 1-10.

13. An electronic device comprising: Touch-sensitive surfaces; monitor; as well as Apparatus for carrying out the method according to any one of claims 1-10.

14. A computer program product comprising one or more programs configured to be executed by one or more processors of an electronic device comprising a touch-sensitive surface and a display, the one or more programs comprising instructions for performing the method according to any one of claims 1-10.

Citation Information

Patent Citations

  • Method and apparatus for integrating manual input

    US20020015024A1

  • 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

  • Virtual input device placement on a touch screen user interface

    US20060033724A1